/* Smart Flow — feuille de styles commune */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: oklch(15% 0.02 280);
  --bg2: oklch(19% 0.015 280);
  --bg3: oklch(24% 0.015 280);
  --line: oklch(40% 0.02 280 / 0.35);
  --text: oklch(96% 0.004 280);
  --muted: oklch(68% 0.015 280);
  --accent: oklch(66% 0.22 288);
  --accent2: oklch(76% 0.16 288);
  --accent-soft: oklch(66% 0.22 288 / 0.14);
  --accent-contrast: oklch(12% 0.01 280);
}

:root[data-theme="light"] {
  --bg: oklch(98% 0.004 280);
  --bg2: oklch(95% 0.008 280);
  --bg3: oklch(91% 0.012 280);
  --line: oklch(80% 0.014 280);
  --text: oklch(18% 0.02 280);
  --muted: oklch(42% 0.02 280);
  --accent: oklch(66% 0.22 288);
  --accent2: oklch(52% 0.2 288);
  --accent-soft: oklch(66% 0.22 288 / 0.12);
  --accent-contrast: oklch(12% 0.01 280);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color .3s ease, color .3s ease;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--accent2);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

@keyframes flowDash {
  to { stroke-dashoffset: -800; }
}

@keyframes pulseDot {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

@keyframes tickerFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ticker */

.ticker {
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px;
  text-align: center;
  overflow: hidden;
}

.ticker__text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: tickerFade .4s ease;
  display: block;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  position: relative;
  z-index: 5;
}

.site-header__logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-header__logo .logo-dark,
.site-footer__brand .logo-dark {
  display: none;
}

:root[data-theme="light"] .site-header__logo .logo-light,
:root[data-theme="light"] .site-footer__brand .logo-light {
  display: none;
}

:root[data-theme="light"] .site-header__logo .logo-dark,
:root[data-theme="light"] .site-footer__brand .logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
}

.site-nav a.is-active {
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  background: none;
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 16px;
  padding: 11px 22px;
}

.btn-primary:hover {
  color: var(--accent-contrast);
  transform: scale(1.05);
  box-shadow: 0 0 24px -2px var(--accent);
}

