/* ==========================================================================
   GMB Remover — feuille de style de la page de présentation (gmbremover.com).

   Feuille unique, sans framework : la page doit rester servable en statique et
   se charger avant tout le reste. Les couleurs reprennent le thème « green » de
   l'application (front/src/style/theme/green.css) pour que les deux sites se
   ressemblent : primary = hsl(99 53% 48%).
   ========================================================================== */

:root {
  --primary: #67bb3a;
  --primary-light: #83cd5b;
  --primary-dark: #51942d;
  --primary-soft: #eef8e7;

  --ink: #16202a;
  --ink-soft: #4d5b68;
  --ink-muted: #7b8794;

  --bg: #ffffff;
  --bg-alt: #f6f8f6;
  --bg-dark: #16202a;

  --border: #e3e8e5;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(22 32 42 / 6%), 0 12px 32px rgb(22 32 42 / 6%);
  --shadow-lg: 0 2px 6px rgb(22 32 42 / 8%), 0 24px 60px rgb(22 32 42 / 10%);

  --font-body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Urbanist", var(--font-body);

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  /* Les ancres ne doivent pas se retrouver sous l'en-tête collant. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, 100% - 3rem);
}

.center {
  text-align: center;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 12px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ------------------------------- Boutons ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgb(103 187 58 / 28%);
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border-color: var(--border);
  color: var(--ink);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-ghost {
  color: var(--ink-soft);
}
.btn-ghost:hover {
  color: var(--primary-dark);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* ------------------------------ En-tête ------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-right: auto;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.nav a:hover {
  color: var(--primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  margin-left: auto;
  background: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* `display: flex` l'emporterait sur le `display: none` implicite de [hidden] :
   sans cette règle, le menu mobile serait toujours ouvert. */
.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.mobile-nav a {
  padding: 0.7rem 0;
  color: var(--ink-soft);
}
.mobile-nav .btn {
  margin-top: 0.5rem;
  color: #fff;
}

/* -------------------------------- Hero -------------------------------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(900px 420px at 50% -120px, rgb(103 187 58 / 16%), transparent 70%),
    linear-gradient(180deg, #fbfdfa 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.accent {
  color: var(--primary-dark);
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin-inline: auto;
}

/* Champ de recherche du hero */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(680px, 100%);
  margin: 2rem auto 0.75rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.search:focus-within {
  border-color: var(--primary);
}

.search-icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink-muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 0.6rem 0;
}

.search input::placeholder {
  color: var(--ink-muted);
}

.search-hint {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.trust-band li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-band svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

/* ------------------------------ Sections ------------------------------ */

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section > .container > .eyebrow,
.section > .container > h2,
.section > .container > .section-lead {
  text-align: center;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 3rem;
}

.section > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section > .container > * {
  width: 100%;
}

.section > .container > .eyebrow {
  width: auto;
}

/* Étapes */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, var(--primary-light), var(--primary-dark));
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}

/* Cartes (cas d'usage, témoignages) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

.card h3 {
  font-size: 1.08rem;
}

.notice {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid #d9ead0;
  background: var(--primary-soft);
}
.notice h3 {
  color: var(--primary-dark);
  font-size: 1.05rem;
}
.notice p {
  margin: 0;
  color: #3f5a30;
  font-size: 0.97rem;
}

/* Bénéfices */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem 2.5rem;
  margin-top: 1rem;
}

.benefit {
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary-soft);
}
.benefit h3 {
  font-size: 1.05rem;
}
.benefit p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* Tarifs */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -13px;
  left: 1.75rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
  color: var(--ink);
}
.price .currency {
  font-size: 1.4rem;
  font-weight: 700;
}
.price-note {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.checklist {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.checklist li {
  position: relative;
  padding-left: 1.75rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

.price-card .btn {
  margin-top: auto;
  align-self: stretch;
}

.fineprint {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Témoignages */
.testimonials figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonials blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.testimonials figcaption {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 1.4rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 1.5rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ------------------------------ CTA final ------------------------------ */

.cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(700px 320px at 50% 0%, rgb(103 187 58 / 22%), transparent 70%),
    var(--bg-dark);
  color: #fff;
}
.cta h2 {
  color: #fff;
}
.cta .lead {
  color: rgb(255 255 255 / 76%);
}

.search-inverse {
  border-color: rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 8%);
  box-shadow: none;
  padding-left: 1.4rem;
}
.search-inverse input {
  color: #fff;
}
.search-inverse input::placeholder {
  color: rgb(255 255 255 / 55%);
}

/* ---------------------------- Pied de page ---------------------------- */

.site-footer {
  background: var(--bg-dark);
  color: rgb(255 255 255 / 70%);
  padding: 3.5rem 0 2rem;
  font-size: 0.94rem;
  border-top: 1px solid rgb(255 255 255 / 8%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand img {
  margin-bottom: 1rem;
}
.footer-brand p {
  max-width: 34ch;
}
.footer-brand a {
  color: var(--primary-light);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}
.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 8%);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 50%);
}
.footer-bottom p {
  margin: 0;
}

/* ------------------------------ Responsive ---------------------------- */

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .header-actions {
    display: none;
  }
  .burger {
    display: flex;
  }
  .search {
    flex-wrap: wrap;
    border-radius: var(--radius);
    padding: 0.9rem;
  }
  .search-icon {
    display: none;
  }
  .search input {
    flex-basis: 100%;
    padding: 0.4rem 0.3rem 0.8rem;
  }
  .search .btn {
    flex: 1;
  }
  /* En colonne étroite le libellé passe sur deux lignes : en flex, l'icône
     resterait plaquée à gauche. On repasse le tout en flux de texte. */
  .trust-band li {
    display: block;
    text-align: center;
  }
  .trust-band svg {
    display: inline-block;
    vertical-align: -4px;
    margin-right: 0.35rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .container {
    width: min(1160px, 100% - 2rem);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
  * {
    transition: none !important;
  }
}
