/* ASFD Informatique – feuille de style unique */

:root {
  --blue: #0b5cab;
  --blue-hover: #094c8f;
  --blue-dark: #0f2540;
  --cyan: #0ea5c6;
  --orange: #f97316;
  --orange-hover: #ea580c;
  --rose: #e11d74;
  --violet: #7c3aed;
  --green: #16a34a;
  --amber: #d97706;
  --teal: #0d9488;

  --ink: #1c2533;
  --muted: #5b6778;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 37, 64, .10);

  /* Couleur d'accent de la page (redéfinie par les thèmes ci-dessous) */
  --accent: var(--blue);
  --accent-soft: #e8f1fb;
}

/* Une couleur par rubrique */
.theme-assistance  { --accent: var(--orange); --accent-soft: #fff1e6; }
.theme-particuliers { --accent: var(--rose);  --accent-soft: #fde8f1; }
.theme-entreprises { --accent: var(--violet); --accent-soft: #f1eafe; }
.theme-formation   { --accent: var(--green);  --accent-soft: #e7f7ec; }
.theme-site        { --accent: var(--cyan);   --accent-soft: #e3f6fb; }
.theme-materiel    { --accent: var(--amber);  --accent-soft: #fdf3e2; }
.theme-tarifs      { --accent: var(--teal);   --accent-soft: #e2f6f3; }

/* Couleurs utilisables sur les cartes (par défaut : l'accent de la page) */
.card, .price, .step, .float, .avatar { --c: var(--accent); --c-soft: var(--accent-soft); }
.c-orange { --c: var(--orange); --c-soft: #fff1e6; }
.c-rose   { --c: var(--rose);   --c-soft: #fde8f1; }
.c-violet { --c: var(--violet); --c-soft: #f1eafe; }
.c-green  { --c: var(--green);  --c-soft: #e7f7ec; }
.c-cyan   { --c: var(--cyan);   --c-soft: #e3f6fb; }
.c-amber  { --c: var(--amber);  --c-soft: #fdf3e2; }
.c-teal   { --c: var(--teal);   --c-soft: #e2f6f3; }
.c-blue   { --c: var(--blue);   --c-soft: #e8f1fb; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ico { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(249, 115, 22, .35); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: #fff7ef; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }

/* ---------- Bulle téléphone (identique sur tout le site) ---------- */
.tel-bulle {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  background: #fff; color: var(--blue-dark); text-decoration: none;
  border: 2px solid var(--orange); border-radius: 999px; padding: 5px 18px 5px 5px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, .18); transition: transform .15s, background .15s;
}
.tel-bulle:hover { background: #fff4ea; transform: translateY(-1px); }
.tel-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.tel-ico::before {
  content: ""; width: 20px; height: 20px; background: #fff;
  -webkit-mask: var(--tel-icone) center / contain no-repeat; mask: var(--tel-icone) center / contain no-repeat;
}
.tel-fixe {
  --tel-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M2.5 9.5c5-4.7 14-4.7 19 0l-2 3h-3.5l-.6-2.5h-6.8L8 12.5H4.5z'/%3E%3Cpath d='M6 13.5h12l1.5 7.5h-15z'/%3E%3Ccircle cx='12' cy='17.2' r='1.6'/%3E%3C/svg%3E");
}
.tel-mobile {
  --tel-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2.5'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}
.tel-txt { display: grid; line-height: 1.15; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.tel-txt small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); }
.tels { display: flex; flex-wrap: wrap; gap: 10px; }
.tels-colonne { flex-direction: column; align-items: flex-start; }
.cta-band .tel-bulle { border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-dark); color: #dbe5f1; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; padding: 8px 0; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar-sep { margin: 0 10px; color: var(--orange); font-weight: 800; }
.topbar-public { color: #ffb47a; font-weight: 700; white-space: nowrap; }
.topbar-zone { color: #fff; font-weight: 700; white-space: nowrap; }
.topbar-info { white-space: nowrap; opacity: .85; }
@media (max-width: 1100px) { .topbar-info { display: none; } }
@media (max-width: 860px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar { font-size: .78rem; }
  .topbar p > .topbar-sep { display: none; }
  .topbar-cible { display: block; }
}

/* ---------- En-tête ---------- */
.site-header .wrap, .topbar .wrap { max-width: 1320px; }
.header-tel { display: flex; gap: 8px; flex: none; }
.header-tel .tel-bulle { padding-right: 14px; }
.header-tel .tel-ico { width: 34px; height: 34px; }
.header-tel .tel-txt { font-size: .98rem; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--orange), var(--rose), var(--violet), var(--blue), var(--cyan), var(--green)); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue-dark); font-weight: 800; letter-spacing: .5px; flex: none; }
.logo img { height: 68px; width: auto; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; display: grid; place-items: center; font-size: .85rem;
  box-shadow: 0 4px 10px rgba(11, 92, 171, .3);
}
.logo small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: 0; }
.menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; padding: 6px 0; border-bottom: 3px solid transparent; }
.menu a:hover { color: var(--accent); }
.menu a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.menu-toggle { display: none; }

@media (max-width: 1240px) {
  .site-header nav { order: 3; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line);
    border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .menu {
    display: none; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 16px;
  }
  .menu.ouvert { display: flex; }
  .menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu a[aria-current="page"] { border-bottom-color: var(--line); }
}
@media (max-width: 760px) {
  .header-tel .tel-txt { display: none; }
  .header-tel .tel-bulle { padding: 4px; }
  .nav { gap: 10px; }
  .logo { letter-spacing: 0; white-space: nowrap; }
  .logo img { height: 54px; }
  .nav { height: 72px; }
  .menu { top: 76px; }
  .header-tel { margin-left: auto; }
  .logo-mark { width: 36px; height: 36px; font-size: .78rem; }
  .logo > span:last-child { font-size: .85rem; }
  .logo small { display: none; }
  .menu-toggle { padding: 8px 10px; }
}

/* ---------- Bandeau d'accueil ---------- */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 72px;
  background:
    radial-gradient(circle at 8% 20%, #ffe4cc 0, transparent 32%),
    radial-gradient(circle at 92% 12%, #dbeafe 0, transparent 36%),
    radial-gradient(circle at 70% 95%, #fce7f3 0, transparent 34%),
    linear-gradient(180deg, #fffaf5, #f3f8ff);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--blue-dark);
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  margin-bottom: 18px; box-shadow: 0 2px 8px rgba(15, 37, 64, .06);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #d1fadf; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.12; margin: 0 0 18px; color: var(--blue-dark); }
.hero h1 .hl { color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 26px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; }
.hero-visual .frame { background: #fff; border-radius: 28px; padding: 18px; box-shadow: 0 24px 60px rgba(15, 37, 64, .15); transform: rotate(1.5deg); max-width: 470px; margin: 0 auto; }
.hero-visual .frame img { border-radius: 16px; width: 100%; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-weight: 700; font-size: .92rem; color: var(--blue-dark);
}
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c-soft); color: var(--c); }
.float-1 { top: 6%; left: -24px; }
.float-2 { bottom: 14%; right: -18px; }
.float-3 { bottom: -14px; left: 12%; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .float-1 { left: 0; } .float-2 { right: 0; }
}

/* ---------- Bandeau des pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 44px 0 48px;
  background:
    radial-gradient(circle at 95% 10%, rgba(255, 255, 255, .9) 0, transparent 35%),
    linear-gradient(135deg, var(--accent-soft), #ffffff 85%);
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 8px 0 14px; color: var(--blue-dark); }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 5px; border-radius: 5px; background: var(--accent); margin-top: 14px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); margin: 0; max-width: 620px; }
.page-hero .hero-cta { margin-top: 22px; }
.page-hero .photo-card { background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow); justify-self: end; max-width: 460px; transform: rotate(-1.2deg); }
.page-hero .photo-card img { border-radius: 14px; width: auto; max-height: 300px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--accent); font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .photo-card { justify-self: start; transform: none; } }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.alt { background: var(--bg-alt); }
.head { max-width: 680px; margin: 0 0 38px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { display: inline-block; color: var(--accent); background: var(--accent-soft); font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; }
h2.title { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 10px 0 10px; color: var(--blue-dark); line-height: 1.2; }
.head p { color: var(--muted); margin: 0; }
@media (max-width: 600px) { section { padding: 56px 0; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c);
  border-radius: var(--radius); padding: 24px; transition: .2s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; margin-bottom: 14px; }
.card .ic .ico { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--blue-dark); }
.card p { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; font-size: .92rem; color: var(--c); }
.card .card-img { margin: -24px -24px 18px; border-radius: 14px 14px 0 0; overflow: hidden; background: #fff; }
.card .card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards-2 { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: etape; }
.step { position: relative; padding: 30px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 12px;
  background: var(--c, var(--blue)); color: #fff; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(15, 37, 64, .18);
}
.step h3 { margin: 4px 0 6px; color: var(--blue-dark); font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-card { background: #fff; border-radius: 24px; padding: 16px; box-shadow: var(--shadow); }
.photo-card img { border-radius: 14px; width: 100%; }
.photo {
  aspect-ratio: 16 / 10; border-radius: var(--radius); border: 2px dashed #c9d5e3;
  background: repeating-linear-gradient(45deg, #f2f6fa, #f2f6fa 12px, #e9eff6 12px, #e9eff6 24px);
  display: grid; place-items: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px;
}

.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 500; }
.chip::before { content: "📍"; margin-right: 6px; }
.zones { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.zone { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.zone h3 { margin: 0; color: var(--blue-dark); font-size: 1.15rem; }
.zone h3 span { color: var(--orange); }
.zone .chips { margin-top: 14px; gap: 8px; }
@media (max-width: 860px) { .zones { grid-template-columns: 1fr; } }

/* Frise de vignettes */
.marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.frise { padding: 34px 0; background: var(--bg-alt); border-top: 1px solid var(--line); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: defile 110s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { width: 230px; height: 138px; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 16px rgba(15, 37, 64, .14); }
@media (max-width: 600px) { .frise { padding: 24px 0; } .marquee img { width: 170px; height: 102px; } }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: 1.1rem; }
.review p { color: var(--muted); font-style: italic; margin: 10px 0 16px; }
.review .who { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--c); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--blue-dark); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* ---------- Pages de contenu ---------- */
.layout { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.prose h2 { color: var(--blue-dark); font-size: 1.5rem; line-height: 1.25; margin: 42px 0 12px; display: flex; align-items: center; gap: 10px; }
.prose h2::before { content: ""; width: 10px; height: 26px; border-radius: 5px; background: var(--accent); flex: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--blue-dark); font-size: 1.15rem; margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose ul:not(.checks) { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose .cards { margin: 18px 0 8px; }
.prose .card h3 { margin-top: 0; }
.prose .photo-card { margin: 22px 0 6px; }
.aside { position: sticky; top: 112px; display: grid; gap: 16px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-box h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: 1.05rem; }
.aside-box p { margin: 0 0 12px; color: var(--muted); font-size: .93rem; }
.aside-box .tels { margin: 4px 0 4px; }
.aside-box .btn { width: 100%; margin-top: 12px; }
.aside-call { background: linear-gradient(160deg, var(--accent-soft), #fff); border-color: transparent; box-shadow: var(--shadow); }
.aside-call img { width: 100%; border-radius: 12px; margin-bottom: 14px; background: #fff; }
.aside-link { display: block; text-align: center; font-weight: 700; margin-top: 12px; color: var(--accent); }
.note-a-completer { background: #fff8e1; border: 1px solid #f3d27a; color: #7a5b00; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }

/* ---------- Tarifs ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; }
.price .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--c-soft); color: var(--c); display: grid; place-items: center; margin-bottom: 14px; }
.price h3 { margin: 0 0 4px; color: var(--blue-dark); font-size: 1.2rem; }
.price .sub { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.price .amount { font-size: 2.4rem; font-weight: 800; color: var(--c); line-height: 1; }
.price .amount small { font-size: .95rem; color: var(--muted); font-weight: 600; }
.price .after { display: inline-block; align-self: flex-start; margin: 10px 0 4px; background: #e7f7ec; color: #146c35; font-weight: 700; font-size: .88rem; padding: 4px 12px; border-radius: 999px; }
.price .after-pro { background: #f1eafe; color: #5b21b6; }
.price .checks { margin-bottom: 22px; }
.price .btn { margin-top: auto; }
.price.star { border: 2px solid var(--c); box-shadow: 0 18px 40px rgba(249, 115, 22, .18); transform: translateY(-6px); }
.price .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; max-width: 480px; } .price.star { transform: none; } }

.tarif-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tarif-table th, .tarif-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.tarif-table tr:last-child td { border-bottom: 0; }
.tarif-table thead th { background: var(--accent-soft); color: var(--blue-dark); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.tarif-table td:last-child, .tarif-table th:last-child { text-align: right; white-space: nowrap; font-weight: 800; color: var(--blue-dark); }
.tarif-table td:nth-child(2), .tarif-table th:nth-child(2) { text-align: right; white-space: nowrap; font-weight: 700; }
.tarif-table td.net { color: var(--green); }
.tarif-table td small { display: block; color: var(--muted); font-size: .85rem; }
.tarif-table .cat td, .tarif-table .cat td:last-child { text-align: left; }
.tarif-table .cat td { background: var(--bg-alt); font-weight: 800; color: var(--accent); font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 600px) { .tarif-table th, .tarif-table td { padding: 12px; } }

/* Ligne « Pour réserver » sous les formules */
.reserver { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 34px; font-weight: 700; color: var(--blue-dark); }

/* ---------- Bandeau d'appel avant le pied de page ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange), var(--rose) 55%, var(--violet)); color: #fff; padding: 52px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: 1.75rem; }
.cta-band p { margin: 0; opacity: .95; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0b1b30; color: #c8d3e1; padding: 52px 0 24px; font-size: .92rem; }
.site-footer a:not(.tel-bulle) { color: #c8d3e1; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot-title { color: #fff; display: block; margin-bottom: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #1e3150; margin-top: 32px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'appel mobile ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; gap: 10px; }
  .callbar .tel-bulle { flex: 1; justify-content: flex-start; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); padding-right: 10px; }
  .callbar .tel-txt { font-size: .95rem; }
  .float { font-size: .8rem; padding: 6px 10px; }
  .float .ic { width: 28px; height: 28px; }
  .float-1 { top: -10px; }
  .float-2 { display: none; }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Petits écrans (contrôle avant mise en production) ---------- */
@media (max-width: 600px) {
  .tarif-table th, .tarif-table td { padding: 10px 8px; font-size: .9rem; }
  .tarif-table thead th { white-space: normal; letter-spacing: 0; font-size: .7rem; }
  .tarif-table td:nth-child(2), .tarif-table td:last-child { white-space: normal; }
}
@media (max-width: 400px) {
  .callbar { left: 8px; right: 8px; gap: 6px; }
  .callbar .tel-bulle { gap: 6px; padding: 4px 8px 4px 4px; min-width: 0; }
  .callbar .tel-ico { width: 30px; height: 30px; }
  .callbar .tel-txt { font-size: .82rem; }
}