:root {
  --navy: #071e4d;
  --navy-2: #0e326e;
  --lime: #c8e000;
  --lime-dark: #b4cd00;
  --white: #ffffff;
  --mist: #f5f7fa;
  --line: #d9dee8;
  --text: #5e6a82;
  --graphite: #1d2330;
  --shadow: 0 24px 60px rgba(7, 30, 77, .14);
  --radius: 8px;
  --font-head: "Manrope", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --header-h: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  font-family: var(--font-body);
  background: var(--white);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
.brand,
.eyebrow,
.section-kicker,
.btn,
.nav-cta,
.hero-metrics strong {
  font-family: var(--font-head);
  letter-spacing: -.01em;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 10px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(217, 222, 232, .75);
  backdrop-filter: blur(14px);
}

.brand {
  flex: none;
}

.brand img {
  width: auto;
  height: 58px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.site-footer .footer-grid img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.nav-cta,
.btn-primary {
  color: var(--navy);
  background: var(--lime);
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .62);
}

.btn-ghost:hover {
  color: var(--navy);
  background: var(--white);
}

.btn-secondary {
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 30, 77, .92), rgba(7, 30, 77, .60) 45%, rgba(7, 30, 77, .18)),
    linear-gradient(180deg, rgba(7, 30, 77, .18), rgba(7, 30, 77, .82));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin: 0 auto 150px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions,
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(960px, calc(100% - 40px));
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 22px;
  color: var(--navy);
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
}

.hero-metrics span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

section,
[id] {
  scroll-margin-top: 112px;
}

.section-band {
  background: var(--mist);
}

.intro,
.solutions,
.compare,
.pillar,
.realisations,
.simulator,
.testimonials,
.faq,
.contact {
  padding: 96px 0;
}

.two-col,
.simulator-grid,
.faq-grid,
.contact-grid,
.pillar-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 600;
}

p {
  color: var(--text);
  font-size: 17px;
}

.lead-stack p {
  margin-top: 0;
  font-size: 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.process-grid article,
.project-grid article,
.budget-card,
.quotes blockquote,
.contact-form,
.pillar aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 30, 77, .07);
}

.process-grid article {
  padding: 26px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--lime-dark);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.solution-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.solution-tabs {
  display: grid;
  gap: 10px;
}

.solution-tabs button {
  min-height: 54px;
  padding: 0 18px;
  color: var(--navy);
  text-align: left;
  font-weight: 850;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.solution-tabs button.active {
  color: var(--navy);
  border-color: var(--lime);
  background: var(--lime);
}

.solution-panel {
  display: none;
  grid-template-columns: minmax(260px, .9fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.solution-panel.active {
  display: grid;
}

.solution-panel img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
}

.solution-panel > div {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--navy);
}

.solution-panel h3,
.solution-panel p,
.solution-panel li {
  color: var(--white);
}

.solution-panel p {
  color: rgba(255, 255, 255, .78);
}

.solution-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  padding-left: 18px;
  margin: 22px 0;
}

.text-link {
  color: var(--lime);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--navy);
  background: #eef3f8;
}

td:first-child {
  color: var(--navy);
  font-weight: 900;
}

.pillar {
  background: var(--white);
}

.pillar.alt {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.pillar.alt h2,
.pillar.alt h3 {
  color: var(--white);
}

.pillar.alt p {
  color: rgba(255, 255, 255, .78);
}

.pillar aside {
  padding: 28px;
}

.pillar.alt aside {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}

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

.project-grid article {
  overflow: hidden;
}

.project-grid img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}

.project-grid div {
  padding: 24px;
}

.project-grid span {
  color: var(--navy);
  font-weight: 900;
}

.budget-card {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.budget-card label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--graphite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--lime-dark);
}

output {
  color: var(--text);
  font-weight: 800;
}

.budget-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--navy);
}

.budget-result span {
  color: rgba(255, 255, 255, .76);
  font-weight: 800;
}

