/* ═══════════════════════════════════════════════════════════════════════════
   [NOM_MARQUE] — Landing page agence
   Variables centralisées : ajustez la marque ici, tout le site suit.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Palette : sobre et crédible, orientée B2B */
  --primary:        #1e40af;   /* bleu profond : confiance */
  --primary-dark:   #1e3a8a;
  --primary-light:  #eff6ff;
  --text:           #1f2937;
  --text-soft:      #4b5563;
  --text-faint:     #6b7280;   /* AA conforme sur fond blanc (4,8:1) */
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --border:         #e5e7eb;
  --success:        #15803d;
  --error:          #b91c1c;

  /* Typo : stack système = zéro webfont à charger, rendu natif parfait */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius:   10px;
  --shadow:   0 1px 3px rgba(0, 0, 0, .07), 0 4px 14px rgba(0, 0, 0, .05);
  --maxw:     1080px;
}

/* ── Reset minimal ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; /* ancres sous le header sticky */ }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 720px; }

/* ── Boutons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
}
.nav { display: none; gap: 1.5rem; }
.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--primary); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  text-align: center;
  padding: 4rem 0 3.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  max-width: 640px;
  margin: 1.25rem auto 2rem;
  font-size: 1.13rem;
  color: var(--text-soft);
}
.hero-reassurance {
  margin-top: .8rem;
  font-size: .9rem;
  color: var(--text-faint);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.5rem;
  margin-top: 2rem;
  list-style: none;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.hero-badges li::before { content: "✓ "; color: var(--success); font-weight: 800; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -.01em;
  text-align: center;
  line-height: 1.25;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  max-width: 620px;
  margin: .75rem auto 2.5rem;
}
.section-note {
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
  color: var(--text-soft);
}
.section-cta { text-align: center; margin-top: 1.5rem; }

/* ── Grilles ──────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* ── Cards (problème, tarifs) ─────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.card p { font-size: .95rem; color: var(--text-soft); }

/* ── Liste à coches (offre) ───────────────────────────────────────────────── */
.check-list { list-style: none; display: grid; gap: .9rem; }
.check-list li {
  padding-left: 1.9rem;
  position: relative;
  color: var(--text-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-list strong { color: var(--text); }

/* ── Process ──────────────────────────────────────────────────────────────── */
.step { text-align: left; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: .8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; color: var(--text-soft); }

/* ── Réalisations & témoignages ───────────────────────────────────────────── */
.realisation {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.realisation-img {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(45deg, #eef2f7, #eef2f7 12px, #f6f8fb 12px, #f6f8fb 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-size: .85rem;
  font-family: monospace;
}
.realisation figcaption { padding: 1.1rem 1.3rem 1.3rem; }
.realisation h3 { font-size: 1rem; margin-bottom: .3rem; }
.realisation p { font-size: .9rem; color: var(--text-soft); }

.temoignages { margin-top: 2rem; }
.temoignage {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}
.temoignage p { font-size: .97rem; font-style: italic; color: var(--text-soft); }
.temoignage cite {
  display: block;
  margin-top: .8rem;
  font-style: normal;
  font-weight: 700;
  font-size: .9rem;
}

/* ── Tarifs (section désactivée par défaut) ───────────────────────────────── */
.pricing { text-align: center; }
.pricing .price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  margin: .5rem 0 .8rem;
}
.pricing.featured { border-color: var(--primary); border-width: 2px; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  background: var(--bg);
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 1.25rem 1.1rem; color: var(--text-soft); font-size: .96rem; }

/* ── Formulaire de contact ────────────────────────────────────────────────── */
.section-contact { background: var(--bg-alt); }
#contact-form { margin-top: .5rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .35rem;
}
.form-field .optional { font-weight: 400; color: var(--text-faint); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.form-field input.invalid,
.form-field textarea.invalid { border-color: var(--error); }

/* Honeypot : hors écran, invisible pour les humains */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

#form-status { margin-top: .9rem; font-weight: 600; text-align: center; min-height: 1.5em; }
#form-status.ok { color: var(--success); }
#form-status.err { color: var(--error); }

.rdv-alt {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.rdv-alt p { color: var(--text-soft); margin-bottom: .9rem; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: .88rem;
  color: var(--text-faint);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  text-align: center;
}
.footer-logo { font-weight: 800; color: var(--text); }
.footer a { color: var(--text-soft); text-decoration: none; }
.footer a:hover { color: var(--primary); }

/* ── Desktop ──────────────────────────────────────────────────────────────── */
@media (min-width: 700px) {
  .nav { display: flex; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 5rem 0; }
}

/* ── Accessibilité : réduction de mouvement ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
