/* =====================================================================
   HARRY INGÉNIERIE — harmonie.css (chargé après theme.css)
   Polices hébergées sur le site, signature du logo, pages des logiciels, photographies,
   catalogue, démonstrations et fenêtre de gestion des cookies.
   ===================================================================== */

/* Polices hébergées par le site (licence SIL Open Font License, fichiers dans assets/fonts/) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/rajdhani-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/rajdhani-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Rajdhani'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/rajdhani-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2'); }

:root {
    --or-doux: #f2b84b;
    --ombre-forte: 0 30px 60px -20px rgba(20,75,92,.35), 0 12px 24px -12px rgba(20,75,92,.18);
}

/* ---------------------------------------------------------------------
   Signature HARRY INGÉNIERIE (en-tête, pied de page, administration, messagerie)
   --------------------------------------------------------------------- */
.hi-signature { display: grid; gap: 6px; line-height: 1; }
.hi-signature .sg-nom { display: flex; align-items: baseline; gap: .38em; font-family: 'Rajdhani', var(--f-titre); font-size: 1.62rem; text-transform: uppercase; white-space: nowrap; }
.hi-signature .sg-harry { font-weight: 700; letter-spacing: .12em;
    background: linear-gradient(100deg, #144b5c 0%, #1d6878 45%, #2a8a99 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hi-signature .sg-ing { font-weight: 500; letter-spacing: .2em; color: #2f6b7a; position: relative; }
.hi-signature .sg-devise { display: flex; align-items: center; gap: .55rem; font: 600 .62rem/1 var(--f-texte); letter-spacing: .26em; text-transform: uppercase; color: #4f7f8b; }
.hi-signature .sg-devise::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--or-doux), #2a8a99); }
.hi-signature.clair .sg-harry { background: linear-gradient(100deg, #ffffff 0%, #e1f2f4 60%, #bfe4ea 100%); -webkit-background-clip: text; background-clip: text; }
.hi-signature.clair .sg-ing { color: #cde8ec; }
.hi-signature.clair .sg-devise { color: #a8d2d9; }
.hi-logo .logo-marque { filter: drop-shadow(0 6px 12px rgba(29,104,120,.22)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hi-logo:hover .logo-marque { transform: rotate(-8deg) scale(1.04); }
.hi-logo .hi-logo-texte { display: block; }
.pied .marque .hi-signature .sg-nom { font-size: 1.45rem; }
.adm-marque .hi-signature .sg-nom { font-size: 1.25rem; }
.adm-marque .hi-signature .sg-devise { letter-spacing: .2em; }
@media (max-width: 560px) { .hi-signature .sg-nom { font-size: 1.2rem; } .hi-signature .sg-devise { display: none; } }
@media (max-width: 380px) { .hi-signature .sg-ing { letter-spacing: .1em; } }

/* ---------------------------------------------------------------------
   Pastilles colorées et pages des logiciels (--pp : couleur du logiciel)
   --------------------------------------------------------------------- */
.pp-pastille { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; flex-shrink: 0;
    background: color-mix(in srgb, var(--pp, #1d6878) 12%, #fff); color: var(--pp, #1d6878); }
.pp-pastille .i { width: 22px; height: 22px; }

.pp-hero { position: relative; overflow: hidden; padding: 1.5rem 0 3rem;
    background: radial-gradient(900px 500px at 85% 10%, color-mix(in srgb, var(--pp) 14%, transparent), transparent 70%),
                linear-gradient(180deg, #f6f9fc 0%, #fff 100%); }
.pp-hero::before { content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px; border-radius: 50%;
    border: 70px solid color-mix(in srgb, var(--pp) 7%, transparent); pointer-events: none; }
.pp-hero-grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding-block: 1rem 2.5rem; position: relative; }
.pp-hero .fil { margin-bottom: 1.2rem; }
.pp-hero .fil a, .pp-hero .fil span { color: var(--encre-2); }
.pp-marque { display: inline-flex; align-items: center; gap: .7rem; font: 700 1.25rem/1 var(--f-titre); letter-spacing: .06em; color: var(--pp); margin-bottom: .9rem; }
.pp-marque .pp-pastille { width: 40px; height: 40px; background: var(--pp); color: #fff; box-shadow: 0 10px 22px -8px var(--pp); }
.pp-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.04; margin: .6rem 0 1rem; max-width: 18ch; }
.pp-chapeau { font-size: 1.12rem; color: var(--encre-2); max-width: 58ch; }
.pp-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.pp .btn-plein { background: linear-gradient(135deg, color-mix(in srgb, var(--pp) 80%, #fff), var(--pp) 55%, color-mix(in srgb, var(--pp) 75%, #000)); box-shadow: 0 10px 22px -8px var(--pp); }
.pp .btn-ligne { color: var(--pp); border-color: var(--pp); }
.pp .btn-ligne:hover { background: var(--pp); color: #fff; }
.pp-coches { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin-top: 1.4rem; font-size: .92rem; color: var(--encre-2); }
.pp-coches li { display: inline-flex; align-items: center; gap: .45rem; }
.pp-coches .i { color: var(--vert, #198754); }

.pp-hero-visuel { position: relative; padding: 0 0 2.5rem 2.5rem; }
.pp-photo { margin: 0; border-radius: 28px 28px 28px 120px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--ombre-forte); background: #dfe8f0; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-apercu { position: absolute; left: 0; bottom: 0; width: min(320px, 78%); background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 24px 50px -18px rgba(13,40,70,.45); border: 1px solid #e6edf3; font-size: .82rem;
    animation: pp-flotte 6s ease-in-out infinite; }
.pp-avatar { position: absolute; right: -12px; top: -14px; width: 96px; height: 96px; margin: 0; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 14px 30px -10px rgba(13,40,70,.4); }
.pp-avatar img { width: 100%; height: 100%; object-fit: cover; }
@keyframes pp-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .pp-apercu { animation: none; } }

.ap-tete { display: flex; justify-content: space-between; gap: .5rem; align-items: center; font-weight: 600; color: #062a3b; margin-bottom: .6rem; }
.ap-ok { font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 20px; background: color-mix(in srgb, var(--pp) 13%, #fff); color: var(--pp); white-space: nowrap; }
.pp-apercu table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pp-apercu td { padding: .32rem 0; border-bottom: 1px dashed #e3e9ef; color: #3d4b59; }
.pp-apercu td.c { font-family: 'IBM Plex Mono', monospace; color: var(--pp); width: 3.6rem; }
.pp-apercu td.n { text-align: right; font-weight: 600; color: #062a3b; white-space: nowrap; }
.pp-apercu tr.t td { font-weight: 700; color: #062a3b; border-bottom: 0; }
.ap-pied { display: flex; align-items: center; gap: .45rem; margin-top: .6rem; font-weight: 600; color: #146c43; }
.ap-point { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.ap-montant { font: 700 1.7rem/1 var(--f-titre); color: #062a3b; margin: .2rem 0 .7rem; }
.ap-montant small { font-size: .8rem; color: var(--encre-2); }
.ap-etapes { display: flex; flex-wrap: wrap; gap: .3rem; }
.ap-etapes li { font-size: .7rem; font-weight: 600; padding: .25rem .5rem; border-radius: 20px; background: #eef2f6; color: #6a7886; }
.ap-etapes li.f { background: color-mix(in srgb, var(--pp) 14%, #fff); color: var(--pp); }
.ap-etapes li.e { background: var(--pp); color: #fff; }

.pp-atouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; background: #fff; border: 1px solid #e6edf3; border-radius: 18px; padding: 1.2rem; box-shadow: 0 18px 40px -24px rgba(20,75,92,.35); position: relative; }
.pp-atouts li { display: flex; gap: .8rem; align-items: center; padding: .3rem .4rem; }
.pp-atouts li + li { border-left: 1px solid #eef2f6; padding-left: 1rem; }
.pp-atouts b { display: block; font: 700 1.08rem/1.15 var(--f-titre); color: #062a3b; }
.pp-atouts span:not(.pp-pastille) { font-size: .85rem; color: var(--encre-2); }

.pp-circuit { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; margin-top: 2.6rem; counter-reset: c; position: relative; }
.pp-circuit li { position: relative; padding: 1.4rem 1.2rem 1.3rem; border-radius: 16px; background: #fff; border: 1px solid #e6edf3; }
.pp-circuit li::after { content: ""; position: absolute; top: 2.15rem; right: -1.2rem; width: 1.2rem; height: 2px; background: linear-gradient(90deg, var(--pp), transparent); }
.pp-circuit li:last-child::after { display: none; }
.pp-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pp); color: #fff; font: 700 1.1rem/1 var(--f-titre); margin-bottom: .8rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--pp) 14%, #fff); }
.pp-circuit h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.pp-circuit p { font-size: .9rem; color: var(--encre-2); }

.pp-modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.4rem; }
.pp-modules article { background: #fff; border-radius: 16px; padding: 1.4rem 1.25rem; border: 1px solid #e6edf3; transition: transform .25s, box-shadow .25s; }
.pp-modules article:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(20,75,92,.4); }
.pp-modules h3 { font-size: 1.18rem; margin: .9rem 0 .35rem; }
.pp-modules p { font-size: .9rem; color: var(--encre-2); }

.pp-pour-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.pp-pour-photos { position: relative; padding: 0 3rem 3rem 0; }
.pp-pour-photos figure { margin: 0; overflow: hidden; }
.pp-pour-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-pour-photos .grande { border-radius: 24px; aspect-ratio: 4 / 3; box-shadow: var(--ombre-forte); }
.pp-pour-photos .petite { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 20px; border: 6px solid #fff; box-shadow: var(--ombre-forte); }
.pp-profils { display: grid; gap: .9rem; margin-top: 1.6rem; }
.pp-profils li { display: flex; gap: .85rem; padding: 1rem 1.1rem; border-radius: 14px; background: #f6f9fc; border-left: 4px solid var(--pp); }
.pp-profils .i { color: var(--pp); width: 20px; height: 20px; margin-top: .15rem; flex-shrink: 0; }
.pp-profils b { display: block; font: 700 1.1rem/1.2 var(--f-titre); color: #062a3b; }
.pp-profils span { font-size: .92rem; color: var(--encre-2); }

.pp-securite { background: linear-gradient(135deg, #0b3557 0%, #144b5c 55%, color-mix(in srgb, var(--pp) 60%, #144b5c) 100%); color: #e3eef8; }
.pp-securite h2 { color: #fff; } .pp-securite .etiquette { color: #9fd0f2; }
.pp-securite-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.pp-garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.pp-garanties li { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .93rem; }
.pp-garanties .i { color: #7ee2a8; width: 20px; height: 20px; flex-shrink: 0; }

.pp-deploiement { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.pp-deploiement article { background: #fff; border-radius: 16px; padding: 1.6rem; border: 1px solid #e6edf3; }
.pp-deploiement h3 { margin: .9rem 0 .4rem; font-size: 1.25rem; }
.pp-deploiement p { color: var(--encre-2); font-size: .94rem; }

.pp-appel { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.pp-appel-fond { position: absolute; inset: 0; z-index: -1; }
.pp-appel-fond img { width: 100%; height: 100%; object-fit: cover; }
.pp-appel-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,32,54,.94) 0%, rgba(20,75,92,.86) 50%, color-mix(in srgb, var(--pp) 55%, transparent) 100%); }
.pp-appel-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: center; padding-block: 4.5rem; }
.pp-appel h2 { color: #fff; } .pp-appel .etiquette { color: #b9e1fb; } .pp-appel p { color: #d9e8f4; max-width: 56ch; margin-top: .6rem; }
.pp-appel .pp-actions { margin-top: 0; }

/* Cartes « la suite Smart » */
.suite { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.suite-carte { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e6edf3; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.suite-carte:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -24px rgba(20,75,92,.45); }
.suite-carte figure { margin: 0; position: relative; aspect-ratio: 16 / 9; background: #dfe8f0; }
.suite-carte figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suite-carte figure .pp-pastille { position: absolute; left: 1rem; bottom: -22px; background: var(--pp); color: #fff; border: 4px solid #fff; width: 50px; height: 50px; }
.suite-corps { padding: 1.8rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.suite-corps h3 { font-size: 1.35rem; }
.suite-corps p { font-size: .92rem; color: var(--encre-2); }
.suite-liens { margin-top: auto; padding-top: .7rem; display: flex; justify-content: space-between; gap: .6rem; font-weight: 600; font-size: .92rem; }
.suite-liens a { color: var(--pp); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.suite-liens a:hover { text-decoration: underline; }

@media (max-width: 1100px) { .pp-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-atouts li:nth-child(3) { border-left: 0; padding-left: .4rem; } }
@media (max-width: 900px) {
    .pp-hero-grille, .pp-pour-grille, .pp-securite-grille, .pp-appel-in { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .pp-hero-visuel { padding: 0 0 2.5rem 1rem; }
    .pp-deploiement { grid-template-columns: minmax(0, 1fr); }
    .pp-circuit li::after { display: none; }
}
@media (max-width: 600px) {
    .pp-modules, .pp-atouts, .pp-garanties { grid-template-columns: minmax(0, 1fr); }
    .pp-atouts li + li { border-left: 0; padding-left: .4rem; border-top: 1px solid #eef2f6; padding-top: .8rem; }
    .pp-avatar { width: 72px; height: 72px; right: 0; }
    .pp-pour-photos { padding: 0 1.5rem 2rem 0; }
}

/* ---------------------------------------------------------------------
   Accueil : logiciels, photographies, bande « équipe »
   --------------------------------------------------------------------- */
.grille-logiciels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.grille-logiciels .produit { padding: 0 0 1.5rem; border-radius: 18px; }
.grille-logiciels .produit > :not(.vignette) { margin-inline: 1.5rem; }
.grille-logiciels .vignette { aspect-ratio: 16 / 8; overflow: hidden; background: #dfe8f0; }
.grille-logiciels .vignette img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .6s; }
.grille-logiciels .produit:hover .vignette img { transform: scale(1.05); }
.grille-logiciels .vignette::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,32,54,.55)); }
.grille-logiciels .vignette .badge-phare { z-index: 2; }
.grille-logiciels .produit .nom { margin-top: -1.9rem; position: relative; z-index: 2; align-items: flex-end; }
.grille-logiciels .produit .nom .pastille { width: 58px; height: 58px; border-radius: 16px; background: var(--pp); color: #fff; border: 4px solid #fff; box-shadow: 0 10px 20px -8px var(--pp); }
.grille-logiciels .produit .nom .pastille .i { width: 26px; height: 26px; }
.grille-logiciels .produit .nom h3 { margin-top: .4rem; }
.grille-logiciels .produit .accroche { color: var(--pp); }
.grille-logiciels .produit li .i { color: var(--pp); }
.grille-logiciels .produit.phare { background: #fff; color: var(--encre); border: 1px solid var(--trait); }
.grille-logiciels .produit.phare h3 { color: #144b5c; } .grille-logiciels .produit.phare p, .grille-logiciels .produit.phare ul { color: var(--encre-2); }
.grille-logiciels .produit.phare .accroche { color: var(--pp); }
.grille-logiciels .produit.phare .btn-ligne { color: var(--pp); border-color: var(--pp); background: #fff; }
.grille-logiciels .produit .btn-plein { background: var(--pp); box-shadow: 0 8px 18px -8px var(--pp); }
.grille-logiciels .produit .btn-ligne { color: var(--pp); border-color: color-mix(in srgb, var(--pp) 50%, #fff); }
.grille-logiciels .produit .btn-ligne:hover { background: var(--pp); color: #fff; }
.grille-logiciels .produit .lien-texte { align-self: center; font-weight: 600; font-size: .92rem; color: var(--encre-2); text-decoration: none; }
.grille-logiciels .produit .lien-texte:hover { color: var(--pp); }
@media (max-width: 800px) { .grille-logiciels { grid-template-columns: minmax(0, 1fr); } }

.diapo-image.photo { padding: 0 !important; }
.diapo-image.photo img { object-fit: cover; }

.illus-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--ombre-forte); }
.mosaique { position: relative; padding: 0 2.6rem 2.6rem 0; }
.mosaique .illus-photo { aspect-ratio: 5 / 4; }
.mosaique .mini { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 6px solid #fff; box-shadow: var(--ombre-forte); }
.mosaique .badge-flottant { position: absolute; left: -10px; bottom: 18%; background: #fff; border-radius: 14px; padding: .75rem 1rem; display: flex; gap: .65rem; align-items: center;
    box-shadow: 0 18px 36px -14px rgba(13,40,70,.45); font-size: .85rem; max-width: 240px; }
.mosaique .badge-flottant b { display: block; font: 700 1.05rem/1.1 var(--f-titre); color: #062a3b; }
.mosaique .badge-flottant .pp-pastille { --pp: #1d6878; }

.equipe-bande { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f3f7fb 100%); }
.equipe-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }
.equipe-photos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.equipe-photos figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(13,40,70,.5); background: #dfe8f0; }
.equipe-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equipe-photos .a { grid-row: span 2; aspect-ratio: 3 / 4; }
.equipe-photos .b, .equipe-photos .c { aspect-ratio: 4 / 3.2; }
.equipe-valeurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.equipe-valeurs li { padding: 1.1rem; border-radius: 14px; background: #fff; border: 1px solid #e6edf3; }
.equipe-valeurs b { display: flex; gap: .5rem; align-items: center; font: 700 1.12rem/1.2 var(--f-titre); color: #144b5c; margin-bottom: .3rem; }
.equipe-valeurs b .i { color: #2a8a99; }
.equipe-valeurs span { font-size: .9rem; color: var(--encre-2); }
.equipe-citation { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: 14px; background: linear-gradient(135deg, #144b5c, #1d6878); color: #e8f5f6; font: 600 1.15rem/1.4 var(--f-titre); letter-spacing: .01em; display: flex; gap: .8rem; }
.equipe-citation .i { width: 26px; height: 26px; color: var(--or-doux); flex-shrink: 0; }
@media (max-width: 900px) { .equipe-grille { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; } }
@media (max-width: 520px) { .equipe-valeurs { grid-template-columns: minmax(0, 1fr); } .mosaique { padding: 0 1.4rem 1.6rem 0; } .mosaique .badge-flottant { display: none; } }

/* ---------------------------------------------------------------------
   Catalogue matériel (accueil)
   --------------------------------------------------------------------- */
.cat-outils { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; margin: 2rem 0 1.4rem; }
.cat-outils .filtres { margin: 0; }
.cat-recherche { position: relative; flex: 0 1 300px; }
.cat-recherche input { width: 100%; padding: .75rem 1rem .75rem 2.6rem; border-radius: 30px; border: 1.5px solid #d3e1e4; font: inherit; background: #fff; }
.cat-recherche input:focus { outline: none; border-color: #1d6878; box-shadow: 0 0 0 4px rgba(29,104,120,.12); }
.cat-recherche .i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #7b8b9a; }
.cat-compte { font-size: .9rem; color: var(--encre-2); }
.cat-vide { text-align: center; padding: 2.5rem 1rem; color: var(--encre-2); }
.article-mat { border-radius: 18px; }
.mat-image { aspect-ratio: 4 / 3; background: #fff; }
.mat-image.photo img { padding: 0; object-fit: cover; }
.mat-image .mat-devis { position: absolute; right: 12px; top: 12px; background: rgba(255,255,255,.94); color: #144b5c; font: 700 .75rem/1 var(--f-titre); letter-spacing: .06em; padding: .45rem .65rem; border-radius: 20px; box-shadow: 0 6px 14px -6px rgba(13,40,70,.4); }
.mat-cat { border-radius: 20px; }
.mat-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.mat-actions .btn { margin-top: 0 !important; }
.mat-actions .mat-wa { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; color: #128c4b; text-decoration: none; }
.mat-actions .mat-wa:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   Page « Démonstrations »
   --------------------------------------------------------------------- */
.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.demo-carte { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #fff; border: 1px solid #e6edf3; border-radius: 18px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.demo-carte:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -24px rgba(20,75,92,.45); }
.demo-carte figure { margin: 0; background: #dfe8f0; }
.demo-carte figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-carte .corps { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.demo-carte h2 { font-size: 1.5rem; display: flex; gap: .6rem; align-items: center; }
.demo-carte .accroche { color: var(--pp); font-weight: 600; font-size: .92rem; }
.demo-carte p { color: var(--encre-2); font-size: .93rem; }
.demo-carte .type { font-size: .8rem; color: var(--encre-2); display: flex; gap: .4rem; align-items: center; }
.demo-carte .type .point { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.demo-carte .type .point.contact { background: var(--or-doux); }
.demo-carte .liens { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; padding-top: .5rem; }
.demo-carte .btn-plein { background: var(--pp); }
@media (max-width: 960px) { .demos { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .demo-carte { grid-template-columns: minmax(0, 1fr); } .demo-carte figure { aspect-ratio: 16 / 8; } }

/* ---------------------------------------------------------------------
   Fenêtre de gestion des cookies
   --------------------------------------------------------------------- */
.ck-fond { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: end center; padding: 16px; background: rgba(6,22,38,.45); backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .3s; }
.ck-fond.visible { opacity: 1; }
.ck-fond[hidden] { display: none; }
.ck { width: min(720px, 100%); background: #fff; border-radius: 22px; box-shadow: 0 40px 80px -20px rgba(6,22,38,.55); overflow: hidden; display: grid; grid-template-columns: 180px minmax(0, 1fr);
    transform: translateY(24px); transition: transform .35s cubic-bezier(.2,.8,.2,1); max-height: calc(100vh - 32px); font-family: var(--f-texte); color: var(--encre); }
.ck-fond.visible .ck { transform: none; }
.ck-visuel { background: linear-gradient(160deg, #144b5c, #1d6878 60%, #2a8a99); display: grid; place-items: center; position: relative; overflow: hidden; }
.ck-visuel::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); left: -90px; bottom: -110px; }
.ck-visuel .i { width: 64px; height: 64px; color: #fff; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); position: relative; }
.ck-corps { padding: 1.5rem 1.6rem 1.4rem; overflow-y: auto; }
.ck h2 { font-size: 1.55rem; color: #144b5c; margin-bottom: .45rem; }
.ck p { font-size: .92rem; color: var(--encre-2); }
.ck p a { color: #1d6878; }
.ck-choix { display: grid; gap: .6rem; margin: 1rem 0 .2rem; }
.ck-choix[hidden] { display: none; }
.ck-ligne { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: .8rem .95rem; border-radius: 12px; background: #f4f7fa; }
.ck-ligne b { display: block; font-size: .93rem; color: #062a3b; }
.ck-ligne small { display: block; font-size: .8rem; color: var(--encre-2); }
.ck-interrupteur { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.ck-interrupteur input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck-interrupteur span { position: absolute; inset: 0; border-radius: 20px; background: #c5d0da; transition: background .2s; }
.ck-interrupteur span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.ck-interrupteur input:checked + span { background: #1d6878; }
.ck-interrupteur input:checked + span::after { transform: translateX(20px); }
.ck-interrupteur input:disabled + span { background: #7fb2d8; }
.ck-interrupteur input:focus-visible + span { outline: 3px solid rgba(29,104,120,.35); outline-offset: 2px; }
.ck-boutons { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.1rem; }
.ck-boutons .btn { padding: .7rem 1.15rem; font-size: 1rem; }
.ck-lien { background: none; border: 0; color: #1d6878; font: 600 .9rem var(--f-texte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: .7rem .3rem; }
.ck-gerer { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
@media (max-width: 620px) { .ck { grid-template-columns: minmax(0, 1fr); } .ck-visuel { height: 86px; } .ck-visuel .i { width: 42px; height: 42px; } .ck-boutons .btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .ck-fond, .ck { transition: none; } }
@media print { .ck-fond { display: none !important; } }

/* Contact : l'équipe */
.contact-equipe { display: flex; align-items: center; margin: 1.1rem 0 .4rem; }
.contact-equipe img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.9); margin-left: -10px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.contact-equipe img:first-child { margin-left: 0; }
.contact-equipe span { margin-left: .8rem; font-size: .88rem; color: var(--sur-nuit-2, #d2eaee); }
.materiel .illus-photo.baie { max-width: 380px; aspect-ratio: 4 / 5; }
.ck-boutons [hidden], .ck-choix[hidden] { display: none !important; }
.grille-logiciels .produit .nom > div { padding-top: 2.2rem; }
.cat-recherche { display: block; min-width: min(320px, 100%); }
.pp-hero .pp-marque { display: flex; width: fit-content; }

/* Studio : les photos de matériel sur fond blanc (assets/img/produits/) sont posées sur un podium, dans une lumière douce.
   Classe « studio » ajoutée par accueil.php (cartes du catalogue et diaporama) ; les autres images ne sont pas concernées. */
.mat-image.studio, .diapo-image.studio {
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0 68%, rgba(255,255,255,.6) 72%, #f6f9fb 100%),
        radial-gradient(120% 95% at 50% -12%, #ffffff 0%, #edf3f8 45%, #d3dfea 100%);
}
.mat-image.studio::before, .diapo-image.studio::before {
    content: ""; position: absolute; left: 14%; right: 14%; bottom: 9%; height: 16%; border-radius: 50%; z-index: 0;
    background: linear-gradient(180deg, #ffffff 0%, #edf2f7 50%, #d0dbe6 100%);
    box-shadow: 0 22px 26px -14px rgba(13,40,70,.42), inset 0 -5px 9px rgba(13,40,70,.10), inset 0 2px 0 #fff;
}
.mat-image.studio::after, .diapo-image.studio::after {
    content: ""; position: absolute; right: -20%; top: -34%; width: 72%; aspect-ratio: 1; border-radius: 50%; z-index: 0; pointer-events: none;
    border: 2px solid rgba(29,104,120,.12); box-shadow: 0 0 0 28px rgba(29,104,120,.035), 0 0 0 60px rgba(29,104,120,.02);
}
.mat-image.studio img, .diapo-image.studio img {
    position: relative; z-index: 1; mix-blend-mode: multiply; box-sizing: border-box;
    padding: 2% 5% 0; object-fit: contain; object-position: 50% 100%;
}
.mat-image .mat-cat, .mat-image .mat-devis { z-index: 2; }

/* ===== Visibilité : outils gratuits, témoignages, calculateur, rendez-vous, guides, pages métier ===== */
.vis-outils { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.vis-outil { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border-radius: 18px; background: var(--surface, #fff); border: 1px solid var(--trait); color: var(--encre); text-decoration: none; box-shadow: 0 12px 30px -18px rgba(13,40,70,.35); transition: transform .25s, box-shadow .25s; }
.vis-outil:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(13,40,70,.45); }
.vis-outil h3 { margin: .2rem 0 0; } .vis-outil p { color: var(--encre-2); margin: 0; flex: 1; }
.vis-outil .lien { display: inline-flex; align-items: center; gap: .4rem; color: var(--bleu-texte); font-weight: 700; }
@media (max-width: 860px) { .vis-outils { grid-template-columns: minmax(0, 1fr); } }
.vis-tem-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.vis-tem { margin: 0; padding: 1.6rem; border-radius: 18px; background: var(--surface, #fff); border: 1px solid var(--trait); display: grid; gap: 1rem; }
.vis-tem blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--encre); }
.vis-tem figcaption { display: grid; gap: .15rem; } .vis-tem figcaption span { color: var(--encre-2); font-size: .9rem; } .vis-tem figcaption em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--bleu-texte); }
.vis-refs { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }
.vis-refs li { font: 700 1.05rem var(--f-titre); letter-spacing: .04em; color: var(--encre-2); text-transform: uppercase; }
.vis-avis { text-align: center; margin-top: 1.4rem; }
/* calculateur */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.calc-onglets { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.calc-onglets button { border: 1px solid var(--trait); background: var(--surface, #fff); color: var(--encre); border-radius: 40px; padding: .55rem 1.1rem; font-weight: 700; cursor: pointer; }
.calc-onglets button[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.calc-carte { background: var(--surface, #fff); border: 1px solid var(--trait); border-radius: 20px; padding: 1.6rem; display: grid; gap: 1.1rem; }
.calc-carte .champ input[type=range] { padding: 0; accent-color: var(--bleu); }
.calc-carte .champ output { font-weight: 700; color: var(--bleu-texte); }
.calc-res { position: sticky; top: 6rem; border-radius: 20px; padding: 1.8rem; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(142,232,216,.25), transparent 45%), linear-gradient(150deg, #0b2639, #12303e 55%, #0f766e 130%); display: grid; gap: 1rem; }
.calc-res .grand { font: 700 clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem)/1 var(--f-titre); color: #8ee8d8; }
.calc-res .ligne { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.15); padding-top: .7rem; }
.calc-res .ligne b { color: #fff; } .calc-res p { margin: 0; color: rgba(255,255,255,.85); }
.calc-res .actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.calc-note { font-size: .85rem; color: var(--encre-2); margin-top: 1rem; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-res { position: static; } }
/* rendez-vous */
.rdv { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: start; }
.rdv-jours { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.rdv-jours button, .rdv-heures button { border: 1px solid var(--trait); background: var(--surface, #fff); color: var(--encre); border-radius: 12px; padding: .6rem .4rem; cursor: pointer; font-weight: 600; line-height: 1.25; }
.rdv-jours button small { display: block; font-weight: 400; color: var(--encre-2); font-size: .78rem; }
.rdv-jours button[aria-pressed="true"], .rdv-heures button[aria-pressed="true"] { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.rdv-jours button[aria-pressed="true"] small { color: rgba(255,255,255,.85); }
.rdv-heures { display: flex; flex-wrap: wrap; gap: .5rem; } .rdv-heures button { padding: .6rem 1.1rem; }
.rdv-etape { margin: 1.6rem 0 .7rem; font: 700 1.05rem var(--f-titre); }
.rdv-modes { display: flex; gap: .6rem; flex-wrap: wrap; } .rdv-modes label { display: flex; align-items: center; gap: .45rem; border: 1px solid var(--trait); border-radius: 12px; padding: .6rem .9rem; cursor: pointer; }
.rdv-recap { position: sticky; top: 6rem; background: var(--surface, #fff); border: 1px solid var(--trait); border-radius: 20px; padding: 1.6rem; display: grid; gap: .9rem; }
.rdv-recap .creneau { font: 700 1.3rem var(--f-titre); color: var(--bleu-texte); }
.form-retour { margin: 0; padding: .9rem 1rem; border-radius: 12px; font-weight: 600; }
.form-retour.ok { background: #e6f6ec; color: #146c43; } .form-retour.ko { background: #fdecee; color: #b42318; }
@media (max-width: 860px) { .rdv { grid-template-columns: minmax(0, 1fr); } .rdv-recap { position: static; } }
/* guides */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.guide { background: var(--surface, #fff); border: 1px solid var(--trait); border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.guide .couv { aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(150deg, #12303e, var(--gc, #0f766e)); color: #fff; display: grid; align-content: end; padding: 1rem; font: 700 1.2rem/1.2 var(--f-titre); }
.guide .couv small { display: block; font: 600 .72rem var(--f-texte); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: .3rem; }
.guide p { color: var(--encre-2); margin: 0; flex: 1; } .guide .meta { font-size: .82rem; color: var(--encre-2); }
.guide-form { display: grid; gap: .6rem; margin-top: .4rem; } .guide-form[hidden] { display: none; }
@media (max-width: 960px) { .guides { grid-template-columns: minmax(0, 1fr); } }
/* pages métier */
.metier-douleurs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.metier-douleurs li { list-style: none; background: var(--surface, #fff); border: 1px solid var(--trait); border-left: 6px solid var(--pp, #1d6878); border-radius: 14px; padding: 1.2rem 1.3rem; }
.metier-douleurs li b { display: block; margin-bottom: .3rem; color: var(--encre); } .metier-douleurs li span { color: var(--encre-2); }
.metier-reponses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.metier-reponses li { display: flex; gap: .8rem; align-items: flex-start; } .metier-reponses li .i { flex: 0 0 auto; color: var(--pp, #1d6878); margin-top: .2rem; }
@media (max-width: 860px) { .metier-douleurs, .metier-reponses { grid-template-columns: minmax(0, 1fr); } }

/* ===== Signature du logo : couleurs du logo (H bleu nuit, roue pétrole), slogan lisible ===== */
.hi-signature { gap: 7px; }
.hi-signature .sg-nom { gap: .3em; font-size: 1.72rem; line-height: .95; }
.hi-signature .sg-harry { font-weight: 700; letter-spacing: .07em; background: none; color: #002132; -webkit-text-fill-color: #002132; }
.hi-signature .sg-ing { font-weight: 600; letter-spacing: .07em; color: #1d6878; }
.hi-signature .sg-devise { gap: .5rem; font: 600 .66rem/1 'Rajdhani', var(--f-texte); letter-spacing: .2em; text-transform: uppercase; color: #3d5a68; }
.hi-signature .sg-devise::before { width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #22717f, #7cc4cf); }
.hi-signature.clair .sg-harry { color: #fff; -webkit-text-fill-color: #fff; }
.hi-signature.clair .sg-ing { color: #8fd0da; }
.hi-signature.clair .sg-devise { color: #cfe6ea; }
.pied .marque .hi-signature .sg-nom { font-size: 1.5rem; }
.adm-marque .hi-signature .sg-nom { font-size: 1.3rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hi-signature:not(.clair) .sg-harry { -webkit-text-fill-color: #e4ecf2; color: #e4ecf2; } :root:not([data-theme="light"]) .hi-signature:not(.clair) .sg-ing { color: #8fd0da; } :root:not([data-theme="light"]) .hi-signature:not(.clair) .sg-devise { color: #9db0bf; } }
:root[data-theme="dark"] .hi-signature:not(.clair) .sg-harry { -webkit-text-fill-color: #e4ecf2; color: #e4ecf2; }
:root[data-theme="dark"] .hi-signature:not(.clair) .sg-ing { color: #8fd0da; }
:root[data-theme="dark"] .hi-signature:not(.clair) .sg-devise { color: #9db0bf; }
@media (max-width: 560px) { .hi-signature .sg-nom { font-size: 1.3rem; } .hi-signature .sg-devise { display: flex; font-size: .58rem; letter-spacing: .16em; } }
@media (max-width: 380px) { .hi-signature .sg-nom { font-size: 1.15rem; } .hi-signature .sg-devise { display: none; } }
/* Promesse de marque (slogan dans le contexte des logiciels) */
.hi-promesse { margin: 0; font: 600 1.02rem/1.45 var(--f-texte); color: inherit; }
.hi-promesse em { font-style: normal; color: #8fd0da; }

/* ===== Plan du site ===== */
.plan-titre { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; margin: 0 0 1.1rem; }
.plan-titre .i { color: var(--bleu-texte); }
.plan-logiciels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-bottom: 3rem; }
.plan-log { background: var(--surface, #fff); border: 1px solid var(--trait); border-top: 5px solid var(--pp); border-radius: 16px; padding: 1.2rem 1.2rem 1rem; display: grid; gap: .9rem; align-content: start; }
.plan-log-tete { display: flex; gap: .75rem; align-items: center; text-decoration: none; color: var(--encre); }
.plan-log-tete b { display: block; font: 700 1.15rem var(--f-titre); color: var(--pp); }
.plan-log-tete small { display: block; color: var(--encre-2); font-size: .82rem; line-height: 1.35; margin-top: .15rem; }
.plan-log ul, .plan-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.plan-log li a, .plan-liste li a { display: flex; gap: .55rem; align-items: flex-start; padding: .38rem .45rem; border-radius: 8px; text-decoration: none; color: var(--encre); font-size: .95rem; line-height: 1.35; }
.plan-log li a .i { flex: 0 0 auto; width: 1em; height: 1em; margin-top: .15rem; color: var(--pp); }
.plan-liste li a .i { flex: 0 0 auto; width: .9em; height: .9em; margin-top: .22rem; color: var(--bleu-texte); }
.plan-log li a:hover, .plan-liste li a:hover { background: var(--teinte); color: var(--bleu-texte); }
.plan-groupes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-top: 2rem; border-top: 1px solid var(--trait); }
.plan-groupes .plan-titre { font-size: 1.1rem; }
.plan-legal { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--trait); color: var(--encre-2); font-size: .92rem; }
.plan-legal a, .plan-legal .ck-gerer { color: var(--bleu-texte); }
.plan-legal .ck-gerer { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 1080px) { .plan-logiciels, .plan-groupes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-logiciels, .plan-groupes { grid-template-columns: minmax(0, 1fr); } }
