/* ============================================================
   Polices auto-hébergées (RGPD-friendly, sans dépendance Google)
   Fichiers .woff2 à déposer dans assets/fonts/ — voir fonts/LISEZ-MOI.txt
   ============================================================ */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/outfit-700.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/public-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/public-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/public-sans-700.woff2") format("woff2"); }

/* ============================================================
   Cabinet dentaire Benaddi — feuille de style v3 « contemporaine »
   Palette : marine / turquoise / ambre — aérée, arrondie, moderne
   Signature : maillage d'empreinte optique (héritage CFAO)
   ============================================================ */

:root {
  --marine: #0d3d59;
  --bleu: #14557b;
  --turquoise: #2aa7a0;
  --turquoise-fonce: #1f8b85;
  --menthe: #e9f6f5;
  --ambre: #f2b950;
  --encre: #16242e;
  --encre-douce: #52646f;
  --brume: #f6f9fa;
  --blanc: #ffffff;
  --rayon: 18px;
  --ombre: 0 6px 24px rgba(13, 61, 89, 0.08), 0 2px 6px rgba(13, 61, 89, 0.05);
  --ombre-haute: 0 16px 40px rgba(13, 61, 89, 0.14), 0 4px 10px rgba(13, 61, 89, 0.08);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  font-family: "Public Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--encre);
  background: var(--blanc);
}

h1, h2, h3, caption {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a { color: var(--bleu); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--turquoise-fonce); }
a:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }

.conteneur { max-width: 1040px; margin: 0 auto; padding: 0 1.4rem; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 61, 89, 0.08);
}
.entete-barre {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.85rem 1.4rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.marque {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--marine);
  line-height: 1.15;
}
.marque:hover { color: var(--marine); }
.marque .point { color: var(--turquoise); font-weight: 600; }
.marque-sub {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-douce);
}
.entete-actions { display: flex; align-items: center; gap: 1rem; }
.lien-tel { font-weight: 600; color: var(--marine); white-space: nowrap; }

.entete-nav ul {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.4rem 0.55rem;
  list-style: none;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.entete-nav ul::-webkit-scrollbar { display: none; }
.entete-nav a {
  display: block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--encre-douce);
  white-space: nowrap;
}
.entete-nav a:hover { background: var(--menthe); color: var(--marine); }
.entete-nav a[aria-current="page"] { background: var(--marine); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombre-haute); text-decoration: none; }
.btn-rdv { background: var(--turquoise-fonce); color: #fff; }
.btn-rdv:hover { background: #17706b; color: #fff; }
.btn-clair { background: var(--menthe); color: var(--marine); }
.btn-clair:hover { color: var(--marine); }

/* ---------- Héro ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(42, 167, 160, 0.14), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(20, 85, 123, 0.10), transparent 60%),
    var(--brume);
  padding: 4.5rem 0 5rem;
}
.hero-int { position: relative; z-index: 1; max-width: 680px; }
.sur-titre {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise-fonce);
  margin-bottom: 0.9rem;
}
.hero h1, .hero h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  color: var(--marine);
  margin-bottom: 1.1rem;
}
.hero-texte { font-size: 1.1rem; color: var(--encre-douce); margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.maillage {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 520px);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 720px) { .maillage { opacity: 0.22; right: -120px; } }

/* ---------- Sections ---------- */
main { padding: 3.5rem 0 4.5rem; }
section + section { margin-top: 4.25rem; }

main h1,
h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--marine);
  margin-bottom: 1.2rem;
}
main h1::after,
main h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--turquoise), var(--ambre));
  margin-top: 0.55rem;
}
h3 { font-size: 1.12rem; font-weight: 600; margin: 1.4rem 0 0.5rem; color: var(--bleu); }
p + p { margin-top: 0.9rem; }

.note {
  font-size: 0.9rem;
  color: var(--encre-douce);
  background: #fdf6e5;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  margin-top: 1.4rem;
}

