/* ═══════════════════════════════════════════════════
   LE CARMEN — Feuille de style
   ══════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────── */
:root {
  --bg:       #0D0D0B;
  --bg-card:  #131210;
  --border:   #252018;
  --text:     #F0EBE3;
  --taupe:    #C4B8AE;
  --gold:     #C9A550;
  --terra:    #8C3D2A;
  --choco:    #5C3030;
  --serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --script:   'Mrs Saint Delafield', cursive;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; }
address { font-style: normal; }
button { cursor: pointer; background: none; border: none; }

/* ── Utilitaires ─────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

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

.gradient-top {
  position: absolute; top: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  pointer-events: none; z-index: 2;
}
.gradient-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none; z-index: 2;
}

/* ── Trois points signature ──────────────────────── */
.three-dots { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.three-dots span { display: block; width: 12px; height: 12px; border-radius: 50%; }
.three-dots span:nth-child(1) { background: var(--gold); }
.three-dots span:nth-child(2) { background: var(--terra); }
.three-dots span:nth-child(3) { background: var(--choco); }
.three-dots--sm span  { width: 8px; height: 8px; }
.three-dots--centered { justify-content: center; }

/* ── Points colorés inline ───────────────────────── */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--gold  { background: var(--gold); }
.dot--terra { background: var(--terra); }
.dot--choco { background: var(--choco); }

/* ── Titres de section ───────────────────────────── */
.section-title { margin-bottom: 48px; }
.section-title h2.serif,
.section-title h2 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}
.section-title h2 em,
.section-title em {
  font-style: italic;
  color: var(--taupe);
}

/* ── Boutons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-align: center;
  transition: background .3s, color .3s, border-color .3s, transform .15s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--taupe);
  color: var(--bg);
  border: 1px solid var(--taupe);
}
.btn--primary:hover { background: #A89D94; border-color: #A89D94; }
.btn--outline {
  border: 1px solid rgba(240,235,227,.3);
  color: rgba(240,235,227,.7);
}
.btn--outline:hover { border-color: var(--taupe); color: var(--taupe); }
.btn--outline-light {
  border: 1px solid var(--taupe);
  color: var(--taupe);
}
.btn--outline-light:hover { background: var(--taupe); color: var(--bg); }
.btn--nav {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.25em;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 8px 20px;
}
.btn--nav:hover { background: var(--text); color: var(--bg); }

/* ── Animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-up { opacity: 0; transform: translateY(30px); }
.fade-in-up.visible { animation: fadeUp 1.2s ease-out forwards; }
.fade-in-up--delay.visible { animation-delay: .8s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grayscale → couleur au scroll ───────────────── */
.grayscale-anim {
  filter: grayscale(100%);
  transition: filter 2.5s ease;
}
.grayscale-anim.colorized { filter: grayscale(0%); }


/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  overflow: visible;
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease;
  padding: 40px 0;
}
#navbar.scrolled {
  background: var(--bg);
  padding: 12px 0;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
#navbar.menu-open {
  background: transparent;
  box-shadow: none;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-hamburger {
  color: var(--text);
  padding: 8px;
  transition: color .3s;
  position: relative; z-index: 1;
}
.nav-hamburger:hover { color: var(--taupe); }

/* ── Logo hero (grand, dans la section hero) ─────── */
.hero-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .4s ease;
  flex-shrink: 0;
}
@media (min-width: 768px) { .hero-logo { height: 200px; } }

/* ── Logo navbar (petit, apparaît au scroll) ─────── */
.nav-logo-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}
#navbar.scrolled .nav-logo-container { opacity: 1; }

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}
@media (min-width: 768px) { .nav-logo { height: 56px; } }


/* ══════════════════════════════════════════════════
   MENU PLEIN ÉCRAN
   ══════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 60;
  display: flex; flex-direction: column;
  padding: 40px 64px;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.mobile-menu.open { transform: translateX(0); }

/* Barre latérale tricolore */
.mobile-menu-sidebar {
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  display: flex; flex-direction: column;
}
.sidebar-stripe { flex: 1; }
.sidebar-stripe--gold  { background: var(--gold); }
.sidebar-stripe--terra { background: var(--terra); }
.sidebar-stripe--choco { background: var(--choco); }

.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px;
}
.mobile-logo { height: 96px; object-fit: contain; }
.mobile-menu-close {
  color: var(--taupe); padding: 12px;
  transition: color .3s, rotate .3s;
}
.mobile-menu-close:hover { color: var(--text); rotate: 90deg; }