.budget-result strong {
  color: var(--lime);
  font-size: clamp(26px, 4vw, 40px);
}

.quotes blockquote {
  margin: 0;
  padding: 28px;
}

.quotes p {
  margin-top: 0;
  color: var(--graphite);
  font-size: 18px;
}

.quotes cite {
  color: var(--navy);
  font-style: normal;
  font-weight: 900;
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

summary {
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.contact h2 {
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, .78);
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 8px 12px;
  color: var(--navy);
  border-radius: var(--radius);
  background: var(--lime);
  font-weight: 900;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.seo-hub {
  padding: 96px 0;
  background: var(--white);
}

.seo-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.link-cloud a {
  padding: 10px 13px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  font-weight: 850;
}

.link-cloud a:hover {
  border-color: var(--lime);
  background: var(--lime);
}

.contact-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 120px;
}

.contact-title,
.article-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1;
  font-weight: 900;
}

.contact-title {
  color: var(--white);
}

.blog-page {
  padding-top: 130px;
}

.site-footer {
  padding: 32px 0 18px;
  color: rgba(255, 255, 255, .76);
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 26px;
}

.site-footer img {
  width: 190px;
  height: auto;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 4px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .72);
}

.site-footer nav {
  display: grid;
  gap: 7px;
  font-size: 13.5px;
}

.site-footer .footer-grid .btn {
  margin-top: 12px;
  min-height: 42px;
}

.site-footer a {
  color: rgba(255, 255, 255, .82);
}

.page-nav {
  display: flex;
}

.sub-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 90px;
  color: var(--white);
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 30, 77, .90), rgba(7, 30, 77, .46), rgba(7, 30, 77, .10));
}

.sub-hero.dark::after {
  background: linear-gradient(90deg, rgba(7, 30, 77, .94), rgba(7, 30, 77, .70), rgba(7, 30, 77, .28));
}

.sub-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin: 0 auto 88px;
}

.sub-hero h1 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.02em;
}

.sub-hero p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
}

.article-body {
  padding: 82px 0;
}

.article-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.toc a {
  padding: 10px 12px;
  color: var(--navy);
  border-radius: var(--radius);
  font-weight: 850;
}

.toc a:hover {
  background: var(--white);
}

.article-body article {
  max-width: 820px;
}

.article-body h2 {
  margin-top: 0;
  padding-top: 22px;
  font-size: clamp(30px, 4vw, 44px);
}

.article-body article > p,
.article-body li {
  font-size: 18px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 42px;
}

.feature-list span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 30, 77, .06);
}

