/* =========================================================
   NAOMI MAKEUP — STYLE.CSS
   Identité : Nude • Noir • Or
   Version : Responsive Premium
   ========================================================= */


/* =========================================================
   01 — VARIABLES
   ========================================================= */

:root {
    color-scheme: light;

    --bg: #FDFBF7;
    --white: #FFFFFF;
    --dark: #121110;
    --dark-card: #1A1817;
    --dark-muted: #2A2725;

    --gold: #B88746;
    --gold-light: #D4A373;
    --gold-dark: #9E6F33;

    --nude-50: #FDFBF7;
    --nude-100: #F8F4EC;
    --nude-200: #EFE7D8;
    --nude-300: #E2D3BD;
    --nude-400: #C9B091;

    --border: rgba(226, 211, 189, 0.6);

    --shadow-soft: 0 8px 30px rgba(18, 17, 16, 0.05);
    --shadow-gold: 0 10px 25px rgba(184, 135, 70, 0.25);

    --transition: 0.3s ease;

    --section-space: 100px;
    --container-width: 1152px;
}


/* =========================================================
   02 — RESET ET BASE
   ========================================================= */

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

html {
    width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: clip;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    background: var(--bg);
    color: var(--dark);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main,
section,
header,
footer,
nav,
article,
div {
    min-width: 0;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

img {
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

p {
    margin-top: 0;
}

section {
    position: relative;
    width: 100%;
}


/* =========================================================
   03 — TYPOGRAPHIE
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
}

h1,
h2,
h3,
h4 {
    text-align: center;
}

p,
li,
blockquote,
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

p,
li {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#about p,
#services p,
#prep p,
#policies p,
#gallery p,
#social p {
    text-align: justify;
}

#about h2,
#services h2,
#prep h2,
#policies h2,
#gallery h2,
#social h2 {
    width: 100%;
    text-align: center !important;
    line-height: 1.15;
}

#services h2,
#prep h2,
#policies h2,
#gallery h2,
#social h2 {
    letter-spacing: 0.04em;
}

#services .text-center > p,
#prep .text-center > p,
#policies .text-center > p,
#gallery .text-center > p {
    text-align: center;
}


/* =========================================================
   04 — HERO
   ========================================================= */

.hero-title {
    display: block;

    width: 100%;
    max-width: 100%;

    margin-left: auto;
    margin-right: auto;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5.5vw, 5rem);

    font-weight: 500;

    line-height: 1.05;
    letter-spacing: -0.045em;

    text-align: center;

    white-space: normal;
    overflow-wrap: normal;
}

.hero-title span {
    display: inline;
}

.hero-title-container,
.hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-content {
    text-align: center;
}

.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.6s ease;
}


/* =========================================================
   05 — HEADER
   ========================================================= */

header {
    width: 100%;
}

.glass-header {
    background: rgba(253, 251, 247, 0.9);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(226, 211, 189, 0.5);
}

#mobile-menu {
    background: rgba(253, 251, 247, 0.98);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


/* =========================================================
   06 — NAVIGATION
   ========================================================= */

.nav-link {
    position: relative;

    padding-top: 5px;
    padding-bottom: 5px;

    transition: color var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-link {
    transition: color var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
}


/* =========================================================
   07 — CARTES
   ========================================================= */

.glass-card {
    background: rgba(255, 255, 255, 0.78);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid var(--border);

    transition: border-color var(--transition);
}

.glass-card:hover {
    border-color: var(--gold-light);
}


/* =========================================================
   08 — TEXTE DORÉ
   ========================================================= */

.gold-gradient-text {
    background: linear-gradient(
        135deg,
        var(--gold) 0%,
        var(--gold-light) 50%,
        var(--gold-dark) 100%
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


/* =========================================================
   09 — BOUTONS
   ========================================================= */

.gold-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        var(--dark) 0%,
        var(--dark-muted) 100%
    );

    color: var(--white);
    text-align: center;

    transition:
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.gold-btn:hover {
    background: linear-gradient(
        135deg,
        var(--gold) 0%,
        var(--gold-dark) 100%
    );

    box-shadow: var(--shadow-gold);

    transform: translateY(-2px);
}


/* =========================================================
   10 — À PROPOS
   ========================================================= */

#about {
    width: 100%;
}

#about > .max-w-6xl > .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

#about > .max-w-6xl > .grid > div > span {
    display: block;

    width: 100%;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

#about h2 {
    display: block;

    width: 100%;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

#about p {
    text-align: justify;
}

#about a {
    text-align: center;
}

