/* =========================================================
   CISEAUX D'OR
   Direction artistique :
   Noir / Anthracite / Or chaud / Ivoire
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --black: #080808;
    --black-soft: #0d0d0d;
    --anthracite: #141414;
    --anthracite-light: #1a1a1a;

    --gold: #c6a15b;
    --gold-light: #dfc483;
    --gold-dark: #92723e;

    --ivory: #f5f2ea;
    --white: #ffffff;

    --grey: #aaa59b;
    --grey-dark: #6e6960;

    --border: #292824;

    --container: 1200px;
    --section-space: clamp(64px, 6vw, 88px);
    --heading-size: clamp(2.5rem, 4.8vw, 4.5rem);

    --transition: 0.25s ease;
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background: var(--black);
    color: var(--ivory);

    font-family: 'Manrope', sans-serif;
    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    width: 100%;
    display: block;
}

/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));

    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.eyebrow {
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;

    margin-bottom: 18px;
}

h1,
h2,
h3,
.logo {
    font-family: 'Cormorant Garamond', serif;
}

.section-title {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 28px;

    margin-bottom: 36px;
}

.section-title h2 {
    font-size: var(--heading-size);

    line-height: 1.04;

    font-weight: 600;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--gold-light);

    font-size: 0.88rem;
    font-weight: 600;

    transition: var(--transition);
}

.text-link:hover {
    color: var(--white);
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 8, 8, 0.9);

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

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
    height: 82px;

    display: flex;

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

.logo {
    color: var(--ivory);
    display: inline-flex;
    align-items: center;
    gap: 14px;

    font-size: 1.45rem;

    font-weight: 700;

    letter-spacing: 0.15em;

    white-space: nowrap;
}

.brand-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar .logo {
    min-width: 0;
}
.navbar .logo > span {
    max-width: min(380px, calc(100vw - 156px));
    overflow: hidden;
    text-overflow: ellipsis;
}
.logo--footer > span {
    white-space: normal;
    overflow-wrap: anywhere;
}
.hero h1 {
    overflow-wrap: anywhere;
}

.logo--footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.logo--footer .brand-mark {
    width: 132px;
    height: 132px;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-links > a {
    color: #ccc7bd;

    font-size: 0.86rem;
    font-weight: 500;

    transition: var(--transition);
}

.nav-links > a:hover {
    color: var(--gold-light);
}

.nav-links .nav-button {
    padding: 11px 19px;

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

    color: var(--ivory);
}

.nav-links .nav-button:hover {
    color: var(--black);

    background: var(--gold);
}

/* =========================================================
   MENU MOBILE
========================================================= */

.menu-button {
    display: none;

    width: 44px;
    height: 44px;
    padding: 5px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: var(--ivory);
}

/* =========================================================
   HERO ACCUEIL
========================================================= */

.hero {
    position: relative;

    min-height: min(900px, 100svh);
    padding: 150px 0 100px;

    display: flex;

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

    overflow: hidden;
}

.hero-background {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(circle at 70% 25%, rgba(198, 161, 91, 0.2), transparent 28%),
        radial-gradient(circle at 25% 70%, rgba(198, 161, 91, 0.06), transparent 30%),
        linear-gradient(120deg, #050505 0%, #17140f 55%, #070707 100%);
}

.hero-background::before {
    content: '';

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);

    background-size: 70px 70px;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62));
}

.hero-content {
    position: relative;

    z-index: 2;

    text-align: center;

    padding-top: 0;
}

.hero h1 {
    color: var(--ivory);

    font-size: clamp(5rem, 12vw, 10rem);

    font-weight: 600;

    line-height: 0.76;

    letter-spacing: 0.065em;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-description {
    margin-top: 36px;

    color: #d5d0c6;

    font-size: 1.05rem;

    letter-spacing: 0.08em;
}

.hero-review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 44px;
    margin-top: 22px;
    padding: 8px 0;
    color: var(--gold-light);
    font-size: 0.85rem;
}

.hero-review-link:hover span:first-of-type {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero-review-link svg {
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 14px;

    margin-top: 38px;
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
    min-height: 52px;

    display: inline-flex;

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

    padding: 0 25px;

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

    font-size: 0.86rem;

    font-weight: 700;

    cursor: pointer;

    transition: var(--transition);
}

.button-gold {
    color: #080808;

    background: var(--gold);
}

.button-gold:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}

.button-outline {
    color: var(--ivory);

    background: transparent;
}

.button-outline:hover {
    color: var(--gold-light);

    background: rgba(198, 161, 91, 0.07);

    transform: translateY(-2px);
}

/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 35px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 12px;

    color: #706d66;

    font-size: 0.62rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.scroll-indicator span {
    width: 42px;
    height: 1px;

    display: block;

    background: var(--gold);
}

/* =========================================================
   PRESTATIONS
========================================================= */

.services-grid {
    display: grid;

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

    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 290px;

    padding: 32px;

    display: flex;

    flex-direction: column;
    justify-content: space-between;

    background: var(--anthracite);
    gap: 24px;

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

    transition: var(--transition);
}

