/* ========================================================================
   LUXE HAIR STUDIO — Cream chaud + tan sand, serif éditorial.
   Layout aéré, photos warm-toned, hero split, grille 3×2, cards tan.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --x-cream: #f5ebd7;
    --x-cream-soft: #faf2e1;
    --x-cream-deep: #ecdfc4;
    --x-tan: #d2a87a;
    --x-tan-deep: #b88857;
    --x-tan-soft: #e6c8a3;
    --x-text: #4a3220;
    --x-text-soft: #6b4f38;
    --x-text-mute: #8a7560;
    --x-line: #d8c4a0;
    --x-font-display: 'Cormorant Garamond', Georgia, serif;
    --x-font-body: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--x-cream);
    color: var(--x-text);
    font-family: var(--x-font-body);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
button { background: 0; border: 0; cursor: pointer; font: inherit; color: inherit; }

/* === HEADER avec logo central + nav split === */
.x-header {
    background: var(--x-cream);
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid var(--x-line);
}
.x-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 2rem;
}
.x-header__nav ul {
    display: flex; gap: 3rem; align-items: center;
    list-style: none;
}
.x-header__nav--left ul { justify-content: flex-start; }
.x-header__nav--right ul { justify-content: flex-end; }
.x-header__nav a {
    font-family: var(--x-font-body);
    font-size: .78rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--x-text-soft);
}
.x-header__nav a:hover { color: var(--x-tan-deep); }

.x-logo {
    display: flex; flex-direction: column; align-items: center;
    gap: .35rem;
    text-align: center;
}
.x-logo__main {
    font-family: var(--x-font-display);
    font-size: 1.5rem;
    letter-spacing: .15em;
    color: var(--x-text);
    font-weight: 500;
    line-height: 1;
}
.x-logo__rule {
    width: 30px; height: 1px;
    background: var(--x-tan-deep);
    display: block;
    opacity: .5;
}
.x-logo__sub {
    font-family: var(--x-font-body);
    font-size: .65rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--x-text-mute);
}

@media (max-width: 768px) {
    .x-header { padding: 1.25rem 1rem; }
    .x-header__inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
    .x-header__nav ul { justify-content: center; gap: 1.5rem; }
}

/* === BUTTONS === */
.x-btn {
    display: inline-block;
    padding: 1rem 2.25rem;
    font-family: var(--x-font-body);
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    background: var(--x-tan);
    border: 1px solid var(--x-tan);
    transition: all .3s ease;
    cursor: pointer;
}
.x-btn:hover { background: var(--x-tan-deep); border-color: var(--x-tan-deep); }
.x-btn--tan { background: var(--x-tan); }

/* === Section title (serif élégant) === */
.x-section-title {
    font-family: var(--x-font-display);
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: var(--x-text);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -.005em;
}
.x-section-title--small {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    text-align: left;
    margin-bottom: 1.5rem;
}

/* ========================================================================
   HERO SPLIT — portrait gauche + titre droit + bouton tan
   ======================================================================== */
.x-hero {
    background: var(--x-cream);
    padding: clamp(3rem, 6vw, 5rem) 2.5rem;
}
.x-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.x-hero__photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--x-cream-deep);
    max-width: 380px;
    width: 100%;
}
.x-hero__photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center;
}
.x-hero__photo-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--x-cream-deep) 0%, var(--x-tan-soft) 100%);
}
.x-hero__title {
    font-family: var(--x-font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    color: var(--x-text);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.x-hero__lead {
    font-size: .95rem;
    color: var(--x-text-soft);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 460px;
}

@media (max-width: 800px) {
    .x-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .x-hero__photo { max-width: 280px; margin: 0 auto; }
}

/* ========================================================================
   PHILOSOPHY — Fond crème, titre serif gauche + texte droit
   ======================================================================== */
.x-philo {
    background: var(--x-cream-soft);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
}
.x-philo__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.x-philo__title {
    text-align: left;
    margin-bottom: 0;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.x-philo__text {
    font-size: .95rem;
    color: var(--x-text-soft);
    line-height: 1.85;
}

@media (max-width: 800px) {
    .x-philo__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ========================================================================
   FEATURED STYLES — Grille 3 cols × 2 rows
   ======================================================================== */
.x-featured {
    background: var(--x-cream);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
}
.x-featured__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.x-featured__title { margin-bottom: 3rem; }
.x-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.x-featured__item {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--x-cream-deep);
    border: 8px solid var(--x-cream);
    transition: transform .4s ease;
}
.x-featured__item:hover { transform: translateY(-3px); }
.x-featured__item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s ease;
}
.x-featured__item:hover img { transform: scale(1.04); }
.x-featured__placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--x-cream-deep) 0%, var(--x-tan-soft) 100%);
}