.site-header .btn-primary {
  font-size: 16px;
  padding: 11px 22px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* Hero */

.hero {
  position: relative;
  padding: 56px 48px 70px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero__flow {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 280px;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

.hero__flow path {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
  animation: flowDash 10s linear infinite;
}

.hero__flow circle {
  fill: var(--accent);
  animation: pulseDot 3s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Hero (landing) */

.hero-landing {
  position: relative;
  padding: 64px 48px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.hero-landing__flow {
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 520px;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
}

.hero-landing__flow path {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 6 10;
  animation: flowDash 10s linear infinite;
}

.hero-landing__flow path.alt {
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation-duration: 14s;
}

.hero-landing__flow circle {
  animation: pulseDot 3s ease-in-out infinite;
}

.hero-landing__content {
  position: relative;
  z-index: 1;
}

.hero-landing h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.hero-landing p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
}

.hero-landing__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 10px;
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero-landing__visual {
  position: relative;
  z-index: 1;
}

.hero-landing__card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg3), var(--bg2));
  padding: 10px;
  box-shadow: 0 0 80px -10px var(--accent-soft);
}

.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* Integrations */

.integrations {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.integrations h2 {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 18px;
}

.integrations p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 44px;
}

.integrations__logos {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.integration-badge {
  background: oklch(97% 0.003 280);
  border-radius: 14px;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: oklch(20% 0.02 280);
}

/* Benefits */

.benefits {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-card__icon span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent);
  transform: rotate(45deg);
  display: block;
}

.benefit-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.benefit-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Tools */

.tools {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tools h2 {
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 18px;
}

.tools > p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 46px;
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.tool-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.tool-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card__icon span {
  background: var(--accent);
  display: block;
}

.tool-card__icon--square span {
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

.tool-card__icon--rect span {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.tool-card__icon--circle span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.tool-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.tools__cta {
  display: inline-block;
  margin-top: 36px;
}

/* Domains */

.domains {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.domains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.domain-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.domain-card__letter {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Space Grotesk', sans-serif;
}

.domain-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Scenarios showcase */

.scenarios-showcase {
  padding: 20px 48px 90px;
  max-width: 1300px;
  margin: 0 auto;
}

.scenarios-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: oklch(97% 0.003 280);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
}

.scenario-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Stat */

.stat-section {
  padding: 20px 48px 90px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-section h2 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 16px;
}

.stat-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--accent2);
  margin: 20px 0 10px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-section p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Steps */

.steps {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps__line {
  position: absolute;
  top: 19px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step__num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Testimonials */

.testimonials {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 22px;
  color: var(--text);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--muted);
}

/* FAQ */

.faq {
  padding: 20px 48px 100px;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  cursor: pointer;
}

.faq-item__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item__row h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.faq-item__symbol {
  font-size: 20px;
  color: var(--accent2);
  min-width: 20px;
  text-align: center;
}

.faq-item__answer {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 14px 0 0;
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* Section footers / titles */

.section-title {
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 40px;
  text-align: center;
}

/* Hero filters (Scénarios) */

.hero__filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.filter-btn {
  background: var(--bg2);
  color: var(--text);
  border: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--accent);
  color: var(--accent-contrast);
  border-color: var(--accent);
}

/* Scenario detail cards */

.scenarios-grid {
  padding: 20px 48px 90px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.scenario-detail-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.scenario-detail-card__media {
  background: oklch(97% 0.003 280);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
}

.scenario-detail-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.scenario-detail-card__body {
  padding: 26px;
}

.scenario-detail-card__body h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
}

.scenario-detail-card__body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Small tiles */

.small-tiles {
  padding: 20px 48px 90px;
  max-width: 1300px;
  margin: 0 auto;
}

.small-tiles h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 30px;
  text-align: center;
}

.small-tiles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.small-tile {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.small-tile__media {
  background: oklch(97% 0.003 280);
  padding: 14px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-tile__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.small-tile h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 14px 16px;
}

/* Services complémentaires */

.services {
  padding: 20px 48px 90px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 30px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 16px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
}

.service-card:hover {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: oklch(97% 0.003 280);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* Hero bullets (WordPress) */

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.hero-bullets__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-bullets__dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-bullets__item span:last-child {
  font-size: 18px;
  color: var(--muted);
}

.wp-hero-visual {
  position: relative;
  z-index: 1;
}

.wp-hero-badge {
  position: absolute;
  top: -30px;
  right: 10px;
  width: 46px;
  height: 46px;
  z-index: 2;
}

.wp-hero-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: oklch(97% 0.003 280);
  padding: 14px;
  box-shadow: 0 0 80px -10px var(--accent-soft);
}

.wp-hero-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Split content sections (WordPress) */

.split-section {
  position: relative;
  padding: 70px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-section__decor {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.split-section__content,
.split-section__media {
  position: relative;
  z-index: 1;
}

.split-section__media {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: oklch(97% 0.003 280);
  padding: 14px;
}

.split-section__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.split-section__content h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 18px;
}

.split-section__content p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 30px;
}

.split-section__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.split-section__avatar {
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: oklch(97% 0.003 280);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.split-section__avatar img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}

.split-section__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.split-section__heading img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.split-section__heading h2 {
  margin: 0;
}

/* Ligne éditoriale */

.editorial {
  position: relative;
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.editorial__bg {
  position: absolute;
  top: 0;
  left: -40px;
  width: 160px;
  height: auto;
  opacity: .35;
  z-index: 0;
}

.editorial h2 {
  position: relative;
  z-index: 1;
}

.editorial__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editorial-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}

.editorial-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-card__icon span {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 3px;
  display: block;
}

.editorial-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* Fonctionnalités */

.features {
  padding: 20px 48px 90px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-group {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}

.feature-group h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--accent2);
}

.feature-group__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-group__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.feature-group__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

/* Packs */

.packs {
  padding: 20px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.packs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pack {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  margin-top: 20px;
}

.pack--featured {
  background: var(--bg3);
  border-color: var(--accent);
  padding: 36px 32px;
  margin-top: 0;
}

.pack__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pack__name {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
}

.pack__price {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 18px;
}

.pack__price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.pack__desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}

.pack__includes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.pack__includes li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.pack__includes li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

.pack__includes span {
  font-size: 18px;
  color: var(--text);
}

.pack__cta {
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 13px 20px;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.pack__cta:hover {
  color: var(--text);
  transform: scale(1.04);
  box-shadow: 0 0 20px -4px var(--accent);
}

.pack--featured .pack__cta {
  background: var(--accent);
  color: var(--accent-contrast);
  border: none;
}

.pack--featured .pack__cta:hover {
  color: var(--accent-contrast);
}

/* Catalogue */

.catalogue {
  padding: 20px 48px 100px;
  max-width: 1300px;
  margin: 0 auto;
}

.catalogue__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalogue-card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.catalogue-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalogue-card__icon::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.catalogue-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.catalogue-card__desc {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Sur-mesure */

.custom {
  margin: 20px auto 90px;
  max-width: 1000px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 60%), var(--bg2);
  padding: 60px 56px;
  text-align: center;
}

.custom h2 {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 16px;
}

.custom p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 28px;
}

.custom .btn-primary {
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 10px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 48px 32px;
}

.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer__brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.site-footer__brand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.6;
  margin: 0;
}

.site-footer__social {
  display: inline-flex;
  margin-top: 16px;
}

.site-footer__social svg {
  display: block;
}

.site-footer h4 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 0 0 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 16px;
}

.site-footer__bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Contact form */

.contact-section {
  padding: 20px 48px 100px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-label .form-optional {
  font-weight: 500;
  color: var(--muted);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--text);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368748A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: oklch(65% 0.2 25);
}

.form-error {
  font-size: 13px;
  color: oklch(72% 0.19 25);
  min-height: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 8px;
}

.contact-form__status {
  font-size: 14px;
  color: oklch(72% 0.19 25);
  min-height: 20px;
}

.contact-success {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
}

.contact-success h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
}

