/* The home page since 14 November 2026 (track F of the board of that day; ADR-054 §5, v1.2): « Applications métier »
   first, a photograph across the top, then the promises, the offered set-up, the example, the other services and the
   newest Conseils. Tokens from site.css, both themes; no animation. */

/* The top: one photograph across the page, darkened on the text side so the title reads on any screen. */
.home-top { position: relative; overflow: hidden; background: #0b1220; }
.home-top-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 35%; }
.home-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 48, .93) 0%, rgba(8, 20, 48, .68) 44%, rgba(8, 20, 48, 0) 78%); }
.home-top-grid { position: relative; z-index: 1; padding: 112px 0 104px; }
.home-top-text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 40rem; }
.home-top h1 { margin: 0; max-width: 13em; color: #ffffff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.02; }
.home-top .lead { margin: 0; max-width: 34rem; color: #dfe6f7; }
.home-top .ctas { margin: 4px 0 0; }
.offer-pill { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--banner-bg); color: var(--banner-text); font-size: .94rem; font-weight: 700; }
.hero-btn-main { border-color: #ffffff; background: #ffffff; color: #0b2f7d; font-weight: 700; }
.hero-btn-main:hover { background: #eef2fb; color: #082462; }
.hero-btn-ghost { border-color: rgba(255, 255, 255, .55); background: transparent; color: #ffffff; }
.hero-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }
.home-top .btn:focus-visible { outline-color: #ffffff; }

/* The guarantor's first name and base town (the guarantor, 2026-11-19, pistes A and C): a signature under the two calls,
   over the photograph's dark side like the rest of the top, then a light band under the photograph. */
.home-me { display: flex; align-items: center; gap: 14px; max-width: 34rem; margin: 4px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); color: #dfe6f7; font-size: 1rem; line-height: 1.45; }
.home-me strong { color: #ffffff; }
.home-me-mono { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 1.15rem; line-height: 1; }
.home-me .home-me-mono { background: #ffffff; color: #0b2f7d; }
.home-me-band { border-bottom: 1px solid var(--line); background: var(--pastel); }
.home-me-band-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding-top: 28px; padding-bottom: 28px; }
.home-me-band .home-me-mono { width: 56px; height: 56px; font-size: 1.4rem; background: var(--primary); color: var(--on-primary); }
.home-me-band-text { flex: 1 1 24rem; min-width: 0; }
.home-me-band h2 { margin: 0; font-size: 1.35rem; }
.home-me-band p { margin: 6px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.home-me-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.home-me-points li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: .92rem; font-weight: 600; }

/* The sections: a thin rule between them, a heading, a short introduction. */
.home-section { padding: 76px 0; border-top: 1px solid var(--line); }
.home-section h2 { margin: 0; }
.home-section .intro { margin: 12px 0 0; }
.home-first { border-top: 0; }
.centered { text-align: center; }
.centered .intro { margin-left: auto; margin-right: auto; }

/* Three promises, then the offered set-up beside the ways to talk. */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.promises h3 { margin: 0; font-size: 1.5rem; }
.promises p { margin: 10px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.promises-more { margin: 26px 0 0; font-weight: 600; }
.promises-more a { color: var(--accent-text); }
.offer-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 56px; }
.offer-free, .offer-talk { padding: 40px; border-radius: 20px; }
.offer-free { background: var(--banner-bg); color: var(--banner-text); }
.offer-free-kick { margin: 0; font-size: .86rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.offer-free h2 { margin: 10px 0 0; color: #2b1b00; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.offer-free p { margin: 12px 0 0; font-size: 1.1rem; }
.offer-free .offer-free-fine { margin-top: 16px; color: var(--banner-text); font-size: .86rem; }
.offer-free p, .offer-free a { color: var(--banner-text); }
.offer-talk { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; background: var(--pastel); }
.offer-talk h2 { font-size: 1.6rem; }
.offer-talk p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* The example: a photograph and Jemoria Web's demonstration. */
.example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; align-items: center; }
.example-photo { display: block; width: 100%; height: 360px; border-radius: 20px; object-fit: cover; }
.example p { margin: 14px 0 22px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

/* The other services: one card, one link, one drawn picture each, centred. */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.service { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 22px; border-radius: 20px; background: var(--card); box-shadow: none; text-align: center; }
.service h3 { margin: 4px 0 0; font-size: 1.16rem; }
.service p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.45; }
.service-pic { display: inline-flex; width: 76px; height: 76px; align-items: center; justify-content: center; border-radius: 22px; }
.color-ico { width: 48px; height: 48px; }
.service-pic-globe { background: #e0f2fe; }
.service-pic-pin { background: #ffe4e6; }
.service-pic-mail { background: #e0e7ff; }
.service-pic-spark { background: #fae8ff; }

/* The newest Conseils: plain rows. */
.guides { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guides li { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-tag { flex: none; width: 130px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.guides a { color: var(--text); font-size: 1.1rem; }
.guides-more { margin: 20px 0 0; font-weight: 600; }
.guides-more a { color: var(--accent-text); }

/* The last call: the navy panel of site.css. */
.home-last { padding: 24px 0 0; border-top: 0; }
.final { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 48px; }
.final h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.final p { margin: 8px 0 0; }

@media (max-width: 1180px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .home-top-grid { padding: 64px 0 56px; }
  .home-top::after { background: linear-gradient(180deg, rgba(8, 20, 48, .82) 0%, rgba(8, 20, 48, .7) 55%, rgba(8, 20, 48, .76) 100%); }
  .home-top-img { object-position: 68% 30%; }
  .promises, .offer-row, .example { grid-template-columns: minmax(0, 1fr); }
  .promises { gap: 24px; }
  .example-photo { height: 260px; }
}

@media (max-width: 640px) {
  .home-section { padding: 56px 0; }
  .offer-free, .offer-talk { padding: 28px 22px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .guides li { flex-direction: column; gap: 4px; }
  .guide-tag { width: auto; }
  .final { padding: 32px 24px; }
}