@media (max-width: 800px) {
    .x-featured__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .x-featured__grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   CLIENT LOVE — Cards tan rectangulaires
   ======================================================================== */
.x-clientlove {
    background: var(--x-cream-soft);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
}
.x-clientlove__inner {
    max-width: 1300px;
    margin: 0 auto;
}
.x-clientlove__rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.x-clientlove__card {
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 0;
    transition: transform .3s ease;
}
.x-clientlove__card--tan { background: var(--x-tan-soft); }
.x-clientlove__card--tan-dark { background: var(--x-tan); color: #fff; }
.x-clientlove__card--tan-dark .x-clientlove__quote { color: rgba(255,255,255,.95); }
.x-clientlove__card--tan-dark .x-clientlove__by { color: rgba(255,255,255,.85); }
.x-clientlove__card:hover { transform: translateY(-3px); }
.x-clientlove__quote {
    font-size: .85rem;
    color: var(--x-text-soft);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.x-clientlove__by {
    font-family: var(--x-font-display);
    font-size: .9rem;
    font-style: italic;
    color: var(--x-text-soft);
}
.x-clientlove__dots {
    display: flex; justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
}
.x-clientlove__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--x-text-mute);
    opacity: .35;
    transition: opacity .25s ease, transform .25s ease;
}
.x-clientlove__dot.is-active {
    opacity: 1;
    background: var(--x-tan-deep);
    transform: scale(1.3);
}

/* ========================================================================
   ABOUT ME — Photo gauche + texte droit + flèches nav latérales
   ======================================================================== */
.x-aboutme {
    background: var(--x-cream);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
    position: relative;
}
.x-aboutme__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr 1.3fr;
    gap: 2rem 3rem;
    align-items: center;
    position: relative;
}
.x-aboutme__nav {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--x-cream-soft);
    color: var(--x-text-soft);
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background .25s ease;
}
.x-aboutme__nav:hover { background: var(--x-tan-soft); }
.x-aboutme__nav--prev { grid-column: 1; }
.x-aboutme__photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--x-cream-deep);
    max-width: 280px;
    width: 100%;
}
.x-aboutme__photo img { width: 100%; height: 100%; object-fit: cover; }
.x-aboutme__photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--x-cream-deep), var(--x-tan-soft)); }
.x-aboutme__text { padding-right: 2rem; }
.x-aboutme__text p {
    font-size: .92rem;
    color: var(--x-text-soft);
    line-height: 1.85;
    margin-bottom: 1rem;
}
.x-aboutme__sig {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--x-line);
    display: flex; flex-direction: column; gap: .15rem;
}
.x-aboutme__sig strong {
    font-family: var(--x-font-display);
    font-size: 1.15rem;
    color: var(--x-text);
    font-weight: 500;
}
.x-aboutme__sig span {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--x-text-mute);
}

@media (max-width: 800px) {
    .x-aboutme__inner { grid-template-columns: 1fr; }
    .x-aboutme__nav { display: none; }
    .x-aboutme__photo { max-width: 240px; margin: 0 auto; }
    .x-aboutme__text { padding-right: 0; }
}

/* ========================================================================
   CONTACT — Form simple + infos
   ======================================================================== */
.x-contact {
    background: var(--x-cream-soft);
    padding: clamp(4rem, 7vw, 6rem) 2.5rem;
}
.x-contact__inner {
    max-width: 700px;
    margin: 0 auto;
}
.x-contact__lead {
    text-align: center;
    color: var(--x-text-soft);
    font-size: 1rem;
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}
.x-contact__form {
    display: flex; flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.x-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.x-contact__field {
    display: flex; flex-direction: column;
    gap: .5rem;
}
.x-contact__field span {
    font-family: var(--x-font-body);
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--x-text-mute);
}
.x-contact__field input,
.x-contact__field textarea {
    background: #fff;
    border: 1px solid var(--x-line);
    padding: .85rem 1rem;
    font-family: var(--x-font-body);
    font-size: .95rem;
    color: var(--x-text);
    transition: border-color .25s ease;
}
.x-contact__field input:focus,
.x-contact__field textarea:focus {
    outline: none;
    border-color: var(--x-tan);
}
.x-contact__form button { align-self: flex-start; }

.x-contact__info {
    border-top: 1px solid var(--x-line);
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}
.x-contact__info > div {
    display: flex; flex-direction: column;
    gap: .35rem;
}
.x-contact__info span:first-child {
    font-size: .65rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--x-text-mute);
}
.x-contact__info a, .x-contact__info span:last-child {
    font-size: .9rem;
    color: var(--x-text);
    font-family: var(--x-font-display);
}

@media (max-width: 600px) {
    .x-contact__row { grid-template-columns: 1fr; }
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.x-footer {
    background: var(--x-text);
    color: var(--x-cream);
    padding: 3.5rem 2.5rem 1.5rem;
}
.x-footer__inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-direction: column;
    gap: 2.5rem;
}
.x-footer__brand { text-align: center; }
.x-footer__brand .x-logo__main {
    color: var(--x-cream);
    font-size: 1.4rem;
    letter-spacing: .25em;
}
.x-footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.x-footer__cols p {
    font-size: .88rem;
    color: rgba(245,235,215,.7);
    line-height: 1.8;
}
.x-footer__cols a { color: rgba(245,235,215,.85); }
.x-footer__cols a:hover { color: var(--x-tan); }
.x-footer__socials { display: flex; gap: 1rem; justify-content: center; }
.x-footer__socials a {
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(245,235,215,.85);
    border: 1px solid rgba(245,235,215,.25);
    padding: .55rem 1rem;
}
.x-footer__socials a:hover { background: var(--x-tan); border-color: var(--x-tan); color: #fff; }
.x-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245,235,215,.1);
    text-align: center;
    color: rgba(245,235,215,.5);
    font-size: .78rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.preview-banner { background: var(--x-tan); color: #fff; text-align: center; padding: .5rem; font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
[x-cloak] { display: none !important; }
