
:root {
  --navy: #062b3a;
  --navy-soft: #0b4153;
  --blue: #087f9a;
  --cyan: #20a9c3;
  --green: #4e9d2d;
  --green-light: #88c95b;
  --cream: #f5f8df;
  --surface: #ffffff;
  --text: #102c36;
  --muted: #60727a;
  --border: rgba(6, 43, 58, 0.11);
  --shadow: 0 24px 70px rgba(6, 43, 58, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #f7faf5;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

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

.narrow { max-width: 820px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

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

.brand {
  width: min(330px, 52vw);
  overflow: hidden;
  border-radius: 10px;
}

.brand img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  object-position: center;
}

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

.main-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--green);
}

.main-nav .nav-cta {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: white;
}

.main-nav .nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 82px;
  background: linear-gradient(135deg, rgba(245,248,223,.98), rgba(235,248,229,.96));
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: .5;
  pointer-events: none;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  background: rgba(32,169,195,.18);
}

.hero-glow-two {
  width: 340px;
  height: 340px;
  left: -180px;
  bottom: -180px;
  background: rgba(78,157,45,.16);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  line-height: 1.1;
}

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -.055em;
}

h1 span { color: var(--blue); }

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.045em;
}

.hero-text,
.section-heading p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions { margin: 32px 0; }

.btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 210px;
  min-height: 64px;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-3px); }
.btn span { font-size: 1.03rem; }
.btn small { margin-top: 2px; font-size: .72rem; opacity: .78; }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--navy-soft));
  box-shadow: 0 14px 30px rgba(8,127,154,.22);
}

.btn-secondary {
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(6,43,58,.08);
}

.btn-light {
  min-height: 58px;
  align-items: center;
  color: var(--navy);
  background: white;
}

.btn-outline-light {
  min-height: 58px;
  align-items: center;
  color: white;
  border: 1px solid rgba(255,255,255,.3);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
}

.trust-line span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(78,157,45,.12);
}

.visual-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.section { padding: 92px 0; }
.section-soft { background: #eef5e9; }

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

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

.service-card,
.detail-card,
.values-card,
.contact-card,
.quote-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8fbf6);
}

.service-card {
  min-height: 300px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(6,43,58,.1);
}

.service-icon,
.detail-number {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: .82rem;
  font-weight: 800;
}

.service-card h3 { color: var(--navy); }
.service-card p,
.detail-card p,
.about-grid p { color: var(--muted); }

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.check-list,
.values-card {
  display: grid;
  gap: 18px;
}

.check-list div,
.values-card div {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.check-list div:last-child,
.values-card div:last-child { border-bottom: 0; }

.check-list strong,
.check-list span,
.values-card strong,
.values-card span {
  display: block;
}

.check-list span,
.values-card span { color: var(--muted); }

.page-hero {
  padding: 86px 0 72px;
  background: linear-gradient(135deg, var(--cream), #eef7ea);
}

.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }

.detail-card ul,
.quote-card ul {
  padding-left: 20px;
  color: var(--muted);
}

.contact-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.contact-item span,
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); font-size: .82rem; }
.contact-item strong { color: var(--navy); font-size: 1.35rem; }

.contact-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: .9rem;
}