.steps {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.mini-cta {
  margin: 54px 0;
  padding: 34px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.mini-cta h2 {
  color: var(--white);
}

.mini-cta p {
  color: rgba(255, 255, 255, .78);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .two-col,
  .simulator-grid,
  .faq-grid,
  .contact-grid,
  .pillar-grid,
  .solution-layout,
  .solution-panel {
    grid-template-columns: 1fr;
  }

  .page-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 14px;
    padding: 0;
    border: 0;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid,
  .project-grid,
  .quotes,
  .footer-grid,
  .seo-hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-panel img {
    height: 330px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 82px;
    padding: 10px 14px;
  }

  :root {
    --header-h: 82px;
  }

  .brand img {
    width: 148px;
    height: 62px;
  }

  .main-nav {
    top: 82px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 28px);
    margin-bottom: 210px;
  }

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro,
  .solutions,
  .compare,
  .pillar,
  .realisations,
  .simulator,
  .testimonials,
  .faq,
  .contact {
    padding: 68px 0;
  }

  .process-grid,
  .project-grid,
  .quotes,
  .footer-grid,
  .contact-form,
  .seo-hub-grid {
    grid-template-columns: 1fr;
  }

  .solution-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .solution-tabs button {
    min-height: 50px;
    padding: 0 12px;
    font-size: 14px;
  }

  .solution-panel > div,
  .budget-card,
  .contact-form {
    padding: 22px;
  }

  .solution-panel ul {
    grid-template-columns: 1fr;
  }

  .budget-result {
    display: grid;
  }

  .page-nav a:not(.nav-cta) {
    display: none;
  }

  .sub-hero {
    min-height: 680px;
  }

  .feature-list,
  .toc {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Composants additionnels — arborescence complete, GEO/SEO UI
   ============================================================ */

/* Navigation deroulante (mega-menu) */
.has-dropdown { position: relative; }

.has-dropdown > a::after {
  content: "▾";
  margin-left: 5px;
  font-size: 11px;
  opacity: .7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 250px;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  padding: 10px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.dropdown a:hover { background: var(--mist); }

.dropdown a.new::after {
  content: "Nouveau";
  margin-left: 8px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 900;
  color: var(--navy);
  background: var(--lime);
  border-radius: 100px;
  vertical-align: middle;
}

/* Fil d'ariane */
.breadcrumb {
  margin-top: var(--header-h);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--text);
}

.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb li:last-child { color: var(--navy); }

/* Slider Avant / Apres */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: none;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after { clip-path: inset(0 0 0 50%); }

.ba-label {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 900;
  color: var(--white);
  background: rgba(7, 30, 77, .82);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.ba-label.before { left: 16px; }

.ba-label.after {
  right: 16px;
  color: var(--navy);
  background: var(--lime);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: var(--white);
  pointer-events: none;
}

.ba-handle::after {
  content: "⇄";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(7, 30, 77, .28);
}

.ba-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
}

.ba-block { display: grid; gap: 18px; }

.ba-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
}

.ba-caption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ba-caption span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-dark);
}

/* Comparatif interactif */
.compare-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.compare-toggle button {
  padding: 9px 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: all .18s ease;
}

.compare-toggle button.active {
  color: var(--navy);
  background: var(--lime);
  border-color: var(--lime);
}

table td.is-highlight { background: rgba(200, 224, 0, .16); }
table th.is-highlight { background: rgba(200, 224, 0, .32); }

.rating {
  color: var(--lime-dark);
  letter-spacing: 2px;
  font-size: 15px;
}

/* Cartes telechargement */
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 30px 0 44px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 30, 77, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.download-card .ico {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--navy);
  background: var(--mist);
  border-radius: 10px;
}

.download-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 15px;
}

.download-card small {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
}

/* Video */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.video-frame .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}

.video-frame .play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--navy);
  background: var(--lime);
  border: 0;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 30, 77, .35);
}

.video-frame figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
}

/* Bloc definition GEO */
.definition {
  margin: 30px 0;
  padding: 26px 28px;
  border-left: 4px solid var(--lime);
  background: var(--mist);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.definition strong {
  font-family: var(--font-head);
  color: var(--navy);
}

/* Check-list GEO */
.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 38px;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--navy);
  background: var(--lime);
  border-radius: 50%;
}

/* Cartes valeur */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 34px 0;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 30, 77, .06);
}

.value-card .ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--navy);
  background: var(--mist);
  border-radius: 12px;
}

.value-card h3 { font-size: 19px; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 15.5px; }

/* Chiffres cles */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 40px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stats-band div {
  padding: 30px 24px;
  background: var(--white);
  text-align: center;
}

.stats-band strong {
  display: block;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--navy);
}

.stats-band span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

/* Cocon semantique / maillage interne */
.cocon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 26px 0 40px;
}

.cocon a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .18s ease;
}

.cocon a::after {
  content: "→";
  color: var(--lime-dark);
  transition: transform .18s ease;
}

.cocon a:hover {
  border-color: var(--lime);
  box-shadow: 0 10px 24px rgba(7, 30, 77, .08);
}

.cocon a:hover::after { transform: translateX(4px); }

/* Grille villes / pages locales */
.cities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.cities a {
  padding: 13px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .16s ease;
}

.cities a:hover {
  background: var(--white);
  border-color: var(--lime);
}