/* Centrage des descriptions des deux cartes */

#about .grid.grid-cols-2 > div > p {
    text-align: center !important;
    text-justify: auto;
}


/* =========================================================
   11 — SERVICES
   ========================================================= */

#services .services-grid {
    display: grid !important;

    width: 100%;
    max-width: 1100px;

    margin-left: auto;
    margin-right: auto;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: clamp(8px, 1.5vw, 24px);

    align-items: stretch;
}

#services .services-grid > article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
    min-width: 0;

    overflow: hidden;
}

/* Conteneurs des images */

#services .services-grid > article > div:first-child > div:first-child {
    width: 100%;
    height: 220px;

    overflow: hidden;

    background: var(--bg);
}

/* Images sans zoom et sans animation */

#services .services-grid img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    background: var(--bg);

    transform: none !important;
    transition: none !important;
}

/* Désactivation du zoom au survol */

#services .services-grid article:hover img {
    transform: none !important;
}

/* Exception : Iconic Glam conserve son zoom permanent */

#services .services-grid .iconic-glam-photo,
#services .services-grid article:hover .iconic-glam-photo {
    transform: scale(1.12) !important;
    transform-origin: center center !important;
    transition: none !important;
}

/* Titres */

#services .services-grid h3 {
    text-align: center;
    line-height: 1.2;
}

/* Descriptions */

#services .services-grid p {
    text-align: justify;
    line-height: 1.6;
}

/* Tarifs */

#services .services-grid .font-bold {
    white-space: normal;
}


/* =========================================================
   12 — GUIDE PRATIQUE
   ========================================================= */

#prep .grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}

#prep .grid > article {
    min-width: 0;
}

#prep .grid h3 {
    text-align: center;
    line-height: 1.3;
}

#prep .grid p {
    text-align: justify;
    line-height: 1.7;
}


/* =========================================================
   13 — POLITIQUES DE RÉSERVATION
   ========================================================= */

#policies .grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    align-items: stretch;
}

#policies .grid > article {
    min-width: 0;
}

#policies .grid h3 {
    text-align: center;
    line-height: 1.3;
}

#policies .grid p {
    text-align: justify;
    line-height: 1.7;
}


/* =========================================================
   14 — PORTFOLIO
   ========================================================= */

#gallery-grid {
    display: grid;

    width: 100%;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;

    align-items: stretch;
}

#gallery .gallery-item {
    position: relative;

    width: 100%;
    height: 320px;

    overflow: hidden;

    background: var(--bg);

    border-radius: 16px;
}

/* Images sans recadrage */

#gallery .gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain !important;
    object-position: center center !important;

    background: var(--bg);

    transform: none !important;
    transition: none !important;
}

/* Aucun zoom au survol */

#gallery .gallery-item:hover img {
    transform: none !important;
}

/* Overlay */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background: rgba(18, 17, 16, 0.45);

    opacity: 0;

    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    text-align: center;
}


/* =========================================================
   15 — FILTRES PORTFOLIO
   ========================================================= */

#gallery-filters {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.filter-btn {
    border: none;

    cursor: pointer;

    transition:
        background var(--transition),
        color var(--transition),
        transform 0.2s ease;
}

.filter-btn:hover {
    transform: translateY(-1px);
}

#gallery-filters .filter-btn.active {
    background: var(--dark-card) !important;
    color: var(--white) !important;
}

#gallery-grid .gallery-item[hidden] {
    display: none !important;
}


/* =========================================================
   16 — RÉSEAUX SOCIAUX
   ========================================================= */

#social .text-center {
    width: 100%;
}

#social .text-center > p {
    display: block;

    width: 100%;

    margin-left: auto;
    margin-right: auto;

    text-align: center !important;
}

#social > .max-w-6xl > .grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}

#social .grid h3 {
    text-align: center;
}

#social .grid h3 a {
    display: inline-flex;

    align-items: center;
    justify-content: center;
}

