/* ============================================================
   FISYOM Avocats — Styles principaux (partie Cabinet)
   ============================================================ */

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

:root {
  --bordeaux:      #6B1414;
  --bordeaux-dark: #4A0E0E;
  --bordeaux-soft: #8B2525;
  --or:            #C9A84C;
  --or-light:      #D4B86A;
  --or-dark:       #A8892F;
  --creme:         #FAF5ED;
  --creme-dark:    #F0E8D8;
  --blanc:         #FFFFFF;
  --texte:         #1C1C1C;
  --texte-mid:     #4A4A4A;
  --texte-light:   #777777;
  --border:        #E5D9C8;
  --shadow:        rgba(107, 20, 20, 0.08);
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-h:         80px;
  --ease:          all 0.3s ease;
  --r:             2px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--texte); background: var(--creme); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--ease); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* === TYPOGRAPHIE === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--bordeaux); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p  { line-height: 1.85; color: var(--texte-mid); }

/* === LAYOUT === */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 840px;  margin: 0 auto; padding: 0 48px; }
.section          { padding: 100px 0; }
.section-sm       { padding: 60px 0; }
.section-white    { background: var(--blanc); }
.section-creme    { background: var(--creme); }
.section-creme-dark { background: var(--creme-dark); }
.section-bordeaux { background: var(--bordeaux); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* === SEPARATEURS & LABELS === */
.sep          { width: 56px; height: 2px; background: var(--or); margin: 20px 0; }
.sep-center   { margin: 20px auto; }
.section-tag  { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,245,237,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px var(--shadow); }

/* Nav transparente sur le hero vidéo */
.nav.nav-over-video {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.nav.nav-over-video .nav-logo-text { color: #fff !important; }
.nav.nav-over-video .nav-logo-sub  { color: rgba(201,168,76,0.95) !important; }
.nav.nav-over-video .nav-link      { color: rgba(255,255,255,0.88) !important; }
.nav.nav-over-video .nav-link:hover,
.nav.nav-over-video .nav-link.active { color: #fff !important; }
.nav.nav-over-video .nav-btn-immo  { color: var(--or-light) !important; border-color: rgba(201,168,76,0.7) !important; background: transparent !important; }
.nav.nav-over-video .nav-burger span { background: #fff !important; }
/* Icône palais de justice en blanc sur vidéo */
.nav.nav-over-video .nav-logo svg polygon,
.nav.nav-over-video .nav-logo svg rect { fill: rgba(255,255,255,0.95) !important; }
.nav.nav-over-video .nav-logo svg rect:last-child { fill: var(--or-light) !important; }
.nav-inner    { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo     { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; color: var(--bordeaux); letter-spacing: 0.04em; line-height: 1.1; }
.nav-logo-sub  { font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--or-dark); }
.nav-menu      { display: flex; align-items: center; gap: 20px; }
.nav-menu li   { display: flex; align-items: center; }
.nav-link {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--texte); position: relative; padding-bottom: 3px; white-space: nowrap;
  display: flex; align-items: center; line-height: 1;
}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--or); transition: var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--bordeaux); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-btn-rdv  { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blanc); background: var(--bordeaux); padding: 9px 16px; border: 1px solid var(--bordeaux); transition: var(--ease); white-space: nowrap; }
.nav-btn-rdv:hover { background: var(--bordeaux-dark); }
.nav-btn-immo { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--or-dark); border: 1px solid var(--or); padding: 7px 14px; transition: var(--ease); white-space: nowrap; }
.nav-btn-immo:hover { background: var(--or); color: var(--blanc); }
.nav-burger   { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--bordeaux); transition: var(--ease); display: block; }