/* Cartes blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(7, 30, 77, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.blog-card .body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.blog-card .tag {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--lime);
  border-radius: 100px;
}

.blog-card h3 { margin: 0; font-size: 18px; }
.blog-card p { margin: 0; font-size: 14.5px; }

.blog-card .read {
  margin-top: auto;
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
}

/* Bandeau CTA pleine largeur */
.cta-band {
  padding: 78px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  text-align: center;
}

.cta-band h2 { color: var(--white); max-width: 760px; margin: 0 auto 16px; }
.cta-band p { max-width: 620px; margin: 0 auto 28px; color: rgba(255, 255, 255, .82); font-size: 18px; }
.cta-band .hero-actions { justify-content: center; }

/* Prose riche */
.prose h3 { margin-top: 36px; font-size: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose > p { font-size: 18px; }
.prose strong { color: var(--graphite); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}

.tag-row span {
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 100px;
}

/* Simulateur encart */
.sim-card {
  margin: 44px 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.sim-card h3 { margin-top: 0; }
.sim-card .budget-card { margin-top: 22px; background: var(--white); }

.section-cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

@media (max-width: 960px) {
  .main-nav .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 14px;
  }
  .has-dropdown > a::after { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .stats-band { grid-template-columns: 1fr; }
  .ba-slider { aspect-ratio: 4 / 3; }
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(7, 30, 77, .08);
}

/* ============================================================
   Montee en gamme : animations, reassurance, conversion
   ============================================================ */

/* Reveal au scroll (gate par .js pour fallback sans JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* Telephone dans le header */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}

.nav-phone::before {
  content: "📞";
  font-size: 14px;
}

.nav-phone:hover { color: var(--lime-dark); }

/* Bandeau de reassurance */
.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 16px 0;
}

.trust-bar .ti {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.trust-bar .ti .ico {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--navy);
  background: rgba(200, 224, 0, .25);
  border-radius: 9px;
}

.trust-bar .ti small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
}

/* Boutons flottants (telephone / WhatsApp) */
.fab {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  gap: 12px;
}

.fab a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 24px;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(7, 30, 77, .3);
  transition: transform .18s ease;
}

.fab a:hover { transform: scale(1.08); }

.fab .fab-wa { background: #25d366; color: #fff; }
.fab .fab-tel { color: var(--navy); background: var(--lime); }

/* CTA collant mobile */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.sticky-cta a {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
}

.sticky-cta .s-tel { color: var(--navy); border: 1px solid var(--navy); }
.sticky-cta .s-cta { color: var(--navy); background: var(--lime); }

/* Hovers premium */
.value-card,
.process-grid article,
.download-card,
.quotes blockquote {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.value-card:hover,
.process-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: var(--shadow);
}

.project-grid article {
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-grid article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-grid article img {
  transition: transform .5s ease;
}

.project-grid article:hover img {
  transform: scale(1.05);
}

.btn:hover { transform: translateY(-1px); }

.solution-tabs button { transition: all .18s ease; }

.text-link { transition: color .15s ease; }

/* Eyebrow + barre d'accent sous les kickers */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--lime);
}

@media (max-width: 960px) {
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; }
  .fab { bottom: 86px; }
}

@media (max-width: 560px) {
  .trust-bar .container { grid-template-columns: 1fr; gap: 10px; }
  .trust-bar .ti:nth-child(n+3) { display: none; }
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12.5px;
  color: var(--text);
}
.lead-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .lead-cta-grid { grid-template-columns: 1fr; } }

/* Hero premium "showcase" : profondeur (vignette) + zoom lent Ken Burns */
.sub-hero.showcase {
  min-height: 700px;
}

/* Effet léger : variation douce de la lumière (pas de zoom, pas de vignette) */
.sub-hero.showcase img {
  animation: softlight 14s ease-in-out infinite alternate;
  will-change: filter;
}

