/* public/presentation.css — Page de présentation du cabinet (server/presentation.js).
   Couleurs de la marque KinéAgenda (brand/v2) : pastille #14b8a6 → #0891b2, nom #0d9488 → #0e7490.
   Police auto-hébergée, icônes en sprite local, logos dans /marque. Seule la carte (OpenStreetMap) vient d'ailleurs. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/dm-sans-variable.woff2') format('woff2'); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #0d9488; --teal-fonce: #0f766e; --cyan: #0891b2; --encre: #0e4a44; --teal-pale: #f0fdfa; --teal-bord: #ccfbf1;
  --texte: #1c1917; --doux: #6b6560; --bord: #e7e5e2; --carte: #ffffff; --fond: #f6f7f6;
  --degrade: linear-gradient(135deg, #14b8a6 0%, #0d9488 45%, #0891b2 100%);
}
body {
  font-family: 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  color: var(--texte); background: var(--fond); min-height: 100vh; display: flex; flex-direction: column;
}
.ico { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex: 0 0 auto; }
a { color: var(--teal-fonce); }
a:hover { color: var(--encre); }
a:focus-visible { outline: 3px solid #5eead4; outline-offset: 2px; border-radius: 6px; }

/* ── Bandeau ── */
.bandeau {
  position: relative; overflow: hidden; color: #fff; background: var(--degrade);
  padding: 22px 24px 110px;
}
.bandeau::after {   /* léger voile en bas : transition douce vers les cartes qui chevauchent le bandeau */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(8, 60, 70, .08)); pointer-events: none;
}
.filigrane {
  position: absolute; right: -70px; top: -40px; width: 380px; height: 380px; opacity: .12;
  transform: rotate(-8deg); pointer-events: none; user-select: none;
}
.bandeau-barre, .bandeau-contenu { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.bandeau-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { height: 26px; width: auto; display: block; opacity: .95; }
.lien-praticien {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
}
.lien-praticien:hover { color: #fff; background: rgba(255,255,255,.24); }
.bandeau-barre .liens { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lien-patient { background: #fff; color: var(--teal-fonce); }   /* Espace Patient : l'action du visiteur, mise en avant */
.lien-patient:hover { background: #fff; color: var(--encre); }
.bandeau-contenu { padding-top: 56px; }
.surtitre {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.bandeau h1 {
  margin-top: 10px; font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08;
  max-width: 760px; overflow-wrap: anywhere; text-shadow: 0 2px 18px rgba(4, 47, 46, .18);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bouton {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s;
}
.bouton-plein { background: #fff; color: var(--teal-fonce); box-shadow: 0 8px 24px rgba(4, 47, 46, .22); }
.bouton-plein:hover { color: var(--encre); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(4, 47, 46, .28); }
.bouton-contour { color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.bouton-contour:hover { color: #fff; background: rgba(255,255,255,.12); }
.bouton:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ── Grille des cartes (chevauche le bandeau) ── */
.grille {
  position: relative; z-index: 2; width: 100%; max-width: 1080px; margin: -72px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start;
}
.colonne { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.carte {
  background: var(--carte); border: 1px solid var(--bord); border-radius: 20px; padding: 26px 28px;
  box-shadow: 0 1px 2px rgba(14, 36, 32, .04), 0 18px 40px rgba(14, 36, 32, .07);
}
.carte h2 {
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--encre); margin-bottom: 16px;
}
.carte h2 .ico {
  width: 30px; height: 30px; padding: 7px; border-radius: 9px; color: #fff; background: var(--degrade);
  box-shadow: 0 4px 10px rgba(13, 148, 136, .25);
}
.texte p { font-size: 15.5px; line-height: 1.75; color: #33302d; overflow-wrap: anywhere; }
.texte p + p { margin-top: 12px; }

/* Bon à savoir */
.infos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.infos li {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 12px;
  background: var(--teal-pale); border: 1px solid var(--teal-bord); font-size: 14px; font-weight: 600; color: var(--encre); line-height: 1.35;
}
.infos .ico { font-size: 17px; color: var(--teal); }

/* Praticiens */
.praticiens { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.praticiens li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--bord); }
.avatar {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--degrade); font-size: 17px;
}
.praticiens strong { display: block; font-size: 15.5px; overflow-wrap: anywhere; }
.praticiens li span span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--doux); overflow-wrap: anywhere; }

/* Horaires */
.horaires { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.horaires th, .horaires td { padding: 8px 0; border-bottom: 1px solid #f1f0ee; text-align: left; vertical-align: top; }
.horaires th { font-weight: 600; width: 34%; }
.horaires td { font-variant-numeric: tabular-nums; }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: none; }
.horaires .ferme { color: #a8a29e; }
.plage { white-space: nowrap; }

/* Nous trouver */
.plan {
  display: block; width: 100%; height: 230px; border: 0; border-radius: 14px; margin-bottom: 16px;
  background: var(--teal-pale); box-shadow: inset 0 0 0 1px var(--bord);
}
.contact { list-style: none; display: grid; gap: 11px; font-size: 14.5px; line-height: 1.5; }
.contact li { display: flex; gap: 11px; align-items: flex-start; overflow-wrap: anywhere; }
.contact .ico { color: var(--teal); margin-top: 3px; }
.lien-plan { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.acces { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--bord); }
.acces p { font-size: 14.5px; color: #44403c; }

/* ── Pied ── */
.pied {
  margin: 44px auto 28px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; color: #a8a29e;
}
.pied img { height: 20px; width: auto; opacity: .8; }

/* ── Tablette et mobile ── */
@media (max-width: 860px) {
  .grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bandeau { padding: 16px 16px 92px; }
  .bandeau-contenu { padding-top: 36px; }
  .filigrane { width: 240px; height: 240px; right: -60px; top: -20px; }
  .logo { height: 22px; }
  .lien-praticien { padding: 6px 11px; font-size: 12px; }
  .actions { flex-direction: column; align-items: stretch; }
  .bouton { justify-content: center; }
  .grille { padding: 0 12px; margin-top: -60px; gap: 14px; }
  .colonne { gap: 14px; }
  .carte { padding: 20px 18px; border-radius: 18px; }
  .plan { height: 200px; }
  .plage { display: block; }
  .sep { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }
@media print {
  .bandeau { background: none; color: var(--texte); padding-bottom: 20px; }
  .filigrane, .logo, .lien-praticien, .actions, .plan, .bandeau::after { display: none; }
  .grille { margin-top: 0; }
  .carte { box-shadow: none; }
}
