/* ===========================================
   Template coiffeur-studio — Studio Photo de Mode
   Cormorant Garamond + DM Sans — Blanc pur / Jaune flash
   =========================================== */

:root {
  --flash: #E8C547;
  --noir: #111111;
  --bg: #FFFFFF;
  --bg-off: #F9F8F6;
  --text: #111111;
  --text-muted: #999999;
  --line: #EBEBEB;
  --primary: #111111;
  --secondary: #FFFFFF;
  --accent: #111111;
  --text-light: #FFFFFF;
  --bg-dark: #111111;
  --bg-beige: #F9F8F6;
  --border: #EBEBEB;
  --border-light: #F5F5F5;
  --radius: 0px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --transition: 300ms ease;
  --nav-height: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.0; }
a { text-decoration: none; color: inherit; }
a:hover { opacity: 0.7; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 680px; }

/* -- Bandeau promo -- */
.bandeau-promo { background: var(--noir); color: #fff; text-align: center; padding: 10px 48px 10px 16px; font-size: 13px; font-weight: 500; position: fixed; top: 0; left: 0; right: 0; z-index: 200; font-family: 'DM Sans', sans-serif; }
.bandeau-close { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* -- Nav -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
  height: var(--nav-height);
}
.nav.scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.06); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0; display: flex; align-items: center; justify-content: space-between; height: 100%; width: 100%; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--noir);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-logo-img { height: 36px; width: auto; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--noir); color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 22px; text-decoration: none; font-style: normal; }
.nav-links-left, .nav-links-right { display: none; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--noir); opacity: 1; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--noir); margin: 5px 0; transition: all var(--transition); }

/* -- BTN -- */
.btn-cta {
  display: inline-block;
  background: var(--noir);
  color: var(--bg);
  padding: 13px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-cta:hover { background: var(--flash); color: var(--noir); opacity: 1; }
.btn-cta-outline { background: transparent; color: var(--noir); border: 1px solid var(--noir); }
.btn-cta-outline:hover { background: var(--noir); color: #fff; opacity: 1; }
.btn-cta-large { font-size: 0.85rem; padding: 16px 44px; margin-top: 24px; }
.section-terracotta .btn-cta { background: #fff; color: var(--noir); }
.section-terracotta .btn-cta:hover { background: var(--flash); opacity: 1; }
.contact-phone { margin: 20px 0 12px; }
.phone-number { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 6rem); color: #fff; text-decoration: none; display: inline-block; letter-spacing: 0.04em; line-height: 1; font-style: italic; }
.section-terracotta .phone-number { color: #fff; }

/* -- HERO MODE -- */
.hero-mode {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.hero-mode-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 56px 72px;
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hero-mode-season {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 24px;
}
.hero-mode-flash {
  width: 40px;
  height: 3px;
  background: var(--flash);
  display: block;
  margin-bottom: 28px;
}
.hero-mode-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 9vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: var(--noir);
  line-height: 0.9;
  margin: 0 0 36px;
  min-width: 0;
}
.hero-mode-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 320px;
  margin-bottom: 40px;
  min-width: 0;
}
.hero-mode-photo {
  position: relative;
  overflow: visible;
  min-width: 0;
}
.hero-mode-photo img {
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  bottom: -20px;
  width: 100%;
  height: calc(100% + 60px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Hide old hero classes */
.hero { display: none; }
.hero-bg, .hero-overlay, .hero-content, .hero-image-panel, .hero-text-panel, .hero-eyebrow, .hero-divider, .hero-placeholder { display: none; }
.hero-img-full, .hero-caption { display: none; }

/* -- A PROPOS MODE -- */
.apropos-mode {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
  min-width: 0;
}
.apropos-mode-text { min-width: 0; }
.apropos-mode-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--flash);
  display: block;
  margin-bottom: 20px;
}
.apropos-mode-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--noir);
  margin-bottom: 20px;
  min-width: 0;
}
.apropos-mode-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  min-width: 0;
}
.apropos-mode-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  min-width: 0;
}
.apropos-mode-img img { width: 100%; height: 100%; object-fit: cover; }

/* Hide old apropos classes */
.apropos-studio { display: none; }
.apropos-studio-photo { display: none; }

/* -- SECTIONS -- */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-off); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--noir); color: #fff; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--noir);
  margin-bottom: 48px;
  text-align: center;
}
.section-dark .section-title { color: #fff; }
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 520px; margin: 0 auto 48px; font-size: 15px; line-height: 1.75; font-weight: 300; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.45); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.7); }
.section-label { display: block; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--flash); margin-bottom: 12px; }