/* === DROPDOWN "Nos expertises" === */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--texte); position: relative; padding-bottom: 3px; white-space: nowrap;
  cursor: pointer; display: flex; align-items: center; gap: 4px; line-height: 1;
}
.nav-dropdown-toggle::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--or); transition: var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle.active { color: var(--bordeaux); }
.nav-dropdown:hover .nav-dropdown-toggle::after { width: 100%; }
.nav-dropdown-toggle .caret { font-size: 0.5rem; opacity: 0.6; transition: transform 0.25s ease; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(250,245,237,0.99);
  border: 1px solid var(--border);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 200;
  box-shadow: 0 12px 32px rgba(107,20,20,0.10);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--texte);
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { color: var(--bordeaux); background: var(--creme-dark); padding-left: 26px; }
.nav-dropdown-item .dd-icon { font-size: 0.85rem; }
.nav-dropdown-item .dd-num { font-family: var(--font-serif); color: var(--or-dark); font-size: 0.8rem; font-weight: 600; min-width: 18px; }
.nav-dropdown-sep {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px 6px;
}
.nav-dropdown-sep::before,
.nav-dropdown-sep::after {
  content: ''; flex: 1; height: 1px; background: var(--or); opacity: 0.35;
}
.nav-dropdown-sep span {
  font-size: 0.55rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--or-dark); white-space: nowrap;
}
.nav.nav-over-video .nav-dropdown-sep::before,
.nav.nav-over-video .nav-dropdown-sep::after { background: rgba(201,168,76,0.4) !important; }
.nav.nav-over-video .nav-dropdown-sep span { color: var(--or-light) !important; }

/* Dropdown sur fond vidéo */
.nav.nav-over-video .nav-dropdown-toggle { color: rgba(255,255,255,0.88) !important; }
.nav.nav-over-video .nav-dropdown:hover .nav-dropdown-toggle { color: #fff !important; }
.nav.nav-over-video .nav-dropdown-menu { background: rgba(15,10,5,0.88) !important; border-color: rgba(255,255,255,0.12) !important; }
.nav.nav-over-video .nav-dropdown-item { color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.08) !important; }
.nav.nav-over-video .nav-dropdown-item:hover { color: #fff !important; background: rgba(255,255,255,0.06) !important; }

/* === HERO ACCUEIL (vidéo plein écran) === */
.hero-video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #0F0A05;
}

/* === HERO pages intérieures (legacy) === */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--creme);
  position: relative;
  overflow: hidden;
}
.hero.hero-centered { align-items: flex-start; padding-bottom: 80px; }

/* Contenu centré */
.hero-centered-content {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  text-align: center;
  padding-top: 60px;
}
.hero-centered-content h1 { margin-bottom: 0; }
.hero-centered-content h1 em { font-style: italic; color: var(--or-dark); }

/* Vidéo dans le hero */
.hero-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  margin: 0 auto;
  border: 2px solid var(--border);
  box-shadow: 0 24px 64px rgba(107,20,20,0.14);
}
.hero-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-eyebrow  { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--or); margin-bottom: 20px; }
.hero-lead     { font-size: 1rem; color: var(--texte-mid); max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.9; }
.hero-btns     { display: flex; gap: 14px; flex-wrap: wrap; }