.contact-success p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

/* Legal pages */

.legal {
  padding: 56px 48px 100px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.legal__updated {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 48px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 16px;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}

.legal a {
  color: var(--accent2);
}

.legal__subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 6px;
}

.legal__table-wrap {
  overflow-x: auto;
  margin: 0 0 24px;
}

.legal table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.legal th,
.legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--line);
}

.legal th {
  background: var(--bg2);
  color: var(--text);
  font-weight: 600;
}

.legal td {
  color: var(--muted);
}

/* Theme toggle */

.theme-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: bottom .25s ease, transform .2s ease, box-shadow .2s ease, background-color .3s ease, border-color .3s ease;
  box-shadow: 0 4px 20px -4px oklch(0% 0 0 / 0.45);
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px -4px var(--accent);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
}

.theme-toggle__sun {
  display: none;
  color: oklch(75% 0.15 80);
}

.theme-toggle__moon {
  display: block;
  color: var(--accent2);
}

:root[data-theme="light"] .theme-toggle__moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle__sun {
  display: block;
}

/* Cookie banner (RGPD) */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 700px;
}

.cookie-banner p a {
  color: var(--accent2);
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__actions .btn-outline {
  font-size: 16px;
  padding: 10px 20px;
}

.cookie-banner__actions .btn-primary {
  font-size: 16px;
  padding: 10px 20px;
}

/* Responsive */

@media (max-width: 900px) {
  .packs__grid,
  .catalogue__grid,
  .benefits,
  .tools__grid,
  .domains__grid,
  .scenarios-showcase__grid,
  .testimonials__grid,
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-landing {
    grid-template-columns: 1fr;
    padding: 48px 32px 70px;
  }

  .scenarios-grid,
  .small-tiles__grid,
  .services__grid,
  .editorial__grid,
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-landing__visual {
    order: -1;
  }

  .steps__line {
    display: none;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px 24px;
  }

  .legal,
  .contact-section {
    padding: 40px 24px 60px;
  }

  .contact-success {
    padding: 32px 24px;
  }

  .theme-toggle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    right: 16px;
    bottom: 16px;
  }

  .theme-toggle svg {
    width: 19px;
    height: 19px;
  }

  .legal h1 {
    font-size: 28px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px;
    display: none;
  }

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

  .site-nav a {
    padding: 10px 0;
    width: 100%;
  }

  .site-header .btn-primary {
    display: none;
  }

  .hero {
    padding: 40px 24px 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .packs,
  .catalogue {
    padding: 20px 24px 60px;
  }

  .packs__grid,
  .catalogue__grid {
    grid-template-columns: 1fr;
  }

  .pack--featured {
    padding: 32px 24px;
  }

  .custom {
    margin: 20px 24px 60px;
    padding: 40px 24px;
  }

  .site-footer {
    padding: 40px 24px 24px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-landing {
    padding: 40px 24px 50px;
  }

  .hero-landing h1 {
    font-size: 34px;
  }

  .hero-landing p {
    font-size: 16px;
    max-width: none;
  }

  .integrations,
  .benefits,
  .tools,
  .domains,
  .scenarios-showcase,
  .stat-section,
  .steps,
  .testimonials,
  .faq {
    padding-left: 24px;
    padding-right: 24px;
  }

  .integrations h2,
  .tools h2,
  .stat-section h2 {
    font-size: 26px;
  }

  .benefits,
  .tools__grid,
  .domains__grid,
  .scenarios-showcase__grid,
  .testimonials__grid,
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 44px;
  }

  .scenarios-grid,
  .small-tiles__grid,
  .services__grid {
    padding-left: 24px;
    padding-right: 24px;
    grid-template-columns: 1fr;
  }

  .small-tiles,
  .services {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .split-section {
    padding: 40px 24px 60px;
    gap: 32px;
  }

  .split-section__content h2 {
    font-size: 26px;
  }

  .editorial,
  .features {
    padding-left: 24px;
    padding-right: 24px;
  }

  .editorial__bg {
    display: none;
  }

  .editorial__grid,
  .features__grid {
    grid-template-columns: 1fr;
  }

  .split-section__cta {
    gap: 14px;
  }

  .split-section__avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .cookie-banner {
    padding: 18px 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}