.contact-strip {
  padding: 64px 0;
  color: white;
  background:
    radial-gradient(circle at top right, rgba(32,169,195,.25), transparent 34%),
    linear-gradient(135deg, var(--navy), #0a5266);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow.light { color: var(--green-light); }
.contact-strip h2 { margin-bottom: 0; color: white; }

.site-footer {
  padding: 30px 0;
  background: linear-gradient(180deg, #031f2a, #021721);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: .84rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  align-items: center;
  gap: 28px;
}

.footer-col:nth-child(2) { text-align: center; }
.footer-col:last-child { text-align: right; }
.site-footer p { margin: 0; }

.powered-by {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.powered-label {
  margin-bottom: 8px;
  color: rgba(255,255,255,.52);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.powered-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.powered-brand img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.powered-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.powered-copy strong {
  color: #f3c85b;
  font-size: .94rem;
  line-height: 1.3;
  transition: color .2s ease;
}

.powered-copy small {
  margin-top: 3px;
  color: rgba(255,255,255,.52);
  font-size: .66rem;
  line-height: 1.4;
  letter-spacing: .055em;
}

.powered-brand:hover img {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,.36);
}

.powered-brand:hover .powered-copy strong {
  color: #ffffff;
}

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

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .main-nav a.active::after { display: none; }
  .main-nav .nav-cta { justify-content: center; }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { max-width: 620px; }

  .service-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }

  .footer-col:nth-child(2),
  .footer-col:last-child { text-align: center; }

  .powered-by { align-items: center; }

  .powered-brand {
    justify-content: center;
  }

  .powered-copy {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .header-inner { min-height: 72px; }
  .brand { width: 220px; }
  .brand img { height: 48px; }
  .hero { padding: 64px 0 56px; }
  h1 { font-size: 2.65rem; }
  .hero-actions,
  .contact-actions { display: grid; width: 100%; }
  .btn { width: 100%; }
  .section { padding: 68px 0; }
  .service-card,
  .detail-card,
  .values-card,
  .contact-card,
  .quote-card { padding: 26px; }
  .contact-strip { padding: 50px 0; }

  .powered-brand {
    gap: 10px;
  }

  .powered-brand img {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .powered-copy strong {
    font-size: .84rem;
  }

  .powered-copy small {
    font-size: .6rem;
  }
}


/* =========================================================
   M-RÉSULTATS V1.1
========================================================= */

.hero-v11 {
  padding-top: 104px;
  padding-bottom: 92px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.trust-badges div {
  padding: 16px;
  border: 1px solid rgba(6,43,58,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.66);
}

.trust-badges strong,
.trust-badges span {
  display: block;
}

.trust-badges strong {
  color: var(--navy);
  font-size: .84rem;
}

.trust-badges span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .74rem;
}

.advantages-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 20px;
}

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

.advantage-card,
.process-card,
.testimonial-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: white;
  box-shadow: 0 12px 34px rgba(6,43,58,.06);
}

.advantage-card strong,
.advantage-card span {
  display: block;
}

.advantage-card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.advantage-card span {
  margin-top: 8px;
  color: var(--muted);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 800;
}

.process-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
}

.process-card p,
.testimonial-card p {
  color: var(--muted);
}

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

.stars {
  margin-bottom: 16px;
  color: #d7a818;
  letter-spacing: .12em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr .8fr 1.25fr;
  gap: 38px;
  padding-top: 42px;
  padding-bottom: 34px;
  align-items: center;
}

.footer-brand-block h3 {
  margin-bottom: 10px;
  color: white;
  font-size: 1.2rem;
}

.footer-brand-block p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.footer-contact-block {
  display: grid;
  gap: 4px;
}

.footer-contact-block a {
  margin-bottom: 8px;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.footer-label {
  color: rgba(255,255,255,.48);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-powered-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-powered-block .powered-brand img {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
}

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: .76rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 34px;
  align-items: start;
}

.quote-form,
.quote-sidebar {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
}

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

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfdf9;
  color: var(--text);
  font: inherit;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(8,127,154,.12);
  border-color: var(--blue);
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.form-note {
  color: var(--muted);
  font-size: .8rem;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .trust-badges,
  .advantages-grid,
  .process-grid,
  .testimonial-grid,
  .footer-top,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .footer-powered-block {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
  }

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

@media (max-width: 640px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .footer-powered-block .powered-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-powered-block .powered-copy {
    align-items: center;
    text-align: center;
  }
}


/* M-RÉSULTATS v2.1 — contact rapide et engagement qualité */
.contact-bar {
  position: relative;
  z-index: 1001;
  background: var(--navy);
  color: #fff;
  font-size: .84rem;
}
.contact-bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-bar-links { display: flex; flex-wrap: wrap; gap: 22px; }
.contact-bar a { color: #fff; text-decoration: none; }
.contact-bar a:hover { text-decoration: underline; }
.contact-bar-cta { font-weight: 800; }
.btn-tertiary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
}
.commitment-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.commitment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.commitment-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
}
.commitment-card strong { color: var(--navy); font-size: 1.02rem; }
.commitment-card span { color: var(--muted); line-height: 1.65; }
.contact-actions-stack { display: grid; gap: 12px; margin-top: 22px; }
.footer-contact-block { display: grid; align-content: start; gap: 5px; }
@media (max-width: 820px) {
  .contact-bar-inner { padding-top: 8px; padding-bottom: 8px; }
  .contact-bar-links { gap: 8px 16px; }
  .contact-bar-links a:nth-child(2) { display: none; }
  .commitment-layout, .commitment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-bar-inner { justify-content: center; text-align: center; }
  .contact-bar-links { justify-content: center; }
  .contact-bar-cta { display: none; }
  .contact-bar-links a:first-child { display: none; }
}
