/* ============================================================
   kinésiologie-paris.com — feuille de style unique
   ============================================================ */
:root {
  --primaire: #2a6f6f;      /* vert d'eau profond */
  --primaire-fonce: #1d4f4f;
  --accent: #f4a259;        /* orange doux */
  --accent-clair: #fdeedd;
  --fond: #faf9f6;
  --texte: #2b2b2b;
  --texte-doux: #5c6663;
  --carte: #ffffff;
  --bordure: #e3e0d8;
  --vert: #4c956c;
  --rouge: #c1554d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.7;
}

/* ---------- En-tête / navigation ---------- */
.site-header {
  background: var(--carte);
  border-bottom: 3px solid var(--primaire);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primaire);
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; }
nav a {
  display: block;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  color: var(--texte);
  font-weight: 500;
  border-radius: 6px;
}
nav a:hover { background: var(--accent-clair); color: var(--primaire-fonce); }
nav a.actif { background: var(--primaire); color: #fff; }

/* ---------- Héros ---------- */
.hero {
  background: linear-gradient(135deg, var(--primaire) 0%, var(--primaire-fonce) 100%);
  color: #fff;
  padding: 3.5rem 1.2rem;
  text-align: center;
}
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.hero p {
  max-width: 720px;
  margin: 0 auto 1.6rem;
  font-size: 1.15rem;
  opacity: 0.92;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.btn.secondaire { background: transparent; border: 2px solid #fff; }

/* ---------- Structure ---------- */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 3rem;
}
.section-titre {
  color: var(--primaire-fonce);
  font-size: 1.6rem;
  margin: 2.4rem 0 1rem;
  border-left: 5px solid var(--accent);
  padding-left: 0.7rem;
}
main > p { margin-bottom: 1rem; }
ul.liste { margin: 0 0 1.2rem 1.4rem; }
ul.liste li { margin-bottom: 0.45rem; }

/* ---------- Cartes ---------- */
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.carte {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: transform .15s ease;
}
.carte:hover { transform: translateY(-3px); }
.carte h3 { color: var(--primaire); margin-bottom: 0.5rem; font-size: 1.15rem; }
.carte .emoji { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.carte a.lien-carte { color: var(--accent); font-weight: 600; text-decoration: none; }
.carte a.lien-carte:hover { text-decoration: underline; }

/* ---------- Encadrés ---------- */
.encadre {
  background: var(--accent-clair);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.encadre.alerte { background: #fbe9e7; border-left-color: var(--rouge); }
.encadre.succes { background: #e8f3ec; border-left-color: var(--vert); }
.encadre.info   { background: #e7f0f2; border-left-color: var(--primaire); }

/* ---------- Tableaux ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  background: var(--carte);
}
th, td { border: 1px solid var(--bordure); padding: 0.65rem 0.85rem; text-align: left; }
th { background: var(--primaire); color: #fff; }
tr:nth-child(even) td { background: #f4f3ef; }

/* ---------- Ressources externes ---------- */
.ressource {
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}
.ressource strong { color: var(--primaire-fonce); }
.ressource a { color: var(--accent); word-break: break-all; }

/* ---------- Pied de page ---------- */
footer { background: var(--primaire-fonce); color: #dfe8e8; margin-top: 3rem; }
.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
footer h4 { color: #fff; margin-bottom: 0.6rem; }
footer ul { list-style: none; }
footer a { color: #bcd3d3; text-decoration: none; }
footer a:hover { color: var(--accent); }
.copyright {
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* ---------- Divers ---------- */
.fils { font-size: 0.9rem; color: var(--texte-doux); margin-bottom: 1.2rem; }
.fils a { color: var(--primaire); text-decoration: none; }
@media (max-width: 640px) {
  body { line-height: 1.6; }
  .hero { padding: 2.2rem 1rem; }
}
