/* Polices Ubuntu/Mulish chargées via <link rel="stylesheet"> dans le <head> du
   template (avec preconnect), plutôt qu'en @import ici : un @import CSS bloque
   le rendu de la page le temps de télécharger la feuille de style externe. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #1a1a1a;
  font-family: Mulish, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid #f0f1f3;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 21px;
  text-decoration: none;
  color: #1a1a1a;
  margin-right: auto;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 22%;
  flex-shrink: 0;
}

.brand-text span {
  color: rgb(126, 211, 33);
}

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

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}

.main-nav a:hover {
  color: #2c3e50;
}

.login-link {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  text-decoration: none;
  border: 1px solid #dcdfe3;
  padding: 9px 18px;
  border-radius: 4px;
  white-space: nowrap;
}

.login-link:hover {
  background: #f5f6fa;
}

@media only screen and (max-width: 860px) {
  .main-nav {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 60px 0 70px;
  text-align: center;
}

.hero h1 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  margin: 0 0 24px;
}

.hero h1 .highlight {
  color: rgb(126, 211, 33);
}

.hero .subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: #444;
  max-width: 640px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 4px;
  font-family: Mulish, sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #2c3e50;
  color: #fff;
}

.btn-primary:hover {
  background: #1a252f;
}

.btn-secondary {
  background: rgb(126, 211, 33);
  color: #1a1a1a;
}

.btn-secondary:hover {
  background: rgb(110, 190, 20);
}

/* Sections */
section {
  padding: 60px 0;
}

section.alt {
  background: #f7f8fa;
}

h2 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  margin: 0 0 16px;
}

