/* =============================================
   SILVERTON — CSS COMMUN
   Charte graphique : brand-book.html
   Composants       : ui-kit.html
   ============================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,400;1,600&display=swap');

/* ── Local Fonts ── */
@font-face {
  font-family: 'WT Kormelink';
  src: url('../fonts/WT_Kormelink_Italic/WT_Kormelink_Italic.woff2') format('woff2'),
       url('../fonts/WT_Kormelink_Italic/WT_Kormelink_Italic.woff') format('woff'),
       url('../fonts/WT_Kormelink_Italic/WT_Kormelink_Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


/* =============================================
   CUSTOM PROPERTIES — Brand Book
   ============================================= */
:root {
  /* Couleurs */
  --dark:    #011526;
  --light:   #FFF5ED;
  --primary: #011526;
  --accent:  #6B7FA8;
  --white:   #FFFFFF;

  /* Texte */
  --text-primary:         #011526;
  --text-secondary:       rgba(1, 21, 38, 0.50);
  --text-on-dark:         #FFF5ED;
  --text-on-dark-muted:   rgba(255, 246, 237, 0.60);

  /* Bordures */
  --border:     rgba(1, 21, 38, 0.08);
  --border-mid: rgba(1, 21, 38, 0.14);

  /* Typographies */
  --font:            'Crimson Pro', serif;
  --font-body:       'Crimson Pro', serif;
  --font-heading:    'WT Kormelink', serif;
  --font-serif:      'Crimson Pro', serif;
  --font-sans:       'Crimson Pro', serif;
  --font-mono:       'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Rayons */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Espacements */
  --section-pad: clamp(80px, 10vw, 120px);
  --gutter:      clamp(24px, 5vw, 80px);
}


/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* font-size: 100% (= 16px par défaut, scale avec le zoom utilisateur).
     Les composants utilisent maintenant rem pour rester lisibles à +100 % / +150 %. */
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--light);
  color: var(--text-primary);
  font-size: 1.0625rem; /* ≈ 17px, taille de base lisible */
  line-height: 1.65;
  overflow-x: hidden;
}

img  {
  display: block;
  max-width: 100%;
  /* Préserve le ratio quand les attributs width/height HTML sont présents :
     évite toute distorsion quand max-width rétrécit l'image (anti-CLS). */
  height: auto;
  /* Respect de l'orientation EXIF — corrige les photos qui apparaissaient
     dans le mauvais sens sur Safari (sur certains webp avec rotation embarquée). */
  image-orientation: from-image;
}
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }


/* =============================================
   TYPOGRAPHIE
   ============================================= */
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }

/* Eyebrow / label de section — usage : accent */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Eyebrow muted — sections secondaires */
.eyebrow-muted {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 28, 46, 0.45);
}
.eyebrow-muted::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(15, 28, 46, 0.25);
  flex-shrink: 0;
}

/* Eyebrow sur fond sombre */
.eyebrow-dark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-dark::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow-dark.reveal {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--dark);
  line-height: 1.1;
}

.section-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
}


/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.42s; }

.reveal-clip {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal-clip.visible { clip-path: inset(0% 0 0 0); }
.reveal-clip-delay-1 { transition-delay: 0.12s; }
.reveal-clip-delay-2 { transition-delay: 0.26s; }


/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.45s ease, padding 0.35s ease, border-color 0.45s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15, 28, 46, 0.96);
  padding-top: 18px;
  padding-bottom: 18px;
  border-color: rgba(74, 156, 196, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.site-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.site-header.scrolled .site-logo-mark { background: var(--accent); }

.site-logo-mark svg { width: 16px; height: 16px; }

.site-logo-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active {
  color: var(--white);
  font-weight: 700; /* gras prononcé pour repérer la page courante au scroll */
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

/* Nav CTA */
.nav-cta {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid var(--white);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  border-color: var(--accent) !important;
  background: rgba(74, 156, 196, 0.12) !important;
  color: var(--white) !important;
}

/* Nav burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.35s ease;
  border-radius: 1px;
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(15, 28, 46, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 156, 196, 0.15);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.active {
  display: block;
  max-height: calc(100vh - 80px);
}

.mobile-menu ul {
  list-style: none;
  padding: 32px var(--gutter);
}

.mobile-menu li {
  margin: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a.active {
  color: var(--accent);
  font-weight: 700; /* gras prononcé pour repérer la page courante */
}

@media (max-width: 768px) {
  .nav-burger { display: flex; }

  .site-nav {
    display: none;
  }

  .nav-links a::after {
    display: none;
  }
}


/* =============================================
   BOUTONS — ui-kit §01
   ============================================= */

/* Primary — fond clair */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.8; }

.btn-primary--sm  { font-size: 16px; padding: 8px 16px; gap: 6px; }
.btn-primary--lg  { font-size: 16px; padding: 16px 32px; gap: 10px; }

/* Primary — fond sombre */
.btn-primary-inverse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn-primary-inverse:hover { opacity: 0.85; }

