/* home.css : page d'accueil */

/* Hero : titre, slogan, champ « Décrivez votre activité », réassurance */
.hero { position: relative; overflow: hidden; padding-block: var(--s-8); background: var(--c-bg-ia); text-align: center; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(37, 87, 214, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 87, 214, 0.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 35%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 35%, transparent 80%); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.hero-blob-ia { width: 360px; height: 300px; left: 50%; top: -180px; transform: translateX(-70%); background: rgba(37, 87, 214, 0.18); }
.hero-blob-ag { width: 220px; height: 200px; right: -60px; top: 220px; background: rgba(255, 161, 0, 0.18); }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); max-width: 960px; margin: 0 auto; }
.hl-ia { color: var(--c-ia); }
.hl-agence { background: linear-gradient(transparent 74%, var(--c-agence) 74%, var(--c-agence) 90%, transparent 90%); padding-inline: var(--s-05); margin-inline: calc(var(--s-05) * -1); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.slogan { font-size: var(--fs-18); line-height: 1.4; color: var(--c-ink-2); font-weight: 500; }
.slogan strong { font-weight: 700; }

/* Champ « Décrivez votre activité » */
.prompt { width: 100%; max-width: 760px; margin-top: var(--s-2); padding: var(--s-1); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: stretch; gap: var(--s-1); text-align: left; background: linear-gradient(var(--c-bg), var(--c-bg)) padding-box, linear-gradient(120deg, var(--c-ia), var(--c-agence)) border-box; border: 2px solid transparent; box-shadow: 0 24px 64px rgba(37, 87, 214, 0.18); }
.prompt-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--s-1h); padding: var(--s-05) var(--s-1); }
.prompt-field .ic { color: var(--c-ia); }
.prompt input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--c-ink); font-family: var(--f-text); font-size: var(--fs-16); }
.prompt input:focus { outline: none; }
.prompt:focus-within { box-shadow: 0 0 0 4px var(--c-ia-soft), 0 24px 64px rgba(37, 87, 214, 0.18); }
.prompt input::placeholder { color: var(--c-ink-3); }
.prompt .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-4); font-size: var(--fs-14); color: var(--c-ink-2); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: var(--s-1); }

/* Contrôles : section sombre, tableau sur le fond, colonne de l'agence teintée */
.ctl-head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.ctl-head .sec-head { margin-bottom: 0; }
.ctl-box { background: var(--c-panel-dark); border: 1px solid var(--c-line-dark); border-radius: var(--r-lg); padding: 0 var(--s-3); }
.ctl { width: 100%; border-collapse: collapse; }
.ctl th, .ctl td { text-align: left; vertical-align: middle; }
.ctl thead { display: none; }
.ctl tr { display: grid; gap: var(--s-1); padding: var(--s-2) 0; border-top: 1px solid var(--c-line-dark); }
.ctl tbody tr:first-child { border-top: 0; }
.ctl tbody th { font-family: var(--f-title); font-weight: 500; font-size: var(--fs-16); color: var(--c-on-dark); }
.ctl td { display: flex; align-items: center; gap: var(--s-1); font-size: var(--fs-14); }
.ctl td::before { content: attr(data-label); min-width: 96px; flex: none; color: var(--c-on-dark-2); font-size: var(--fs-12); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ctl td.us { color: var(--c-on-dark); font-weight: 500; }
.ctl td.solo { color: var(--c-on-dark-2); }
.ctl td.solo .ic { color: var(--c-on-dark-2); opacity: .6; flex: none; }
.ctl-ok { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--c-agence); color: var(--c-ink); }
.ctl-ok .ic { width: 12px; height: 12px; }
.ctl-tag { display: inline-flex; align-items: center; gap: var(--s-1); color: var(--c-on-dark); }
.ctl-tag .ic { color: var(--c-agence); }
.ctl-cell { display: flex; align-items: center; gap: var(--s-1); }
.ctl .nw { white-space: nowrap; }
.ctl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); color: var(--c-on-dark-2); }

/* Métiers */

/* Tablette */
@media (min-width: 641px) {
  .hero { padding-block: var(--s-15); }
  .hero-blob-ia { width: 560px; height: 420px; }
  .hero-blob-ag { width: 360px; height: 300px; }
  .slogan { font-size: var(--fs-20); }
  .prompt { flex-direction: row; align-items: center; }
  .prompt-field { padding-left: var(--s-2); }
  .prompt input { font-size: var(--fs-18); }
  .prompt .btn { width: auto; }
  .ctl { display: table; }
  .ctl thead { display: table-header-group; }
  .ctl tr { display: table-row; padding: 0; }
  .ctl-box { padding: 0 var(--s-4); }
  .ctl thead tr { border-top: 0; }
  .ctl tbody tr:first-child { border-top: 1px solid var(--c-line-dark); }
  .ctl th, .ctl td { display: table-cell; padding: var(--s-2) var(--s-3); }
  .ctl tbody th { padding-left: 0; width: 32%; }
  .ctl td.us { width: 26%; }
  .ctl td.solo { width: 21%; }
  .ctl td::before { content: none; }
  .ctl td { font-size: var(--fs-16); }
  .ctl td.solo { font-size: var(--fs-14); }
  .ctl thead th { padding-top: var(--s-3); padding-bottom: var(--s-2); font-family: var(--f-title); font-size: var(--fs-16); font-weight: 600; color: var(--c-on-dark-2); }
  .ctl thead th.us { box-shadow: inset 0 3px 0 var(--c-agence); }
  .ctl .us { background: var(--c-agence-dark); }
}

/* Desktop */
@media (min-width: 1101px) {
  .ctl-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: var(--s-8); margin-bottom: var(--s-6); }
}

/* Un site unique */
.unique-demo { margin-bottom: var(--s-5); }
.unique-cap { font-size: var(--fs-14); font-weight: 700; color: var(--c-ink-3); margin-bottom: var(--s-2); }
.unique-sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-1h); }
.pack-ic-agence { background: var(--c-agence-soft); color: var(--c-agence-text); }

@media (min-width: 641px) {
  .unique-sites { gap: var(--s-3); }
}
