/* ==========================================================================
   WordBot — feuille de style commune
   ========================================================================== */

:root {
  --teal: #14769b;
  --teal-dark: #0d5a78;
  --teal-light: #e6f2f6;
  --coral: #ff5c5c;
  --amber: #ffbd4a;
  --orange: #ea6333;
  --gray-900: #2b2b2b;
  --gray-700: #535353;
  --gray-500: #7c7c7c;
  --gray-300: #d6d6d6;
  --gray-150: #eef0f1;
  --gray-100: #f7f8f9;
  --white: #ffffff;

  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(43, 43, 43, 0.08);
  --shadow-hover: 0 12px 32px rgba(43, 43, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-intro {
  max-width: 640px;
  margin: 0 0 44px 0;
}

.section-intro.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.1rem;
  color: var(--gray-700);
}

section {
  padding: 72px 0;
}

section.tight {
  padding: 48px 0;
}

.bg-gray {
  background: var(--gray-100);
}

.bg-teal {
  background: var(--teal);
  color: var(--white);
}

.bg-teal h2, .bg-teal h3, .bg-teal p {
  color: var(--white);
}

/* ---------- Navigation ---------- */

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px 24px;
  flex-wrap: wrap;
}

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

.brand img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
}

.nav-links a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a.active {
  color: var(--teal-dark);
  border-bottom-color: var(--coral);
}

.nav-cta {
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 92, 92, 0.32);
}

.btn-primary:hover {
  background: #ff4747;
}

.btn-secondary {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-onlight {
  background: var(--white);
  color: var(--teal-dark);
}

.btn-onlight:hover {
  background: var(--amber);
  color: var(--gray-900);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

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

.hero {
  padding: 76px 0 64px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 189, 74, 0.16), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(20, 118, 155, 0.12), transparent 45%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-visual {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid var(--gray-150);
}

.timer-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timer-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--gray-100);
}

.timer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.timer-row small {
  display: block;
  color: var(--gray-500);
  font-weight: 500;
}

.timer-row strong {
  display: block;
  font-size: 0.95rem;
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

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

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.ic-teal { background: var(--teal-light); }
.ic-coral { background: #ffe6e6; }
.ic-amber { background: #fff3dd; }

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--gray-700);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- Audience split ---------- */

.audience-card {
  border-radius: var(--radius);
  padding: 36px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.audience-card.entrepreneurs {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.audience-card.prestataires {
  background: linear-gradient(135deg, #3a3a3a 0%, #201f1f 100%);
}

.audience-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.audience-card li {
  margin-bottom: 6px;
}

.audience-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: Georgia, serif;
  margin-bottom: 14px;
}

.step:nth-child(1) .step-number { background: var(--coral); }
.step:nth-child(2) .step-number { background: var(--amber); color: var(--gray-900); }
.step:nth-child(3) .step-number { background: var(--teal); }
.step:nth-child(4) .step-number { background: var(--gray-900); }

.step h3 { font-size: 1.05rem; }
.step p { color: var(--gray-700); font-size: 0.92rem; }

/* ---------- Table ---------- */

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}

table.compare th, table.compare td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-150);
}

table.compare th {
  background: var(--gray-100);
  font-family: Georgia, serif;
}

table.compare td.yes {
  color: var(--teal-dark);
  font-weight: 700;
}

table.compare td.no {
  color: var(--gray-500);
}

/* ---------- Pull quote ---------- */

.pullquote {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.pullquote p {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gray-900);
  line-height: 1.4;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
}

.cta-banner h2, .cta-banner p { color: var(--white); }

.cta-banner .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--gray-150);
  padding: 48px 0 32px;
  background: var(--gray-100);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 22px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.88rem;
  max-width: 320px;
}

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

.footer-col h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
  font-size: 0.82rem;
  color: var(--gray-500);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Pain points ---------- */

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

.pain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-150);
  border-radius: var(--radius);
  padding: 20px;
}

.pain-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffe6e6;
  color: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.pain-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--gray-700);
}

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pain-list { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; font-size: 0.88rem; order: 3; width: 100%; }
  .nav-cta { order: 2; }
}

@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 22px; }
  .footer-grid { flex-direction: column; }
}
