/* ==========================================================================
   MAIN.CSS — Styles partagés FR / EN / HE
   Kératopigmentation FLAAK — Dr Yoni Gozlan
   --------------------------------------------------------------------------
   Chargé en premier sur toutes les pages du site.
   Overrides langue :  /css/en.css      (anglais, LTR)
                       /css/he-rtl.css  (hébreu,  RTL + miroir hero)
   ========================================================================== */


/* --------------------------------------------------------------------------
   VARIABLES
   NOTE : Thème général CLAIR (fond crème, texte sombre).
   Le hero est sombre (#0a0805 hardcodé) — ses couleurs ne dépendent pas
   des variables claires du reste du site.
   -------------------------------------------------------------------------- */
:root {
  --gold:           #c9a84c;
  --gold-dark:      #7d5810;
  --gold-light:     #e2c97e;
  --gold-pale:      rgba(201, 168, 76, 0.10);
  --gold-line:      rgba(201, 168, 76, 0.18);
  --gold-border:    rgba(125,  88, 16, 0.38);
  --gold-pale-dark: rgba(125,  88, 16, 0.07);
  --black:  #faf8f5;  /* fond principal  — crème      */
  --dark-1: #f0ece3;
  --dark-2: #e8e2d8;
  --dark-3: #ddd8cc;
  --white:  #0d0a08;  /* texte principal — quasi-noir */
  --gray-1: #1a1612;
  --gray-2: #1a1612;
  --gray-3: #2e2a26;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --tr: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* --------------------------------------------------------------------------
   RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--black); color: var(--white);
  font-family: var(--sans); font-weight: 300;
  line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }
::selection               { background: var(--gold); color: #0d0a08; }


/* --------------------------------------------------------------------------
   NAVIGATION — barre fixe
   -------------------------------------------------------------------------- */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 10, 0.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-line);
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow var(--tr);
}
nav.main-nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,0.7); }
.nav-logo {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  color: var(--gold); letter-spacing: 0.04em; line-height: 1.2;
  text-decoration: none; display: block;
}
.nav-logo small {
  display: block; font-family: var(--sans);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #ffffff; margin-top: 2px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75); transition: color var(--tr); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--tr);
}
.nav-links a:hover        { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: #0d0a08; background: var(--gold); padding: 11px 26px;
  transition: background var(--tr), transform var(--tr);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-right { display: flex; align-items: center; gap: 20px; }

/* Sélecteur de langue */
.lang-sw { display: flex; gap: 8px; align-items: center; }
.lang-sw a {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5); transition: color var(--tr);
  padding: 4px 6px; border: 1px solid transparent;
}
.lang-sw a:hover,
.lang-sw a.lang-active { color: var(--gold); border-color: rgba(201, 168, 76, 0.3); }

/* Burger mobile */
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: rgba(255, 255, 255, 0.7); transition: all 0.3s ease; }
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px)  rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* --------------------------------------------------------------------------
   NAVIGATION MOBILE — panneau latéral
   -------------------------------------------------------------------------- */
.mob-nav {
  display: flex; position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 82vw); background: rgba(8, 6, 4, 0.99); z-index: 999;
  flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 72px 36px 40px; border-left: 1px solid var(--gold-line);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
}
.mob-nav.open    { transform: translateX(0); }
.mob-nav a {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75); transition: color var(--tr);
  padding: 14px 0; border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  width: 100%; display: block;
}
.mob-nav a:hover         { color: var(--gold); }
.mob-nav a:first-of-type { border-top: 1px solid rgba(201, 168, 76, 0.12); }
.mob-overlay      { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 998; }
.mob-overlay.open { display: block; }
.mob-close {
  position: absolute; top: 22px; right: 22px;
  font-size: 1.1rem; color: rgba(255, 255, 255, 0.5);
  cursor: pointer; background: none; line-height: 1; transition: color var(--tr);
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.mob-close:hover { color: var(--gold); }
.mob-lang { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(201, 168, 76, 0.12); }
.mob-lang a {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5); padding: 6px 10px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.mob-lang a.lang-active,
.mob-lang a:hover { color: var(--gold); border-color: var(--gold); }


/* --------------------------------------------------------------------------
   HERO — fond sombre hardcodé (#0a0805), indépendant du thème clair
   -------------------------------------------------------------------------- */
#hero {
  height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: #0a0805 image-set(url('/images/hero-bg.webp') type('image/webp'), url('/images/hero-bg.jpg') type('image/jpeg'));
  background-size: auto 100%; background-position: right center;
}
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right,
    #0a0805 0%, #0a0805 18%,
    rgba(10,8,5,0.88) 34%, rgba(10,8,5,0.45) 52%,
    rgba(10,8,5,0.10) 70%, transparent 100%);
}
#hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner {
  position: relative; z-index: 2; text-align: left;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: calc(72px + 28px) 44px 32px 7%;
  width: 54%; max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid rgba(201,168,76,0.4); padding: 7px 20px; margin-bottom: 40px;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.hero-badge::before, .hero-badge::after { content: '◈'; font-size: 0.55rem; opacity: 0.5; }