#social .elfsight-app-2383a0d2-8f90-4ca2-b211-09683652e82b,
#social .elfsight-app-4436f484-46f4-46e9-9c0d-82263cd8f215 {
    width: 100%;
    max-width: 100%;

    overflow: hidden;
}


/* =========================================================
   17 — ICÔNES SOCIALES
   ========================================================= */

.social-icon {
    display: flex;

    width: 48px;
    height: 48px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dark-card);
    color: var(--white);

    font-size: 20px;

    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--gold);

    transform: translateY(-3px);
}


/* =========================================================
   18 — FOOTER
   ========================================================= */

footer {
    width: 100%;
    overflow: hidden;
}

footer .space-y-3 {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 100%;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.footer-thanks,
.footer-booking {
    display: block;

    width: 100%;

    text-align: center;

    line-height: 1.3;
}

footer .space-y-3 > p {
    display: block;

    width: 100%;

    margin-left: auto;
    margin-right: auto;

    text-align: center !important;
}

.footer-one-line {
    max-width: 100%;

    white-space: nowrap;

    overflow-wrap: normal;
    word-break: normal;

    text-align: center;
}


/* =========================================================
   19 — BARRE DE DÉFILEMENT
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--nude-400);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}


/* =========================================================
   20 — ORDINATEURS ET GRANDS ÉCRANS
   ========================================================= */

@media (min-width: 1024px) {

    /* TITRE HERO SUR UNE SEULE LIGNE */

    .hero-title {
        white-space: nowrap !important;

        font-size: clamp(2rem, 3.5vw, 3.8rem) !important;

        letter-spacing: -0.04em;
    }

    .hero-title span {
        display: inline !important;
        white-space: nowrap !important;
    }

    #gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    #gallery .gallery-item {
        height: 340px;
    }

}


/* =========================================================
   21 — TABLETTES
   ========================================================= */

@media (min-width: 640px) and (max-width: 1023px) {

    header nav {
        gap: 14px !important;

        font-size: 10px;

        letter-spacing: 0.08em;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    #services .services-grid {
        gap: 12px;
    }

    #services .services-grid > article > div:first-child > div:first-child {
        height: 160px;
    }

    #prep .grid,
    #policies .grid {
        gap: 12px;
    }

    #gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #gallery .gallery-item {
        height: 260px;
    }

    #social > .max-w-6xl > .grid {
        gap: 16px;
    }

}


/* =========================================================
   22 — MOBILES
   ========================================================= */