.service-card::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: 0.35s ease;
}

.service-card:hover {
    border-color: #544832;

    transform: translateY(-5px);
}

.service-card:hover::after {
    width: 100%;
}

.service-number {
    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 700;
}

.service-card h3 {
    color: var(--ivory);

    font-size: 2.2rem;

    font-weight: 600;

    margin-bottom: 10px;
}

.service-card p {
    color: var(--grey);

    font-size: 0.9rem;

    max-width: 300px;
}

.service-bottom {
    padding-top: 19px;

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

    display: flex;

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

.service-bottom span {
    color: var(--grey);

    font-size: 0.8rem;
}

.service-bottom strong {
    color: var(--gold-light);

    font-size: 1.25rem;
}

/* =========================================================
   SALON
========================================================= */

.salon-section {
    background: var(--black-soft);
}

.salon-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: clamp(36px, 5vw, 64px);
}

.salon-photo.placeholder {
    aspect-ratio: 4 / 3;
}

.salon-content h2 {
    font-size: var(--heading-size);

    line-height: 1.04;

    font-weight: 600;

    margin-bottom: 24px;
}

.salon-content > p:not(.eyebrow) {
    color: var(--grey);

    max-width: 520px;

    margin-bottom: 18px;
}

/* =========================================================
   PLACEHOLDERS IMAGES
========================================================= */

.placeholder {
    position: relative;

    display: flex;

    flex-direction: column;

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

    overflow: hidden;

    color: #787064;

    font-size: 0.68rem;

    letter-spacing: 0.14em;

    text-align: center;

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

    background:
        radial-gradient(circle at center, rgba(198, 161, 91, 0.08), transparent 50%),
        linear-gradient(135deg, #181818, #0d0d0d);
}

.placeholder::after {
    content: '';

    position: absolute;

    inset: 15px;

    border: 1px solid rgba(198, 161, 91, 0.1);

    pointer-events: none;
}

.placeholder small {
    margin-top: 8px;

    color: #514e48;

    font-size: 0.62rem;

    letter-spacing: normal;
}

/* =========================================================
   GALERIE
========================================================= */

.gallery-section {
    background: #060606;
}

.gallery-grid {
    display: grid;

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

    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border);

    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--gold);

    transform: translateY(-4px);
}

/* =========================================================
   AVIS
========================================================= */

.review-section {
    text-align: center;
}

.review {
    max-width: 900px;

    margin: 0 auto;
}

.review blockquote {
    margin: 26px 0;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(2.2rem, 4.2vw, 3.75rem);

    line-height: 1.03;

    font-weight: 500;
}

.review p {
    color: var(--grey);

    font-size: 0.82rem;

    letter-spacing: 0.08em;
}

.review .eyebrow {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
}

.review h2 {
    font-size: var(--heading-size);
    font-weight: 600;
    line-height: 1.04;
}

.review .review-description {
    max-width: 55ch;
    margin: 24px auto 28px;
    font-size: 1rem;
    letter-spacing: normal;
}

.review-button {
    gap: 10px;
    max-width: 100%;
    padding: 14px 24px;
}

.review .review-note {
    margin-top: 16px;
    font-size: 0.75rem;
    letter-spacing: normal;
}

/* =========================================================
   PRODUITS
========================================================= */

.products-section {
    background: #101010;
}

.products-grid {
    display: grid;

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

    gap: 16px;
}

.product-card {
    padding: 12px;

    display: flex;

    flex-direction: column;

    background: #101010;

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

    transition: var(--transition);
}

.product-card:hover {
    border-color: #594b34;

    transform: translateY(-4px);
}

.product-photo {
    aspect-ratio: 1 / 1;
}

.product-content {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;

    padding: 18px 5px 10px;
}

.product-content h3 {
    color: var(--ivory);

    font-size: 1.4rem;

    line-height: 1.1;
}

.product-content p {
    color: var(--grey);

    font-size: 0.75rem;
}

.product-content strong {
    color: var(--gold-light);

    white-space: nowrap;
}

.product-category {
    display: block;

    margin-bottom: 4px;

    color: var(--gold);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.product-description {
    color: var(--grey);

    font-size: 0.82rem;

    padding: 2px 5px 20px;

    flex: 1;
}

/* =========================================================
   LOCALISATION ACCUEIL
========================================================= */

.location-section {
    background: var(--anthracite);
}

.location-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: clamp(32px, 5vw, 64px);
}

.map {
    min-height: 420px;

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

    background: var(--black-soft);
}

.location-content h2,
.contact-location-content h2 {
    font-size: var(--heading-size);

    line-height: 1.04;

    font-weight: 600;
}

.address {
    color: var(--grey);

    margin-top: 28px;
}

.hours {
    margin: 30px 0;
}

