/* =====================================================
   BouvierProd — styles.css
   Charte : light, blanc dominant, accent bleu #2563EB
   Titres : Satoshi — Texte : Inter
   ===================================================== */

:root {
  --bg: #FFFFFF;
  --surface: #F6F7F9;
  --surface-alt: #EDEFF2;
  --border: #E2E5EA;
  --text: #15181D;
  --text-2: #5C6470;
  --text-muted: #8A919C;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-soft: #EAF1FE;
  --success: #16A34A;
  --danger: #DC2626;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(21, 24, 29, .06), 0 8px 24px rgba(21, 24, 29, .05);
  --shadow-lg: 0 4px 12px rgba(21, 24, 29, .08), 0 20px 48px rgba(21, 24, 29, .12);
  --font-head: "Satoshi", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

/* Les ancres tiennent compte du header collant */
section[id], [id^="projet-"] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Boutons ===== */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #2F76F2 0%, #1D4ED8 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, .38);
}

.btn-whatsapp {
  background: #16A34A;
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .3);
}
.btn-whatsapp:hover {
  background: #15803D;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, .38);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem 1rem; font-size: .9rem; }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand-logo { height: 44px; width: auto; border-radius: 8px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  color: var(--text-2);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }
.main-nav a.active,
.dropdown-menu a.active { color: var(--accent); font-weight: 600; }

.main-nav .nav-tel {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.main-nav .nav-tel:hover { color: var(--accent); }

/* Menu déroulant Prestations */

.has-dropdown { position: relative; }

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-2);
  cursor: pointer;
  transition: color .15s ease;
}
.dropdown-toggle:hover { color: var(--text); }
.dropdown-toggle.active { color: var(--accent); font-weight: 600; }

.dropdown-toggle .caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .18s ease;
}
.has-dropdown.open .dropdown-toggle .caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 50;
}
.has-dropdown.open .dropdown-menu { display: flex; }

.dropdown-menu a {
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-weight: 500;
  font-size: .95rem;
}
.dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 500px at 85% 10%, rgba(37, 99, 235, .07), transparent 60%),
    linear-gradient(180deg, #FBFCFD 0%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 24, 29, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 29, .028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: .85rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}

.accent-underline {
  background-image: linear-gradient(transparent 68%, var(--accent-soft) 68%);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.2rem;
}

/* Bandeau de confiance sous les CTA */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.trust-row li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
}
.trust-row li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.5 2.5L12 5.5" fill="none" stroke="%232563EB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/10px no-repeat;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-chips li {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .8rem;
}

/* Mockups navigateur du hero */

.hero-visual {
  position: relative;
  min-height: 420px;
}

.browser-mock {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.browser-mock img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  object-position: top;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.mock-bar em {
  font-style: normal;
  font-size: .72rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 10px;
  margin-left: 8px;
}

.mock-back {
  position: absolute;
  top: 0; right: 0;
  width: 82%;
  transform: rotate(1.2deg);
}
.mock-front {
  position: absolute;
  bottom: 0; left: 0;
  width: 72%;
  transform: rotate(-1.6deg);
  z-index: 2;
}

/* ===== Sections ===== */

.section { padding: 96px 0; }
.section-alt { background: var(--surface); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .8rem;
}

.section-sub {
  color: var(--text-2);
  font-size: 1.08rem;
}

/* ===== Services ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, .35);
}

.service-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }

.service-hook {
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5em;
}
.service-card > p:not(.service-hook) {
  color: var(--text-2);
  font-size: .95rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: .4rem 0 1.2rem;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: .92rem;
  color: var(--text-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 8.5l2.5 2.5L12 5.5" fill="none" stroke="%232563EB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/10px no-repeat;
}

.service-price {
  margin: auto 0 8px;
  padding-top: 14px;
  font-size: .88rem;
  color: var(--text-2);
}
.service-price strong {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 1rem;
}

.service-link {
  margin-top: 0;
  font-weight: 600;
  font-size: .92rem;
}

.service-thumb {
  margin: -28px -28px 20px;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.service-card:hover .service-thumb img { transform: scale(1.04); }

/* Section « Et aussi » */

.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.extra-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .18s ease, transform .18s ease;
}
.extra-card:hover { border-color: rgba(37, 99, 235, .4); transform: translateY(-2px); }
.extra-card h3 { font-size: .98rem; margin-bottom: .3em; }
.extra-card p { margin: 0; font-size: .85rem; color: var(--text-2); }