.section-intro {
  text-align: center;
  font-size: 17px;
  color: #555;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Problem */
.problem-columns {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.problem-columns > div {
  flex: 1;
  min-width: 260px;
}

.problem-columns h3 {
  font-family: Ubuntu, sans-serif;
  font-size: 19px;
  margin: 0 0 12px;
}

.problem-columns p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* Solution funnel */
.funnel {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.funnel-start {
  align-self: center;
  text-align: center;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 0 12px;
}

.funnel-arrow {
  align-self: center;
  font-size: 28px;
  color: #999;
}

.funnel-outcome {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  border-radius: 8px;
  padding: 24px;
}

.funnel-outcome.positive {
  background: rgba(126, 211, 33, 0.12);
  border: 2px solid rgb(126, 211, 33);
}

.funnel-outcome.negative {
  background: rgba(248, 231, 28, 0.18);
  border: 2px solid rgb(214, 197, 20);
}

.funnel-outcome .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.funnel-outcome.positive .tag {
  color: rgb(84, 145, 15);
}

.funnel-outcome.negative .tag {
  color: rgb(150, 130, 0);
}

.funnel-outcome h3 {
  font-family: Ubuntu, sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
}

.funnel-outcome p {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  margin: 0;
}

/* Steps */
.steps {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 220px;
  text-align: center;
}

.step .number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2c3e50;
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h3 {
  font-family: Ubuntu, sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Storyboard */
.storyboard .eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(126, 211, 33);
  margin: 0 0 8px;
}

.storyboard h2 {
  margin-bottom: 40px;
}

.storyboard-frames {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.frame {
  position: relative;
  width: 190px;
  background: #fff;
  border: 2px solid #e2e5ea;
  border-radius: 10px;
  padding: 22px 16px 18px;
  text-align: center;
}

.frame svg {
  width: 72px;
  height: 72px;
  margin: 6px auto 14px;
  display: block;
}

.frame p {
  font-size: 14px;
  line-height: 1.45;
  color: #333;
  margin: 0;
  font-weight: 600;
}

.frame-number {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2c3e50;
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame-arrow {
  font-size: 22px;
  color: #ccc;
  flex-shrink: 0;
}

@media only screen and (max-width: 860px) {
  .storyboard-frames {
    flex-direction: column;
  }

  .frame-arrow {
    transform: rotate(90deg);
  }
}

/* Pricing */
.pricing-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #2c3e50;
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(126, 211, 33);
  color: #16330a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header h3 {
  font-family: Ubuntu, sans-serif;
  font-size: 18px;
  margin: 0 0 12px;
  color: #666;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.price .amount {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 46px;
  color: #1a1a1a;
}

.price .period {
  font-size: 16px;
  color: #666;
}

.setup-fee {
  font-size: 13px;
  color: #888;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.pricing-features li {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  padding: 8px 0 8px 28px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: rgb(126, 211, 33);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
}

/* Client showcase — scrolling ticker */
.ticker-section {
  padding-bottom: 60px;
}

.ticker-section h2,
.ticker-section .section-intro {
  text-align: center;
}

.ticker-section .section-intro {
  margin-bottom: 40px;
}

.ticker-viewport {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-card {
  display: block;
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ticker-card:hover {
  border-color: rgb(126, 211, 33);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ticker-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 10px;
  display: block;
}

.ticker-card-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2c3e50;
  color: #fff;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.ticker-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333;
}

.ticker-rate {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: rgb(84, 145, 15);
  margin-bottom: 6px;
}

.ticker-sparkline {
  width: 100%;
  height: 24px;
  display: block;
}

.ticker-badge-new {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  background: #f0f1f3;
  padding: 4px 12px;
  border-radius: 999px;
}

/* CTA */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta .section-intro {
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  padding: 40px 0 32px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2c3e50;
  text-decoration: underline;
}

.footer-bottom {
  font-size: 13px;
  color: #888;
}

.footer-bottom a {
  color: #888;
  text-decoration: underline;
}

/* Static pages (FAQ, mentions légales, CGV, confidentialité) */
.wrap.narrow {
  max-width: 720px;
}

.page-hero {
  padding: 50px 0 20px;
  text-align: center;
}

.page-hero h1 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 34px;
  margin: 0;
}

.steps-more {
  text-align: center;
  margin: 36px 0 0;
}

.steps-more a {
  font-size: 15px;
  font-weight: 600;
  color: rgb(84, 145, 15);
  text-decoration: none;
}

.steps-more a:hover {
  text-decoration: underline;
}

.guide-subtitle {
  font-style: italic;
  color: #666;
  font-size: 16px;
  margin: 12px 0 0;
}

.article-content code {
  background: #f5f6fa;
  border: 1px solid #e2e5ea;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 15px;
  color: #2c3e50;
}

/* Lead gate (formulaire de capture prénom/e-mail) */
.lead-gate {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.lead-gate > p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 28px;
}

.lead-form {
  text-align: left;
}

.lead-form-row {
  margin-bottom: 18px;
}

.lead-form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.lead-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dcdfe3;
  border-radius: 4px;
  font-family: Mulish, sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}

.lead-input:focus {
  outline: none;
  border-color: #2c3e50;
}

.lead-form ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.lead-form ul li {
  color: rgb(190, 40, 40);
  font-size: 13px;
}

.lead-form .btn {
  width: 100%;
  margin-top: 6px;
}

/* Fiche commerce publique */
.business-hero {
  text-align: center;
}

.business-hero-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid #eee;
  padding: 8px;
  background: #fff;
  margin: 0 auto 20px;
  display: block;
}

.business-stat {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.business-stat-rate {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgb(84, 145, 15);
}

.business-stat-sparkline {
  width: 140px;
  height: 30px;
  display: block;
}

.business-empty {
  text-align: center;
  color: #666;
  font-size: 16px;
}

.business-cta-intro {
  text-align: center;
  font-size: 16px;
  color: #444;
  margin: 0 0 28px;
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.platform-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 150px;
  padding: 24px 16px;
  border: 2px solid #e2e5ea;
  border-radius: 10px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.platform-link:hover {
  border-color: rgb(126, 211, 33);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.platform-link svg {
  width: 32px;
  height: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-item h2 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-align: left;
  margin: 0 0 10px;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

.faq-item a {
  color: rgb(84, 145, 15);
}

.legal-pending {
  font-size: 16px;
  line-height: 1.65;
  color: #444;
}

.legal-pending a {
  color: rgb(84, 145, 15);
}

.legal-content {
  padding-bottom: 20px;
}

.legal-content h2 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-align: left;
  margin: 36px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.65;
  color: #444;
}

.legal-content ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content a {
  color: rgb(84, 145, 15);
}

@media only screen and (max-width: 720px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero .subtitle {
    font-size: 17px;
  }

  h2 {
    font-size: 24px;
  }

  .funnel {
    flex-direction: column;
    align-items: center;
  }

  .funnel-arrow {
    transform: rotate(90deg);
  }
}

/* Blog */
.blog-hero {
  padding: 50px 0 20px;
  text-align: center;
}

.blog-hero h1 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin: 0 0 12px;
}

.blog-empty {
  text-align: center;
  color: #666;
  font-size: 16px;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.article-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.article-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 20px 22px 24px;
}

.article-card-date {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.article-card-body h2 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-align: left;
  margin: 0 0 10px;
}

.article-card-body p {
  font-size: 15px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 14px;
}

.article-card-readmore {
  font-size: 14px;
  font-weight: 700;
  color: rgb(84, 145, 15);
}

.blog-article {
  padding: 50px 0 70px;
}

.blog-article .wrap {
  max-width: 720px;
}

.blog-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  margin-bottom: 24px;
}

.blog-back:hover {
  color: #2c3e50;
}

.article-date {
  display: block;
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.blog-article h1 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 24px;
}

.article-cover {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 32px;
  display: block;
}

.article-content {
  font-size: 17px;
  line-height: 1.75;
  color: #262626;
}

.article-content h2 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-align: left;
  margin: 40px 0 16px;
}

.article-content h3 {
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 14px;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content a {
  color: rgb(84, 145, 15);
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
}

@media only screen and (max-width: 720px) {
  .blog-article h1 {
    font-size: 26px;
  }
}