h1.hero-title {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 400; line-height: 1.15; color: #f5f0e8; margin-bottom: 34px;
}
h1.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: clamp(0.86rem, 1.4vw, 0.97rem); color: #a8a09a;
  max-width: 440px; margin: 0 0 42px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 48px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #0d0a08; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 36px; transition: all var(--tr);
}
.btn-gold:hover  { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(201,168,76,0.25); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--gold-border); color: var(--gold); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 36px; transition: all var(--tr);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-pale-dark); transform: translateY(-3px); }
.hero-stats {
  display: flex; justify-content: flex-start;
  border-top: 1px solid rgba(201,168,76,0.25); width: 100%;
}
.stat { flex: 1; max-width: 180px; padding: 24px 16px 10px; text-align: center; border-right: 1px solid rgba(201,168,76,0.2); }
.stat:last-child { border-right: none; }
.stat-n { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 7px; }
.stat-l { display: block; font-size: 0.59rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #8a847c; line-height: 1.4; }


/* --------------------------------------------------------------------------
   SECTIONS — structure générale
   -------------------------------------------------------------------------- */
section { padding: 120px 24px; }
.container { max-width: 1140px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
h2.s-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--white); line-height: 1.2; margin-bottom: 18px; }
.s-sub { font-size: 0.97rem; color: var(--gray-2); max-width: 520px; line-height: 1.85; }
.s-head        { text-align: center; margin-bottom: 72px; }
.s-head .s-sub { margin: 0 auto; }


/* --------------------------------------------------------------------------
   TECHNIQUE
   -------------------------------------------------------------------------- */
#technique { background: var(--dark-1); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); }
.tech-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 72px; }
.tech-intro p { font-size: 0.94rem; color: var(--gray-2); line-height: 1.9; margin-bottom: 18px; }
.tech-hl { display: flex; align-items: flex-start; gap: 16px; padding: 22px 26px; border-left: 2px solid var(--gold); background: var(--gold-pale-dark); margin-top: 28px; }
.tech-hl-ic { font-size: 1.2rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.tech-hl p  { margin: 0; font-size: 0.88rem; color: var(--gray-1); font-weight: 400; }
.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--gold-border); border: 1px solid var(--gold-border); }
.card {
  background: var(--dark-1); padding: 28px 32px; transition: background var(--tr);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
}
.card:hover  { background: var(--dark-3); }
.card-ic     { font-size: 1.2rem; color: var(--gold); display: block; grid-row: 1; grid-column: 1; align-self: center; }
.card h3     { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--white); line-height: 1.3; grid-row: 1; grid-column: 2; align-self: center; }
.card p      { font-size: 0.82rem; color: var(--gray-2); line-height: 1.75; grid-row: 2; grid-column: 1/3; }
.card-num    { position: absolute; top: 28px; right: 36px; font-family: var(--serif); font-size: 2.5rem; font-weight: 400; color: rgba(201,168,76,0.07); line-height: 1; pointer-events: none; }


/* --------------------------------------------------------------------------
   DOCTOR
   -------------------------------------------------------------------------- */
#doctor { background: var(--black); }
.doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.doc-frame { width: 100%; aspect-ratio: 3/4; background: var(--dark-3); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.doc-frame::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%); }
.doc-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; z-index: 0; transition: transform 0.6s ease; }
.doc-frame:hover .doc-photo { transform: scale(1.03); }
.doc-badge { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(10,10,10,0.97) 0%, transparent 100%); padding: 56px 28px 28px; text-align: center; }
.doc-badge p    { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); margin-bottom: 4px; }
.doc-badge span { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.doc-bio p { font-size: 0.93rem; color: var(--gray-2); line-height: 1.9; margin-bottom: 18px; }
.creds { list-style: none; margin: 32px 0 44px; border-top: 1px solid var(--gold-border); }
.creds li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--gold-border); font-size: 0.87rem; color: var(--gray-2); }
.creds li::before { content: '✦'; color: var(--gold); font-size: 0.65rem; margin-top: 5px; flex-shrink: 0; }


