/* ═══════════════════════════════════════════════
   CABINET BONTEMPS — Feuille de style globale
   Palette : Bleu roi + Beige + Or
═══════════════════════════════════════════════ */

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

:root {
  --royal:      #000000;
  --royal-dark: #000000;
  --royal-mid:  #360404;
  --royal-lite: #222222;
  --beige:      #f5efe6;
  --beige-mid:  #ede4d6;
  --beige-dark: #d9ccba;
  --gold:       #c4973a;
  --gold-light: #ddb96a;
  --gold-pale:  #f0dcb0;
  --white:       rgba(255, 255, 255, 0.89);
  --ink:        #0f1a2e;
  --ink-mid:    #ffffff;
  --ink-light:  #5a6e88;
  --border:     rgba(0,0,0,0.12);
  --border-g:   rgba(196,151,58,0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--beige);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,151,58,0.2);
}

.nav-logo { text-decoration: none; display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400; letter-spacing: 0.05em;
  color: var(--white);
}
.nav-logo-sub {
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light); margin-top: 1px;
}

.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: 1rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,1);; text-decoration: none; transition: color 0.2s;
  font-weight: 400; padding-bottom: 2px;
  border-bottom: 1px solid transparent; transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-cta {
  font-size: 0.85rem; letter-spacing: 0.13em; text-transform: uppercase;
  background: var(--gold); color: var(--white);
  padding: 0.58rem 1.4rem; text-decoration: none;
  font-weight: 500; transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--gold-light); }

/* ── PAGE HEADER (bannière haut de page intérieure) ── */
.page-header {
  position: relative; overflow: hidden;
  padding: 5rem 5vw 0rem;
  background: #000000;
  min-height: 320px;
  display: flex; align-items: flex-end;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1555361422-27c7e905b82a?w=1600&q=80&auto=format&fit=crop');
  background-size: cover; background-position: center 40%;
  filter: grayscale(40%) brightness(0.22);
}
.page-header-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--royal-dark) 0%, rgba(0, 0, 0, 0.6) 60%, var(--royal-dark) 100%);
}
.page-header-fade2 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--royal-dark) 0%, transparent 30%, transparent 70%, var(--royal-dark) 100%);
}
.page-header-content { position: relative; z-index: 2; }
.page-header-eyebrow {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}
.page-header-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400;
  line-height: 1.08; color: var(--white);
}
.page-header-title em { font-style: italic; color: var(--gold-light); }

/* ── SECTIONS ── */
.sw { padding: 6rem 5vw; }
.sw-sm { padding: 4rem 5vw; }

.eyebrow {
  font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }

.stitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4.5vw, 5rem); font-weight: 400;
  line-height: 1.1; color: var(--gold-light);
}
.stitle em { font-style: normal; color: var(--royal); }
.stitle-light { color: var(--white); }
.stitle-light em { color: var(--gold-light); }

/* ── BOUTONS ── */
.btn-royal {
  display: inline-block; padding: 0.9rem 2rem;
  background: var(--royal); color: var(--white);
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 400; text-decoration: none; transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.btn-royal:hover { background: var(--royal-lite); transform: translateY(-1px); }

.btn-gold {
  display: inline-block; padding: 1.5rem 3.5rem;
  background: var(--gold); color: var(--white);;
  font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  min-width: 280px; text-align: center; white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; padding: 0.9rem 2rem;
  border: 1px solid var(--border-g); color: var(--royal);
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 400; text-decoration: none; transition: all 0.2s;
  background: transparent;
}
.btn-outline:hover { background: var(--royal); color: var(--white); border-color: var(--royal); }

/* ── FORMULAIRE ── */
.fg { margin-bottom: 1.4rem; }
.fg label {
  display: block; font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-light); margin-bottom: 0.5rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--white); border: 1px solid var(--border);
  border-bottom: 1px solid var(--beige-dark);
  font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 300;
  color: var(--ink); outline: none; appearance: none; border-radius: 0;
  transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--royal); border-bottom-color: var(--gold); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg input::placeholder, .fg textarea::placeholder { color: var(--ink-light); opacity: 0.5; }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:560px){ .frow { grid-template-columns: 1fr; } }

.frgpd { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.8rem; }
.frgpd input[type=checkbox] { margin-top: 3px; accent-color: var(--royal); flex-shrink: 0; }
.frgpd label { font-size: 0.72rem; color: var(--ink-light); line-height: 1.6; cursor: pointer; }
.frgpd a { color: var(--gold); text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: var(--royal-dark);
  border-top: 1px solid rgba(196,151,58,0.15);
  padding: 4.5rem 5vw 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media(max-width:700px){ .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--white); font-weight: 400; }
.footer-brand-sub { font-size: 1.2rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-top: 2px; }
.footer-desc { font-size: 0.78rem; color: rgba(255, 255, 255, 0.507); line-height: 1.7; margin-top: 1rem; }

.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.507); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.507); line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; padding-top: 2rem;
}
.footer-copy { font-size: 1rem; color: rgba(255, 255, 255, 0.507); }
.footer-legal a { font-size: 1rem; color: rgba(255, 255, 255, 0.507); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ── MODAL ── */
.modal-ov {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(15,35,71,0.92); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 2rem;
}
.modal-ov.open { display: flex; }
.modal-box {
  background: var(--beige); max-width: 640px; width: 100%;
  max-height: 82vh; overflow-y: auto; padding: 3.5rem; position: relative;
  border-top: 3px solid var(--gold);
}
.modal-box h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-style: italic; color: var(--ink); margin-bottom: 2rem; }
.modal-box h3 { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 1.8rem 0 0.6rem; }
.modal-box p { font-size: 0.84rem; line-height: 1.8; color: var(--ink-mid); margin-bottom: 0.5rem; }
.mclose { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--ink-light); }
.mclose:hover { color: var(--ink); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s, transform 0.75s; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* ── MOBILE ── */
@media(max-width:820px){
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-logo { max-width: calc(100% - 60px); }
  .nav-logo-name { font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-logo-sub { font-size: 0.55rem; letter-spacing: 0.12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-links.open {
    display: flex; flex-direction: column; list-style: none;
    position: fixed; top: 74px; left: 0; right: 0;
    background: rgba(0,0,0,0.98); padding: 2rem 5vw 1.5rem;
    gap: 1.5rem; border-top: 1px solid rgba(196,151,58,0.15);
    backdrop-filter: blur(16px);
  }
  .nav-links.open a { font-size: 1rem; }
  .footer-copy { font-size: 0.7rem; }
  .footer-legal a { font-size: 0.7rem; }
  .footer-brand { font-size: 1.2rem; }
  .footer-brand-sub { font-size: 0.6rem; }
  .footer-desc { font-size: 0.65rem; }
  .footer-col h4 { font-size: 0.7rem; }
  .footer-col a { font-size: 0.65rem; }
  .footer-col p { font-size: 0.65rem; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@keyframes fadeUp { from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none} }

a.domaine-row {
  text-decoration: none !important;
  color: inherit !important;
}

a.domaine-row * {
  text-decoration: none !important;
}