/* -- Tabs -- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.75rem; letter-spacing: 0.1em;
  color: var(--text-muted); padding: 12px 24px;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--noir); border-bottom-color: var(--flash); }

/* -- Menu / Catalogue -- */
.menu-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 48px; flex-wrap: wrap; }
.menu-tab { padding: 9px 24px; background: transparent; color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.15); font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { border-color: #fff; color: #fff; }
.menu-tab.active { background: #fff; border-color: #fff; color: var(--noir); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 680px; margin: 0 auto; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; margin-bottom: 4px; color: #fff; letter-spacing: 0.02em; font-style: italic; }
.menu-item-info p { font-size: 13px; color: rgba(255,255,255,0.35); min-width: 0; }
.menu-item-prix { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: rgba(255,255,255,0.7); white-space: nowrap; margin-left: 20px; flex-shrink: 0; }

/* -- Horaires -- */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--line); }
.horaires-table td { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); color: var(--text-muted); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; }
.horaires-table .jour { font-weight: 500; width: 120px; color: var(--noir); }
.horaires-table tr.ferme td { opacity: 0.4; }
.ferme .heures { color: var(--text-muted); font-style: italic; }

/* Horaires list (agenda style) */
.horaires-list { max-width: 480px; margin: 0 auto; }
.horaires-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; }
.horaires-jour { font-weight: 500; color: var(--noir); }
.horaires-heures { color: var(--text-muted); }
.horaires-row.ferme .horaires-heures { opacity: 0.5; font-style: italic; }

/* Horaires bottom */
.horaires-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.horaires-coords { min-width: 0; }
.coord-line { display: flex; gap: 16px; margin-bottom: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-muted); }
.coord-key { font-weight: 500; color: var(--noir); min-width: 60px; }
.coord-line a { color: var(--noir); }
.coordonnees { margin-top: 20px; }
.coord-item { margin-bottom: 8px; font-size: 15px; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.coord-item a { color: var(--noir); }
.map-container iframe { display: block; width: 100%; min-height: 300px; border: 0; }

/* -- Placeholder -- */
.placeholder-img { background: var(--bg-off); display: flex; align-items: center; justify-content: center; min-height: 200px; border: 1px solid var(--line); }
.placeholder-img span { color: var(--text-muted); font-size: 0.8rem; }
.section-dark .placeholder-img { background: rgba(255,255,255,0.06); }

/* -- Split layout (compat modules) -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text { min-width: 0; }
.split-text h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2rem; margin-bottom: 16px; color: var(--noir); min-width: 0; }
.split-text p { color: var(--text-muted); line-height: 1.7; min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }

/* -- Footer -- */
.footer { background: var(--noir); color: rgba(255,255,255,0.4); padding: 48px 0 24px; font-size: 13px; }
footer { background: var(--noir); padding: 32px 56px; }
footer p { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.45); text-align: center; }
footer a { color: var(--flash); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #fff; display: block; margin-bottom: 12px; font-style: italic; }
.footer h4 { color: rgba(255,255,255,0.3); margin-bottom: 12px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 500; font-style: normal; }
.footer a { color: rgba(255,255,255,0.4); }
.footer a:hover { color: #fff; opacity: 1; }
.footer p { margin-bottom: 6px; text-align: left; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-credit { color: rgba(255,255,255,0.15); }
.footer-credit a { color: rgba(255,255,255,0.15); }

/* -- Formulaires -- */
.resa-back { background: none; border: none; color: var(--noir); cursor: pointer; font-size: 0.88rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 18px; }
.resa-form label { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.resa-form input, .resa-form select, .resa-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--text); font-family: 'DM Sans', sans-serif; transition: border-color var(--transition); }
.resa-form input:focus, .resa-form select:focus, .resa-form textarea:focus { outline: none; border-color: var(--noir); }
.form-error { color: #c0392b; font-size: 0.85rem; margin-bottom: 12px; padding: 10px 14px; background: #fdf0ef; border-left: 3px solid #c0392b; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3rem; color: var(--flash); margin-bottom: 12px; }
.resa-success h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 8px; font-style: italic; }
.resa-success p { color: var(--text-muted); margin-bottom: 24px; }

/* -- Lang switcher -- */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid var(--line); color: var(--text-muted); padding: 3px 7px; font-size: 0.7rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.lang-btn:hover { border-color: var(--noir); color: var(--noir); }
.lang-btn.active { background: var(--noir); border-color: var(--noir); color: #fff; }

/* -- WhatsApp -- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* -- Responsive -- */
@media (max-width: 900px) {
  .hero-mode { grid-template-columns: 1fr; min-height: auto; }
  .hero-mode-photo { height: 60vw; min-height: 320px; overflow: hidden; position: relative; }
  .hero-mode-photo img { position: absolute; inset: 0; height: 100%; }
  .hero-mode-text { padding: 100px 28px 48px; }
  .apropos-mode { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; }
  .split-image { order: -1; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: center; justify-content: center; gap: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; max-height: 540px; }
  .nav-links li { border-bottom: 1px solid var(--border-light); }
  .nav-links a { display: block; padding: 14px 24px; font-size: 13px; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .horaires-bottom { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .hero-mode-text h1 { font-size: clamp(3rem, 15vw, 5rem); }
}