/* Secondary — fond clair */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 11px 23px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(26, 75, 122, 0.06); }

/* Secondary ghost — fond sombre */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 11px 23px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* Light button — crème sur fond sombre */
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.btn-light:hover { opacity: 0.85; }


/* =============================================
   TRUST BAR — ui-kit §02
   ============================================= */
.trust-bar {
  display: flex;
  gap: 0;
  divide: 1px;
}

.trust-bar--light {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-item {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  padding-right: 40px;
}

.trust-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.trust-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}

.trust-item-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Version fond sombre */
.trust-bar--dark .trust-item:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.06);
}
.trust-bar--dark .trust-item-title { color: var(--white); }
.trust-bar--dark .trust-item-sub   { color: rgba(255, 255, 255, 0.4); }


/* =============================================
   BADGES — ui-kit §04
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge--accent {
  background: rgba(74, 156, 196, 0.12);
  color: var(--accent);
  border-color: rgba(74, 156, 196, 0.25);
}

.badge--primary {
  background: rgba(26, 75, 122, 0.08);
  color: var(--primary);
  border-color: rgba(26, 75, 122, 0.18);
}

.badge--neutral {
  background: rgba(15, 28, 46, 0.05);
  color: rgba(15, 28, 46, 0.55);
  border-color: rgba(15, 28, 46, 0.1);
}

.badge--light {
  background: var(--light);
  color: rgba(15, 28, 46, 0.45);
  border-color: var(--border);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}


/* =============================================
   CARD DE BIEN — ui-kit §05
   ============================================= */
.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 28, 46, 0.1);
}

.property-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--light);
}

.property-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card__image img {
  transform: scale(1.04);
}

.property-card__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.property-card__body {
  padding: 24px;
}

.property-card__title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.property-card__location {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.property-card__specs {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.property-card__specs span { opacity: 0.4; }

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.property-card__price {
  font-size: 19px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.property-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.04em;
  transition: gap 0.2s ease;
}
.property-card__link:hover { gap: 8px; }


/* =============================================
   TÉMOIGNAGE — ui-kit §06
   ============================================= */
.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--light);
  display: flex;
  flex-direction: column;
}

.testimonial-card--dark {
  background: var(--dark);
  border-color: transparent;
}

.testimonial-card__quote-mark {
  font-family: var(--font-serif);
  font-size: 57px;
  font-weight: 300;
  color: rgba(74, 156, 196, 0.25);
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
  letter-spacing: -0.005em;
  flex: 1;
  margin-bottom: 28px;
}

.testimonial-card--dark .testimonial-card__text { color: var(--white); }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-card--dark .testimonial-card__author {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-card__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}
.testimonial-card--dark .testimonial-card__name { color: var(--white); }

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.testimonial-card--dark .testimonial-card__role { color: rgba(255, 255, 255, 0.35); }


/* =============================================
   FORMULAIRE — ui-kit §07
   ============================================= */
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(15, 28, 46, 0.55);
  letter-spacing: 0.04em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--dark);
  background: var(--light);
  border: 1px solid rgba(15, 28, 46, 0.15);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(15, 28, 46, 0.25); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 75, 122, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* Input avec icône */
.form-input-wrapper { position: relative; }
.form-input-wrapper .form-input { padding-left: 44px; }
.form-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(15, 28, 46, 0.25);
  pointer-events: none;
}

/* Select arrow */
.form-select-wrapper { position: relative; }
.form-select-wrapper .form-select { padding-right: 40px; }
.form-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(15, 28, 46, 0.25);
  pointer-events: none;
}

/* Variante fond sombre */
.form-dark .form-label { color: rgba(255, 255, 255, 0.4); }
.form-dark .form-input,
.form-dark .form-select,
.form-dark .form-textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.form-dark .form-input::placeholder,
.form-dark .form-textarea::placeholder { color: rgba(255, 255, 255, 0.2); }
.form-dark .form-input:focus,
.form-dark .form-select:focus,
.form-dark .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 156, 196, 0.15);
}
.form-dark .form-input-icon,
.form-dark .form-select-arrow { color: rgba(255, 255, 255, 0.2); }


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  padding: clamp(60px, 8vw, 100px) var(--gutter) 40px;
  border-top: 1px solid rgba(74, 156, 196, 0.12);
  position: relative;
  overflow: hidden;
}

/* Logo en arrière-plan */
.footer-bg {
  position: absolute;
  right: -10%;
  bottom: -5%;
  width: 600px;
  height: 600px;
  opacity: 0.08;
  pointer-events: none;
}

.footer-bg-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Contenu du footer */
.footer-content {
  position: relative;
  z-index: 1;
}

.footer-brand {
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 400px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand-name img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-brand-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

/* Colonnes de liens */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(40px, 8vw, 80px);
  margin-bottom: clamp(40px, 5vw, 60px);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.25);
}

.footer-tagline {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.3s ease;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.55); }