@media (max-width: 639px) {

    /* ESPACEMENT GLOBAL */

    section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #about,
    #services,
    #prep,
    #policies,
    #gallery,
    #social {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }


    /* TITRES */

    #about h2 {
        font-size: 32px !important;
    }

    #services h2,
    #social h2,
    #policies h2 {
        font-size: clamp(18px, 5vw, 26px) !important;

        letter-spacing: 0.01em !important;

        white-space: normal !important;
    }

    #gallery h2 {
        font-size: clamp(18px, 5vw, 27px) !important;

        letter-spacing: 0 !important;

        white-space: normal !important;
    }

    #prep h2 {
        font-size: clamp(17px, 4.5vw, 24px) !important;

        letter-spacing: 0 !important;

        white-space: normal !important;
    }


    /* HERO */

    .hero-title {
        width: 100% !important;
        max-width: 100% !important;

        font-size: clamp(2rem, 7vw, 2.7rem) !important;

        line-height: 1.08 !important;
        letter-spacing: -0.045em !important;

        white-space: normal !important;

        overflow-wrap: normal !important;

        text-align: center !important;
    }

    .hero-title span {
        white-space: normal !important;
    }

    .hero-content,
    .hero-title-container {
        width: 100%;
        max-width: 100%;

        text-align: center !important;
    }

    .hero-title + p {
        margin-left: auto;
        margin-right: auto;
    }


    /* À PROPOS */

    #about > .max-w-6xl > .grid > div > span {
        display: block !important;

        width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;

        text-align: center !important;
    }

    #about .grid {
        display: block;
    }

    #about .grid > div {
        width: 100%;
    }

    #about .grid.grid-cols-2 {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    #about .grid.grid-cols-2 > div {
        padding: 10px !important;
    }

    #about .grid.grid-cols-2 h4 {
        font-size: 14px;
        text-align: center;
    }

    #about .grid.grid-cols-2 p {
        font-size: 10px;
        text-align: center !important;
    }


    /* SERVICES */

    #services .services-grid {
        display: grid !important;

        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

        gap: 6px !important;

        width: 100%;
    }

    #services .services-grid > article {
        width: 100%;
        min-width: 0;

        border-radius: 9px;
    }

    /* Images */

    #services .services-grid > article > div:first-child > div:first-child {
        width: 100%;

        height: auto !important;
        min-height: 75px;

        aspect-ratio: 3 / 4;

        overflow: hidden;
    }

    #services .services-grid img {
        width: 100% !important;
        height: 100% !important;

        object-fit: contain !important;
        object-position: center center !important;

        transition: none !important;
    }

    #services .services-grid article:hover img {
        transform: none !important;
    }

    #services .services-grid .iconic-glam-photo,
    #services .services-grid article:hover .iconic-glam-photo {
        transform: scale(1.12) !important;
        transform-origin: center center !important;
    }

    /* Contenu */

    #services .services-grid > article > div:first-child > div:nth-child(2) {
        padding: 6px !important;
    }

    /* Noms */

    #services .services-grid h3 {
        font-size: clamp(8px, 2.5vw, 12px) !important;

        line-height: 1.2 !important;

        letter-spacing: 0 !important;

        text-align: center !important;

        overflow-wrap: normal;
        word-break: normal;
    }

    /* Descriptions masquées sur téléphone */

    #services .services-grid p {
        display: none;
    }

    /* Durées */

    #services .services-grid span {
        font-size: clamp(7px, 2vw, 9px) !important;

        line-height: 1.2;
    }

    /* Tarifs */

    #services .services-grid .font-bold {
        font-size: clamp(8px, 2.2vw, 11px) !important;

        text-align: center;
    }

    /* Boutons */

    #services .services-grid button {
        width: 100%;

        padding: 7px 2px !important;

        font-size: clamp(6px, 1.8vw, 9px) !important;

        line-height: 1.2;

        letter-spacing: 0 !important;

        white-space: normal;

        overflow-wrap: normal;

        border-radius: 6px;
    }

    #services .services-grid > article > div:last-child {
        padding: 0 5px 6px !important;
    }


    /* GUIDE PRATIQUE */

    #prep .grid {
        display: grid !important;

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    #prep .grid > article {
        min-width: 0;

        padding: 8px !important;

        border-radius: 9px;
    }

    #prep .grid h3 {
        font-size: clamp(9px, 2.7vw, 12px) !important;

        line-height: 1.25;

        text-align: center !important;

        letter-spacing: 0 !important;
    }

    #prep .grid p {
        font-size: clamp(8px, 2.1vw, 10px) !important;

        line-height: 1.4;

        text-align: justify !important;
    }

    #prep .grid > article > div:first-child {
        width: 30px;
        height: 30px;

        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }


    /* POLITIQUES DE RÉSERVATION */

    #policies .grid {
        display: grid !important;

        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        gap: 6px !important;
    }

    #policies .grid > article {
        min-width: 0;

        padding: 8px !important;

        border-radius: 9px;
    }

    #policies .grid h3 {
        font-size: clamp(9px, 2.7vw, 12px) !important;

        line-height: 1.25;

        text-align: center !important;

        letter-spacing: 0 !important;
    }

    #policies .grid p {
        font-size: clamp(8px, 2.1vw, 10px) !important;

        line-height: 1.4;

        text-align: justify !important;
    }

    #policies .grid > article > div:first-child {
        font-size: 15px;
        text-align: center;
    }


    /* PORTFOLIO */

    #gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    #gallery .gallery-item {
        width: 100%;

        height: auto !important;
        min-height: 150px;

        aspect-ratio: 3 / 4;

        border-radius: 10px;
    }

    #gallery .gallery-item img {
        width: 100%;
        height: 100%;

        object-fit: contain !important;
        object-position: center !important;

        transform: none !important;
        transition: none !important;
    }

    /* Filtres */

    #gallery-filters {
        gap: 6px;
    }

    #gallery-filters .filter-btn {
        padding: 8px 10px !important;

        font-size: 9px !important;

        letter-spacing: 0.03em;
    }

    /* Overlay */

    .gallery-overlay {
        padding: 5px;
    }

    .gallery-overlay span {
        font-size: 13px !important;
    }


    /* RÉSEAUX SOCIAUX */

    #social .text-center > p {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;

        text-align: center !important;

        white-space: normal !important;
    }

    #social > .max-w-6xl > .grid {
        display: grid !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        gap: 8px !important;
    }

    #social > .max-w-6xl > .grid > div {
        min-width: 0;

        padding: 8px !important;

        border-radius: 10px;
    }

    #social .grid h3 {
        font-size: 14px !important;

        letter-spacing: 0.02em;
    }

    #social .grid h3 a {
        gap: 5px;
    }

    #social .elfsight-app-2383a0d2-8f90-4ca2-b211-09683652e82b,
    #social .elfsight-app-4436f484-46f4-46e9-9c0d-82263cd8f215 {
        width: 100%;
        max-width: 100%;
    }


    /* FOOTER */

    .footer-one-line {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        white-space: nowrap !important;

        overflow-wrap: normal !important;
        word-break: normal !important;

        text-align: center !important;

        letter-spacing: 0 !important;
        line-height: 1.3 !important;
    }

    .footer-thanks,
    .footer-booking {
        font-size: clamp(10px, 3.5vw, 19px) !important;
    }

    footer .flex {
        flex-wrap: wrap;
    }

    footer .max-w-6xl > div:last-child {
        gap: 10px;
    }

}


