/* =========================================================
   CABINET RB — Feuille de style commune
   Identité : crème · bordeaux · doré · sérif chic
   ========================================================= */

:root {
  /* --- Couleurs de la marque --- */
  --creme:    #F2EADD;   /* fond principal (crème chaud)     */
  --creme-2:  #FAF4E9;   /* fond plus clair (cartes)         */
  --bordeaux: #5E1B2E;   /* accent profond (le « R »)        */
  --bordeaux-clair:#7A2A40;
  --or:       #B8954C;   /* accent doré (le « B », filets)   */
  --or-clair: #CBA85E;
  --encre:    #3C3537;   /* texte (charbon chaud)            */
  --encre-doux:#7C7370;  /* texte secondaire                 */
  --trait:    #E4D9C7;   /* filets discrets                  */

  /* --- Alias (pour compatibilité du code des pages) --- */
  --bleu: var(--encre); --bleu-doux: var(--encre-doux);
  --rouge: var(--bordeaux); --ivoire: var(--creme); --ivoire-2: var(--creme-2);

  --font-titre: 'Fraunces', Georgia, serif;
  --font-texte: 'Archivo', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-texte); color: var(--encre); background: var(--creme);
  line-height: 1.65; font-weight: 300; -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* =========================  EN-TÊTE  ========================= */
header { position: sticky; top: 0; z-index: 50; background: rgba(242,234,221,0.9);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); border-top: 3px solid var(--bordeaux); }
.bandeau { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* Logo : sérif, capitales espacées. R en bordeaux, B en doré, point doré. */
.logo { font-family: var(--font-titre); font-weight: 500; font-size: 23px;
  letter-spacing: 0.20em; text-decoration: none; color: var(--encre); }
.logo .r-mono { color: var(--bordeaux); }
.logo .b-mono { color: var(--or); }
.logo .pt { color: var(--or); }

nav ul { list-style: none; display: flex; gap: 30px; }
nav a { text-decoration: none; color: var(--encre); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; padding-bottom: 4px; border-bottom: 1.5px solid transparent; transition: .2s; }
nav a:hover, nav a.actif { color: var(--bordeaux); border-color: var(--or); }

/* =========================  TITRES & TEXTE  ========================= */
h1 { font-family: var(--font-titre); font-weight: 300; font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05; letter-spacing: -0.01em; color: var(--encre); }
h2 { font-family: var(--font-titre); font-weight: 400; font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.15; margin-bottom: 22px; }
h3 { font-family: var(--font-titre); font-weight: 500; font-size: 22px; margin-bottom: 10px; }
p  { font-size: 17px; color: #4A4346; margin-bottom: 16px; max-width: 60ch; }
.lead { font-size: 20px; color: var(--encre-doux); font-weight: 300; }
strong { font-weight: 500; color: var(--encre); }

.surtitre { font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--bordeaux); font-weight: 500; margin-bottom: 14px; }

/* Filet décoratif bordeaux → doré */
.trait-tricolore { display: inline-flex; width: 56px; height: 2px; }
.trait-tricolore span { flex: 1; }
.trait-tricolore span:first-child { background: var(--bordeaux); }
.trait-tricolore span:last-child  { background: var(--or); }

/* =========================  SECTIONS  ========================= */
section { padding: 96px 0; }
.section-claire { background: var(--creme-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }

/* =========================  HÉRO  ========================= */
.hero { padding: 60px 0 100px; position: relative; }
.hero .tagline { font-family: var(--font-titre); text-transform: uppercase; letter-spacing: 0.26em;
  font-size: 15px; color: var(--encre); margin: 22px 0 28px; display: inline-block; }
.hero .tagline::before, .hero .tagline::after { content: "\2666"; color: var(--or); margin: 0 14px; font-size: 11px; vertical-align: middle; }

/* =========================  BOUTONS  ========================= */
.btn { display: inline-block; background: var(--bordeaux); color: var(--creme); text-decoration: none;
  padding: 15px 34px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--bordeaux); transition: .25s; cursor: pointer; font-family: var(--font-texte); }
.btn:hover { background: var(--bordeaux-clair); border-color: var(--bordeaux-clair); }
.btn-ligne { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-ligne:hover { background: var(--bordeaux); color: var(--creme); }

/* =========================  CARTES  ========================= */
.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.carte { background: var(--creme-2); border: 1px solid var(--trait); padding: 36px 32px; transition: .25s; }
.carte:hover { transform: translateY(-4px); border-color: var(--or); box-shadow: 0 12px 30px rgba(94,27,46,0.07); }
.carte .num { font-family: var(--font-titre); font-style: italic; font-size: 16px; color: var(--or); margin-bottom: 4px; }

/* =========================  PRIX  ========================= */
.liste-prix { list-style: none; margin-top: 30px; }
.liste-prix li { display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--trait); gap: 20px; }
.liste-prix .prix { font-family: var(--font-titre); font-size: 21px; color: var(--bordeaux); white-space: nowrap; }

/* =========================  FORMULAIRE  ========================= */
form { max-width: 620px; margin-top: 36px; }
.champ { margin-bottom: 22px; }
label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; color: var(--encre-doux); }
input, select, textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--trait);
  background: var(--creme-2); font-family: var(--font-texte); font-size: 16px; color: var(--encre); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--or); }
textarea { min-height: 130px; resize: vertical; }

/* =========================  PIED DE PAGE  ========================= */
footer { background: var(--bordeaux); color: var(--creme); padding: 64px 0 40px; }
footer a { color: var(--creme); text-decoration: none; }
footer a:hover { color: var(--or-clair); }
.footer-haut { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(242,234,221,0.2); }
.footer-logo { font-family: var(--font-titre); font-weight: 500; font-size: 22px; letter-spacing: 0.2em; color: var(--creme); }
.footer-logo .r-mono { color: var(--creme); }
.footer-logo .b-mono { color: var(--or-clair); }
.footer-logo .pt { color: var(--or-clair); }
.footer-bas { padding-top: 26px; font-size: 13px; color: rgba(242,234,221,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* =========================  ANIMATION  ========================= */
.apparait { opacity: 0; transform: translateY(20px); animation: monte .8s ease forwards; }
@keyframes monte { to { opacity: 1; transform: translateY(0); } }

/* =========================  MOBILE  ========================= */
/* =========================  HAMBURGER  ========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--encre);
  transition: .3s;
}
.hamburger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.ouvert span:nth-child(2) { opacity: 0; }
.hamburger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .hamburger { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(242,234,221,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--trait);
    z-index: 49;
    padding: 16px 0;
  }
  nav.ouverte { display: block; }
  nav ul { flex-direction: column; gap: 0; }
  nav a { display: block; padding: 14px 28px; font-size: 13px; letter-spacing: 0.1em; border-bottom: none; }
  nav a:hover, nav a.actif { background: var(--creme-2); color: var(--bordeaux); border-bottom: none; border-left: 3px solid var(--or); padding-left: 25px; }
  .grille, .grille-3 { grid-template-columns: 1fr; }
  .bandeau { height: 64px; position: relative; }
  .logo { font-size: 17px; }
  section { padding: 64px 0; }
}

/* =========================  LOGO IMAGE  ========================= */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.logo-texte { font-family: var(--font-titre); font-weight: 500; font-size: 23px;
  letter-spacing: 0.20em; color: var(--encre); }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; opacity: 0.9; }

@media (max-width: 760px) {
  .logo-img { width: 36px; height: 36px; }
  .logo-texte { font-size: 17px; }
}