/* ===== Réalisations ===== */

.shot {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--surface-alt);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot:hover { transform: scale(1.012); box-shadow: var(--shadow-lg); }

.shot-count {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(21, 24, 29, .72);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Projet vedette (Roni Barber) */

.project-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.project-media { display: flex; flex-direction: column; gap: 14px; }
.project-media > .shot img { aspect-ratio: 16 / 8.6; }

.shot-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.shot-thumbs .shot img { aspect-ratio: 16 / 8; }

.project-body h3 { font-size: 1.6rem; }
.project-body > p { color: var(--text-2); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .22rem .7rem;
}
.tag-live {
  color: #fff;
  background: var(--success);
  border-color: var(--success);
}
.tag-live::before { content: "● "; font-size: .6rem; vertical-align: 1px; }

.project-result {
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 1.2rem 0;
}

/* Technologies : discret — les visiteurs ne sont pas techniciens */
.stack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.4rem;
}
.stack-row::before {
  content: "Réalisé avec :";
  font-size: .74rem;
  color: var(--text-muted);
}
.stack-row span {
  font-size: .7rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .12rem .5rem;
}

/* Grille de projets */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.project-card > .shot {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.project-card > .shot img { aspect-ratio: 16 / 8.2; }
.project-card > .shot:hover { transform: none; box-shadow: none; }

.project-card .project-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.project-card .project-body > p { color: var(--text-2); font-size: .95rem; }
.project-card .project-result { font-size: .92rem; margin-top: auto; }
.project-card .stack-row { margin-bottom: 0; }

/* ===== Section données / Power BI (fond sombre) ===== */

.section-dark {
  background:
    radial-gradient(ellipse 700px 400px at 15% 0%, rgba(37, 99, 235, .18), transparent 60%),
    #15181D;
  color: #E9ECF1;
}
.section-dark h2 { color: #fff; }
.section-dark .section-sub { color: #A6ADB8; }
.section-dark .section-sub strong { color: #E9ECF1; }
.kicker-light { color: #7CA5F5; }

.bi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 20px;
}
.bi-grid .shot { border-color: rgba(255, 255, 255, .14); background: #0F1114; }
.bi-grid .shot img { aspect-ratio: 16 / 8.6; }
.bi-main {
  grid-row: 1 / 3;
}
.bi-main img { height: 100%; aspect-ratio: auto !important; }

.bi-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.bi-points div {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: rgba(255, 255, 255, .03);
}
.bi-points strong {
  display: block;
  font-family: var(--font-head);
  color: #fff;
  margin-bottom: 4px;
}
.bi-points span { color: #A6ADB8; font-size: .92rem; }

/* ===== Méthode ===== */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0 0 72px;
}

.steps li {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}

.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--text-2); font-size: .92rem; margin: 0; }

.args-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.arg-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.arg-card h3 { font-size: 1.02rem; }
.arg-card h3::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-right: 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8rem;
}
.arg-card p { color: var(--text-2); font-size: .9rem; margin: 0; }

/* ===== Pages prestations ===== */

.page-hero-inner {
  position: relative;
  max-width: 860px;
  padding-top: 76px;
  padding-bottom: 68px;
}
.page-hero-inner h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }

.hero-inner h1.page-title { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }

/* Illustration unique du hero de page */
.hero-visual-single {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illu-frame {
  margin: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.illu-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Cartes « ce qui est compris » */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.feature-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .85rem;
  font-weight: 700;
}
.feature-card h3 { font-size: 1rem; margin-bottom: .3em; }
.feature-card p { margin: 0; font-size: .88rem; color: var(--text-2); }

/* Mini-parcours en 4 étapes */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.mini-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.mini-step .step-num {
  width: 30px; height: 30px;
  font-size: .9rem;
  margin: 0;
  flex: none;
}
.mini-step strong {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  margin-bottom: 2px;
}
.mini-step span { color: var(--text-2); font-size: .85rem; }

/* Carte d'appel dans les grilles de projets */
.card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  border: 2px dashed var(--border);
  border-radius: 16px;
  padding: 40px 28px;
  background: transparent;
  box-shadow: none;
}
.card-cta:hover { border-color: var(--accent); transform: none; box-shadow: none; }
.card-cta h3 { margin: 0; }
.card-cta p { color: var(--text-2); margin: 0; font-size: .95rem; max-width: 30em; }

/* ===== Bande contact ===== */

.cta-band { text-align: center; }
.cta-band .section-head {
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-note {
  margin: 20px 0 0;
  font-size: .85rem;
  color: #A6ADB8;
}
.cta-note a { color: #A6ADB8; text-decoration: underline; }
.cta-note a:hover { color: #fff; }

/* Prix « à partir de » sur les pages prestation */
.price-note {
  margin: -12px 0 26px;
  font-size: .95rem;
  color: var(--text-2);
}
.price-note strong {
  font-family: var(--font-head);
  color: var(--accent);
}

.section-dark .btn-ghost {
  color: #E9ECF1;
  border-color: rgba(255, 255, 255, .28);
}
.section-dark .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

/* ===== Page devis ===== */

.devis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: start;
}

.devis-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}
.form-field label .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: .82rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .7rem .9rem;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 8"><path d="M1 1.5 6 6.5 11 1.5" fill="none" stroke="%235C6470" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
  cursor: pointer;
}

.char-count {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: right;
  margin: 4px 0 0;
}
.char-count.warn { color: var(--danger); }

/* Pot de miel : hors écran */
#f-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 1.4em;
  font-weight: 600;
  font-size: .95rem;
  margin: 12px 0 0;
}
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.form-rgpd {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 10px 0 0;
}

