/* Accueil : solutions, deux façons de travailler, humain, FAQ, fenêtre d'accès plateforme */

/* Bandeau clients : nom écrit quand on n'a pas le logo */
.client-logo-box.cl-name { width: auto; padding: 0 6px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--text); white-space: nowrap; opacity: 0.75; }

/* Film de l'accueil */
.film-section { padding-bottom: 0; }
.film-section .section-head { margin-bottom: 28px; }
.pf-visual .film-box { max-width: none; }
.film-box { position: relative; max-width: 1040px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #F4F6FB; border: 1px solid var(--border); box-shadow: 0 30px 70px -36px rgba(23, 25, 35, 0.35); }
.film-box video { display: block; width: 100%; height: auto; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 5%; width: 100%; border: 0; background: transparent; cursor: pointer; }
.film-play[hidden] { display: none; }
.film-play:focus-visible .film-play-pill { outline: 3px solid #fff; outline-offset: 3px; }
.film-play-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 24px 12px 14px; border-radius: 40px; background: #fff; color: var(--brand); font-size: 1.05rem; font-weight: 700; box-shadow: 0 14px 34px rgba(10, 20, 120, 0.4); transition: transform 0.2s; }
.film-play:hover .film-play-pill { transform: scale(1.04); }
.film-play-ic { display: grid; place-items: center; width: 44px; height: 44px; padding-left: 3px; border-radius: 50%; background: var(--brand); color: #fff; }
@media (max-width: 640px) { .film-box { border-radius: 12px; } .film-play { padding-bottom: 3.5%; } .film-play-pill { gap: 8px; padding: 5px 14px 5px 6px; font-size: 0.82rem; } .film-play-ic { width: 28px; height: 28px; } .film-play-ic svg { width: 14px; height: 14px; } }
/* Film dans une colonne (haut de page) : le bouton suit la largeur du film, pas celle de l'écran */
.pf-visual .film-box { container-type: inline-size; }
@container (max-width: 560px) { .film-play { padding-bottom: 3.5%; } .film-play-pill { gap: 8px; padding: 5px 14px 5px 6px; font-size: 0.82rem; } .film-play-ic { width: 28px; height: 28px; } .film-play-ic svg { width: 14px; height: 14px; } }

.film-hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 4px 0; border: 0; background: none; color: var(--brand); font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.film-hero-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Nos solutions */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1140px; margin: 0 auto; }
.sol-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sol-card:hover { border-color: rgba(48, 75, 254, 0.45); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.sol-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: linear-gradient(135deg, rgba(48, 75, 254, 0.12), rgba(58, 207, 145, 0.14)); color: var(--brand); }
.sol-card h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.12rem; }
.sol-card p { margin: 0 0 16px; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }
.sol-more { margin-top: auto; font-size: 0.88rem; font-weight: 600; color: var(--brand); }
.sol-foot { margin: 26px 0 0; text-align: center; font-size: 0.92rem; color: var(--text-muted); }
.sol-foot a { color: var(--brand); font-weight: 600; }

/* Deux façons de travailler */
.way-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1080px; margin: 0 auto; align-items: stretch; }
.way-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); }
.way-saas { position: relative; border: 1.5px solid transparent; background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(135deg, #304BFE, #3ACF91) border-box; box-shadow: 0 16px 40px rgba(48, 75, 254, 0.12); }
.way-k { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); }
.way-badge { padding: 3px 10px; border-radius: 999px; background: rgba(58, 207, 145, 0.16); color: #128A5E; font-size: 0.72rem; letter-spacing: 0; text-transform: none; }
.way-card h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.5rem; }
.way-lead { margin: 0 0 18px; font-size: 0.98rem; line-height: 1.6; color: var(--text-muted); }
.way-shot { margin: 0 0 18px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.way-shot img { display: block; width: 100%; height: auto; }
.way-list { display: flex; flex-direction: column; gap: 11px; margin: 0 0 24px; padding: 0; list-style: none; }
.way-list li { display: flex; gap: 10px; font-size: 0.94rem; line-height: 1.5; }
.way-list svg { flex-shrink: 0; margin-top: 2px; color: #3ACF91; }
.way-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; }
.way-link { padding: 0; border: 0; background: none; font: 600 0.92rem var(--font); color: var(--brand); text-decoration: none; cursor: pointer; }
.way-link::after { content: " →"; transition: margin .15s; }
.way-link:hover { color: var(--brand-hover); }
.way-link:hover::after { margin-left: 3px; }

/* Un humain derrière */
.hum-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.hum-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 18px 44px rgba(17, 22, 58, 0.14); }
.hum-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hum-grid h2 { text-align: left; margin: 8px 0 12px; }
.hum-lead { margin: 0 0 22px; font-size: 1rem; line-height: 1.7; }
.hum-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 0 0 28px; padding: 0; list-style: none; }
.hum-list b { display: block; margin-bottom: 4px; font-size: 0.98rem; }
.hum-list span { font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); }

