/* ═══════════════════════════════════════════════════════════════
   Mise en forme commune du site cabinet-dentaire-prieure.fr
   (extraite de index.html, voir docs/adr/0002-rubrique-conseils-bucco-dentaires.md)

   IMPORTANT — mise en cache : le serveur demande aux navigateurs de garder ce
   fichier 30 jours. Un visiteur déjà venu pourrait donc conserver l'ancienne
   version. À CHAQUE MODIFICATION DE CE FICHIER, changer la date du numéro de
   version dans l'appel « /assets/style.css?v=AAAA-MM-JJ » de toutes les pages :
   site/index.html, site/conseils/index.html, chaque article de site/conseils/
   et le gabarit docs/modeles/article-conseil.html.
   Version actuelle : v=2026-09-21
   ═══════════════════════════════════════════════════════════════ */

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --ink: #1a1a18;
    --ink-soft: #4a4a46;
    --ink-mute: #8a8a84;
    --cream: #f7f4ee;
    --cream-dark: #ede9e0;
    --gold: #b89a6a;
    --gold-light: #d4b98a;
    --white: #ffffff;
    --border: rgba(26,26,24,0.12);
  }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
  }

  /* ─── PAGES ─── */
  .page { display: none; }
  .page.active { display: block; }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    border-bottom: 0.5px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2.5rem;
    height: 68px;
  }
  .nav-brand {
    display: flex; align-items: center; gap: 14px; cursor: pointer;
  }
  .nav-logo { width: 38px; height: 38px; }
  .nav-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px; font-weight: 600; letter-spacing: 0.03em;
    color: var(--ink); line-height: 1.2;
  }
  .nav-name span {
    display: block; font-size: 11px; font-weight: 300;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-soft); font-family: 'DM Sans', sans-serif;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    text-decoration: none; font-size: 13px; font-weight: 400;
    letter-spacing: 0.05em; color: var(--ink-soft);
    cursor: pointer; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-cta {
    background: var(--ink); color: var(--white) !important;
    padding: 8px 20px; border-radius: 2px;
    font-size: 12px !important; letter-spacing: 0.08em !important;
    text-transform: uppercase;
  }
  .nav-cta:hover { background: var(--gold) !important; }

  /* ─── HERO ─── */
  .hero {
    margin-top: 68px; min-height: 88vh;
    background: var(--cream);
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; overflow: hidden; position: relative;
  }
  .hero::after {
    content: ''; position: absolute; top: 0; right: 50%; bottom: 0;
    width: 1px; background: var(--border);
  }
  .hero-left { padding: 5rem 4rem 5rem 5rem; }
  .hero-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-bottom: 1.5rem;
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4vw, 4rem); font-weight: 300;
    line-height: 1.1; color: var(--ink); margin-bottom: 1.5rem;
  }
  .hero-title em { font-style: italic; color: var(--gold); }
  .hero-desc {
    font-size: 15px; color: var(--ink-soft); line-height: 1.8;
    max-width: 400px; margin-bottom: 2.5rem;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary {
    background: var(--ink); color: var(--white);
    padding: 13px 28px; border: none; border-radius: 2px;
    font-family: 'DM Sans', sans-serif; font-size: 12px;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; text-decoration: none; transition: background 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold); }
  .btn-ghost {
    background: transparent; color: var(--ink);
    padding: 12px 28px; border: 0.5px solid var(--ink); border-radius: 2px;
    font-family: 'DM Sans', sans-serif; font-size: 12px;
    letter-spacing: 0.1em; text-transform: uppercase;
    cursor: pointer; text-decoration: none; transition: all 0.2s;
    display: inline-block;
  }
  .btn-ghost:hover { background: var(--ink); color: var(--white); }
  .hero-right {
    display: flex; align-items: center; justify-content: center;
    padding: 5rem; position: relative;
  }
  .hero-logo-ring {
  width: 420px; height: 420px; border: 0.5px solid var(--border);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; position: relative;
  }
  .hero-logo-ring::before {
  content: ''; position: absolute;
  width: 360px; height: 360px; border: 0.5px solid var(--border);
  border-radius: 50%;
  }
  .hero-logo-big { width: 220px; height: 220px; position: relative; z-index: 1; }

  /* ─── SECTIONS GÉNÉRALES ─── */
  section { padding: 5rem; }
  .section-label {
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 500; margin-bottom: 0.8rem;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 300;
    line-height: 1.15; color: var(--ink); margin-bottom: 1rem;
  }
  .section-title em { font-style: italic; color: var(--gold); }
  .divider { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

  /* ─── SOINS (grille accueil) ─── */
  #soins { background: var(--white); }
  .services-intro { max-width: 520px; margin-bottom: 3.5rem; }
  .services-intro p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border); border: 0.5px solid var(--border);
  }
  .service-card {
    background: var(--white); padding: 2.5rem 2rem;
    cursor: pointer; transition: background 0.2s;
  }
  .service-card:hover { background: var(--cream); }
  .service-num {
    font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
    font-weight: 300; color: var(--cream-dark); line-height: 1; margin-bottom: 1rem;
  }
  .service-name {
    font-size: 14px; font-weight: 500; letter-spacing: 0.03em;
    color: var(--ink); margin-bottom: 0.6rem;
  }
  .service-desc { font-size: 13px; color: var(--ink-mute); line-height: 1.7; }
  .service-link {
    display: inline-block; margin-top: 1rem;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); font-weight: 500;
    border-bottom: 0.5px solid var(--gold-light); padding-bottom: 2px;
  }

  /* ─── PAGE SOIN DÉTAILLÉE ─── */
  .soin-page-header {
    margin-top: 68px; background: var(--cream);
    padding: 5rem; display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
  }
  .soin-back {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft); cursor: pointer; margin-bottom: 1.5rem;
    transition: color 0.2s;
  }
  .soin-back:hover { color: var(--gold); }
  .soin-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 300;
    line-height: 1.1; margin-bottom: 1rem;
  }
  .soin-page-title em { font-style: italic; color: var(--gold); }
  .soin-page-intro { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
  .soin-schema-wrap {
    display: flex; align-items: center; justify-content: center;
    background: var(--white); border: 0.5px solid var(--border);
    border-radius: 2px; padding: 2rem; min-height: 280px;
  }
  .soin-schema-wrap svg { max-width: 100%; height: auto; }
  .soin-body { padding: 5rem; }
  .soin-body-grid {
    display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: start;
  }
  .soin-steps { margin-top: 2rem; }
  .soin-step {
    display: flex; gap: 1.5rem; padding: 1.5rem 0;
    border-bottom: 0.5px solid var(--border);
  }
  .soin-step:last-child { border-bottom: none; }
  .soin-step-num {
    font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
    font-weight: 300; color: var(--gold-light); min-width: 40px; line-height: 1;
  }
  .soin-step-content h4 {
    font-size: 14px; font-weight: 500; margin-bottom: 4px;
  }
  .soin-step-content p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
  .soin-aside-card {
    background: var(--cream); padding: 2rem;
    border: 0.5px solid var(--border); border-radius: 2px;
  }
  .soin-aside-card h3 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
    font-weight: 400; margin-bottom: 1rem;
  }
  .soin-aside-list { list-style: none; }
  .soin-aside-list li {
    font-size: 13px; color: var(--ink-soft); padding: 6px 0;
    border-bottom: 0.5px solid var(--border); display: flex; gap: 8px;
  }
  .soin-aside-list li:last-child { border-bottom: none; }
  .soin-aside-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
  .soin-cta-band {
    background: var(--ink); padding: 3rem 5rem;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    flex-wrap: wrap;
  }
  .soin-cta-band p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 300; color: var(--white);
  }

  /* ─── ÉQUIPE ─── */
  #equipe { background: var(--cream); }
  .team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    margin-top: 3rem;
  }
  .team-card {
    background: var(--white); border: 0.5px solid var(--border); padding: 2rem;
  }
  .team-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  }
  .team-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    background: var(--cream-dark); display: flex; align-items: center;
    justify-content: center; font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600; color: var(--gold);
    overflow: hidden; border: 2px solid var(--cream-dark); flex-shrink: 0;
    position: relative;
  }
  /* Protection des images : pas de glisser-déposer ni de sélection (le clic droit est bloqué par script) */
  img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
  .team-avatar img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    border-radius: 50%; display: block;
  }
  .team-avatar .initiales {
    position: relative; z-index: 0;
  }
  .team-name { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
  .team-role {
    font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--gold); font-weight: 400;
  }
  .team-separator { width: 24px; height: 0.5px; background: var(--border); margin: 1rem 0 0.8rem; }
  .team-bio { font-size: 13px; color: var(--ink-mute); line-height: 1.7; }

  /* ─── FORMULAIRE ─── */
  #formulaire { background: var(--white); }
  .form-layout {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 5rem; align-items: start;
  }
  .form-aside p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 2rem; }
  .form-contact-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .form-contact-item { display: flex; gap: 12px; align-items: flex-start; }
  .contact-icon {
    width: 32px; height: 32px; background: var(--cream);
    border: 0.5px solid var(--border); display: flex; align-items: center;
    justify-content: center; font-size: 13px; flex-shrink: 0; border-radius: 2px;
  }
  .contact-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .contact-label {
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-mute); display: block; margin-bottom: 1px;
  }
  form { display: flex; flex-direction: column; gap: 1.2rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 5px; }
  label {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-soft); font-weight: 500;
  }
  input, select, textarea {
    font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink);
    background: var(--white); border: 0.5px solid rgba(26,26,24,0.2);
    padding: 11px 14px; border-radius: 2px; outline: none;
    transition: border-color 0.2s; width: 100%;
  }
  input:focus, select:focus, textarea:focus { border-color: var(--gold); }
  textarea { resize: vertical; min-height: 100px; }
  select { appearance: none; cursor: pointer; }
  .form-submit { margin-top: 0.5rem; display: flex; align-items: center; gap: 1rem; }
  .form-note { font-size: 11px; color: var(--ink-mute); line-height: 1.5; flex: 1; }
  .success-msg {
    display: none; padding: 12px 16px; background: #f0f7ee;
    border: 0.5px solid #b8ddb0; border-radius: 2px;
    font-size: 13px; color: #3a6e32;
  }

  /* ─── FOOTER ─── */
  footer {
    background: var(--ink); color: var(--white);
    padding: 3rem 5rem; display: flex;
    justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }
  .footer-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
  .footer-logo { width: 30px; height: 30px; filter: invert(1); }
  .footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  }
  .footer-copy { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a {
    font-size: 12px; color: rgba(255,255,255,0.5); text-decoration: none;
    letter-spacing: 0.06em; cursor: pointer; transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold-light); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero::after { display: none; }
    .hero-left { padding: 4rem 2rem 2rem; }
    .hero-right { padding: 2rem; }
    section { padding: 3rem 1.5rem; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .form-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    footer { flex-direction: column; align-items: flex-start; padding: 2.5rem 2rem; }
    .soin-page-header { grid-template-columns: 1fr; padding: 3rem 1.5rem; margin-top: 68px; }
    .soin-body { padding: 3rem 1.5rem; }
    .soin-body-grid { grid-template-columns: 1fr; gap: 2rem; }
    .soin-cta-band { padding: 2rem 1.5rem; }
  }
  @media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
  }

  /* ═══════════════════════════════════════════
     RUBRIQUE CONSEILS (ajouté après l'extraction du CSS)
     Bloc autonome : il ne modifie aucune règle ci-dessus et
     n'affecte aucune page existante du site.
  ═══════════════════════════════════════════ */

  /* En-tête et pied de page des pages Conseils : ce sont des liens (<a>)
     là où l'accueil utilise des <div> cliquables. */
  a.nav-brand, a.footer-brand { color: inherit; text-decoration: none; }

  /* ─── Page liste « Conseils » ─── */
  .conseils-header { margin-top: 68px; background: var(--cream); padding: 4rem 5rem; }
  .conseils-intro { max-width: 620px; font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
  .conseils-intro a { color: var(--ink); }
  .conseils-intro-note { margin-top: 1rem; font-size: 13px; }
  .conseils-body { padding: 4rem 5rem; }
  .conseils-liste { list-style: none; max-width: 760px; }
  .conseil-item { padding: 2rem 0; border-bottom: 0.5px solid var(--border); }
  .conseil-item:first-child { padding-top: 0; }
  .conseil-item:last-child { border-bottom: none; }
  .conseil-date {
    display: block; font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
  }
  .conseil-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 400; line-height: 1.25; margin-bottom: 0.6rem;
  }
  .conseil-titre a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
  .conseil-titre a:hover { color: var(--gold); }
  .conseil-resume { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
  .conseil-lien {
    display: inline-block; margin-top: 0.8rem;
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); font-weight: 500; text-decoration: none;
    border-bottom: 0.5px solid var(--gold-light); padding-bottom: 2px;
  }
  .conseils-suite { max-width: 760px; margin-top: 3rem; font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

  /* ─── Page article ─── */
  .article-header { margin-top: 68px; background: var(--cream); padding: 4rem 5rem; }

  /* Fil d'Ariane. C'est une balise <nav> : il faut donc neutraliser ici tout ce que
     la règle générique « nav » (le menu fixé en haut de l'écran) lui imposerait. */
  .fil-ariane {
    position: static; height: auto; z-index: auto;
    background: none; border-bottom: none;
    display: block; padding: 0;
    font-size: 12px; color: var(--ink-soft); line-height: 1.7;
    letter-spacing: 0.03em; margin-bottom: 1.4rem;
  }
  .fil-ariane ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; }
  .fil-ariane li { display: flex; align-items: center; }
  .fil-ariane li + li::before { content: '\203A'; color: var(--ink-mute); margin: 0 6px; }
  .fil-ariane a { color: var(--ink-soft); text-decoration: none; border-bottom: 0.5px solid var(--border); }
  .fil-ariane a:hover { color: var(--gold); border-bottom-color: var(--gold-light); }

  .article-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem); font-weight: 300;
    line-height: 1.15; margin-bottom: 1rem; max-width: 760px;
  }
  .article-date { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
  .article-corps { padding: 3.5rem 5rem; max-width: 860px; }
  .article-image {
    display: block; width: 100%; height: auto; margin-bottom: 2.5rem;
    border: 0.5px solid var(--border); border-radius: 2px;
  }

  /* Corps de texte courant de l'article. */
  .article-corps h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 400; line-height: 1.3;
    color: var(--ink); margin: 2.6rem 0 0.9rem;
  }
  .article-corps p { font-size: 15px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 1.1rem; }
  .article-corps strong { color: var(--ink); font-weight: 500; }
  .article-corps ul { list-style: none; margin-bottom: 1.4rem; }
  .article-corps li {
    position: relative; padding: 6px 0 6px 1.5rem;
    font-size: 15px; color: var(--ink-soft); line-height: 1.8;
  }
  .article-corps li::before { content: '\2014'; position: absolute; left: 0; color: var(--gold); }

  /* Paragraphes particuliers (chapeau, avertissement, signature, adresse, source).
     Ils sont écrits « .article-corps .xxx » et placés APRÈS « .article-corps p »
     pour l'emporter sur lui : sans cela, ils s'afficheraient au format du corps
     de texte. Garder cet ordre et ce préfixe si de nouveaux cas sont ajoutés. */
  .article-corps .article-chapeau {
    font-size: 16px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 1.6rem;
  }
  .article-corps .article-note {
    background: var(--cream); border: 0.5px solid var(--border); border-radius: 2px;
    padding: 1.5rem 1.8rem; margin-top: 2.8rem; margin-bottom: 0;
    font-size: 13px; color: var(--ink-soft); line-height: 1.8;
  }
  .article-corps .article-note a { color: var(--ink); font-weight: 500; }
  .article-corps .article-auteur {
    margin-top: 2.2rem; margin-bottom: 0; font-size: 13px;
    color: var(--ink-mute); font-style: italic; line-height: 1.7;
  }
  .article-corps .article-cabinet {
    margin-top: 1.2rem; margin-bottom: 0; padding-top: 1.2rem;
    border-top: 0.5px solid var(--border);
    font-size: 13px; color: var(--ink-soft); line-height: 1.8;
  }
  .article-corps .article-source {
    margin-top: 1.5rem; margin-bottom: 0;
    font-size: 12px; color: var(--ink-mute); line-height: 1.7;
  }

  @media (max-width: 900px) {
    .conseils-header, .conseils-body, .article-header, .article-corps { padding: 3rem 1.5rem; }
    .article-corps { max-width: none; }
  }