.devis-aside { display: flex; flex-direction: column; gap: 20px; }
.devis-aside .illu-frame { transform: rotate(-1.2deg); }
.devis-aside .arg-card { margin: 0; }
.aside-note {
  font-size: .9rem;
  color: var(--text-2);
  margin: 0;
}
.aside-note a { font-weight: 600; }

/* ===== Situations vécues (accueil) ===== */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.pain-emoji {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  font-size: 1.5rem;
  background: #FEF2F2;
  border: 1px solid #FEE2E2;
  border-radius: 12px;
  margin-bottom: 14px;
}
.pain-card h3 { font-size: 1.02rem; }
.pain-card p { font-size: .9rem; color: var(--text-2); margin: 0; }

.pain-outro {
  margin: 36px 0 0;
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
}
.pain-outro a { white-space: nowrap; }

/* ===== Quiz « quelle solution ? » (accueil) ===== */

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.quiz-options button {
  font: inherit;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz-options button:hover { border-color: var(--accent); transform: translateY(-2px); }
.quiz-options button.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.quiz-result {
  margin-top: 24px;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
}
.quiz-result h3 { font-size: 1.3rem; }
.quiz-result > p { color: var(--text-2); }

/* ===== Calculateur de rendez-vous manqués ===== */

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.calc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.calc-card > label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 22px;
}
.calc-card output {
  float: right;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}
.calc-card input[type="range"] {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-result {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}
.calc-result > span {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.calc-result > strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--accent);
  margin: 2px 0 10px;
}
.calc-result p { margin: 0; font-size: .9rem; color: var(--text-2); }
.calc-note { font-size: .78rem; color: var(--text-muted); margin: 12px 0 0; }

/* ===== Démo de réservation cliquable ===== */

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(340px, 100%);
  margin: 0 auto;
  background: #0F1114;
  border-radius: 38px;
  padding: 14px 12px;
  box-shadow: var(--shadow-lg);
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #0F1114;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.demo-screen {
  background: var(--surface);
  border-radius: 26px;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}

.demo-header {
  background: linear-gradient(180deg, #3B82F6, #2563EB);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 34px 18px 14px;
}
.demo-header span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .78rem;
  opacity: .85;
}

.demo-step { padding: 18px 16px 22px; animation: demo-in .3s ease; }
@keyframes demo-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.demo-title {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 0 12px;
}

.demo-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.demo-option:hover { border-color: var(--accent); transform: translateY(-1px); }
.demo-option span { color: var(--accent); font-family: var(--font-head); font-weight: 700; }

.demo-day {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 12px 0 6px;
}
.demo-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.demo-slot {
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.demo-slot:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.demo-back, .demo-restart {
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  background: none;
  border: 0;
  cursor: pointer;
  margin-top: 14px;
  padding: 0;
}

.demo-confirm { text-align: center; padding-top: 10px; }
.demo-check {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #DCFCE7;
  color: var(--success);
  font-size: 1.5rem;
  font-weight: 700;
}
.demo-recap { font-weight: 600; margin: 0 0 4px; }
.demo-sub { color: var(--text-2); font-size: .9rem; margin: 0; }
.demo-sms {
  text-align: left;
  background: var(--surface-alt);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  font-size: .85rem;
  color: var(--text-2);
  margin: 16px 0 4px;
}

/* ===== Scénario « Imaginez » ===== */

.story-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 56px;
}
.story-card .story-icon { font-size: 1.6rem; line-height: 1.2; }
.story-card p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text);
}
.story-card strong { font-family: var(--font-head); }

