/* ==========================================================================
   Maison Leclaire — feuille de style principale
   Charte : Playfair Display (titres) / EB Garamond (texte)
   Palette : crème #F4EEE0 · marine #1E2E3A · or #B0894A / #C89B4E · bordeaux #6E2A2E
   ========================================================================== */

:root {
  --cream:      #F4EEE0;
  --cream-2:    #FBF7EC;
  --cream-3:    #EFE7D6;
  --sand:       #E4DAC2;
  --sand-2:     #D8CDB4;
  --sand-3:     #C9BFA6;
  --gold:       #B0894A;
  --gold-2:     #C89B4E;
  --gold-pale:  #E8C9A0;
  --navy:       #1E2E3A;
  --navy-2:     #24384A;
  --navy-text:  #9FB0BB;
  --navy-muted: #8FA0AC;
  --ink:        #24211B;
  --ink-2:      #3D3830;
  --ink-3:      #4A453B;
  --taupe:      #7A7364;
  --bordeaux:   #6E2A2E;
  --white-warm: #FBF7EC;

  --serif-display: 'Playfair Display', Georgia, serif;
  --serif-text:    'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif-text);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--cream); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

/* --------------------------------------------------------------------------
   Typographie commune
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h1, h2, h3 { font-family: var(--serif-display); font-weight: 500; }

.section-title {
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 34px;
  cursor: pointer;
  border: 0;
  font-family: var(--serif-text);
}
.btn--gold    { background: var(--gold-2); color: var(--navy); }
.btn--gold:hover { color: var(--navy); background: var(--gold); }
.btn--navy    { background: var(--navy); color: var(--cream); padding: 16px 40px; }
.btn--navy:hover { color: var(--cream); background: var(--navy-2); }
.btn--cream   { background: var(--cream); color: var(--bordeaux); padding: 16px 40px; }
.btn--cream:hover { color: var(--bordeaux); opacity: 0.9; }
.btn--ghost-light { color: var(--white-warm); border: 1px solid rgba(251,247,236,0.6); }
.btn--ghost-light:hover { color: var(--white-warm); border-color: var(--white-warm); }
.btn--ghost-dark { color: var(--navy); border: 1px solid var(--navy); }
.btn--ghost-dark:hover { color: var(--gold); border-color: var(--gold); }

.link-more {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   En-tête / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 224, 0.94);
  -webkit-backdrop-filter: saturate(120%) blur(6px);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--sand);
}

.site-header .container {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand:hover { color: inherit; }

.brand-name {
  font-family: var(--serif-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--navy);
  white-space: nowrap;
}

/* Sceau LC — couleurs paramétrées par variables (voir <symbol id="sceau">) */
.seal { display: block; }
.seal--light {
  --s1: var(--navy);   /* anneau extérieur   */
  --s2: var(--gold);   /* pointillés, ornements, lettre C */
  --s3: var(--gold);   /* anneau intérieur 1 */
  --s4: var(--navy);   /* anneau intérieur 2 */
  --s5: var(--navy);   /* lettre L           */
}
.seal--dark {
  --s1: var(--gold-2);
  --s2: var(--gold-2);
  --s3: rgba(200, 155, 78, 0.55);
  --s4: var(--gold-2);
  --s5: var(--cream);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.site-nav a.active { color: var(--gold); }
.site-nav .nav-contact {
  border: 1px solid var(--navy);
  padding: 9px 20px;
  color: var(--navy);
}
.site-nav .nav-contact:hover { color: var(--gold); border-color: var(--gold); }
.site-nav .nav-contact.active { color: var(--gold); border-color: var(--gold); }

/* Menu mobile (case à cocher, sans JavaScript) */
.nav-toggle { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 6px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand-3);
  padding: 80px 0;
}
.hero .ph-cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,46,58,0.20), rgba(30,46,58,0.55));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  padding: 0 32px;
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.1;
  color: var(--white-warm);
  margin: 0;
  text-shadow: 0 2px 20px rgba(18, 26, 34, 0.45);
}
.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: #EBE3D2;
  max-width: 560px;
  margin: 22px auto 0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-note {
  position: absolute;
  bottom: 14px;
  right: 20px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--cream);
  opacity: 0.7;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 60px 24px;
}
.page-hero--tall { min-height: 380px; }
.page-hero--short { min-height: 300px; }
.page-hero .eyebrow { color: var(--gold-2); letter-spacing: 0.4em; }
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  margin: 0;
  color: var(--white-warm);
}
.page-hero .hero-dates {
  font-style: italic;
  font-size: 20px;
  color: var(--navy-text);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Bande de repères (accueil)
   -------------------------------------------------------------------------- */

.stats { background: var(--navy); color: var(--cream-3); }
.stats .container {
  padding-top: 34px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .stat + .stat { border-left: 1px solid rgba(200, 155, 78, 0.3); }
.stat-value { font-family: var(--serif-display); font-size: 34px; color: var(--gold-2); }
.stat-label {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-text);
}

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */

.section { padding-top: 100px; padding-bottom: 100px; }
.section--alt {
  background: var(--cream-2);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.section-head { text-align: center; margin-bottom: 52px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split--top { align-items: start; }
.split p { font-size: 19px; line-height: 1.8; color: var(--ink-2); margin: 0 0 18px; }

.frame {
  position: relative;
  border: 1px solid var(--sand);
  overflow: hidden;
  background: #E1D7C0;
}
.frame--45 { aspect-ratio: 4 / 5; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--34 { aspect-ratio: 3 / 4; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame img.sepia { filter: sepia(0.1); object-position: center top; }
.frame-caption { margin-top: 16px; font-style: italic; font-size: 15px; color: var(--taupe); }

/* Cartes métiers (grille à filets) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
}
.card { background: var(--cream-2); padding: 40px 36px; }
.card-num { font-family: var(--serif-display); font-size: 15px; color: var(--gold); }
.card h3 { font-size: 24px; color: var(--navy); margin: 12px 0 10px; }
.card p { font-size: 16px; line-height: 1.65; color: var(--ink-3); margin: 0; }

/* --------------------------------------------------------------------------
   Galerie de réalisations
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-title { font-family: var(--serif-display); font-size: 22px; color: var(--navy); margin-top: 14px; }
.work-meta { font-size: 15px; color: var(--taupe); font-style: italic; }

.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.filters span { padding: 9px 22px; border: 1px solid var(--sand-2); color: var(--ink-3); }
.filters .active { border-color: var(--navy); color: var(--cream); background: var(--navy); }

/* --------------------------------------------------------------------------
   Citations / témoignages
   -------------------------------------------------------------------------- */

.quote { text-align: center; }
.quote--bordeaux { background: var(--bordeaux); color: var(--cream); }
.quote--navy { background: var(--navy); color: var(--cream-3); }
.quote .container { max-width: 900px; padding-top: 90px; padding-bottom: 90px; }
.quote-text {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.4;
}
.quote--bordeaux .quote-text { color: var(--cream); }
.quote--navy .quote-text { color: var(--white-warm); }
.quote-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.quote--bordeaux .quote-source { color: var(--gold-pale); }
.quote--navy .quote-source { color: var(--navy-text); }
.quote-source::before,
.quote-source::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold-2);
  flex: none;
}
.quote--bordeaux .quote-source::before,
.quote--bordeaux .quote-source::after { background: var(--gold-pale); }

/* --------------------------------------------------------------------------
   Chronologies
   -------------------------------------------------------------------------- */

.timeline { border-bottom: 1px solid var(--sand); }
.timeline-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 26px 0;
  border-top: 1px solid var(--sand);
}
.timeline--compact .timeline-row { grid-template-columns: 130px 1fr; padding: 24px 0; }
.timeline-year { font-family: var(--serif-display); font-size: 30px; color: var(--gold); }
.timeline--compact .timeline-year { font-size: 28px; }
.timeline-title { font-family: var(--serif-display); font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.timeline-row p { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin: 0; }
.timeline-row .plain { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.timeline-row .plain strong { color: var(--navy); }

/* --------------------------------------------------------------------------
   Valeurs
   -------------------------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value { text-align: center; }
.value + .value { border-left: 1px solid var(--sand); padding-left: 32px; }
.value-num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 14px;
}
.value h3 { font-size: 24px; color: var(--navy); margin: 0 0 10px; }
.value p { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin: 0; }

/* --------------------------------------------------------------------------
   Savoir-faire : métiers détaillés, méthode
   -------------------------------------------------------------------------- */

.metier {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-top: 1px solid var(--sand-2);
}
.metier--reverse { grid-template-columns: 1.4fr 1fr; }
.metier--reverse .metier-text { order: 2; }
.metier--reverse .frame { order: 1; }
.metier h2 { font-size: 32px; color: var(--navy); margin: 8px 0 14px; }
.metier p { font-size: 18px; line-height: 1.75; color: var(--ink-3); margin: 0; }

.method { background: var(--navy); color: var(--cream-3); }
.method .section-head .eyebrow { color: var(--gold-2); }
.method .section-head .section-title { color: var(--white-warm); }
.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.step-num { font-family: var(--serif-display); font-size: 40px; color: var(--gold-2); }
.step-rule { width: 30px; height: 1px; background: var(--gold-2); margin: 12px 0; }
.step-title { font-family: var(--serif-display); font-size: 20px; color: var(--white-warm); margin-bottom: 8px; }
.method-steps p { font-size: 15px; line-height: 1.6; color: var(--navy-text); margin: 0; }

/* --------------------------------------------------------------------------
   Récit (page fondateur), corps de texte long
   -------------------------------------------------------------------------- */

.prose { max-width: 820px; margin: 0 auto; }
.prose h3 { font-size: 28px; color: var(--navy); margin: 0 0 8px; }
.prose .rule { width: 44px; height: 1px; background: var(--gold); margin-bottom: 20px; }
.prose p { font-size: 18px; line-height: 1.85; color: var(--ink-2); margin: 0 0 40px; }
.prose p.tight { margin-bottom: 18px; }

/* Postérité (cartes sur fond marine) */
.dark-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dark-card {
  background: var(--navy-2);
  border: 1px solid rgba(200, 155, 78, 0.2);
  padding: 40px 34px;
}
.dark-card h3 { font-size: 24px; color: var(--white-warm); margin: 0 0 12px; }
.dark-card p { font-size: 16px; line-height: 1.7; color: var(--navy-text); margin: 0; }
.dark-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 25%;
  border: 1px solid rgba(200, 155, 78, 0.25);
  margin-bottom: 18px;
}
.dark-card .credit { font-size: 11px; color: #6E7F8C; margin-top: 12px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-infos { display: flex; flex-direction: column; gap: 22px; }
.contact-infos dt {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-infos dd {
  font-family: var(--serif-display);
  font-size: 20px;
  color: var(--navy);
  margin: 0;
}
.contact-infos dd a:hover { color: var(--gold); }

.contact-form {
  background: var(--cream-2);
  border: 1px solid var(--sand);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--sand-3);
  background: transparent;
  font-family: var(--serif-text);
  font-size: 17px;
  color: var(--ink);
  padding: 2px 0 6px;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea { min-height: 110px; resize: vertical; }
.contact-form .btn { width: 100%; text-align: center; }
.form-hint { font-size: 14px; font-style: italic; color: var(--taupe); text-align: center; margin: -8px 0 0; }

.map-frame {
  position: relative;
  height: 380px;
  border: 1px solid var(--sand);
  overflow: hidden;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) sepia(0.12);
}
.map-card {
  position: absolute;
  left: 20px;
  bottom: 16px;
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 10px 16px;
}
.map-card .name { font-family: var(--serif-display); font-size: 16px; color: var(--navy); }
.map-card .addr { font-size: 12px; color: var(--bordeaux); }

/* --------------------------------------------------------------------------
   Mentions légales
   -------------------------------------------------------------------------- */

.legal { max-width: 820px; margin: 0 auto; }
.legal-block { margin-bottom: 50px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 { font-size: 26px; color: var(--navy); margin: 0 0 8px; }
.legal-block .rule { width: 44px; height: 1px; background: var(--gold); margin-bottom: 20px; }
.legal-block p { font-size: 18px; line-height: 1.8; color: var(--ink-2); margin: 0; }
.legal a { color: var(--bordeaux); }
.legal a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Placeholders photo (à remplacer par de vraies images)
   -------------------------------------------------------------------------- */

.ph {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background:
    repeating-linear-gradient(45deg,
      rgba(30, 46, 58, 0.045) 0 12px,
      rgba(30, 46, 58, 0) 12px 24px),
    #E7DDC7;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--taupe);
}
.hero .ph { background:
    repeating-linear-gradient(45deg,
      rgba(30, 46, 58, 0.06) 0 12px,
      rgba(30, 46, 58, 0) 12px 24px),
    var(--sand-3);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer { background: var(--navy); color: #C9C2B2; }
.footer-main {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(200, 155, 78, 0.25);
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .name {
  font-family: var(--serif-display);
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.footer-brand .tagline {
  font-style: italic;
  font-size: 14px;
  color: var(--gold-2);
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold-2); }
.footer-bottom {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-muted);
}
.footer-bottom a { color: var(--navy-muted); }
.footer-bottom a:hover { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .method-steps { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
}

@media (max-width: 900px) {
  .container { padding-left: 24px; padding-right: 24px; }

  /* Navigation mobile */
  .burger { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand);
    padding: 8px 0 16px;
  }
  .site-nav a { padding: 14px 24px; }
  .site-nav .nav-contact {
    margin: 8px 24px 0;
    text-align: center;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { min-height: 540px; }

  .split,
  .split--top,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split .frame--45 { max-width: 420px; }

  .cards, .gallery, .values, .dark-cards { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; padding-left: 0; border-top: 1px solid var(--sand); padding-top: 32px; }

  .metier,
  .metier--reverse { grid-template-columns: 1fr; gap: 28px; }
  .metier--reverse .metier-text { order: 1; }
  .metier--reverse .frame { order: 2; }

  .timeline-row,
  .timeline--compact .timeline-row { grid-template-columns: 90px 1fr; gap: 20px; }
  .timeline-year, .timeline--compact .timeline-year { font-size: 24px; }

  .stats .container { grid-template-columns: 1fr; gap: 20px; }
  .stats .stat + .stat {
    border-left: 0;
    border-top: 1px solid rgba(200, 155, 78, 0.3);
    padding-top: 20px;
  }

  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .method-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .brand-name { font-size: 17px; }
}