/* Heritage hero classique (pages intérieures si réutilisé) */
.hero-bg-shape {
  position: absolute; top: 0; right: 0; width: 48%; height: 100%;
  background: var(--creme-dark);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-content  { position: relative; z-index: 1; max-width: 600px; }
.hero-deco {
  position: absolute; right: 0; top: var(--nav-h);
  width: 46%; height: calc(100vh - var(--nav-h));
  object-fit: cover; opacity: 0.18; pointer-events: none;
}

/* === BOUTONS === */
.btn { display: inline-block; font-size: 0.73rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 32px; border: 1px solid transparent; transition: var(--ease); text-align: center; }
.btn-primary  { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.btn-primary:hover { background: var(--bordeaux-dark); }
.btn-outline  { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-outline:hover { background: var(--bordeaux); color: var(--blanc); }
.btn-or       { background: var(--or); color: var(--blanc); border-color: var(--or); }
.btn-or:hover { background: var(--or-dark); }
.btn-ghost-or { background: transparent; color: var(--or-dark); border-color: var(--or); }
.btn-ghost-or:hover { background: var(--or); color: var(--blanc); }

/* === EXPERTISE CARDS === */
.expertise-card {
  background: var(--blanc); padding: 48px 40px; border-top: 3px solid var(--or);
  transition: var(--ease); position: relative;
}
.expertise-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px var(--shadow); }
.expertise-icon  { font-size: 2.2rem; margin-bottom: 20px; }
.expertise-card h3 { margin-bottom: 14px; font-size: 1.5rem; }
.expertise-card p  { font-size: 0.92rem; color: var(--texte-light); line-height: 1.8; margin-bottom: 28px; }
.expertise-lien    { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--or-dark); display: inline-flex; align-items: center; gap: 8px; }
.expertise-lien:hover { color: var(--bordeaux); gap: 14px; }

/* === CHIFFRES CLE === */
.chiffres-section { background: var(--bordeaux); padding: 24px 0; }
.chiffre-item { text-align: center; }
.chiffre-nb { font-family: var(--font-serif); font-size: 3.6rem; font-weight: 300; color: var(--or); line-height: 1; margin-bottom: 10px; }
.chiffre-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

/* === ASSOCIES === */
.associe-card { text-align: center; }
.associe-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 24px; border: 3px solid var(--or); filter: grayscale(15%); }
.associe-card h3    { font-size: 1.6rem; margin-bottom: 6px; }
.associe-card .titre { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or-dark); margin-bottom: 18px; }
.associe-card p { font-size: 0.9rem; color: var(--texte-light); max-width: 320px; margin: 0 auto; line-height: 1.8; }

/* === ACTUALITÉS CARDS === */
.actu-card { background: var(--blanc); overflow: hidden; transition: var(--ease); display: flex; flex-direction: column; }
.actu-card:hover { transform: translateY(-4px); box-shadow: 0 20px 56px var(--shadow); }
.actu-img { width: 100%; height: 220px; object-fit: cover; }
.actu-img-placeholder { width: 100%; height: 220px; background: var(--creme-dark); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.actu-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.actu-cat { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or-dark); margin-bottom: 10px; }
.actu-card h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.45; color: var(--bordeaux); }
.actu-card p  { font-size: 0.88rem; color: var(--texte-light); line-height: 1.75; margin-bottom: 20px; flex: 1; }
.actu-footer  { display: flex; align-items: center; justify-content: space-between; }
.actu-date    { font-size: 0.72rem; color: var(--texte-light); }
.actu-lire    { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--or-dark); }
.actu-lire:hover { color: var(--bordeaux); }

/* === PAGE INTÉRIEURE HERO === */
.page-hero { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 80px; background: var(--creme-dark); text-align: center; }
.breadcrumb { font-size: 0.75rem; color: var(--texte-light); margin-bottom: 20px; }
.breadcrumb a { color: var(--or-dark); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .subtitle { font-size: 1.05rem; color: var(--texte-mid); max-width: 620px; margin: 0 auto; line-height: 1.8; }
.page-hero-img h1 { text-shadow: 0 2px 20px rgba(240,232,216,1), 0 1px 8px rgba(240,232,216,1); }
.page-hero-img .subtitle { text-shadow: 0 1px 16px rgba(240,232,216,1), 0 1px 6px rgba(240,232,216,1); font-weight: 600; color: var(--texte); }
.page-hero-img .section-tag { text-shadow: 0 1px 10px rgba(240,232,216,1); }
.page-hero-img .breadcrumb, .page-hero-img .breadcrumb a { text-shadow: 0 1px 8px rgba(240,232,216,1); }

/* === PAGE HERO AVEC PHOTO (cabinet) === */
.page-hero-img {
  position: relative;
  overflow: hidden;
  background: transparent;
}
/* Photo floutée en pseudo-élément — le blur n'affecte pas le texte */
.page-hero-img::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('../images/hero-cabinet.jpg');
  background-size: cover;
  background-position: center 50%;
  filter: blur(2px);
  z-index: 0;
}
/* Overlay crème — assez opaque pour lisibilité + fondu vers le blanc en bas */
.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(250,245,237,0.50) 0%,
      rgba(250,245,237,0.60) 60%,
      rgba(255,255,255,1)   100%
    ),
    linear-gradient(
      135deg,
      rgba(240,232,216,0.72) 0%,
      rgba(250,245,237,0.55) 100%
    );
  z-index: 1;
}
/* Le contenu passe au-dessus */
.page-hero-img .container {
  position: relative;
  z-index: 2;
}

