/* Pages secteurs du site français (/secteurs/…), chargé par chacune dans son bloc <!--head-->, avec
   un numéro de version (/css/secteurs.css?v=…) : les navigateurs gardent ce fichier sur
   www.teamstarter.com, donc toute modification ici change ce numéro dans les sept pages (2026-11-18).
   Styles des maquettes « IA <secteur> » envoyées dans #site-web le 2026-11-18, limités au bloc
   .tsec de chaque page : ils ne changent rien au menu, au pied de page ni aux autres pages.
   Gilroy et Urbanist sont déjà chargés par le site (public/css/site.css, src/site/partials/head.html). */

.tsec {
  --ink: #1a1a1a; --text: #4a4a4a; --muted: #6b6b6b; --line: #e7e7ef;
  --indigo: #4e56c9; --peri: #7d84fe; --lav: #e8e9ff; --lav-2: #c9ccfe; --cream: #fafaf7;
  --grad: linear-gradient(100deg, #6169e0 0%, #7d84fe 52%, #a5aafe 100%);
  --display: "Gilroy", Helvetica, Arial, sans-serif;
  --body: "Urbanist", "Gilroy", Helvetica, Arial, sans-serif;
  --shadow: 0 8px 24px 0 rgba(26, 26, 26, .08);
  background: #fff;
  color: var(--muted);
  font: 500 16px/1.5 var(--body);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
.tsec *, .tsec *::before, .tsec *::after { box-sizing: border-box; }
.tsec h1, .tsec h2, .tsec h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.tsec p { margin: 0; }
.tsec a { color: inherit; font-weight: inherit; }
.tsec img { max-width: 100%; }
.tsec .hl { color: var(--indigo); }
.tsec :focus-visible { outline: 3px solid var(--peri); outline-offset: 2px; border-radius: 6px; }

/* Mise en page */
.tsec .wrap { max-width: 1210px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.tsec .band { padding-block: 104px; }
.tsec .band.lav { background: var(--lav); }
.tsec .band.cream { background: var(--cream); }
.tsec .h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; letter-spacing: -.035em; }
.tsec .lead { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 60ch; }
.tsec .lead b { color: var(--ink); }
.tsec .sec-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 720px; }
.tsec .sec-head.wide { max-width: none; }
.tsec .sec-head.wide .h2 { text-wrap: wrap; }
.tsec .eyebrow { font: 700 12px/1.4 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Boutons */
.tsec .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 12px; font: 700 16px/1.2 var(--display); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: filter .15s ease-out, transform .15s ease-out; }
.tsec .btn:hover { transform: translateY(-1px); }
.tsec .btn-primary { background: var(--grad) border-box; border: 0; color: #fff; }
.tsec .btn-primary:hover { filter: brightness(1.05); }
.tsec .btn-white { background: #fff; color: var(--indigo); }
.tsec .arrow { width: 16px; height: 16px; flex: none; }

/* En-tête : titre, accroche et carrousel d'agents */
.tsec .hero { padding-block: 72px 64px; }
.tsec .crumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.tsec .crumb a { text-decoration: none; }
.tsec .crumb a:hover { color: var(--indigo); }
.tsec .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tsec .hero-one { max-width: 820px; }
.tsec .hero h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 24px; }
.tsec .hero .lead { margin-bottom: 32px; }
.tsec .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 960px) { .tsec .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.tsec .carousel { display: grid; gap: 14px; min-width: 0; max-width: 380px; width: 100%; justify-self: center; }
.tsec .carousel .eyebrow { color: var(--indigo); }
.tsec .car-slides { display: grid; }
.tsec .car-slide { grid-area: 1 / 1; display: grid; align-content: start; opacity: 0; visibility: hidden; transform: translateX(16px); transition: opacity .45s ease-out, transform .45s ease-out, visibility .45s; }
.tsec .car-slide.on { opacity: 1; visibility: visible; transform: none; }
.tsec .car-slide .agent { padding: 26px; gap: 14px; box-shadow: var(--shadow); }
.tsec .car-slide .agent .an { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.tsec .car-dots { display: flex; gap: 6px; }
.tsec .car-dot { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--lav-2); cursor: pointer; transition: width .3s ease-out, background .3s; }
.tsec .car-dot[aria-pressed="true"] { width: 24px; background: var(--indigo); }

/* Logos des clients */
.tsec .logos { padding-block: 8px 0; }
.tsec .logos-in { display: grid; justify-items: center; gap: 20px; border-block: 1px solid var(--line); padding-block: 28px; text-align: center; }
.tsec .logos-in .lt { font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tsec .logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 56px; }
.tsec .logos-row.wide { gap: 28px 96px; }
.tsec .logos-in img { height: 44px; width: auto; display: block; }
.tsec .logos-in .plus { font: 700 15px var(--display); color: var(--indigo); background: var(--lav); padding: 8px 14px; border-radius: 999px; }

/* Retour d'expérience */
.tsec .band.cases { padding-top: 56px; }
.tsec .cx { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.tsec .cx-head { background: var(--indigo); color: #fff; display: flex; align-items: center; gap: 24px; padding: 28px 32px; }
.tsec .cx-logo { background: #fff; border-radius: 14px; min-width: 170px; height: 84px; display: grid; place-items: center; padding: 12px 18px; }
.tsec .cx-logo img { max-height: 56px; width: auto; max-width: 100%; display: block; }
.tsec .cx-body { padding: 32px; display: grid; gap: 28px; }
.tsec .cx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tsec .cs { background: #f1f1fc; border-radius: 16px; padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.tsec .cs b { font: 800 clamp(30px, 3vw, 40px)/1 var(--display); color: var(--indigo); letter-spacing: -.03em; }
.tsec .cs span { color: var(--ink); font-size: 16px; }
.tsec .cx-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.tsec .cx h3 { font: 700 20px/1.2 var(--display); color: var(--indigo); letter-spacing: -.02em; margin: 0 0 10px; }
.tsec .cx-cols p { color: var(--ink); font-size: 17px; line-height: 1.6; }
.tsec .cx-cols p.cx-gap { margin-top: 12px; }
.tsec .cx-cols ul { margin: 0; padding-left: 20px; display: grid; gap: 12px; color: var(--ink); font-size: 17px; line-height: 1.55; }
.tsec .cx-cols li b { font-weight: 700; }
.tsec .cx-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: -16px; }
.tsec .cx-chips.five { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tsec .chipx { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: grid; gap: 4px; }
.tsec .chipx b { font: 700 16px/1.25 var(--display); color: var(--ink); }
.tsec .chipx span { font: 500 14px/1.4 var(--body); color: var(--text); }
@media (max-width: 900px) {
  .tsec .cx-stats, .tsec .cx-cols { grid-template-columns: 1fr; }
  .tsec .cx-chips { grid-template-columns: 1fr 1fr; }
  .tsec .cx-head { flex-wrap: wrap; padding: 24px; }
  .tsec .cx-body { padding: 24px; }
}
@media (max-width: 480px) { .tsec .cx-chips { grid-template-columns: 1fr; } }
/* Lien vers le cas client complet, quand il a sa page (Énergie → Enogrid, 2026-11-18), comme sur /secteurs/industrie-btp */
.tsec .cx-foot { display: flex; justify-content: flex-end; }
.tsec .btn-outline { border-color: var(--lav-2); color: var(--indigo); background: #fff; font-size: 15px; padding: 12px 18px; }
.tsec .btn-outline:hover { border-color: var(--peri); }

/* Exemples d'agents : chaque nom d'agent est un H3 écrit dans la page (src/site/SITE.md, « Agent examples ») */
.tsec .agents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tsec .agent { background: #fff; border-radius: 20px; padding: 26px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; box-shadow: 0 2px 14px rgba(26, 26, 26, .06); }
.tsec .agent .top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.tsec .agent .tag { display: inline-flex; align-items: center; gap: 6px; font: 700 13px var(--display); color: var(--indigo); background: var(--lav); padding: 7px 14px; border-radius: 999px; }
.tsec .agent .tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tsec .agent h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.tsec .agent p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1100px) { .tsec .agents { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tsec .agents { grid-template-columns: 1fr; } }

.tsec .ghosts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; height: 160px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.tsec .ghost { background: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 12px; align-content: start; box-shadow: 0 2px 14px rgba(26, 26, 26, .06); }
.tsec .ghost i { display: block; height: 12px; border-radius: 6px; background: #e9e9ec; }
.tsec .ghost i.t { width: 96px; height: 26px; border-radius: 999px; background: var(--lav); margin-bottom: 8px; }
.tsec .ghost i.l1 { width: 85%; }
.tsec .ghost i.l2 { width: 55%; }
.tsec .ghost i.s { height: 8px; background: #efeff2; }
.tsec .ghost i.s1 { margin-top: 14px; }
.tsec .ghost i.s2 { width: 70%; }
.tsec .more { display: flex; justify-content: center; margin-top: 40px; }
.tsec .more span { display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: 999px; padding: 14px 26px; font: 800 18px var(--display); color: var(--ink); box-shadow: 0 6px 20px rgba(26, 26, 26, .08); }
.tsec .more b { color: var(--peri); font-size: 18px; letter-spacing: .05em; }
@media (max-width: 1100px) { .tsec .ghosts { grid-template-columns: repeat(2, 1fr); } .tsec .ghost:nth-child(n+3) { display: none; } }
@media (max-width: 560px) { .tsec .ghosts { grid-template-columns: 1fr; } .tsec .ghost:nth-child(n+2) { display: none; } }

/* Pour aller plus loin : modèle de charte IA, téléchargé par le formulaire HubSpot du bloc (2026-11-18),
   comme le livre blanc de /secteurs/industrie-btp */
.tsec .lb { display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.tsec .lb-vis { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, #4e56c9 0%, #7d84fe 60%, #a5aafe 100%); }
.tsec .lb-vis::before, .tsec .lb-vis::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.tsec .lb-vis::before { width: 340px; height: 340px; right: -120px; top: -150px; }
.tsec .lb-vis::after { width: 260px; height: 260px; right: -40px; top: -170px; }
.tsec .lb-badge { position: absolute; top: 28px; left: 28px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .18); color: #fff; font: 700 13px var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; border-radius: 999px; }
.tsec .lb-doc { display: block; width: 300px; max-width: 62%; height: auto; margin: 72px auto 48px; border-radius: 4px; box-shadow: 14px 18px 40px rgba(30, 30, 90, .3); transform: rotate(-2deg); }
.tsec .lb-body { padding: 40px; display: grid; gap: 14px; align-content: center; }
.tsec .lb-body h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.tsec .lb-body > p { font-size: 18px; color: var(--text); }
.tsec .lb-form { margin-top: 4px; }
.tsec .checks { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 10px; color: var(--ink); font-weight: 600; }
.tsec .checks li { display: flex; gap: 10px; align-items: flex-start; }
.tsec .checks svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.tsec .checks b { font-weight: 700; color: var(--ink); }
.tsec .checks li span { font-weight: 500; }
@media (max-width: 900px) { .tsec .lb { grid-template-columns: 1fr; } }

/* Variante livre blanc du secteur (/secteurs/energie, /secteurs/banque-assurance, 2026-11-18) : le badge en haut, la couverture
   et deux pages en éventail, comme sur la maquette et sur /secteurs/industrie-btp */
.tsec .lb-vis--book { display: grid; place-items: center; justify-content: normal; align-content: space-between; padding: 32px 32px 0; min-height: 420px; }
.tsec .lb-vis--book .lb-badge { position: relative; top: auto; left: auto; z-index: 1; justify-self: start; }
.tsec .lb-badge svg { width: 18px; height: 18px; }
.tsec .lb-stack { position: relative; width: 100%; max-width: 460px; height: 360px; margin-top: 8px; }
.tsec .lb-stack img { position: absolute; bottom: -30px; left: 50%; width: 230px; height: auto; border-radius: 6px; box-shadow: 12px 16px 36px rgba(20, 20, 70, .35); }
.tsec .lb-stack .lb-cover { z-index: 3; max-width: none; transform: translateX(-50%) rotate(-2deg); }
.tsec .lb-stack .lb-left { z-index: 1; transform: translateX(-112%) rotate(-10deg) scale(.88); transform-origin: bottom center; }
.tsec .lb-stack .lb-right { z-index: 2; transform: translateX(12%) rotate(9deg) scale(.88); transform-origin: bottom center; }
@media (max-width: 900px) { .tsec .lb-vis--book { min-height: 0; } .tsec .lb-stack { height: 300px; } .tsec .lb-stack img { width: 180px; } }
@media (max-width: 480px) { .tsec .lb-stack { height: 250px; } .tsec .lb-stack img { width: 150px; } }
/* Le formulaire (livre blanc ou charte IA) occupe une rangée sous le visuel et le texte, sur toute la
   largeur du bloc, sur les huit pages secteurs (2026-11-18) : placé dans la colonne du texte, il
   étirait le fond violet et laissait les pages tassées en bas d'un grand vide ; le visuel garde ainsi
   les proportions de la maquette. Son titre reprend le bouton de la maquette. */
.tsec .lb-form-row { grid-column: 1 / -1; display: grid; justify-items: center; gap: 16px; padding: 36px 40px 40px; border-top: 1px solid var(--line); }
.tsec .lb-form-row .lb-form { width: 100%; max-width: 560px; margin-top: 0; }
.tsec .lb-form-title { font: 800 clamp(20px, 2vw, 24px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); text-align: center; }
@media (max-width: 900px) { .tsec .lb-form-row { padding: 28px 24px 32px; } }

/* Financement par l'OPCO */
.tsec .fin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.tsec .fin-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.tsec .fin { background: #fff; border-radius: 16px; padding: 26px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.tsec .fin .pill { justify-self: start; font: 700 11px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); background: var(--lav); padding: 4px 10px; border-radius: 999px; }
.tsec .fin h3 { font-size: 22px; letter-spacing: -.02em; }
.tsec .fin p { font-size: 16px; color: var(--text); }
.tsec .fin-logo { height: 72px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 8px; }
.tsec .fin-ico { width: 72px; height: 72px; border-radius: 16px; background: var(--lav); display: grid; place-items: center; margin-bottom: 8px; }
.tsec .fin-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--indigo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Dernier appel : l'audit gratuit */
.tsec .final { background: var(--indigo); border-radius: 24px; color: #fff; text-align: center; padding: 72px 24px; position: relative; overflow: hidden; }
.tsec .final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 120px rgba(255, 255, 255, .03); }
.tsec .final > * { position: relative; }
.tsec .final h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; margin-bottom: 16px; }
.tsec .final p { color: #e5e6ff; font-size: 18px; max-width: 46ch; margin: 0 auto 28px; }

@media (prefers-reduced-motion: reduce) { .tsec * { transition: none !important; } }