/* =========================================================
   23 — TRÈS PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 374px) {

    /* SERVICES */

    #services .services-grid {
        gap: 4px !important;
    }

    #services .services-grid h3 {
        font-size: 8px !important;
    }

    #services .services-grid > article > div:first-child > div:nth-child(2) {
        padding: 4px !important;
    }

    #services .services-grid button {
        font-size: 6px !important;
        padding: 6px 1px !important;
    }


    /* GUIDE */

    #prep .grid {
        gap: 4px !important;
    }

    #prep .grid > article {
        padding: 5px !important;
    }

    #prep .grid h3 {
        font-size: 8px !important;
    }

    #prep .grid p {
        font-size: 7px !important;
    }


    /* POLITIQUES */

    #policies .grid {
        gap: 4px !important;
    }

    #policies .grid > article {
        padding: 5px !important;
    }

    #policies .grid h3 {
        font-size: 8px !important;
    }

    #policies .grid p {
        font-size: 7px !important;
    }


    /* RÉSEAUX SOCIAUX */

    #social > .max-w-6xl > .grid {
        gap: 5px !important;
    }

    #social > .max-w-6xl > .grid > div {
        padding: 6px !important;
    }

    #social .grid h3 {
        font-size: 12px !important;
    }


    /* FOOTER */

    .footer-thanks,
    .footer-booking {
        font-size: 10px !important;
    }

}


/* =========================================================
   24 — ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   25 — ÉCRAN DE CHARGEMENT
   ========================================================= */

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
    min-height: 100vh;

    background: #121110;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

/* DISPARITION */

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* CONTENU */

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 85%;
    max-width: 360px;

    text-align: center;
}

/* LOGO */

.loader-logo {
    width: 150px;
    height: 100px;

    object-fit: contain;

    margin-bottom: 15px;
}

/* SIGNATURE */

.loader-subtitle {
    color: #C9B091;

    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;

    letter-spacing: 0.22em;
    text-align: center;

    margin-bottom: 45px;
}

/* POURCENTAGE */

.loader-percentage {
    display: flex;
    align-items: baseline;

    color: #D4A373;

    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 400;

    margin-bottom: 15px;
}

.loader-percentage span:last-child {
    font-size: 18px;
    margin-left: 3px;
}

/* FOND DE LA BARRE */

.loader-track {
    width: 100%;
    height: 2px;

    background: rgba(201, 176, 145, 0.2);

    overflow: hidden;
}

/* BARRE DORÉE */

#loader-bar {
    width: 0%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #9E6F33,
        #D4A373,
        #F0D5A8
    );

    transition: width 0.15s ease;

    box-shadow: 0 0 12px rgba(212, 163, 115, 0.5);
}

/* TEXTE SOUS LA BARRE */