/* Images spécifiques par page */
.page-hero-travail::before {
  background-image: url('../images/hero-travail.jpg');
  background-position: center 40%;
}
.page-hero-travail {
  padding-top: calc(var(--nav-h) + 140px);
  padding-bottom: 140px;
}
.page-hero-immobilier::before {
  background-image: url('../images/hero-immobilier.jpg');
  background-position: center 50%;
}
.page-hero-immobilier {
  padding-top: calc(var(--nav-h) + 140px);
  padding-bottom: 140px;
}
.page-hero-actus::before {
  background-image: url('../images/hero-actus.jpg');
  background-position: center 50%;
}
.page-hero-actus {
  padding-top: calc(var(--nav-h) + 140px);
  padding-bottom: 140px;
}
.page-hero-img:not(.page-hero-travail):not(.page-hero-immobilier):not(.page-hero-actus) {
  padding-top: calc(var(--nav-h) + 140px);
  padding-bottom: 140px;
}

/* === PRESTATIONS === */
.prestation-item { display: flex; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--border); }
.prestation-item:last-child { border-bottom: none; }
.prestation-num { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 300; color: var(--border); flex-shrink: 0; width: 64px; line-height: 1; }
.prestation-content h4 { font-size: 1.2rem; margin-bottom: 8px; }
.prestation-content p  { font-size: 0.9rem; color: var(--texte-light); }

/* === FORMULAIRE === */
.form-group  { margin-bottom: 24px; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label  { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-mid); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: var(--blanc); border: 1px solid var(--border);
  color: var(--texte); font-size: 0.95rem; outline: none; transition: var(--ease); border-radius: var(--r);
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(107,20,20,0.06); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-check   { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--texte-mid); }
.form-check input { margin-top: 3px; accent-color: var(--bordeaux); }
.form-hint    { font-size: 0.75rem; color: var(--texte-light); margin-top: 6px; }

