/* =========================================
   VARIABLES & RESET
========================================= */
:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #059669;
  --color-bg: #f5f7fb;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;
  --color-border: #e5e7eb;
  --color-text-main: #0f172a;
  --color-text-muted: #6b7280;
  --radius-lg: 1.2rem;
  --radius-md: 0.8rem;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 10px 25px rgba(15, 23, 42, 0.06);
  --max-width: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text-main);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: -0.02em;
}

/* =========================================
   LAYOUT
========================================= */
.l-page {
  min-height: 100vh;
}

.l-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  padding-bottom: 3rem;
}

.l-section {
  padding: 4rem 0;
}

.l-section--light {
  background: var(--color-surface-soft);
}

.l-section--soft {
  background: #f3f4ff;
}

.l-section__header {
  margin-bottom: 2rem;
  max-width: 640px;
}

.l-section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.l-section__title {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.l-section__subtitle {
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

/* =========================================
   HEADER / NAV
========================================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.c-topbar {
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(209, 213, 219, 0.9);
  background: #eef2ff;
}

.c-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  color: #374151;
}

.c-topbar__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.c-topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.c-nav {
  padding: 0.7rem 0;
  background: transparent;
}

.c-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.c-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.c-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-soft);
  color: #0f172a;
}

.c-brand__text-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.c-brand__text-subtitle {
  font-size: 0.78rem;
  color: #6b7280;
}

/* Nav desktop */
.c-nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.87rem;
}

.c-nav__link {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #374151;
  transition: background 0.15s ease, color 0.15s ease;
}

.c-nav__link:hover {
  background: rgba(191, 219, 254, 0.9);
  color: #111827;
}

.c-nav__cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #eff6ff;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.c-nav__cta span {
  font-size: 0.9em;
  opacity: 0.9;
}

/* Nav mobile */
.c-nav__mobile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.c-nav__cta--icon {
  padding-inline: 0.7rem;
}

.c-nav__toggle {
  width: 38px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.c-nav__toggle-line {
  width: 16px;
  height: 1.6px;
  border-radius: 999px;
  background: #111827;
}

/* Dropdown mobile */
.c-nav__dropdown {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: rgba(248, 250, 252, 0.98);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.c-nav__dropdown.is-open {
  display: block;
}

.c-nav__dropdown-link {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  border-top: 1px solid #e5e7eb;
  color: #374151;
}

.c-nav__dropdown-link:hover {
  background: #e5ecff;
}

.c-nav__dropdown-link--accent {
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* =========================================
   HERO
========================================= */
.c-hero {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.c-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.c-hero__title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.c-hero__title span {
  background: none;
  -webkit-background-clip: initial;
  color: var(--color-primary);
}

.c-hero__subtitle {
  font-size: 0.98rem;
  color: #4b5563;
  max-width: 32rem;
  margin-bottom: 1.2rem;
}

.c-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.c-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #374151;
  background: #ffffff;
}

.c-pill--accent {
  border-color: rgba(52, 211, 153, 0.7);
  background: #ecfdf5;
  color: #166534;
}

.c-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.1rem;
}

.c-button {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.c-button--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #eff6ff;
  box-shadow: var(--shadow-soft);
}

.c-button--primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}

.c-button--ghost {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #111827;
}

.c-button--ghost:hover {
  background: #e5ecff;
}

.c-hero__info {
  font-size: 0.9rem;
  color: #6b7280;
}

.c-hero__info strong,
.c-hero__info a {
  color: #111827;
}

/* HERO CARD */
.c-hero__card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
  border: 1px solid #d4d4dd;
}

.c-hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.c-hero__card-title {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.c-hero__card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.c-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}

.c-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
}

.c-status__text {
  display: inline-block;
}

/* Sur mobile : n’afficher que "Domicile" */
.c-status__text {
  display: inline-block;
}


.c-hero__details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.4rem;
  font-size: 0.88rem;
}

.c-hero__list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}

.c-hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.c-hero__list-bullet {
  flex: 0 0 8px;       /* largeur fixe */
  width: 8px;
  height: 8px;
  border-radius: 50%;  /* bien rond */
  background: var(--color-primary);
  opacity: 0.9;
  margin-top: 0.35rem; /* léger décalage vertical pour le texte */
}


.c-hero__meta {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* =========================================
   SERVICES
========================================= */
.c-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.c-service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.c-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.25); /* léger liseré bleu */
  background-color: #ffffff; /* on garde du blanc pur */
}

.c-card:hover,
.c-about__card:hover,
.c-contact__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
  background-color: #ffffff;
}


.c-service-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.c-service-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.c-service-card__tagline {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.c-service-card__seo {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* =========================================
   FOCUS DIABÈTE
========================================= */
.c-focus {
  margin-top: 2.3rem;
  border-radius: var(--radius-lg);
  background: #fef9c3;
  border: 1px solid #facc15;
  padding: 1.2rem 1.3rem;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.1);
}

/* Points bleus ronds pour toutes les autres listes */
section ul:not(.c-hero__list):not(.c-list-check):not(.c-chip-list) {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

section ul:not(.c-hero__list):not(.c-list-check):not(.c-chip-list) li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

section ul:not(.c-hero__list):not(.c-list-check):not(.c-chip-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.9;
}


.c-focus__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #92400e;
}

.c-focus ul {
  margin-top: 0.4rem;
}

.c-focus__seo {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #b45309;
  font-style: italic;
}

/* =========================================
   ZONE / SEO LOCAL
========================================= */
.c-zone__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.c-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.c-card--ghost {
  background: transparent;
  border-style: dashed;
}

.c-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.c-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
  font-size: 0.8rem;
}

.c-chip {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111827;
}

/* =========================================
   À PROPOS
========================================= */
.c-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.7rem;
  align-items: flex-start;
}

.c-about__card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  font-size: 0.95rem;
}

.c-about__title-sub {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.c-list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

.c-list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.c-list-check__icon {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--color-primary);
}

/* =========================================
   FAQ
========================================= */
.c-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

details {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 0.8rem 1rem;
  background: #ffffff;
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 1.4rem;
}

summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

details[open] summary::after {
  content: "−";
}

details[open] {
  border-color: var(--color-primary);
}

details p {
  margin-top: 0.4rem;
  color: var(--color-text-muted);
}

/* =========================================
   CONTACT
========================================= */
.c-contact__card {
  max-width: 640px;
  margin-top: 0.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
  color: var(--color-text-main);
}

.c-contact__row {
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.c-contact__label {
  display: inline-block;
  width: 120px;
  color: #6b7280;
}

.c-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.c-contact__note {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: #6b7280;
}

/* =========================================
   FOOTER
========================================= */
footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.4rem 1.5rem 2rem;
  font-size: 0.78rem;
  color: #6b7280;
  background: #f3f4ff;
}

.c-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
  .c-nav__inner {
    flex-direction: row;
  }

  .c-nav__links--desktop {
    display: none;
  }

  .c-nav__mobile {
    display: inline-flex;
  }

  .c-hero__grid,
  .c-services__grid,
  .c-zone__grid,
  .c-about__grid,
  .c-faq__grid {
    grid-template-columns: 1fr;
  }

  .c-hero__card {
    order: -1;
  }
}

@media (max-width: 640px) {
  .c-topbar {
    display: none;
  }

  .l-section {
    padding: 3rem 0;
  }

  .c-hero {
    padding-top: 2.2rem;
  }

  .c-hero__title {
    font-size: 1.9rem;
  }

  .l-container {
    padding: 0 1.2rem;
  }
}