/* FAQ */
.hf-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--border); }
.hf-item { border-bottom: 1px solid var(--border); }
.hf-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; }
.hf-item summary::-webkit-details-marker { display: none; }
.hf-item summary::after { content: "+"; flex-shrink: 0; font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.hf-item[open] summary::after { transform: rotate(45deg); }
.hf-item p { margin: 0 0 20px; font-size: 0.95rem; line-height: 1.7; color: var(--text-muted); }

@media (max-width: 900px) {
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .way-grid, .hum-grid { grid-template-columns: 1fr; }
  .hum-grid { gap: 28px; }
  .hum-photo { max-width: 320px; aspect-ratio: 1; }
}
@media (max-width: 600px) {
  .sol-grid, .hum-list { grid-template-columns: 1fr; }
  .way-card { padding: 22px; }
}
.hum-grid .kicker { margin: 0; color: var(--brand); font-weight: 500; font-style: italic; font-size: 0.95rem; }
.way-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 24px; padding: 0; list-style: none; }
.way-proof li { padding: 16px 12px; border-radius: 12px; background: var(--brand-soft); text-align: center; }
.way-proof b { display: block; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.way-proof span { display: block; margin-top: 6px; font-size: 0.78rem; line-height: 1.35; color: var(--text-muted); }
.way-who { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; }
.way-who img { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #304BFE; }
.way-who p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }
.way-who b { display: block; color: var(--text); }
.way-proof b { white-space: nowrap; }
@media (max-width: 600px) { .way-proof { gap: 8px; } .way-proof li { padding: 12px 6px; } .way-proof b { font-size: 1.15rem; } }

/* L'équipe */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1140px; margin: 0 auto; }
.team-card { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); }
.team-card h3 { margin: 14px 0 6px; font-family: var(--font-heading); font-size: 1.05rem; }
.team-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.team-card > img { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #304BFE; }
.team-lead { border: 1.5px solid transparent; background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, linear-gradient(135deg, #304BFE, #3ACF91) border-box; }
.team-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, rgba(48, 75, 254, 0.12), rgba(58, 207, 145, 0.14)); color: var(--brand); }
.team-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 30px auto 0; padding: 20px 0; list-style: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.team-proof li { padding: 0 20px; text-align: center; border-left: 1px solid var(--border); }
.team-proof li:first-child { border-left: 0; }
.team-proof b { display: block; font-family: var(--font-heading); font-size: 1.8rem; line-height: 1.1; background: linear-gradient(90deg, #304BFE, #3ACF91); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.team-proof span { display: block; margin-top: 6px; font-size: 0.84rem; color: var(--text-muted); }
.team-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 28px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid, .team-proof { grid-template-columns: 1fr; } .team-proof { gap: 16px; } .team-proof li { border-left: 0; } }
.goog-card-res b { color: var(--brand); font-weight: 700; }
.goog-card-note.goog-card-res span.spark { width: auto; height: auto; margin: 0; font-weight: 700; }
/* Logos clients fournis sur fond plein : fond fondu dans le bandeau */
.client-logo-box img.lg-dark { filter: invert(1) grayscale(1) contrast(1.7); mix-blend-mode: multiply; }
.client-logo-box img.lg-mul { mix-blend-mode: multiply; }
[data-theme="dark"] .client-logo-box img.lg-dark { filter: grayscale(1); mix-blend-mode: screen; }
[data-theme="dark"] .client-logo-box img.lg-mul { filter: invert(1); mix-blend-mode: screen; }
@media (min-width: 1201px) { .way-cta { flex-wrap: nowrap; } .way-cta .way-link { white-space: nowrap; } }

/* Accueil : « Comment ça marche » en 3 étapes */
.hw-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.hw-steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, #304BFE, #3ACF91); opacity: 0.35; }
.hw-step { position: relative; display: flex; flex-direction: column; padding: 26px 26px 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); box-shadow: 0 10px 30px rgba(17, 22, 58, 0.05); }
.hw-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hw-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #304BFE, #3ACF91); color: #fff; font-family: var(--font-heading); font-weight: 700; }
.hw-t { padding: 4px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 0.78rem; font-weight: 600; }
.hw-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(48, 75, 254, 0.12), rgba(58, 207, 145, 0.14)); color: var(--brand); }
.hw-step h3 { margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.15rem; }
.hw-step p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.hw-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
.hw-cta span { font-size: 0.86rem; color: var(--text-muted); }
@media (max-width: 900px) { .hw-steps { grid-template-columns: 1fr; } .hw-steps::before { display: none; } }