/* --------------------------------------------------------------------------
   TEINTES
   -------------------------------------------------------------------------- */
#teintes { background: var(--dark-1); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); }
.colors { display: grid; grid-template-columns: repeat(8,1fr); gap: 20px; }
.col-card { text-align: center; cursor: default; }
.col-eye {
  width: 100%; aspect-ratio: 1; border-radius: 50%; margin-bottom: 14px;
  border: 2.5px solid #111;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.55), 0 2px 12px rgba(0,0,0,0.18);
  transition: all var(--tr); position: relative; overflow: hidden;
}
.col-card:hover .col-eye { transform: scale(1.08); border-color: var(--gold); box-shadow: 0 0 28px rgba(201,168,76,0.18); }
.col-eye::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.90) 17%, rgba(0,0,0,0) 20%),
    repeating-conic-gradient(rgba(0,0,0,0) 0deg 1.5deg, rgba(0,0,0,0.20) 1.5deg 2.8deg, rgba(0,0,0,0) 2.8deg 9deg),
    radial-gradient(circle, transparent 42%, var(--iris-dark) 62%, var(--iris-dark) 70%, transparent 72%);
}
.col-name { font-family: var(--serif); font-size: 0.88rem; color: var(--white); margin-bottom: 4px; }
.col-desc { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-3); }


/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
#faq { background: var(--black); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gold-border); }
.faq-q {
  width: 100%; background: none; border: none; padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer; text-align: left;
}
.faq-q span:first-child          { font-size: 0.95rem; color: var(--white); line-height: 1.5; transition: color var(--tr); }
.faq-q:hover span:first-child    { color: var(--gold); }
.faq-ic {
  flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; font-weight: 300; transition: all var(--tr);
}
.faq-item.open .faq-ic           { background: var(--gold); color: #0d0a08; transform: rotate(45deg); border-color: var(--gold); }
.faq-a                           { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a            { max-height: 320px; }
.faq-a p                         { padding: 0 0 26px; font-size: 0.9rem; color: var(--gray-2); line-height: 1.9; }


/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
#contact { background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.ci-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--white); margin-bottom: 8px; }
.ci-sub   { font-size: 0.84rem; color: var(--gray-2); margin-bottom: 44px; line-height: 1.85; }
.ci { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gold-border); }
.ci:last-of-type { border-bottom: none; }
.ci-icon {
  width: 42px; height: 42px; border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.95rem; flex-shrink: 0; transition: all var(--tr);
}
.ci:hover .ci-icon               { background: var(--gold); color: #0d0a08; border-color: var(--gold); }
.ci-lbl                          { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 5px; display: block; }
.ci-val                          { font-size: 0.93rem; color: var(--gray-1); line-height: 1.6; }
.ci-val a                        { color: var(--gold); transition: color var(--tr); }
.ci-val a:hover                  { color: var(--gold-light); }
.cf       { background: var(--dark-2); border: 1px solid var(--gold-border); padding: 48px; }
.cf-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--white); margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--gold-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg       { margin-bottom: 18px; }
.fg label { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 9px; }
.fg input, .fg textarea, .fg select {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.14);
  color: var(--white); font-family: var(--sans); font-size: 0.88rem; font-weight: 300;
  padding: 13px 16px; outline: none; transition: border-color var(--tr); appearance: none;
}
.fg textarea                          { resize: vertical; min-height: 115px; }
.fg input:focus, .fg textarea:focus,
.fg select:focus                      { border-color: var(--gold); }
.fg input::placeholder,
.fg textarea::placeholder             { color: #b0aba4; opacity: 1; }
.form-btn {
  width: 100%; background: var(--gold); color: #0d0a08; border: none;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; padding: 17px;
  cursor: pointer; transition: all var(--tr); margin-top: 6px;
}
.form-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.2); }
.form-note { font-size: 0.7rem; color: var(--gray-3); margin-top: 14px; text-align: center; line-height: 1.6; }


/* --------------------------------------------------------------------------
   ARTICLES & TEASER RÉSULTATS
   -------------------------------------------------------------------------- */