.hours > div {
    display: flex;

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

    gap: 20px;

    padding: 12px 0;

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

.hours span {
    color: var(--grey);

    font-size: 0.82rem;
}

.hours strong {
    color: var(--ivory);

    font-size: 0.82rem;
}

/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding: 154px 0 64px;

    background:
        radial-gradient(circle at 75% 20%, rgba(198, 161, 91, 0.12), transparent 30%), #0c0c0c;

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

.page-hero h1 {
    font-size: clamp(3rem, 6.5vw, 5.75rem);

    line-height: 1.02;

    font-weight: 600;

    margin-bottom: 28px;
}

.page-hero .container > p:not(.eyebrow) {
    color: var(--grey);

    max-width: 620px;
}
.contact-cta {
    padding: 45px;

    display: flex;

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

    gap: 45px;

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

    background:
        radial-gradient(circle at 90% 10%, rgba(198, 161, 91, 0.09), transparent 30%),
        var(--black-soft);
}
.contact-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);

    line-height: 1;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-grid {
    display: grid;

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

    gap: 18px;
}

.contact-card {
    min-height: 240px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    background: var(--black-soft);

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

    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--gold-dark);

    transform: translateY(-4px);
}

.contact-number {
    color: var(--grey-dark);

    font-size: 0.7rem;

    margin-bottom: 30px;
}

.contact-card h2 {
    font-size: 2.4rem;

    line-height: 1;

    margin-bottom: 18px;
}

.contact-card p {
    color: var(--grey);
}

.contact-link {
    color: var(--gold-light);

    font-size: 0.82rem;

    word-break: break-word;
}

.contact-location-section {
    background: var(--black-soft);
}

.contact-location-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: clamp(32px, 5vw, 64px);

    align-items: center;
}

.contact-map {
    height: 460px;

    overflow: hidden;

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

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    filter: none;
}

.contact-location-text {
    color: var(--grey);

    margin-top: 25px;
}

.order-form {
    display: flex;

    flex-direction: column;

    gap: 24px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-group label {
    color: var(--ivory);

    font-size: 0.78rem;

    font-weight: 600;
}

.form-group label span {
    color: var(--grey-dark);

    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 16px;

    color: var(--ivory);

    background: var(--black-soft);

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

    outline: none;

    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #59564f;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 70px 0 25px;

    background: #060606;

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

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1.4fr;

    gap: 60px;
}

.footer h4 {
    color: var(--gold);

    font-size: 0.7rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 18px;
}

.footer-grid div > a:not(.logo) {
    display: block;

    color: var(--grey);

    font-size: 0.82rem;

    margin: 7px 0;

    transition: var(--transition);
}

.footer-grid div > a:not(.logo):hover {
    color: var(--gold-light);
}

.footer-grid p {
    color: var(--grey);

    font-size: 0.82rem;
}

.footer-slogan {
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 55px;

    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: var(--grey);

    font-size: 0.7rem;

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

/* =========================================================
   TABLET
========================================================= */

h1,
h2 {
    text-wrap: balance;
}
.salon-grid > *,
.location-grid > *,
.contact-location-grid > *,
.footer-grid > * {
    min-width: 0;
}

.footer-grid a {
    overflow-wrap: anywhere;
}
.contact-cta > .button {
    flex-shrink: 0;
}

.contact-cta p:not(.eyebrow) {
    max-width: 52ch;
    margin-top: 16px;
    color: var(--grey);
}

.products-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 5px;
}

.nav-links a[aria-current='page'] {
    color: var(--gold-light);
}

@media (max-width: 950px) {
    .location-grid,
    .contact-location-grid {
        gap: 36px;
    }

    .contact-card {
        min-height: auto;
        padding: 28px;
    }

    .contact-number {
        margin-bottom: 18px;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 82px;
        left: 24px;
        right: 24px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px;

        background: #101010;

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

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 14px;
    }

    .nav-links .nav-button {
        text-align: center;

        margin-top: 7px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .salon-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .location-grid,
    .contact-location-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {
    .navbar .logo {
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        gap: 10px;
    }

    .navbar .brand-mark {
        width: 52px;
        height: 52px;
    }

    :root {
        --section-space: 56px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .service-card {
        padding: 26px;
    }
    .contact-cta {
        gap: 24px;
    }

    .footer {
        padding-top: 48px;
    }

    .footer-bottom {
        margin-top: 32px;
        gap: 8px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .navbar {
        height: 72px;
    }

    .nav-links {
        top: 72px;

        left: 14px;
        right: 14px;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        min-height: 92svh;
        padding: 120px 0 96px;
    }

    .hero h1 {
        font-size: clamp(3.25rem, 13vw, 5rem);
    }

    .hero-description {
        margin-top: 27px;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;

        max-width: 300px;

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

    .section-title {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 275px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 120px 0 48px;
    }

    .page-hero h1 {
        font-size: clamp(2.65rem, 10.5vw, 3.8rem);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-map,
    .map {
        min-height: 350px;
        height: 350px;
    }
    .contact-cta {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.salon-photo {
    width: 100%;

    overflow: hidden;

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

.salon-photo img {
    width: 100%;
    height: auto;

    display: block;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
