/* ── base.css ───────────────────────────────────── */

/* Satoshi via CDN Fontshare */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap');

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

/* Section spacing */
section { padding-block: var(--space-24); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-black);
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
p {
  color: var(--color-gray-700);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

em { font-style: normal; color: var(--color-yellow-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: all var(--duration-base) var(--ease-default);
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}
.btn--primary:hover {
  background: var(--color-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,180,0,.35);
}
.btn--ghost {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid rgba(0,0,0,.18);
}
.btn--ghost:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
  transform: translateY(-2px);
}
.btn--nav {
  background: var(--color-yellow);
  color: var(--color-black);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}
.btn--nav:hover { background: var(--color-yellow-hover); }
.btn--full { width: 100%; justify-content: center; }

/* Forms */
.contact__form {
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-black);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid rgba(0,0,0,.12);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-yellow-dark);
  box-shadow: 0 0 0 3px rgba(245,197,24,.2);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select   { cursor: pointer; }
.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
  font-weight: 500;
  min-height: 16px;
}
.form-mention {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  text-align: center;
  margin-top: calc(-1 * var(--space-2));
}
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-weight: 500;
  text-align: center;
}
.form-success.visible { display: block; }

/* Section header */
.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}
.section-header p { margin-top: var(--space-4); }

/* Section tag */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--color-yellow-dark);
  background: var(--color-yellow-light);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

/* Image placeholders */
.placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-400);
  line-height: 1.5;
  pointer-events: none;
}

/* ── Trust bar ─────────────────────────────────── */
.trust-bar              { background: var(--color-black); overflow: hidden; padding-block: 0; }
.trust-bar__track       { display: flex; }
.trust-bar__reel        { display: flex; align-items: center; gap: var(--space-12); padding-block: var(--space-6); padding-inline: var(--space-12); white-space: nowrap; animation: ticker 18s linear infinite; }
.trust-bar__stat        { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.trust-bar__stat strong { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 900; color: var(--color-yellow); letter-spacing: -0.04em; line-height: 1; }
.trust-bar__stat span   { font-size: var(--text-xs); color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.trust-bar__sep         { width: 1px; height: 40px; background: rgba(255,255,255,.15); flex-shrink: 0; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .trust-bar__reel { animation: none; }
}

/* ── Testimonials ──────────────────────────────── */
.testimonials           { background: var(--color-gray-100); }
.testimonials__grid     { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: start; }
.testimonial            { background: var(--color-white-pure); border-radius: var(--radius-lg); padding: var(--space-8); border: 1px solid rgba(0,0,0,.06); position: relative; transition: box-shadow var(--duration-base) var(--ease-default), transform var(--duration-base) var(--ease-default); }
.testimonial:hover      { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial--featured  { border-color: var(--color-yellow); box-shadow: 0 0 0 3px rgba(245,180,0,.12), var(--shadow-md); }
.testimonial__mark      { font-family: Georgia, serif; font-size: 4rem; line-height: .8; color: var(--color-yellow); margin-bottom: var(--space-4); display: block; }
.testimonial__text      { font-size: var(--text-base); line-height: 1.8; color: var(--color-dark); margin-bottom: var(--space-6); }
.testimonial__stars     { color: var(--color-yellow); font-size: var(--text-sm); letter-spacing: 3px; margin-bottom: var(--space-5); display: block; }
.testimonial__author    { display: flex; align-items: center; gap: var(--space-4); border-top: 1px solid rgba(0,0,0,.06); padding-top: var(--space-5); }
.testimonial__avatar    { width: 44px; height: 44px; border-radius: 50%; background: var(--color-yellow-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: var(--text-sm); color: var(--color-yellow-dark); flex-shrink: 0; }
.testimonial__name      { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--color-black); }
.testimonial__role      { font-size: var(--text-xs); color: var(--color-gray-400); margin-top: 2px; }

/* ── Legal pages ───────────────────────────────── */
.legal-page { padding-top: calc(var(--nav-height) + var(--space-16)); padding-bottom: var(--space-24); }
.legal-page .container { max-width: 780px; }
.legal-page h1 { margin-bottom: var(--space-12); }
.legal-page h2 { font-size: var(--text-xl); margin-top: var(--space-10); margin-bottom: var(--space-4); padding-bottom: var(--space-2); border-bottom: 2px solid var(--color-yellow); display: inline-block; }
.legal-page p,
.legal-page li { line-height: 1.8; margin-bottom: var(--space-3); }
.legal-page ul { padding-left: var(--space-6); list-style: disc; }
.legal-page a  { color: var(--color-yellow-dark); text-decoration: underline; }
.legal-page__date { margin-top: var(--space-12); color: var(--color-gray-400); font-size: var(--text-sm); }

/* Honeypot anti-spam — caché pour les humains, visible pour les bots */
.form-honeypot { display: none !important; }