.sub-hero.showcase::after {
  background:
    linear-gradient(90deg, rgba(7, 30, 77, .78), rgba(7, 30, 77, .28) 52%, rgba(7, 30, 77, 0) 78%),
    linear-gradient(180deg, rgba(7, 30, 77, 0) 55%, rgba(7, 30, 77, .26));
}

.sub-hero.showcase .sub-hero-content {
  text-shadow: 0 2px 16px rgba(7, 30, 77, .35);
}

@keyframes softlight {
  from { filter: brightness(.98) saturate(1); }
  to   { filter: brightness(1.05) saturate(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .sub-hero.showcase img { animation: none; }
}

/* ============================================================
   Pictos pro : icônes ligne (marine) sur pastille lime
   ============================================================ */
.ico svg {
  width: 24px;
  height: 24px;
  display: block;
}

.value-card .ico,
.download-card .ico,
.trust-bar .ti .ico {
  color: var(--navy);
  background: rgba(200, 224, 0, .22);
}

.value-card .ico {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.value-card .ico svg { width: 26px; height: 26px; }

.trust-bar .ti .ico svg { width: 19px; height: 19px; }
.download-card .ico svg { width: 22px; height: 22px; }

/* Étoiles de notation SVG */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 0;
  letter-spacing: 0;
}

.rating .star {
  width: 17px;
  height: 17px;
}

.rating .f { color: var(--lime-dark); }
.rating .e { color: var(--line); }

table td .rating { justify-content: center; }
.quotes .rating { margin-bottom: 10px; }

/* Comparatif : tableau premium */
.compare table { min-width: 720px; }
table tbody tr { transition: background .15s ease; }
table tbody tr:hover td { background: rgba(7, 30, 77, .03); }
table td.is-highlight,
table tbody tr:hover td.is-highlight { background: rgba(200, 224, 0, .18); }
table th.is-highlight { background: rgba(200, 224, 0, .34); }
table td { vertical-align: middle; }
[data-compare] table td:not(:first-child),
[data-compare] table th:not(:first-child) { text-align: center; }
[data-compare] .rating { justify-content: center; }
[data-compare] .rating .star { width: 18px; height: 18px; }

/* Surlignage de colonne robuste (par position, jamais decale) */
[data-compare] table.hl-1 td:nth-child(2),
[data-compare] table.hl-2 td:nth-child(3),
[data-compare] table.hl-3 td:nth-child(4),
[data-compare] table.hl-4 td:nth-child(5),
[data-compare] table.hl-1 tbody tr:hover td:nth-child(2),
[data-compare] table.hl-2 tbody tr:hover td:nth-child(3),
[data-compare] table.hl-3 tbody tr:hover td:nth-child(4),
[data-compare] table.hl-4 tbody tr:hover td:nth-child(5) {
  background: rgba(200, 224, 0, .18);
  font-weight: 600;
  color: var(--navy);
}
[data-compare] table.hl-1 th:nth-child(2),
[data-compare] table.hl-2 th:nth-child(3),
[data-compare] table.hl-3 th:nth-child(4),
[data-compare] table.hl-4 th:nth-child(5) {
  background: rgba(200, 224, 0, .34);
}

/* Pop-up de sortie (exit-intent) */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 30, 77, .55);
  backdrop-filter: blur(4px);
}

.exit-modal.show { display: flex; animation: exitfade .25s ease; }
@keyframes exitfade { from { opacity: 0; } to { opacity: 1; } }

.exit-card {
  position: relative;
  width: min(540px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--white);
  border-radius: 16px;
  padding: 34px 32px 30px;
  box-shadow: 0 30px 80px rgba(7, 30, 77, .4);
}

.exit-card h3 { font-size: clamp(22px, 3vw, 28px); }
.exit-card > p { font-size: 15px; }

.exit-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  background: var(--mist);
  color: var(--navy);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease;
}
.exit-close:hover { background: var(--line); }

.exit-card .contact-form {
  box-shadow: none;
  border: 0;
  padding: 0;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .exit-card { padding: 26px 20px 22px; }
}