/* ---------- Fiches ---------- */
.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}
.fiche {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 1.6rem 1.6rem 1.5rem;
  box-shadow: var(--ombre);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fiche:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.fiche h3 { margin-top: 0; }
.fiche p { font-size: 0.96rem; color: var(--encre-douce); }
.fiche .pictogramme {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 12px;
  background: var(--menthe);
  color: var(--turquoise-fonce);
  margin-bottom: 0.8rem;
}

/* ---------- Tableaux ---------- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--blanc);
  margin-top: 1.1rem;
  font-size: 0.96rem;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}
caption { text-align: left; font-size: 1.15rem; font-weight: 600; color: var(--marine); padding-bottom: 0.7rem; }
th, td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; }
th { background: var(--marine); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: var(--brume); }
tbody td { border-top: 1px solid #eef3f5; }
td.montant { text-align: right; white-space: nowrap; }

/* ---------- Coordonnées ---------- */
.coordonnees {
  background: var(--blanc);
  border-radius: var(--rayon);
  padding: 1.7rem 1.9rem;
  box-shadow: var(--ombre);
}
.coordonnees dt { font-weight: 700; margin-top: 1rem; color: var(--marine); font-family: "Outfit", sans-serif; }
.coordonnees dt:first-child { margin-top: 0; }
.coordonnees dd { color: var(--encre-douce); }

/* ---------- Photos ---------- */
figure.photo { margin: 1.6rem 0 0; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); background: var(--blanc); }
figure.photo img { display: block; width: 100%; height: auto; }
figure.photo figcaption { font-size: 0.85rem; color: var(--encre-douce); padding: 0.65rem 1rem; text-align: center; }
.duo-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; }
.photo-attente {
  background: var(--menthe);
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--encre-douce);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* ---------- Pied de page ---------- */
footer { background: var(--marine); color: #b9d3da; padding: 3rem 1.4rem 2.5rem; font-size: 0.9rem; line-height: 1.75; }
footer .conteneur { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.75rem; }
footer strong { color: #fff; font-family: "Outfit", sans-serif; }
footer a { color: #8fd6d1; }
footer a:hover { color: #fff; }
footer .rappel-ordre { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 1.6rem; padding-top: 1.1rem; grid-column: 1 / -1; color: #8fa9b5; font-size: 0.84rem; }

/* ---------- Divers ---------- */
.a-completer {
  background: #fff3cd;
  border: 1px dashed #b8963e;
  border-radius: 6px;
  padding: 0.05rem 0.4rem;
  font-family: monospace;
  font-size: 0.88em;
  color: #6b5416;
}
ul.simple { margin: 0.6rem 0 0 1.3rem; }
ul.simple li + li { margin-top: 0.4rem; }
ul.simple li::marker { color: var(--turquoise); }


/* ---------- Responsive mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .conteneur { padding: 0 1.1rem; }

  /* En-tête : bouton RDV et téléphone répartis */
  .entete-barre { padding: 0.7rem 1.1rem 0.5rem; }
  .entete-actions { width: 100%; justify-content: space-between; }
  .marque { font-size: 1.2rem; }

  /* Héro plus compact, boutons empilés */
  .hero { padding: 3rem 0 3.25rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  /* Sections resserrées */
  main { padding: 2.5rem 0 3rem; }
  section + section { margin-top: 3rem; }

  /* Tableaux : défilement horizontal si trop larges + densité réduite */
  table { display: block; overflow-x: auto; white-space: nowrap; }
  th, td { padding: 0.6rem 0.75rem; font-size: 0.9rem; }

  /* Cartes plus compactes */
  .fiche { padding: 1.3rem 1.3rem 1.2rem; }
  .coordonnees { padding: 1.4rem 1.4rem; }
}

/* ---------- Accessibilité ---------- */
.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--marine);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-weight: 600;
}
.evitement:focus { left: 0; color: #fff; }