/* Cartes d'articles : la ligne d'infos en gris, le lien en bleu */
.pfi-card .pfi-meta { margin: auto 8px 4px; font-size: 0.82rem; color: var(--text-muted); }

/* Accueil : secteurs */
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; }
.sec-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 20px 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.sec-card:hover { border-color: rgba(48, 75, 254, 0.45); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.sec-card .sol-ic { width: 44px; height: 44px; margin: 0; }
.sec-card h3 { margin: 0 0 2px; font-family: var(--font-heading); font-size: 1.08rem; }
.sec-who { margin: 0 0 6px; font-size: 0.82rem; font-weight: 600; color: var(--brand); }
.sec-card p:last-child { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); }
.sec-arrow { align-self: center; color: var(--brand); font-weight: 700; }
.sec-all { grid-template-columns: 1fr auto; border-style: dashed; background: transparent; }
@media (max-width: 760px) { .sec-grid { grid-template-columns: 1fr; } }

/* Accueil : bandeau de chiffres clés sous les résultats */
.kpi-band { padding-top: 8px; }
.kpi-cap { margin: 0 auto 16px; max-width: 720px; text-align: center; font-size: 0.92rem; color: var(--text-muted); }
.kpi-band .rc-tot { margin-bottom: 0; }
.hw-4 { grid-template-columns: repeat(4, 1fr); max-width: 1180px; }
.hw-4::before { left: 9%; right: 9%; }
.hw-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 1100px) { .hw-4 { grid-template-columns: 1fr 1fr; } .hw-4::before { display: none; } }
@media (max-width: 640px) { .hw-4 { grid-template-columns: 1fr; } }
/* Accueil sur mobile : le champ d'audit visible dès l'arrivée.
   Titre, une phrase, le champ ; les promesses et les preuves passent après. */
@media (max-width: 640px) {
  .hero { padding-top: 22px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy h1 { order: 1; margin-bottom: 10px; font-size: clamp(1.75rem, 8vw, 2.1rem); line-height: 1.12; }
  .hero-copy .subtitle { order: 2; margin: 0 0 4px; font-size: 1rem; line-height: 1.5; }
  .hero-copy .sub-more { display: none; }
  .hero-copy .hq { order: 3; margin: 18px 0 4px; }
  .hero-copy .hero-promises { order: 6; margin-top: 22px; }
  .hero-copy .hero-proof { order: 7; margin-top: 24px !important; }
}
/* Accueil : la phrase sous le titre à la même échelle que les trois promesses */
.hero-copy .subtitle { font-size: 1.04rem; line-height: 1.65; max-width: 560px; margin-top: 18px; }
.hero-copy .hero-promises li { font-size: 0.95rem; }
/* Accueil sur ordinateur : tout le haut de page tient dans un écran de portable 13 pouces
   (titre, phrase, promesses, champ d'audit, visuel et logos Google / IA). */
@media (min-width: 981px) {
  .hero:has(.hero-copy) { padding-top: 40px; padding-bottom: 56px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 3.4vw, 3rem); line-height: 1.1; }
  .hero-copy .subtitle { margin-top: 14px; }
  .hero-copy .hero-promises { margin-top: 12px; }
  .hero-copy .hq { margin-top: 20px; }
  .hero:has(.hero-copy) .hero-grid { align-items: start; }
  .hero:has(.hero-copy) .hero-grid > div:last-child { padding-top: 8px; }
}
@media (min-width: 981px) and (max-height: 920px) {
  .goog-rotator { max-width: 390px; }
  .goog-dots { margin-top: 14px; }
  .goog-platforms { margin-top: 16px; }
}
@media (min-width: 981px) { .hero-copy .subtitle { line-height: 1.58; } .hero-copy .hero-promises li { line-height: 1.4; } .hero-copy .hq { margin-top: 16px; } }
/* Cas clients de l'accueil sur mobile : un carrousel de cartes courtes qu'on fait glisser.
   Le détail complet (point de départ, services, prochaine étape) reste sur /cas-clients. */