/* Lien « Gérer les cookies » — même rendu que les liens légaux du footer */
.footer-legal .js-cookie-settings { cursor: pointer; }


/* =============================================
   BANNIÈRE COOKIES / CONSENT
   ============================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  width: min(640px, calc(100% - 32px));
  background: var(--dark);
  color: var(--text-on-dark);
  border: 1px solid rgba(107, 127, 168, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 30px);
  z-index: 9999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.cookie-banner p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}
.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner p a:hover { color: var(--white); }
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.cookie-btn-accept { background: var(--accent); color: var(--white); }
.cookie-btn-accept:hover { background: #56688c; }
.cookie-btn-refuse {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.25);
}
.cookie-btn-refuse:hover { border-color: rgba(255, 255, 255, 0.6); }

@media (max-width: 560px) {
  .cookie-banner {
    left: 0;
    bottom: 0;
    width: 100%;
    transform: translateY(20px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .cookie-banner.is-visible { transform: translateY(0); }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-btn { width: 100%; }
}


/* =============================================
   LAYOUT UTILITAIRES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }

.divider {
  height: 1px;
  background: var(--border);
}

.bg-dark  { background: var(--dark); }
.bg-light { background: var(--light); }
.bg-white { background: var(--light); }


/* =============================================
   HERO (page d'accueil)
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Overlay désactivé temporairement pour prévisualiser la photo sans assombrissement.
     Pour restaurer, remettre :
     background: linear-gradient(to bottom, rgba(10,8,6,0.24) 0%, rgba(10,8,6,0.10) 50%, rgba(10,8,6,0.50) 100%); */
  background: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(16px);
  animation: hero-fadeUp 0.9s ease 0.3s forwards;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic; /* WT Kormelink est italic-only ; on force la déclaration pour cohérence Safari/Firefox */
  font-size: clamp(32px, 9vw, 120px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  opacity: 0;
  animation: hero-fadeUp 1s ease 0.2s forwards;
  margin-bottom: 28px;
  max-width: 100%;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  display: block;
  font-size: 0.7em;
  letter-spacing: 0.06em;
  margin-top: 8px;
}

.hero-line {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: hero-fadeUp 0.7s ease 0.5s forwards;
  margin-bottom: 28px;
}
.hero-line::before, .hero-line::after {
  content: '';
  width: 60px; height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.hero-since {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: white;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(15px, 2.2vw, 26px);
  font-weight: 300;
  color: white;
  opacity: 0;
  animation: hero-fadeUp 1s ease 0.7s forwards;
  margin-bottom: 48px;
  max-width: 640px;
  text-align: center;
  padding: 0 8px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: hero-fadeUp 0.9s ease 1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: hero-fadeIn 1s ease 1.4s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}
.scroll-bar {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 1.8s ease infinite;
}

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}


/* =============================================
   PAGE HERO (pages intérieures)
   ============================================= */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 6vw, 72px);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  /* Overlay allégé pour mettre la photo en valeur sur les sous-pages. */
  background: linear-gradient(to bottom, rgba(15,28,46,0.25) 0%, rgba(15,28,46,0.55) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-style: italic; /* WT Kormelink italic-only — voir .hero-title */
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.page-hero-title em { font-style: italic; color: rgba(255,255,255,0.7); }

.page-hero-line {
  width: 48px; height: 1px;
  background: var(--accent);
  opacity: 0.7;
  margin-top: 24px;
}


/* =============================================
   MANIFESTE BAND
   ============================================= */
.manifeste-band {
  background: var(--dark);
  border-top: 1px solid rgba(74,156,196,0.15);
  border-bottom: 1px solid rgba(74,156,196,0.15);
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  overflow: hidden;
  width: 100%;
}

.manifeste-band .m-line {
  flex: 1; max-width: 100px;
  height: 1px;
  background: rgba(74,156,196,0.25);
}

.manifeste-band p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: white;
  text-align: center;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.manifeste-band strong {
  color: var(--accent);
  font-weight: 400;
  font-style: normal;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .site-header { padding-left: 24px; padding-right: 24px; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .trust-bar {
    flex-direction: column;
    gap: 20px;
  }
  .trust-item { border-right: none !important; }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  /* Manifeste band : autoriser le retour à la ligne sur mobile + masquer les filets décoratifs */
  .manifeste-band {
    padding: 18px var(--gutter);
    gap: 16px;
  }
  .manifeste-band p {
    white-space: normal;
    line-height: 1.5;
    font-size: 14px;
  }
  .manifeste-band .m-line { display: none; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }

  /* Hero : éviter que "MOQUETTISTE" déborde + le sous-titre se coupe */
  .hero-content { padding-left: 16px; padding-right: 16px; }
  .hero-title {
    font-size: clamp(28px, 11vw, 56px);
    letter-spacing: 0.05em;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.45;
    padding: 0 4px;
  }
  .hero-line { gap: 12px; }
  .hero-line::before, .hero-line::after { width: 32px; }
}

/* =============================================
   BRAND BOOK — Composants spécifiques
