/* ============================================
   COMPÉTENCE COIFFURE — feuille de style principale
   Palette : blanc chaud / noir chaud / bronze doré
   ============================================ */

:root {
    --paper: #FAF8F4;
    --ink: #1E1B18;
    --accent: #A9762F;
    --accent-dim: #C9A06A;
    --line: rgba(30, 27, 24, 0.14);
    --muted: #6B655F;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', Arial, sans-serif;
    background-color: var(--paper);
    color: var(--ink);
    padding-top: 104px;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

h1, h2, h3 {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.section-label {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background-color: #cfc7bb; border-radius: 6px; }

/* Focus visible pour accessibilité clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

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

/* ============ ANIMATIONS ============ */

/* Révélation en fondu au scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Entrée en fondu du hero au chargement */
.home__left,
.home__right {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

body.is-loaded .home__left {
    opacity: 1;
    transform: translateY(0);
}

body.is-loaded .home__right {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

/* Cartes qui se soulèvent légèrement au survol */
.service-card,
.value-card,
.service-item,
.stat {
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover,
.value-card:hover,
.service-item:hover {
    transform: translateY(-6px);
}

.stat:hover h3 {
    transform: scale(1.05);
}

.stat h3 {
    transition: transform 0.3s ease;
}

/* Zoom doux sur les photos au survol */
.photo-slot img {
    transition: transform 0.6s ease;
}

.photo-slot:hover img {
    transform: scale(1.06);
}

/* Soulignement animé des liens de service */
.service-card a {
    position: relative;
    transition: color 0.3s ease;
}

/* Chatbot : légère apparition */
.chatbot-window {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ============ HEADER ============ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

.header_logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header_logo img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.header_logo-text {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
    line-height: 1.15;
}

.header_right {
    display: flex;
    align-items: center;
    gap: 44px;
}

.header_menu {
    display: flex;
    gap: 34px;
}

.header_menu a {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink);
    position: relative;
    padding-bottom: 4px;
}

.header_menu a.active,
.header_menu a:hover {
    color: var(--accent);
}

.header_menu a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
}

.btn-rdv {
    background-color: var(--ink);
    color: var(--white) !important;
    padding: 12px 24px;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid var(--ink);
    transition: 0.3s ease;
    white-space: nowrap;
}

.btn-rdv:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Burger mobile */
/* Bande de navigation mobile — toujours visible, sans avoir besoin d'ouvrir le menu */
.mobile-page-nav {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.burger span {
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    transition: 0.3s ease;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bouton flottant "Prendre rendez-vous" (mobile / scroll) */
.floating-rdv {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background-color: var(--ink);
    color: var(--white);
    padding: 14px 22px;
    font-size: 14px;
    border: 1px solid var(--ink);
    z-index: 999;
    box-shadow: 0 6px 18px rgba(30, 27, 24, 0.22);
    transition: 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.floating-rdv.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-rdv:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* ============ GÉNÉRAL ============ */
section {
    padding: 100px 6%;
}

/* Bannières pleine largeur : image entière visible, jamais recadrée */
.full-banner {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

.full-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.full-banner-tall {
    max-width: 560px;
}

.title {
    font-size: 44px;
    max-width: 620px;
}

.title-center {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.eyebrow {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    display: block;
}

.divider {
    border: none;
    border-top: 1px solid var(--line);
}

/* Placeholder photo (à remplacer par de vraies photos du salon) */
.photo-slot {
    background: linear-gradient(135deg, #EFE8DC, #E3D8C4);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-slot span {
    position: relative;
    z-index: 1;
    max-width: 80%;
}

/* ============ HOME — HERO ============ */
.home {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: calc(100vh - 84px);
}

.home__left {
    width: 44%;
}

.home__left h1 {
    font-size: 52px;
    margin-bottom: 22px;
}

.home__left p {
    max-width: 420px;
    margin-bottom: 34px;
}

.home__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tagline-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.tagline-heart {
    width: 56px;
    height: 50px;
    flex-shrink: 0;
}

.tagline {
    margin-top: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: 1px solid var(--ink);
    transition: 0.3s ease;
}

.btn-primary {
    background-color: var(--ink);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.home__right {
    width: 56%;
    height: 560px;
}

/* ============ REPÈRES / STATS ============ */
.stats {
    padding: 60px 6%;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.stat h3 {
    font-size: 36px;
    color: var(--accent);
}

.stat p {
    font-size: 14px;
    margin-top: 4px;
}

/* ============ SERVICES OVERVIEW (accueil) ============ */
.services-overview .title-center {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    background-color: var(--paper);
    padding: 40px 28px;
    transition: 0.3s ease;
}

.service-card:hover {
    background-color: var(--white);
}

.service-card .photo-slot {
    aspect-ratio: 4 / 5;
    height: auto;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card a {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
}

/* ============ POURQUOI NOUS CHOISIR ============ */
.why-us {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background-color: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.why-us-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background-color: var(--paper);
    border: 1px solid var(--accent-dim);
    color: var(--accent);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-item h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.why-us-item p {
    font-size: 13px;
}

/* ============ TÉMOIGNAGES ============ */
.testimonials {
    text-align: center;
}

.testimonial-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 22px;
}

.testimonial-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 44px;
    background-color: var(--white);
    border: 1px solid var(--line);
}

.stars {
    color: var(--accent);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 18px;
}

.testimonial-author {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* ============ GALERIE ============ */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-strip .photo-slot {
    aspect-ratio: 3 / 4;
    height: auto;
}

/* Collage asymétrique — 1 grande photo + 2 plus petites, légèrement inclinées */
.photo-collage {
    position: relative;
    max-width: 720px;
    height: 480px;
    margin: 0 auto;
}

.collage-item {
    position: absolute;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 14px 34px rgba(30, 27, 24, 0.2);
    background: var(--paper);
    cursor: pointer;
}

.collage-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-item:hover img {
    transform: scale(1.06);
}

.collage-large {
    left: 0;
    top: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
}

.collage-small-1 {
    right: 2%;
    top: 0;
    width: 42%;
    height: 54%;
    transform: rotate(4deg);
    z-index: 2;
}

.collage-small-2 {
    right: 8%;
    bottom: 0;
    width: 42%;
    height: 48%;
    transform: rotate(-3deg);
    z-index: 3;
}

.collage-small-1:hover,
.collage-small-2:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 4;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 70px 6% 40px;
    margin-top: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-col {
    min-width: 220px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    line-height: 26px;
    color: #D8D2C8;
}

.footer-col a:hover {
    color: var(--accent-dim);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    font-size: 12px;
    color: #A79E90;
}

/* ============ À PROPOS ============ */
.about-hero {
    text-align: center;
    padding-bottom: 60px;
}

.about-history {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text { width: 50%; }
.about-image { width: 50%; height: 440px; }

.about-image-circle {
    display: flex;
    justify-content: center;
}

.about-image-circle .photo-slot {
    width: 400px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
}

/* Notre Salon */
.notre-salon {
    text-align: center;
}

.salon-tour {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    text-align: left;
}

.salon-zone .photo-slot {
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
}

.salon-zone-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.02em;
}

/* Formes décoratives pour les photos */
.photo-circle {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.photo-heart {
    clip-path: url(#heartClip);
    aspect-ratio: 1 / 0.9;
}

/* Section La Patronne (texte seul, sans photo, à la demande de Jasmine) */
.patronne {
    background-color: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.patronne-text-only {
    max-width: 640px;
    margin: 0 auto;
}

.patronne-quote {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 21px;
    line-height: 1.6;
    color: var(--ink);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--line);
    border: 1px solid var(--line);
    margin-top: 50px;
}

.value-card {
    background: var(--paper);
    padding: 36px 24px;
    text-align: center;
}

.value-card .photo-slot {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.value-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
}

/* Bandeau photos défilant */
.photos-slider {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

.track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: scroll-left 26s linear infinite;
}

.track .photo-slot {
    width: 300px;
    height: 220px;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.photos-slider:hover .track {
    animation-play-state: paused;
}

/* ============ SERVICE PAGE ============ */
/* Bande marques */
.brand-strip {
    text-align: center;
    padding: 30px 6% 50px;
    border-top: 1px solid var(--line);
}

.brand-strip-label {
    display: block;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.brand-strip-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 34px;
}

.brand-strip-row span {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--ink);
    opacity: 0.55;
}

/* Parcourir par catégorie — icônes rondes */
.category-nav-visual {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 20px 6% 50px;
}

.cat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 110px;
    text-align: center;
}

.cat-circle .photo-slot {
    width: 96px;
    height: 96px;
    border: 3px solid var(--white);
    box-shadow: 0 4px 14px rgba(30, 27, 24, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cat-circle:hover .photo-slot {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(30, 27, 24, 0.22);
}

.cat-circle span {
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
}

.categories {
    position: sticky;
    top: 104px;
    display: flex;
    gap: 10px;
    padding: 20px 6%;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 90;
    flex-wrap: wrap;
}

.cat-btn {
    padding: 10px 20px;
    border: 1px solid var(--line);
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: 0.3s ease;
}

.cat-btn:hover,
.cat-btn.is-active {
    border-color: var(--ink);
    background-color: var(--ink);
    color: var(--white);
}

.category-section {
    padding-bottom: 0;
}

.category-banner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    height: 420px;
    margin-bottom: 40px;
}

.category-banner .photo-slot { height: 100%; }
.category-banner .photo-slot img { object-position: top center; }

.category-title {
    font-size: 30px;
    margin-bottom: 40px;
}

.subsection-title {
    font-size: 20px;
    margin: 50px 0 24px;
}

/* Bannière d'invitation à l'inspiration */
.inspiration-banner {
    text-align: center;
    padding: 36px 6%;
    margin-bottom: 40px;
    background-color: var(--ink);
    color: var(--paper);
}

.inspiration-banner p {
    color: var(--paper);
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* Mini-cartes produit avec bénéfice */
.product-mini {
    display: flex;
    flex-direction: column;
}

.mini-benefit {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* Galerie boutique : plus de colonnes, proportions portrait respectées */
.boutique-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-bottom: 80px;
}

.boutique-gallery .photo-slot {
    aspect-ratio: 3 / 4;
}

/* Badges catégorie colorés — Boutique */
.boutique-gallery .photo-slot::before {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

#meches .boutique-gallery .photo-slot::before { content: "Mèches"; background: #C2578A; }
#perruques .boutique-gallery .photo-slot::before { content: "Perruques"; background: #7B5EA7; }
#capillaires .boutique-gallery .photo-slot::before { content: "Soins"; background: #4C9A6A; }
#cosmetiques .boutique-gallery .photo-slot::before { content: "Beauté"; background: #D98E3F; }
#robes .boutique-gallery .photo-slot::before { content: "Mode"; background: #8C3B3B; }
#bijoux .boutique-gallery .photo-slot::before { content: "Accessoire"; background: #B08D2E; }


.boutique-gallery .photo-slot::after,
.service-item .photo-slot::after,
.service-card .photo-slot::after {
    content: "♡";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(30, 27, 24, 0.16);
    transition: color 0.25s ease, transform 0.25s ease;
}

.boutique-gallery .photo-slot:hover::after,
.service-item .photo-slot:hover::after,
.service-card .photo-slot:hover::after {
    color: var(--accent);
    transform: scale(1.1);
}

/* Photos vedettes (posters catalogue pleine largeur) */
.featured-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

.featured-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* Barbier : version simplifiée à 2 photos */
.barbier-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 320px;
    margin-bottom: 40px;
}

.barbier-simple .photo-slot { height: 100%; }
.barbier-simple .photo-slot img { object-position: top center; }

.barbier-single {
    grid-template-columns: 1fr;
    max-width: 500px;
}

/* Coloration : texte + vraie photo côte à côte */
.coloration-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 80px;
}

.coloration-text {
    flex: 1;
    padding: 40px;
    border: 1px solid var(--line);
    background-color: var(--white);
}

.coloration-photo {
    width: 340px;
    flex-shrink: 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.service-item {
    border: 1px solid var(--line);
    position: relative;
}

.card-number {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(30, 27, 24, 0.18);
}

.service-item .photo-slot {
    aspect-ratio: 3 / 4;
    height: auto;
}

.service-item-body {
    padding: 22px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    margin-bottom: 16px;
}

.service-item .price {
    color: var(--accent);
    font-size: 14px;
    display: block;
    margin-bottom: 14px;
}

.btn-book {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ink);
    background: transparent;
    cursor: pointer;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: 0.3s ease;
}

.btn-book:hover {
    background: var(--ink);
    color: var(--white);
}

/* ============ CONTACT ============ */
.contact_container {
    display: flex;
    gap: 60px;
}

.contact_info,
.contact_form {
    width: 50%;
}

.business-card-photo {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 4 / 5;
    margin-bottom: 28px;
}

.business-card-photo .photo-slot { height: 100%; }

.contact_info p {
    color: var(--ink);
    margin-bottom: 14px;
}

.whatsapp-card {
    border: 1px solid var(--line);
    padding: 22px;
    margin: 24px 0 32px;
    background: var(--white);
}

.whatsapp-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: var(--white) !important;
    padding: 12px 22px;
    font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid #25D366;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    border-color: #1DA851;
}

.subtitle {
    font-size: 20px;
    margin: 30px 0 16px;
}

.hours {
    width: 100%;
    border-collapse: collapse;
}

.hours th, .hours td {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.contact_form .input_group {
    margin-bottom: 20px;
}

.contact_form label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: var(--white);
    font-family: inherit;
    font-size: 14px;
}

.contact_form input:focus,
.contact_form textarea:focus {
    border-color: var(--accent);
}

.contact_form textarea {
    min-height: 130px;
    resize: vertical;
}

.field-error {
    color: #A9432F;
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.input_group.has-error input,
.input_group.has-error textarea {
    border-color: #A9432F;
}

.input_group.has-error .field-error {
    display: block;
}

.form-success {
    margin-top: 16px;
    padding: 14px;
    background: #EAF3EA;
    color: #2E5B33;
    font-size: 14px;
    display: none;
}

.form-success.is-visible { display: block; }

.contact-map {
    height: 320px;
    margin-top: 40px;
}

/* ============ CHATBOT ============ */
.chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 92px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(30, 27, 24, 0.25);
    transition: 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.06);
}

.chatbot-window {
    position: fixed;
    right: 24px;
    bottom: 160px;
    width: 320px;
    max-height: 420px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(30,27,24,0.18);
    display: flex;
    flex-direction: column;
    z-index: 999;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: 0.25s ease;
}

.chatbot-window.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chatbot-header {
    background: var(--ink);
    color: var(--white);
    padding: 14px 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    font-size: 13px;
    line-height: 1.5;
    padding: 9px 12px;
    max-width: 85%;
}

.chat-msg.bot {
    background: var(--paper);
    border: 1px solid var(--line);
    align-self: flex-start;
}

.chat-msg.user {
    background: var(--ink);
    color: var(--white);
    align-self: flex-end;
}

.chat-typing {
    color: var(--muted);
    letter-spacing: 2px;
    font-weight: 700;
}

.chatbot-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 14px 12px;
}

.chatbot-quick button {
    font-size: 11px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
}

.chatbot-quick button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.chatbot-input {
    display: flex;
    border-top: 1px solid var(--line);
}

.chatbot-input input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 13px;
    font-family: inherit;
}

.chatbot-input button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0 16px;
    cursor: pointer;
}

/* ============ LIGHTBOX GALERIE ============ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 24, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 40px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    max-width: 700px;
    width: 100%;
    background: var(--paper);
    padding: 20px;
    position: relative;
}

.lightbox-content .photo-slot {
    height: 420px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .services-grid,
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us { grid-template-columns: repeat(2, 1fr); }
    .services-list { grid-template-columns: repeat(2, 1fr); }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .salon-tour { grid-template-columns: repeat(2, 1fr); }
    .boutique-gallery { grid-template-columns: repeat(3, 1fr); }
    .home { flex-direction: column; text-align: left; padding-top: 40px; }
    .home__left, .home__right { width: 100%; }
    .about-history { flex-direction: column; }
    .about-text, .about-image { width: 100%; }
    .contact_container { flex-direction: column; }
    .contact_info, .contact_form { width: 100%; }
    .coloration-layout { flex-direction: column; }
    .coloration-photo { width: 100%; height: 260px; }
}

@media (max-width: 720px) {
    .mobile-page-nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding: 14px 6%;
        background-color: var(--white);
        border-bottom: 1px solid var(--line);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .mobile-page-nav::-webkit-scrollbar { display: none; }
    .mobile-page-nav a {
        flex-shrink: 0;
        padding: 10px 18px;
        border: 1px solid var(--line);
        border-radius: 20px;
        font-family: 'Poppins', 'Work Sans', Arial, sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--ink);
        white-space: nowrap;
    }
    .mobile-page-nav a.active {
        background-color: var(--ink);
        border-color: var(--ink);
        color: var(--white);
    }
    .photo-collage {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .collage-item {
        position: static;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5;
        transform: none !important;
    }
    .header_logo img { height: 62px; width: 62px; }
    .header_logo-text { font-size: 15px; }
    .category-nav-visual { gap: 18px; }
    .cat-circle { width: 82px; }
    .cat-circle .photo-slot { width: 72px; height: 72px; }
    .cat-circle span { font-size: 10px; }
    .header_right { display: none; }
    .header_right.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 78%;
        max-width: 320px;
        background: var(--paper);
        padding: 100px 30px 30px;
        gap: 30px;
        align-items: flex-start;
        box-shadow: -8px 0 24px rgba(0,0,0,0.12);
    }
    .header_right.is-open .header_menu {
        flex-direction: column;
        gap: 22px;
    }
    .burger { display: flex; }
    .title { font-size: 30px; }
    .home__left h1 { font-size: 34px; }
    .services-grid, .values-grid, .services-list, .gallery-strip, .salon-tour, .boutique-gallery {
        grid-template-columns: 1fr;
    }
    .category-banner { grid-template-columns: 1fr; height: auto; }
    .category-banner .photo-slot { height: 180px; }
    .barbier-simple { grid-template-columns: 1fr; height: auto; }
    .barbier-simple .photo-slot { height: 220px; }
    .chatbot-window { width: calc(100% - 32px); right: 16px; }
    section { padding: 70px 6%; }
}