.mobile-menu-links {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; gap: 24px;
  padding-left: 24px;
}
.mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  transition: color .3s, font-style .3s;
}
.mobile-link:hover { color: var(--taupe); font-style: italic; }
.mobile-link--gold {
  color: rgba(201,165,80,.5);
  font-style: italic;
}
.mobile-link--gold:hover { color: var(--gold); }

.mobile-menu-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-left: 24px;
}
.mobile-menu-address {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--taupe);
}
.mobile-menu-social {
  display: flex; align-items: center; gap: 16px;
  color: var(--taupe);
}
.mobile-menu-social a { color: var(--taupe); transition: color .3s; }
.mobile-menu-social a:hover { color: var(--text); }


/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Carousel */
.carousel { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.35);
  opacity: 0;
  transition: opacity 2s ease-in-out;
}
.carousel-slide.active { opacity: 1; }

/* Dégradé bas */
.hero-gradient {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none; z-index: 2;
}

/* Contenu */
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  padding: 0 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.hero h1 em { font-style: italic; }

.hero-cta {
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  width: 100%; max-width: 360px;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; align-items: center; max-width: none; width: auto; }
}

/* Indicateur de scroll */
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 20;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 40px; background: rgba(196,184,174,.4); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */
.about { padding: 80px 0; }

.about-watermark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; z-index: 0;
  font-family: var(--script);
  font-size: 22vw;
  color: var(--text);
  opacity: .04;
  white-space: nowrap;
  transform: translateY(8px);
}

.about .container { position: relative; z-index: 3; text-align: center; }

.about-lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--taupe);
  max-width: 680px;
  margin: 0 auto 48px;
}
.about-lead strong { color: var(--text); font-weight: 500; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border-top: 1px solid var(--border);
}
.about-card {
  padding: 32px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-card { border-bottom: none; border-right: 1px solid var(--border); }
  .about-card:last-child { border-right: none; }
}
.about-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.about-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
}
.about-card p { font-size: .875rem; color: var(--taupe); line-height: 1.7; }


/* ══════════════════════════════════════════════════
   TARIFS
   ══════════════════════════════════════════════════ */
.tarifs { background: radial-gradient(ellipse 120% 100% at 50% 50%, #1a1815 0%, transparent 70%); }

.tarifs-horaires {
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: var(--taupe); line-height: 2; margin-top: 16px;
}

/* Onglets */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 64px; }
.tab-btn {
  padding: 12px 32px;
  font-size: 10px; font-weight: 700; letter-spacing: .35em; text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--taupe);
  background: none;
  transition: all .3s;
}
.tab-btn:hover { border-color: var(--taupe); color: var(--text); }
.tab-btn.active { background: var(--taupe); color: var(--bg); border-color: var(--taupe); }

/* Panneaux */
.tab-panel             { display: none; }
.tab-panel.active      { display: block; }
.tab-panel.animating   { animation: tabFade .4s ease-out; }
@keyframes tabFade     { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tarifs-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .tarifs-grid { grid-template-columns: 1fr 1fr; }
}

.tarifs-col { display: flex; flex-direction: column; gap: 40px; }

.tarifs-single { max-width: 520px; margin: 0 auto; }

/* Catégorie de prix */
.price-category { display: flex; flex-direction: column; gap: 0; }
.price-cat-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: 10px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase;
  color: var(--taupe);
}

.price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(37,32,24,.6);
  gap: 16px;
}
.price-row:last-child { border-bottom: none; }
.price-row > span:first-child,
.price-row > div { font-size: .875rem; color: var(--text); letter-spacing: .02em; }
.price-row small {
  display: block; margin-top: 2px;
  font-size: 10px; color: rgba(196,184,174,.6);
  letter-spacing: .1em; text-transform: uppercase;
}
.price {
  font-size: .875rem; font-weight: 500;
  color: var(--gold); white-space: nowrap; flex-shrink: 0;
}

.tarifs-cta { margin-top: 64px; text-align: center; }


/* ══════════════════════════════════════════════════
   ESPRIT
   ══════════════════════════════════════════════════ */
.esprit-inner {
  display: flex; flex-direction: column; gap: 64px;
}
@media (min-width: 768px) {
  .esprit-inner { flex-direction: row; align-items: center; }
}

.esprit-media {
  flex: 1; position: relative;
}
.video-frame {
  position: relative;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 250%; height: 250%;
  pointer-events: none;
}
.video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.video-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.15);
}
.esprit-badge {
  position: absolute; bottom: -24px; right: -24px;
  width: 144px; height: 144px;
  object-fit: cover; z-index: 1;
}