/* === CALENDRIER RÉSERVATION === */
.cal-wrapper { background: var(--blanc); border: 1px solid var(--border); padding: 40px; }
.cal-wrapper h3 { margin-bottom: 6px; }
.cal-wrapper > p { font-size: 0.88rem; color: var(--texte-light); margin-bottom: 30px; }
.cal-header   { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-month    { font-family: var(--font-serif); font-size: 1.2rem; color: var(--bordeaux); }
.cal-nav-btn  { width: 34px; height: 34px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--ease); font-size: 0.9rem; color: var(--texte-mid); background: none; }
.cal-nav-btn:hover { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.cal-grid     { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day-label { text-align: center; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texte-light); padding: 8px 0; }
.cal-day      { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--texte-light); cursor: default; transition: var(--ease); border-radius: var(--r); }
.cal-day.available { background: var(--creme-dark); color: var(--bordeaux); cursor: pointer; font-weight: 500; border: 1px solid var(--border); }
.cal-day.available:hover { background: var(--bordeaux); color: var(--blanc); }
.cal-day.selected { background: var(--bordeaux) !important; color: var(--blanc) !important; }
.cal-day.today    { border: 1px solid var(--or); }
.cal-day.past     { opacity: 0.28; pointer-events: none; }
.slots-section    { margin-top: 24px; display: none; }
.slots-section.visible { display: block; }
.slots-title      { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texte-mid); margin-bottom: 14px; }
.slots-list       { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-btn         { padding: 10px 20px; border: 1px solid var(--border); background: var(--blanc); color: var(--texte-mid); font-size: 0.85rem; cursor: pointer; transition: var(--ease); border-radius: var(--r); }
.slot-btn:hover   { border-color: var(--bordeaux); color: var(--bordeaux); }
.slot-btn.selected { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }
.slot-btn.booked  { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }
.booking-recap    { margin-top: 24px; padding: 20px 24px; background: var(--creme); border-left: 3px solid var(--or); display: none; }
.booking-recap.visible { display: block; }
.booking-recap h5 { font-size: 1rem; margin-bottom: 10px; }
.booking-recap p  { font-size: 0.88rem; color: var(--texte-mid); margin-bottom: 4px; }
.booking-price    { font-family: var(--font-serif); font-size: 1.5rem; color: var(--bordeaux); margin-top: 10px; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 80px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-detail-icon { font-size: 1.1rem; color: var(--or); flex-shrink: 0; margin-top: 2px; }
.contact-detail-text { font-size: 0.9rem; color: var(--texte-mid); line-height: 1.7; }
.contact-detail-text strong { color: var(--bordeaux); }

/* === ALERTES === */
.alert { padding: 14px 20px; border-left: 3px solid; margin-bottom: 24px; font-size: 0.9rem; border-radius: var(--r); }
.alert-success { background: #F0FFF4; border-color: #22C55E; color: #166534; }
.alert-error   { background: #FFF5F5; border-color: #EF4444; color: #991B1B; }
.alert-info    { background: #EFF6FF; border-color: #3B82F6; color: #1E40AF; }

/* === PAGINATION === */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 60px; }
.page-link  { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); font-size: 0.85rem; transition: var(--ease); color: var(--texte-mid); }
.page-link:hover, .page-link.active { background: var(--bordeaux); color: var(--blanc); border-color: var(--bordeaux); }

/* === FOOTER === */
.footer { background: var(--bordeaux-dark); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.footer-brand span { font-family: var(--font-serif); font-size: 1.3rem; color: var(--blanc); display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-brand .sep { background: var(--or); margin: 18px 0; }
.footer-col h5 { font-family: var(--font-sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a  { font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: var(--blanc); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy   { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-legal  { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* === RESPONSIVE === */
/* ── TABLETTE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo-left { width: 26%; }
  .hero-photo-right { width: 26%; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  /* Layout général */
  .container, .container-narrow { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }

  /* Navigation mobile */
  .nav-menu {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--creme) !important;
    padding: 0 0 24px;
    border-bottom: 2px solid var(--or);
    gap: 0; box-shadow: 0 8px 24px var(--shadow);
    z-index: 999; max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { display: block; width: 100%; }

  /* Liens simples */
  .nav-link {
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    font-size: 0.78rem; display: block; line-height: 1;
    color: var(--texte) !important;
  }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--bordeaux) !important; border-left: 3px solid var(--or); padding-left: 21px; }

  /* Dropdown mobile — toujours déplié */
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-dropdown-toggle {
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    font-size: 0.72rem; color: var(--or-dark) !important;
    letter-spacing: 0.14em; justify-content: space-between;
    background: var(--creme-dark);
  }
  .nav-dropdown-toggle .caret { transform: rotate(180deg); }
  .nav-dropdown-menu {
    position: static !important; opacity: 1 !important; visibility: visible !important;
    transform: none !important; box-shadow: none !important;
    border: none !important; background: transparent !important;
    min-width: unset; padding: 0;
  }
  .nav-dropdown-item {
    padding: 14px 24px 14px 36px !important;
    font-size: 0.76rem; color: var(--texte) !important;
    border-bottom: 1px solid var(--border) !important;
    background: transparent !important;
  }
  .nav-dropdown-item:hover { padding-left: 42px !important; color: var(--bordeaux) !important; background: var(--creme-dark) !important; }
  .nav-dropdown-sep { padding: 10px 24px 6px !important; background: transparent; }
  .nav-dropdown-sep span { color: var(--or-dark) !important; }
  .nav-dropdown-sep::before,
  .nav-dropdown-sep::after { background: var(--or) !important; opacity: 0.3 !important; }

  /* Menu ouvert : forcer fond clair et textes lisibles même avec nav-over-video */
  .nav.nav-over-video .nav-menu { background: var(--creme) !important; }
  .nav.nav-over-video .nav-menu .nav-link { color: var(--texte) !important; }
  .nav.nav-over-video .nav-menu .nav-dropdown-toggle { color: var(--or-dark) !important; }
  .nav.nav-over-video .nav-menu .nav-dropdown-menu {
    background: transparent !important;
    border: none !important;
  }
  .nav.nav-over-video .nav-menu .nav-dropdown-item {
    color: var(--texte) !important;
    background: transparent !important;
    border-color: var(--border) !important;
  }
  .nav.nav-over-video .nav-menu .nav-dropdown-sep::before,
  .nav.nav-over-video .nav-menu .nav-dropdown-sep::after { background: var(--or) !important; opacity: 0.35 !important; }
  .nav.nav-over-video .nav-menu .nav-dropdown-sep span { color: var(--or-dark) !important; }

  .nav-btn-immo { margin-top: 8px; text-align: center; padding: 12px 24px; display: block; }
  .nav-btn-rdv  { margin-top: 8px; text-align: center; padding: 14px 24px; display: block; font-size: 0.78rem; }
  .nav-burger { display: flex; }

  /* Hero accueil */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-photo-left  { width: 22%; }
  .hero-photo-right { width: 22%; }
  .hero-centered-content { text-align: center; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .hero-video-wrap { border-radius: 0; }

  /* Bandeau hero pages intérieures */
  .page-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 36px; }
  .page-hero-travail,
  .page-hero-immobilier,
  .page-hero-actus,
  .page-hero-img:not(.page-hero-travail):not(.page-hero-immobilier):not(.page-hero-actus) {
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 60px;
  }
  .page-hero-img::before { filter: blur(3px); }
  .page-hero h1 { font-size: 2rem; }
  .page-hero .subtitle { font-size: 0.95rem; }

  /* Stats */
  .chiffres-section .grid-4 { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .chiffre-nb { font-size: 2.6rem; }

  /* Cards actualités : image fixe */
  .actu-img { height: 180px; }

  /* Calendrier */
  .cal-wrapper { padding: 16px; }
  .cal-day { font-size: 0.72rem; }
  .cal-day-label { font-size: 0.58rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Divers */
  .hero-bg-shape, .hero-deco, .hero-deco-bg { display: none; }
  .video-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .bien-detail-content { grid-template-columns: 1fr; gap: 36px; }
}

/* ── PETIT MOBILE ── */
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 44px 0; }

  /* Typographie */
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.25rem; }

  /* Hero accueil */
  .hero { padding: 88px 0 48px; }
  .hero-photo-left, .hero-photo-right { width: 18%; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns .btn { width: 100%; text-align: center; padding: 15px; }

  /* Stats */
  .chiffres-section .grid-4 { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .chiffre-nb { font-size: 2rem; }
  .chiffre-label { font-size: 0.6rem; letter-spacing: 0.1em; }

  /* Cards */
  .expertise-card { padding: 28px 20px; }
  .actu-card h3 { font-size: 1.05rem; }
  .associe-photo { width: 110px; height: 110px; }

  /* Boutons généraux */
  .btn { padding: 13px 20px; font-size: 0.68rem; }

  /* Calendrier */
  .cal-wrapper { padding: 14px 12px; }
  .cal-grid { gap: 2px; }
  .cal-day { font-size: 0.68rem; }

  /* Bandeau hero pages intérieures */
  .page-hero-travail,
  .page-hero-immobilier,
  .page-hero-actus,
  .page-hero-img:not(.page-hero-travail):not(.page-hero-immobilier):not(.page-hero-actus) {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 40px;
  }
  .page-hero h1 { font-size: 1.75rem; }

  /* Contact */
  .contact-detail { gap: 12px; }
  .contact-detail-icon { font-size: 1rem; }

  /* Footer */
  .footer-grid { gap: 20px; }
  .nav-btn-immo, .nav-btn-rdv { font-size: 0.82rem; }
}