/* ===== FAQ ===== */

.faq-list {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-2);
  font-size: .95rem;
}

/* ===== Barre d'action mobile ===== */

.mobile-cta-bar { display: none; }

/* ===== Avis clients ===== */

.stars {
  display: inline-flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
.stars .off { color: var(--border); }

.avis-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.avis-summary .stars { font-size: 1.4rem; }
.avis-summary strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
}
.avis-summary span { color: var(--text-2); font-size: .95rem; }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.avis-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.avis-card blockquote {
  margin: 0;
  color: var(--text-2);
  font-size: .95rem;
  flex: 1;
}
.avis-card blockquote::before { content: "« "; color: var(--accent); font-weight: 700; }
.avis-card blockquote::after { content: " »"; color: var(--accent); font-weight: 700; }
.avis-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avis-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.avis-auteur > div { display: flex; flex-direction: column; gap: 1px; }
.avis-auteur strong { font-family: var(--font-head); font-size: .95rem; }
.avis-auteur span { color: var(--text-muted); font-size: .82rem; }

.avis-empty {
  color: var(--text-2);
  font-size: .95rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

/* Sélecteur d'étoiles du formulaire (radios inversées) */
.star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.star-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-picker label {
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--border);
  transition: color .12s ease, transform .12s ease;
  margin: 0;
}
.star-picker label:hover { transform: scale(1.12); }
.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label { color: #F59E0B; }
.star-picker input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

/* ===== Footer ===== */

.site-footer {
  background: #15181D;
  color: #A6ADB8;
  padding: 56px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 60px; width: 60px; flex: none; }
.footer-brand p { margin: 0; font-size: .9rem; }
.footer-contact { margin-top: 4px; font-size: .85rem; }
.footer-contact a { color: #A6ADB8; }
.footer-contact a:hover { color: #fff; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  min-width: 0;
}
.footer-nav a { color: #A6ADB8; font-size: .9rem; white-space: nowrap; }
.footer-nav a:hover { color: #fff; }

.footer-copy {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: #6B727D;
}

/* ===== Lightbox ===== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 15, .92);
  padding: 48px;
}
.lightbox.open { display: flex; }

.lb-figure {
  margin: 0;
  max-width: min(1400px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.lb-figure figcaption {
  color: #A6ADB8;
  font-size: .9rem;
  text-align: center;
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .18); }

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ===== Animations d'apparition ===== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge .dot { animation: none; }
}

/* ===== Page mentions légales ===== */

.legal-page { padding: 72px 0 96px; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1.2em; }
.legal-page h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--text-2); }

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .args-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-steps, .extra-grid, .avis-grid, .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-grid, .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual { min-height: 0; height: 380px; max-width: 640px; }
  .hero-visual-single { height: auto; max-width: 560px; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }

  /* Barre d'action fixe : appeler / devis toujours à portée de pouce */
  body { padding-bottom: 72px; }
  .mobile-cta-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .mobile-cta-bar .btn {
    flex: 1;
    padding: .65rem .5rem;
    font-size: .95rem;
    white-space: nowrap;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 10px 0; font-size: 1.05rem; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: flex; }

  .project-featured { grid-template-columns: 1fr; padding: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .bi-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .bi-main { grid-row: auto; }
  .bi-main img { aspect-ratio: 16 / 8.6 !important; height: auto; }
  .bi-points { grid-template-columns: 1fr; }
  .check-cols { grid-template-columns: 1fr; }
  .feature-grid, .mini-steps { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .devis-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }

  /* Menu déroulant en colonne dans le menu mobile */
  .has-dropdown { position: static; }
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1.05rem;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 8px 14px;
    margin-left: 2px;
  }
}

@media (max-width: 560px) {
  .services-grid, .steps, .args-grid, .extra-grid, .pain-grid, .quiz-options { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .story-card { padding: 18px 20px; }
  .hero-visual { height: 300px; }
  .hero-visual-single { height: auto; }
  .lightbox { padding: 16px; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