.esprit-text { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.esprit-body { display: flex; flex-direction: column; gap: 20px; }
.esprit-body p { font-size: 1rem; color: var(--taupe); line-height: 1.8; }
.esprit-body strong { color: var(--text); font-weight: 600; }


/* ══════════════════════════════════════════════════
   ÉQUIPE
   ══════════════════════════════════════════════════ */
.equipe { background: radial-gradient(ellipse 120% 100% at 50% 50%, #1a1815 0%, transparent 70%); }

.equipe-watermark {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none; z-index: 0;
  font-family: var(--script);
  font-size: 22vw; color: var(--text); opacity: .03;
  white-space: nowrap; transform: translateY(8px);
}

.equipe .container { position: relative; z-index: 3; }

.equipe-body-intro {
  max-width: 720px; margin: 0 auto 56px;
  display: flex; flex-direction: column; gap: 16px;
  text-align: center;
}
.equipe-body-intro p { font-size: 1rem; font-weight: 300; color: var(--taupe); line-height: 1.8; }
.equipe-body-intro strong { color: var(--text); font-weight: 700; }

.equipe-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 56px;
}
@media (min-width: 640px) {
  .equipe-cards { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.equipe-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}

.equipe-card-img-wrap { overflow: hidden; }
.equipe-card-img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.equipe-card:hover .equipe-card-img { transform: scale(1.03); }

.equipe-card-body {
  padding: 28px 24px 32px;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,.03);
}

.equipe-card-name {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 700; color: var(--text); letter-spacing: .04em;
}

.equipe-card-role {
  font-size: .75rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}

.equipe-card-desc {
  font-size: .9rem; font-weight: 300; color: var(--taupe); line-height: 1.75;
}


/* ══════════════════════════════════════════════════
   AVIS GOOGLE
   ══════════════════════════════════════════════════ */
.avis-header {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; margin-bottom: 64px; text-align: center;
}
.avis-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .35em;
  text-transform: uppercase; color: var(--taupe);
}
.google-logo { height: 20px; width: auto; }
.stars-row { font-size: 1.1rem; color: var(--gold); letter-spacing: 2px; }
.avis-score { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--taupe); }

.avis-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.avis-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 20px;
}
.avis-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
}
.avis-card--gold::before  { background: var(--gold); }
.avis-card--terra::before { background: var(--terra); }
.avis-card--choco::before { background: var(--choco); }

.avis-card-top { display: flex; justify-content: space-between; align-items: center; }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: 2px; }
.avis-date { font-size: 10px; color: var(--taupe); text-transform: uppercase; letter-spacing: .2em; }
.avis-card blockquote {
  font-weight: 300; font-style: italic;
  color: var(--taupe); line-height: 1.8; font-size: .9rem;
}
.avis-card footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.avis-card cite {
  font-family: var(--serif);
  font-style: normal; font-size: .75rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text);
}

.avis-cta { margin-top: 56px; text-align: center; }


/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */
.contact { background: radial-gradient(ellipse 120% 100% at 50% 50%, #1a1815 0%, transparent 70%); }

.contact-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-info { display: flex; flex-direction: column; gap: 48px; }

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

.contact-details {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.contact-details h3,
.contact-social h3 {
  font-size: 10px; font-weight: 700;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 16px;
}
.contact-details address,
.contact-details p {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

.contact-social { padding-top: 40px; border-top: 1px solid var(--border); }
.social-links { display: flex; gap: 32px; }
.social-links a { color: var(--taupe); transition: color .3s, transform .3s; }
.social-links a:hover { color: var(--text); transform: translateY(-4px); }

.contact-map {
  height: 500px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.6);
}
.contact-map iframe { width: 100%; height: 100%; }


/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid #1E1C18;
  padding: 40px 24px 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 32px;
  padding-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 64px; width: auto; object-fit: contain; }
.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 12px;
}
.footer-col p { font-size: .875rem; color: var(--taupe); line-height: 2; }

.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 8px;
  padding: 24px 0;
  border-top: 1px solid #1E1C18;
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(196,184,174,.3);
}
.footer-bottom a { color: rgba(196,184,174,.3); transition: color .3s; }
.footer-bottom a:hover { color: var(--taupe); }
.footer-bottom nav { display: flex; gap: 24px; }


/* ══════════════════════════════════════════════════
   RESPONSIVE — petits écrans
   ══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mobile-menu { padding: 32px 24px; }
  .esprit-badge { width: 100px; height: 100px; bottom: -16px; right: -12px; }
  .equipe-card-img { height: 260px; object-position: center 20%; }
  .equipe-card-img--melanie { object-position: center 55%; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tabs { gap: 4px; }
  .tab-btn { padding: 10px 16px; font-size: 9px; }
}