#resultats-apercu { background: var(--dark-1); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--gold-border); padding: 120px 24px; }
.teaser-grid       { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-bottom: 52px; }
.teaser-card       { background: var(--dark-2); transition: transform var(--tr); }
.teaser-card:hover { transform: translateY(-4px); }
.art-cover-wrap    { overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg,#1a1410,#2a1f12); }
.art-cover-img     { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s ease; }
.art-cover-ph      { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a1410 0%,#2a1f12 50%,#1a1410 100%); }
.art-cover-ph::after { content: '◈'; font-size: 2.5rem; color: rgba(201,168,76,0.12); }
.article-card { background: var(--dark-1); padding: 0; display: flex; flex-direction: column; transition: background var(--tr); cursor: pointer; overflow: hidden; }
.article-card-body { padding: 28px 32px 32px; }
.article-card:hover { background: var(--dark-2); }
.article-cover             { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s ease; }
.article-card:hover .article-cover { transform: scale(1.04); }
.article-cover-placeholder { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a1410 0%,#2a1f12 50%,#1a1410 100%); position: relative; overflow: hidden; }
.article-cover-placeholder::after { content: '◈'; font-size: 2.5rem; color: rgba(201,168,76,0.15); }
.article-meta  { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.article-date  { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-3); }
.article-tag   { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); border: 1px solid var(--gold-border); padding: 3px 10px; }
.article-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; color: var(--white); line-height: 1.3; margin-bottom: 14px; transition: color var(--tr); }
.article-card:hover .article-title { color: var(--gold); }
.article-excerpt { font-size: 0.86rem; color: var(--gray-2); line-height: 1.85; flex: 1; margin-bottom: 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-read  { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; transition: gap var(--tr), color var(--tr), transform var(--tr); }
.article-card:hover .article-read { gap: 14px; color: var(--gold-light); transform: translateX(3px); }
.teaser-pair   { display: flex; height: 200px; overflow: hidden; }
.teaser-half   { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--dark-3); position: relative; overflow: hidden; }
.teaser-orb    { height: 70%; aspect-ratio: 1; max-width: 88%; border-radius: 50%; box-shadow: 0 0 20px rgba(0,0,0,0.5); position: relative; }
.teaser-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%,#0a0805 0%,#0a0805 24%,transparent 26%,transparent 82%,rgba(0,0,0,0.7) 88%,rgba(0,0,0,0.9) 100%); }
.teaser-divider    { width: 2px; background: linear-gradient(to bottom,transparent,var(--gold) 20%,var(--gold) 80%,transparent); flex-shrink: 0; }
.teaser-hlabel     { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.88); pointer-events: none; white-space: nowrap; }
.teaser-info       { padding: 14px 16px; border-top: 1px solid var(--gold-border); }
.teaser-color-name { display: block; font-family: var(--serif); font-size: 0.9rem; color: var(--white); margin-bottom: 3px; }
.teaser-color-desc { font-size: 0.65rem; letter-spacing: 0.1em; color: var(--gray-3); }
.teaser-cta-wrap   { text-align: center; }
.teaser-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 18px 44px;
  transition: background var(--tr), transform var(--tr);
}
.teaser-cta:hover { background: var(--gold-light); transform: translateY(-2px); }


/* --------------------------------------------------------------------------
   FOOTER — fond sombre dédié (#1c1816)
   -------------------------------------------------------------------------- */
