/*
Theme Name: Keryam Hair Lab Official
Theme URI: https://keryamhairlab.mijorsoft.com
Author: Keryam
Author URI: https://keryamhairlab.mijorsoft.com
Description: Thème officiel Haute Coiffure pour Keryam Hair Lab
Version: 2.5
*/

@charset "UTF-8";
/*
Theme Name: Keryam Hair Lab Official
Theme URI: https://keryamhairlab.mijorsoft.com
Author: Keryam
Author URI: https://keryamhairlab.mijorsoft.com
Description: Thème officiel Haute Coiffure pour Keryam Hair Lab
Version: 2.2
*/

/* ==========================================================================
   KÃ‰RYAM HAIR LAB - High-End Luxury Design System
   Dominant Black, Pure White, Refined Metallic Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-black: #08080A;
  --bg-card: #0F0F14;
  --bg-card-hover: #15151D;
  --bg-glass: rgba(15, 15, 20, 0.75);
  
  --gold-primary: #D4AF37;
  --gold-light: #F7E7A9;
  --gold-metallic: linear-gradient(135deg, #BF953F 0%, #FCF6BA 28%, #B38728 50%, #FBF5B7 78%, #AA771C 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.3);
  --gold-border-bright: rgba(212, 175, 55, 0.7);
  
  --text-white: #FFFFFF;
  --text-soft: #E2E2E8;
  --text-muted: #9A9AA8;
  --text-gold: #E5C365;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at 50% 0%, #1c1706 0%, var(--bg-black) 55%);
  min-height: 100vh;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, .font-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

h4, h5, h6, .font-sub {
  font-family: 'Outfit', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Gold Gradient Effects */
.gold-text {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gold-metallic);
  color: #08080A;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Top Notification Banner */
.top-bar {
  background: linear-gradient(90deg, #131006 0%, #292008 50%, #131006 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 10px 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gold-light);
  font-weight: 500;
}

.top-bar strong {
  color: #FFF;
}

.top-bar a {
  text-decoration: underline;
  margin-left: 10px;
  color: #FFF;
  font-weight: 700;
}

/* Header & Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 14px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
  object-fit: cover;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0 10px;
}

.nav-menu a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--gold-light);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 45px;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
}

.hero-baseline {
  font-size: 1.25rem;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.pillar-tag {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hero-banner-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 30px rgba(212, 175, 55, 0.2);
}

.hero-banner-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-banner-img:hover img {
  transform: scale(1.02);
}

.hero-overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 14px 18px;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* SECTION TITLES */
.section-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.section-label {
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-caption {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   OFFICIAL TARIFF CARDS (3 PANELS EXACT REPRODUCTION)
   ========================================================================== */
.tarifs-section {
  padding: 90px 0;
  background: #0B0B0F;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.tarif-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tarif-card:hover {
  border-color: var(--gold-border-bright);
  box-shadow: var(--gold-glow);
  transform: translateY(-4px);
}

/* Card Header */
.card-header {
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.card-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.card-brand-sub {
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--text-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.card-category-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.card-category-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Services list in card */
.service-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-grow: 1;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
  padding-bottom: 4px;
}

.service-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFF;
}

.service-cost {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-primary);
  white-space: nowrap;
}

.service-subtitle {
  font-size: 0.8rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.service-bullets {
  list-style: none;
  margin: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-bullets li {
  font-size: 0.85rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-bullets li::before {
  content: '\2714';
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: bold;
}

.service-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

/* Highlight badge */
.badge-highlight {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 4px 0;
}

/* Card Disclaimer / Footnote Box */
.card-notice {
  margin-top: 24px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.card-notice strong {
  color: var(--gold-light);
}

/* ==========================================================================
   INFOS PRATIQUES & SUMMARY SECTION
   ========================================================================== */
.infos-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, #151208 0%, var(--bg-black) 75%);
}

.infos-card-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.infos-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.infos-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--gold-light);
}

.infos-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  line-height: 1;
}

.info-text strong {
  color: #FFF;
  font-size: 0.95rem;
}

.info-text p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.acompte-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}

.acompte-badge {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 1px;
  font-weight: 700;
}

.acompte-price {
  font-size: 2.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--gold-primary);
  margin: 8px 0;
}

.acompte-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.4;
}

.brand-mantra {
  text-align: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.mantra-quote {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.mantra-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==========================================================================
   SOS SAUVETAGE BEFORE/AFTER SLIDER
   ========================================================================== */
.sos-section {
  padding: 90px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.sos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sos-quote {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-white);
  margin: 20px 0;
}

.sos-quote span {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 8px;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gold-border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-overlay .ba-image {
  width: 200%;
  max-width: none;
}

.ba-slider-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gold-metallic);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

.ba-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-metallic);
  border: 3px solid #08080a;
  color: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.ba-tag {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 5;
}

.ba-tag-avant {
  left: 20px;
  color: #FF6B6B;
  border: 1px solid rgba(255, 107, 107, 0.4);
}

.ba-tag-apres {
  right: 20px;
  color: #51CF66;
  border: 1px solid rgba(81, 207, 102, 0.4);
}

/* ==========================================================================
   PORTFOLIO & GALLERY
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  background: #0B0B0E;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background: var(--bg-card);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.3) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.05rem;
  color: #FFF;
  font-weight: 600;
}

.gallery-sub {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.gallery-zoom {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #08080A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   CALL TO ACTION & BOOKING DIRECT
   ========================================================================== */
.booking-section {
  padding: 90px 0;
  background: radial-gradient(circle at 50% 50%, #1a1608 0%, var(--bg-black) 70%);
}

.booking-box {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--gold-glow);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 45px 0 30px;
  text-align: center;
  background: #050507;
}

.footer-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  margin: 0 auto 15px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 20px;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 35px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.modal-close-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-icon:hover {
  color: var(--gold-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .tarifs-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .hero-grid, .sos-grid, .infos-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner-img img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--gold-border);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .ba-container {
    height: 340px;
  }
}