.loader-caption {
    margin-top: 18px;

    color: rgba(239, 231, 216, 0.55);

    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;

    letter-spacing: 0.2em;
}

/* MOBILE */

@media (max-width: 639px) {

    .loader-logo {
        width: 125px;
        height: 85px;
    }

    .loader-subtitle {
        font-size: 11px;
        letter-spacing: 0.16em;
    }

    .loader-percentage {
        font-size: 36px;
    }

}

/* =========================================
   25 — FLUIDITÉ ET CONFORT DE NAVIGATION
========================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Interactions */
a,
button {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

/* Transitions élégantes */
a,
button,
.service-card,
.gallery-item,
.social-card {
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        transform .3s ease,
        opacity .3s ease;
}

/* Focus clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #B88746;
    outline-offset: 4px;
}

/* Images en cours de chargement */
img {
    background-color: #F8F4EC;
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Formations */
html { scroll-padding-top: 6rem; }
.specialty-card { display: block; transition: border-color .2s, transform .2s; }
.specialty-card:hover { border-color: #B88746; transform: translateY(-3px); }
.specialty-card:focus-visible, .training-page a:focus-visible, .training-dialog a:focus-visible,
.training-dialog button:focus-visible { outline: 2px solid #9E6F33; outline-offset: 5px; }
.training-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.training-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px max(24px, calc((100% - 1120px)/2)); border-bottom:1px solid #E2D3BD; }
.training-header img { width:112px; height:64px; object-fit:contain; }
.training-header nav { display:flex; align-items:center; gap:28px; font-size:13px; }
.training-cta { display:inline-flex; justify-content:center; align-items:center; border-radius:999px; background:#121110; color:white; padding:14px 24px; font-size:13px; text-align:center; }
.training-hero { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; padding-block:72px; }
.training-page h1 { font-family:'Cormorant Garamond',serif; font-size:clamp(52px,6vw,84px); font-weight:400; line-height:1.02; margin:20px 0 28px; }
.training-page h2, .training-dialog h2 { font-family:'Cormorant Garamond',serif; font-size:clamp(34px,4vw,52px); font-weight:400; line-height:1.12; }
.training-page h1 em, .training-page h2 em { color:#9E6F33; }
.training-page p { font-size:14px; line-height:1.9; text-align:left; margin-block:18px; color:#514b45; }
.training-page .training-eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:.2em; color:#9E6F33; }
.training-hero > img, .training-story > img { width:100%; height:auto; border-radius:18px; }
.training-programs { padding-block:48px 80px; }
.training-programs > h2 { margin-bottom:32px; }
.training-program-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.training-program-grid article { padding:30px 24px; border:1px solid #E2D3BD; border-radius:18px; background:white; }
.training-program-grid h3, .training-choice h3 { font-family:'Cormorant Garamond',serif; font-size:28px; }
.training-links { display:flex; flex-wrap:wrap; gap:10px; }
.training-links a { border:1px solid #C9B091; border-radius:999px; padding:10px 16px; font-size:13px; background:#FDFBF7; color:#121110; }
.training-links a:hover { background:#EFE7D8; }
.training-story { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:64px; padding-block:40px 100px; }
.training-footer { border-top:1px solid #E2D3BD; padding:32px 24px; text-align:center; }
.training-footer p { text-align:center; font-size:12px; }
.training-dialog { border:1px solid #E2D3BD; border-radius:22px; padding:40px; width:min(680px,calc(100% - 32px)); max-height:85dvh; overflow:auto; background:#FDFBF7; color:#121110; }
.training-dialog::backdrop { background:rgb(18 17 16 / .65); }
.training-dialog > p { margin:16px 0 24px; font-size:14px; line-height:1.6; text-align:left; }
.training-close { position:absolute; top:10px; right:16px; width:40px; height:40px; font-size:30px; cursor:pointer; }
.training-choice { margin-block:24px; }
.training-choice h3 { text-align:left; margin-bottom:12px; }
.training-more { display:inline-block; margin-top:12px; text-decoration:underline; font-size:14px; }
body:has(.training-dialog[open]) { overflow:hidden; }
.training-gallery { padding-block:30px 80px; }
.training-gallery h2 { margin-bottom:32px; }
.training-gallery-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.training-gallery-grid figure { margin:0; }
.training-gallery-grid img { width:100%; height:auto; border-radius:14px; }
.training-gallery-grid figcaption { font-size:13px; margin-top:10px; line-height:1.6; }
@media (max-width:700px) {
 .training-header { padding:12px 20px; }
 .training-header nav { gap:14px; font-size:12px; }
 .training-header nav a:nth-child(2) { display:none; }
 .training-hero, .training-story { grid-template-columns:1fr; gap:28px; padding-block:40px; }
 .training-program-grid { grid-template-columns:1fr; }
 .training-dialog { padding:46px 22px 26px; }
 .training-dialog h2 { font-size:34px; }
 .training-gallery-grid { grid-template-columns:1fr; }
}




/* Ruban cadeau en satin */
.black-friday-ribbon { position:relative; width:100%; margin:0; text-align:center; }
.gift-ribbon-art { position:relative; display:block; isolation:isolate; width:100%; height:180px; }
.gift-band {
 position:absolute; top:58px; inset-inline:0; height:94px;
 background:linear-gradient(178deg,#795125 0%,#bd8b48 16%,#f0d4a1 47%,#c59654 64%,#8f622e 100%);
 box-shadow:inset 0 2px 2px #f9e7bf99,inset 0 -3px 5px #56341366,0 4px 8px #63421f26;
}
.gift-loop {
    position: absolute;
    z-index: 2;
    top: 32px;
    left: 50%;
    width: 92px;
    height: 64px;
    border: 1px solid #b58b52;
    background:
        radial-gradient(ellipse at 94% 78%, #79532f 0%, transparent 44%),
        linear-gradient(155deg, #947040 0%, #d0ac76 24%, #f1dbb7 44%, #c69e65 63%, #987140 88%);
    box-shadow:
        inset 0 2px 3px rgb(255 241 210 / 65%),
        inset 0 -5px 8px rgb(94 62 29 / 25%),
        0 3px 5px rgb(72 47 21 / 18%);
}
.gift-loop::after {
    content: "";
    position: absolute;
    inset: 10px 10px 12px 13px;
    border-radius: inherit;
    border-bottom: 3px solid rgb(119 82 42 / 32%);
    box-shadow: 0 3px 4px rgb(247 223 182 / 35%);
}
.gift-loop-left {
    margin-left: -91px;
    border-radius: 22% 70% 30% 56%;
    transform: rotate(18deg);
    transform-origin: right bottom;
}
.gift-loop-right {
    margin-left: -1px;
    border-radius: 70% 22% 56% 30%;
    transform: rotate(-18deg);
    transform-origin: left bottom;
}
.gift-tail {
    position: absolute;
    z-index: 1;
    top: 99px;
    left: 50%;
    width: 44px;
    height: 69px;
    background: linear-gradient(90deg, #a67e49 0%, #d9b987 28%, #ead2ad 49%, #c8a26e 73%, #a67e49 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 79%, 0 100%);
}
.gift-tail::after {
    content: "";
    position: absolute;
    inset: 0 36% 20% 36%;
    background: linear-gradient(180deg, rgb(107 74 38 / 22%), transparent 80%);
}
.gift-tail-left {
    margin-left: -44px;
    transform: rotate(36deg);
    transform-origin: top right;
}
.gift-tail-right {
    margin-left: 0;
    transform: rotate(-36deg);
    transform-origin: top left;
}
.gift-knot {
    position: absolute;
    z-index: 3;
    top: 77px;
    left: 50%;
    width: 30px;
    height: 34px;
    transform: translateX(-50%);
    border: 1px solid #b18b57;
    border-radius: 35% 32% 34% 30%;
    background: linear-gradient(90deg, #a17a45, #d1ae79 27%, #eed5ac 49%, #c19a61 72%, #99723e);
    box-shadow:
        inset 0 2px 3px rgb(255 239 205 / 50%),
        0 3px 5px rgb(79 51 23 / 26%);
}
.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message {
 position:absolute; top:58px; inset-inline:0; display:grid;
 grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);
 align-items:center; min-height:94px; margin:0; padding:12px 20px;
 border:0; background:none; box-shadow:none; color:#2d2013; text-align:center;
 font-family:'Cormorant Garamond','Playfair Display',serif;
 font-size:clamp(16px,1.6vw,22px); font-weight:600; letter-spacing:.04em; line-height:1.25;
}
.gift-ribbon-message > span:first-child { grid-column:1; }
.gift-ribbon-message > span:last-child { grid-column:3; }
.promotion-section { position:relative; width:100%; padding:22px 0 10px; background:#FDFBF7; }
.training-page footer p { color:inherit; font-size:inherit; line-height:inherit; margin-block:0; }
@media(max-width:700px) {
 .black-friday-ribbon .gift-ribbon-art { height:245px; }
 .gift-loop-left { transform: rotate(18deg) scale(.9); }
 .gift-loop-right { transform: rotate(-18deg) scale(.9); }
 .gift-tail { height:60px; }
 .black-friday-ribbon .gift-band { top:105px; height:140px; }
 .black-friday-ribbon .gift-ribbon-message,
 .training-page .black-friday-ribbon .gift-ribbon-message {
  top:152px; display:block; min-height:0; padding:10px 15px; font-size:15px; line-height:1.3;
 }
 .gift-ribbon-message > span { display:block; }
 .gift-ribbon-message > span + span { margin-top:5px; }
}

/* Message sur une ligne, dans la bande sous le nœud */
.promotion-section .black-friday-ribbon { min-height: 222px; }
.promotion-section .gift-ribbon-art { height: 222px; }
.promotion-section .gift-band { top: 170px; height: 52px; }
.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message {
    position: absolute;
    top: 170px;
    inset-inline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0;
    padding: 0 12px;
    font-weight: 700;
    font-size: clamp(4px, 1.09vw, 18px);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Nœud central entre les deux parties du message */
.promotion-section .black-friday-ribbon { min-height: 180px; }
.promotion-section .gift-ribbon-art { height: 180px; }
.promotion-section .gift-band { top: 58px; height: 94px; }
.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message {
    top: 58px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1.25fr);
    min-height: 94px;
    padding: 0 20px;
    font-size: clamp(4px, .9vw, 16px);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.gift-ribbon-message > span { display: block; margin: 0; }
.gift-ribbon-message > span:first-child { grid-column: 1; }
.gift-ribbon-message > span:last-child { grid-column: 3; }
@media (max-width: 700px) {
    .promotion-section .gift-ribbon-art {
        transform: scale(.55);
        transform-origin: center 90px;
        width: 181.818%;
        margin-left: -40.909%;
    }
    .black-friday-ribbon .gift-ribbon-message,
    .training-page .black-friday-ribbon .gift-ribbon-message {
        grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1.25fr);
        padding-inline: 8px;
        font-size: clamp(3px, .9vw, 6.3px);
    }
    .gift-ribbon-message > span + span { margin-top: 0; }
}

.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message,
.gift-ribbon-message strong {
    font-weight: 700;
    -webkit-text-stroke: .2px currentColor;
}

/* Texte du ruban agrandi */
.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message {
    font-size: clamp(10px, 1.1vw, 19px);
    white-space: normal;
    line-height: 1.25;
}
@media (max-width: 700px) {
    .black-friday-ribbon .gift-ribbon-message,
    .training-page .black-friday-ribbon .gift-ribbon-message {
        font-size: clamp(8px, 2vw, 14px);
    }
}

/* Deux zones de texte équilibrées autour du nœud */
.black-friday-ribbon .gift-ribbon-message,
.training-page .black-friday-ribbon .gift-ribbon-message {
    grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
    justify-items: center;
    align-items: center;
}
.gift-ribbon-message > span {
    width: 100%;
    text-align: center;
    align-self: center;
}
@media (max-width: 700px) {
    .black-friday-ribbon .gift-ribbon-message,
    .training-page .black-friday-ribbon .gift-ribbon-message {
        grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
    }
}

/* Nœud doré fourni pour le ruban */
.gift-bow-photo {
    position: absolute;
    z-index: 3;
    top: -4px;
    left: 50%;
    width: 200px;
    height: 180px;
    transform: translateX(-50%);
    background-image: url('images/noeud-dore.png');
    background-repeat: no-repeat;
    background-size: 365px 365px;
    background-position: center 44%;
    mix-blend-mode: normal;
}

/* Descriptions des spécialités centrées */
#about .specialty-card p {
    text-align: center;
}