footer { background: #1c1816; border-top: 1px solid var(--gold-line); padding: 64px 24px 40px; }
.foot-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.foot-brand-name { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); margin-bottom: 4px; }
.foot-brand-role { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8a847c; display: block; margin-bottom: 18px; }
.foot-brand-desc { font-size: 0.82rem; color: #8a847c; line-height: 1.85; }
.foot-col h4     { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: #8a847c; margin-bottom: 20px; }
.foot-col ul     { list-style: none; }
.foot-col li     { margin-bottom: 12px; }
.foot-col a,
.foot-col ul li a       { font-size: 0.85rem; color: #c8c3bc; transition: color var(--tr); }
.foot-col a:hover,
.foot-col ul li a:hover { color: var(--gold); }
.foot-bot {
  max-width: 1140px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid var(--gold-line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.foot-copy          { font-size: 0.76rem; color: #9a9490; }
.foot-legal         { display: flex; gap: 24px; }
.foot-legal a       { font-size: 0.73rem; color: #9a9490; transition: color var(--tr); }
.foot-legal a:hover { color: var(--gold); }
.foot-sep           { background: rgba(201,168,76,0.2); }


/* --------------------------------------------------------------------------
   ANIMATIONS — révélation au scroll
   -------------------------------------------------------------------------- */
.reveal         { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }


/* --------------------------------------------------------------------------
   RESPONSIVE — tablette (max 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards       { grid-template-columns: 1fr; }
  .colors      { grid-template-columns: repeat(3,1fr); }
  .tech-intro  { grid-template-columns: 1fr; gap: 40px; }
  .doctor-grid { grid-template-columns: 1fr; gap: 56px; }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — mobile (max 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Navigation */
  nav.main-nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger  { display: flex; }
  .nav-logo    { font-size: 0.9rem; white-space: nowrap; }

  /* Sections */
  section    { padding: 56px 20px; }
  h2.s-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .s-head    { margin-bottom: 36px; }

  /* Hero — portrait en haut, texte en bas */
  #hero { flex-direction: column; height: auto; min-height: unset; background-image: none; background: #0a0805; }
  #hero::before { display: none; }
  .hero-mobile-img {
    display: block; width: 100%; height: 52svh; min-height: 280px;
    background: image-set(url('/images/hero-bg.webp') type('image/webp'), url('/images/hero-bg.jpg') type('image/jpeg')) 68% top / auto 100% no-repeat;
    flex-shrink: 0; position: relative;
  }
  .hero-mobile-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, #0a0805, transparent);
  }
  .hero-inner { width: 100%; max-width: 100%; padding: 28px 24px 36px; text-align: left; align-items: flex-start; justify-content: flex-start; background: #0a0805; }
  .hero-badge   { margin: 0 auto 18px; align-self: center; white-space: nowrap; letter-spacing: 0.18em; font-size: 0.58rem; }
  h1.hero-title { font-size: clamp(1.5rem, 7vw, 2rem); margin-bottom: 14px; }
  .hero-sub     { font-size: 0.88rem; margin-bottom: 22px; }
  .hero-btns    { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; width: 100%; }
  .btn-gold, .btn-ghost { width: auto; padding: 13px 22px; justify-content: center; }
  .hero-stats   { flex-direction: row; border-top: 1px solid rgba(201,168,76,0.25); justify-content: space-between; flex-wrap: nowrap; width: 100%; }
  .stat         { flex: 1; padding: 14px 4px 6px; text-align: center; border-right: 1px solid rgba(201,168,76,0.2); border-bottom: none; }
  .stat:last-child { border-right: none; }
  .stat-n       { font-size: 1.2rem; }

  /* Technique */
  .tech-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .cards      { grid-template-columns: 1fr; }
  .card       { padding: 22px 20px; }

  /* Doctor */
  .doctor-grid { grid-template-columns: 1fr; gap: 36px; }
  .doc-frame   { aspect-ratio: 3/4; }

  /* Teintes */
  .colors { grid-template-columns: repeat(2,1fr); gap: 14px; }

  /* FAQ */
  .faq-q { padding: 18px 0; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .ci           { margin-bottom: 16px; padding-bottom: 16px; }
  .ci-sub       { margin-bottom: 24px; }
  .cf           { padding: 22px 16px; }
  .cf-title     { margin-bottom: 18px; padding-bottom: 14px; }
  .fg           { margin-bottom: 12px; }
  .fg label     { margin-bottom: 6px; }
  .form-row     { grid-template-columns: 1fr; }

  /* Articles */
  #recentArticlesGrid { grid-template-columns: 1fr !important; }

  /* Teaser */
  .teaser-grid { grid-template-columns: repeat(2,1fr); }

  /* Footer */
  .foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .foot-bot   { flex-direction: column; text-align: center; }

  /* Animations — désactivées sur mobile */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* --------------------------------------------------------------------------
   RESPONSIVE — petit mobile (max 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .teaser-grid  { grid-template-columns: 1fr; }
  h1.hero-title { font-size: clamp(1rem, 5.8vw, 1.8rem) !important; }
  .colors       { grid-template-columns: repeat(4,1fr) !important; gap: 6px !important; }
  .col-eye      { margin-bottom: 4px; }
  .col-name     { font-size: 0.6rem; }
  .col-desc     { display: none; }
}