.cc-swipe { display: none; }
@media (max-width: 640px) {
  #resultats .cc-swipe { display: block; margin: 0 0 10px; font-size: 0.82rem; color: var(--text-muted); text-align: right; }
  #resultats .cc-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #resultats .cc-grid::-webkit-scrollbar { display: none; }
  #resultats .cc-card { flex: 0 0 82%; scroll-snap-align: start; }
  #resultats .cc-card.big { grid-column: auto; }
  #resultats .cc-shot { padding: 14px 14px 0; overflow: hidden; }
  #resultats .cc-shot img { width: 100%; height: 136px; object-fit: cover; object-position: top; }
  #resultats .cc-body { padding: 14px 16px 16px; }
  #resultats .cc-start, #resultats .cc-serv, #resultats .cc-q, #resultats .cc-todo, #resultats .cc-pts { display: none; }
  #resultats .cc-card:not(.big) .cc-gcol { display: none; }
  #resultats .cc-bars li:not(:first-child) { display: none; }
  #resultats .cc-card.big .cc-bars { display: none; }
  #resultats .cc-cols, #resultats .cc-cols.three { display: block; }
  #resultats .cc-card h3, #resultats .cc-card.big h3 { font-size: 1.15rem; }
  #resultats .cc-card.big .cc-opp b { font-size: 2rem; }
}
@media (max-width: 640px) {
  #resultats .cc-card.big .cc-nums { display: none; }
  #resultats .cc-x16 { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px; }
  #resultats .cc-x16 b { font-size: 2.2rem; line-height: 1; }
  #resultats .cc-x16 span { font-size: 0.82rem; line-height: 1.4; }
}
@media (max-width: 640px) { #resultats .cc-grid { align-items: stretch; } }

/* Chiffres clients : petit titre qui dit d'où ils viennent */
.way-proof-k { margin: 4px 0 8px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.way-proof-k + .way-proof { margin-top: 0; }
/* Mobile : les deux cartes restent courtes (le rôle d'Edwin est déjà dans la liste) */
@media (max-width: 600px) {
  .way-card { padding: 18px; }
  .way-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
  .way-lead { margin-bottom: 12px; font-size: 0.9rem; line-height: 1.5; }
  .way-list { gap: 7px; margin-bottom: 14px; }
  .way-list li { font-size: 0.87rem; line-height: 1.4; }
  .way-who { display: none; }
  .way-shot { margin-bottom: 12px; max-height: 120px; }
  .way-shot img { height: 120px; object-fit: cover; object-position: top left; }
  .way-proof { margin-bottom: 16px; }
  .way-proof li { padding: 10px 4px; }
  .way-proof b { font-size: 1.05rem; }
  .way-proof span { margin-top: 3px; font-size: 0.72rem; }
  .way-cta { gap: 8px; }
}


/* Accueil mobile : la carte Gat's Auto Pro garde sa photo, en haut, comme les autres cas */
@media (max-width: 640px) {
  #resultats .cc-card.big .cc-gcol { display: block; margin: -14px -16px 14px; padding: 14px 14px 0; background: linear-gradient(150deg, #EEF1FF, #E8F8F1); border-radius: 12px 12px 0 0; }
  #resultats .cc-card.big .cc-gbp { border: 0; box-shadow: none; background: none; border-radius: 0; max-width: none; }
  #resultats .cc-card.big .cc-gbp figure { height: 136px; border-radius: 8px 8px 0 0; }
  #resultats .cc-card.big .cc-gbp figure img { object-fit: cover; object-position: center; }
  #resultats .cc-card.big .cc-gbp figure img.bg, #resultats .cc-card.big .cc-gbp-b { display: none; }
}
