/* =====================================================================
   SOS TECH — Feuille de style
   Style "industriel corporate" : barres sombres, bandes grises,
   tuiles carrées, angles droits, police condensée.
   ===================================================================== */

:root {
  --topbar: #0E1A23;        /* barre de navigation principale (bleu nuit) */
  --subbar: #13222D;        /* barre des liens de section */
  --band: #1C2E3B;          /* bandes de titre */
  --band-dark: #15242F;
  --radius: 12px;           /* arrondi des cartes */
  --radius-sm: 8px;         /* arrondi des boutons et champs */
  --primary: #008BD2;       /* bleu : tuiles, liens, boutons — changer ici pour une autre couleur */
  --primary-dark: #0072AD;
  --primary-light: #D9EDF7;
  --action: #5CB85C;        /* vert : boutons d'action */
  --action-dark: #4CAE4C;
  --brand-anis: #B5C426;    /* couleur du logo SOS TECH */
  --text: #333333;
  --text-2: #555555;
  --muted: #777777;
  --line: #DDDDDD;
  --soft: #F5F5F5;
  --white: #FFFFFF;
  --font: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --container: 1760px;      /* largeur max du contenu : s'étire sur les grands écrans */
  --gutter: clamp(15px, 3vw, 64px); /* marge sur les côtés, plus large sur grand écran */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6; letter-spacing: 0; color: var(--text); background: var(--white); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; letter-spacing: -0.2px; margin: 0 0 0.5em; color: #14212B; }
h2 { font-size: 32px; }
h3 { font-size: 23px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
ul.bullets { margin: 0 0 1.2em; padding-left: 1.4em; }
ul.bullets li { margin-bottom: 0.15em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 300; }
.skip-link:focus { left: 0; }

/* ---------- Barre principale ---------- */
.topbar { background: var(--topbar); color: #fff; position: relative; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.06); }
.topbar .container { display: flex; align-items: center; min-height: 60px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.logo:hover { text-decoration: none; color: #fff; }
.logo img { width: 36px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 18px; font-weight: 700; letter-spacing: 1px; color: var(--brand-anis); text-transform: uppercase; }
.logo-text small { font-size: 11px; font-weight: 400; letter-spacing: 0.3px; color: #8FA3B1; text-transform: none; margin-top: 3px; }
.mainnav { display: flex; align-items: center; margin-left: auto; }
.mainnav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.mainnav > ul > li { position: relative; padding: 12px 0; }
.mainnav > ul > li > a { display: block; padding: 5px 11px; border-radius: 5px; color: #D5DEE5; font-size: 13px; font-weight: 400; white-space: nowrap; transition: background-color .15s, color .15s; }
.mainnav > ul > li > a:hover, .mainnav > ul > li:hover > a { color: #fff; background: rgba(255,255,255,0.07); text-decoration: none; }
.mainnav > ul > li > a[aria-current="page"] { color: #fff; background: rgba(0,139,210,0.22); text-decoration: none; }
.mainnav .caret::after { content: ""; display: inline-block; margin-left: 7px; vertical-align: 2px; border-top: 4px solid currentColor; border-left: 4px solid transparent; border-right: 4px solid transparent; opacity: .7; }
.dropdown { position: absolute; top: calc(100% - 8px); left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(8,20,30,0.22); list-style: none; margin: 0; padding: 8px; display: none; }
.mainnav li:hover > .dropdown, .mainnav li:focus-within > .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); font-size: 14.5px; font-weight: 500; }
.dropdown a:hover { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
.lang { display: flex; align-items: center; gap: 2px; margin-left: 12px; padding: 2px; border-radius: 6px; background: rgba(255,255,255,0.06); font-size: 12px; font-weight: 500; }
.lang button { background: none; border: 0; border-radius: 4px; color: #8FA3B1; padding: 3px 7px; cursor: pointer; font: inherit; }
.lang button.active { color: #fff; background: var(--primary); }
.menu-btn { display: none; margin-left: auto; background: rgba(255,255,255,0.06); border: 0; border-radius: var(--radius-sm); color: #fff; width: 44px; height: 42px; font-size: 19px; cursor: pointer; }

/* ---------- Barre des sections (noire) ---------- */
.subbar { background: var(--subbar); }
.subbar .container { display: flex; align-items: center; justify-content: center; min-height: 42px; gap: 4px 4px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
/* La barre flotte sur le haut de l'image du bandeau : fond presque transparent + léger flou */
.subbar { position: relative; z-index: 40; margin-bottom: -43px; background: rgba(14, 26, 35, 0.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.subbar + main .banner:not(.banner-hero) .container { padding-top: 42px; }
.subbar a { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.subbar a { color: #E4EBF0; font-size: 13px; font-weight: 400; white-space: nowrap; padding: 4px 11px; border-radius: 6px; transition: color .15s, background-color .15s; }
.subbar a:hover { color: #fff; background: rgba(255,255,255,0.14); text-decoration: none; }
.subbar .sb-icon { color: #fff; font-size: 20px; margin-left: 20px; }
.subbar .sb-icon::before { content: none; }

/* ---------- Bandeau image ---------- */
.banner { position: relative; height: 230px; background: #1d2427 center / cover no-repeat; overflow: hidden; }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,32,0.92) 0%, rgba(10,22,32,0.7) 40%, rgba(10,22,32,0.1) 80%); }
.banner .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.banner-title { font-size: 46px; font-weight: 700; line-height: 1.05; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }
.banner-title span { color: var(--brand-anis); }
.banner-claim { font-size: 19px; font-weight: 400; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 560px; margin: 12px 0 0; }

/* Grand bandeau de l'accueil : texte + boutons, les tuiles viennent le chevaucher */
.banner.banner-hero { height: auto; min-height: 470px; padding: 70px 0 130px; }
.banner-hero .banner-title { font-size: 54px; font-weight: 500; letter-spacing: 3px; }
.banner-eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #D5DEE5; font-size: 13px; font-weight: 500; }
.banner-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-anis); }
.banner.banner-hero { display: flex; align-items: center; }
/* Vidéo de fond du bandeau : couvre tout le bandeau, sous le voile sombre et le texte */
.banner-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 48%; z-index: 0; pointer-events: none; }
/* Voile plus marqué à gauche (zone du texte) pour rester lisible quelle que soit la vidéo */
.banner-hero::before { z-index: 1; background: linear-gradient(90deg, rgba(8,18,26,0.70) 0%, rgba(8,18,26,0.50) 28%, rgba(8,18,26,0.15) 50%, rgba(8,18,26,0) 65%); }
/* Téléphone / tablette : le texte occupe toute la largeur, donc voile uniforme */
@media (max-width: 991px) {
  .banner-hero::before { background: linear-gradient(180deg, rgba(8,18,26,0.72) 0%, rgba(8,18,26,0.62) 60%, rgba(8,18,26,0.75) 100%); }
}
.banner-hero .banner-claim { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6), 0 0 18px rgba(0,0,0,0.45); }
.banner-hero .banner-points { color: #E1E8ED; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.banner-hero .btn-ghost { background: rgba(8,18,26,0.55); border-color: rgba(255,255,255,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.banner-hero .btn-ghost:hover { background: rgba(8,18,26,0.75); border-color: #fff; }
.banner-hero .container { z-index: 2; }@media (prefers-reduced-motion: reduce) { .banner-video { display: none; } }
.banner-hero .container { height: auto; }
.banner-hero .banner-line { height: 2px; border-radius: 2px; margin: 16px 0 0; max-width: 90px; background: linear-gradient(90deg, #CDD43A, #16B092); }
.banner-hero .banner-claim { font-size: 21px; max-width: 500px; margin-top: 18px; color: rgba(255,255,255,0.86); }
.banner-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.banner-actions .btn { min-height: 40px; padding: 7px 18px; gap: 8px; font-weight: 500; font-size: 14.5px; border-radius: 6px; }
.banner-actions .btn i { font-size: 13px; }
.btn-ghost { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.banner-points { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 38px 0 0; padding: 20px 0 0; max-width: 620px; border-top: 1px solid rgba(255,255,255,0.12); color: #C5D2DB; font-size: 15px; }
.banner-points li { display: flex; align-items: center; gap: 8px; }
.banner-points i { color: #16B092; }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }

/* Animation du titre de l'accueil */
/* "SOS TECH" : les couleurs du logo (jaune-vert, vert turquoise, vert profond) défilent en douceur */
.banner-anim .w, .logo-text strong {
  background-image: linear-gradient(90deg, #CDD43A 0%, #16B092 30%, #0E9F80 50%, #16B092 70%, #CDD43A 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.banner-anim .w { display: inline-block; opacity: 0; transform: translateY(34px); animation: riseIn .8s cubic-bezier(.2, .8, .2, 1) forwards, logoFlow 5s ease-in-out .8s infinite alternate; }
/* TECH a un temps d'avance : la couleur semble passer d'un mot à l'autre */
.banner-anim .w2 { animation: riseIn .8s cubic-bezier(.2, .8, .2, 1) .22s forwards, logoFlow 5s ease-in-out -1.5s infinite alternate; }
.logo-text strong { animation: logoFlow 5s ease-in-out infinite alternate; }
@keyframes logoFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.banner-line { display: block; height: 3px; width: 0; background: var(--brand-anis); margin: 12px 0 2px; animation: drawLine .9s cubic-bezier(.2, .8, .2, 1) .55s forwards; }
.banner-claim.typing::after { content: ""; display: inline-block; width: 3px; height: 1em; margin-left: 4px; vertical-align: -0.12em; background: var(--brand-anis); animation: blink 1s steps(1) infinite; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes drawLine { to { width: 140px; } }
@keyframes shine { 0% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .banner-anim .w, .banner-anim .shine, .logo-text strong { opacity: 1; transform: none; animation: none; }
  .banner-line { width: 140px; animation: none; }
  .banner-claim.typing::after { display: none; }
}

/* ---------- Bande grise avec tuiles ---------- */
.tiles-band { background: var(--band); padding: 24px 0 0; }
.tiles-band.compact { padding-top: 0; }
.tiles-band.compact .tiles { position: relative; z-index: 2; margin-top: -84px; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tiles.t8 { grid-template-columns: repeat(4, 1fr); }
.tiles.t7 { grid-template-columns: repeat(7, 1fr); gap: 14px; }
.tile { background: var(--primary); color: #fff; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 10px; font-size: 15px; font-weight: 500; border-radius: var(--radius); overflow: hidden; transition: background-color .15s; }
.tile i { font-size: 42px; margin-bottom: 16px; }
.tile:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
/* Tuile avec photo de fond : la photo est donnée dans la page par style="background-image:url(...)" */
/* Photo sans voile ; titre dans une barre bleue unie en bas de la tuile */
/* Tuile photo : photo pleine, fondu sombre en bas, titre blanc + icône aux couleurs du logo */
.tile.photo { position: relative; isolation: isolate; background-color: #2A3237; background-size: cover; background-position: center; display: grid; grid-template-columns: auto 1fr; align-content: end; align-items: center; padding: 0; text-align: left; color: #fff; box-shadow: 0 6px 18px rgba(16, 24, 30, 0.10); transition: transform .25s, box-shadow .25s; }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 18, 22, 0) 35%, rgba(12, 18, 22, 0.55) 65%, rgba(12, 18, 22, 0.9) 100%); transition: opacity .25s; }
.tile.photo::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #CDD43A, #16B092); transition: width .35s ease; }
.tile.photo i { font-size: 15px; margin: 0; padding: 0 0 14px 16px; background: none; color: #CDD43A; align-self: end; display: flex; align-items: center; }
.tile.photo span { background: none; padding: 0 16px 14px 10px; line-height: 1.25; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.tile.photo:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 24, 30, 0.22); }
.tile.photo:hover::after { width: 100%; }
@media (prefers-reduced-motion: reduce) { .tile.photo, .tile.photo::after { transition: none; } }

/* Bande des tuiles photo : gris neutre clair, titre foncé */
.tiles-band:not(.compact) { background: #EEF1F4; padding-top: 28px; }
.tiles-band:not(.compact) .band-title { color: #14212B; }
.tiles.t8 .tile { min-height: 130px; }
.tiles.t7 .tile { min-height: 140px; font-size: 15px; }
.tiles.t7 .tile i { font-size: 34px; }
/* Tuiles sans photo : cartes blanches, icône dans une pastille bleue */
.tile:not(.photo) { position: relative; background: #fff; color: #14212B; padding: 24px 12px; gap: 14px; box-shadow: 0 10px 30px rgba(8, 20, 30, 0.18); transition: transform .25s, box-shadow .25s, color .25s; }
.tile:not(.photo) i { width: 58px; height: 58px; margin: 0; display: grid; place-items: center; border-radius: 16px; font-size: 24px; color: var(--primary); background: var(--primary-light); transition: background-color .25s, color .25s, transform .25s; }
.tile:not(.photo)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px; border-radius: 3px; background: var(--brand-anis); transform: translateX(-50%); transition: width .3s ease; }
.tile:not(.photo):hover { color: var(--primary-dark); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(8, 20, 30, 0.26); }
.tile:not(.photo):hover i { background: var(--primary); color: #fff; transform: scale(1.06); }
.tile:not(.photo):hover::after { width: 46%; }
@media (prefers-reduced-motion: reduce) { .tile:not(.photo), .tile:not(.photo) i { transition: none; } }

/* Accueil : fond clair et tuiles horizontales (icône, texte, flèche) */
.tiles-band.compact { background: #384148; }
.tiles-band.compact .band-title { color: #fff; font-size: 24px; padding: 20px 0 12px; }
.tiles-band.compact { padding: 10px 0; }
/* Titre de page sous la bande grise, sur fond blanc */
.page-title { color: #14212B; font-size: 28px; font-weight: 600; margin: 0; padding: 30px 0 0; }
@media (max-width: 600px) { .page-title { font-size: 24px; padding-top: 22px; } }
.tiles-band.compact .tiles { margin-top: 0; gap: 20px; }
@media (max-width: 991px) { .tiles-band.compact .tiles { gap: 12px; } .tiles-band.compact .tile:not(.photo) { min-height: 105px; } }
/* Bandeaux compacts sombres à motif de circuit ; le bleu monte au survol */
.tiles-band.compact .tile:not(.photo) {
  flex-direction: column; justify-content: center; align-items: center; text-align: center;
  min-height: 100px; padding: 12px 10px; gap: 8px;
  font-size: 15px; font-weight: 400; line-height: 1.25; color: #fff;
  isolation: isolate; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: #2A3237;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M0 30h40l10 10h30M60 0v20l10 10v40M120 80H90l-10 10H40M20 120v-30l10-10'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='.10'%3E%3Ccircle cx='80' cy='40' r='3'/%3E%3Ccircle cx='70' cy='70' r='3'/%3E%3Ccircle cx='40' cy='90' r='3'/%3E%3Ccircle cx='30' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(160deg, #3A444B 0%, #232A2F 100%);
  box-shadow: none;
}
.tiles-band.compact .tile:not(.photo) i { flex-shrink: 0; width: auto; height: auto; border-radius: 0; font-size: 26px; color: #fff; background: none; }
.tiles-band.compact .tile:not(.photo)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%); transform: scaleY(0); transform-origin: bottom; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.tiles-band.compact .tile:not(.photo):hover { color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25); }
.tiles-band.compact .tile:not(.photo):hover::before { transform: scaleY(1); }
.tiles-band.compact .tile:not(.photo):hover i { background: none; transform: scale(1.12); }
.tiles-band.compact .tile:not(.photo):hover::after { width: 50%; }
.banner.banner-hero { padding-bottom: 70px; }

/* Tuiles photo : texte plus discret, images plus hautes */
.tiles .tile.photo { min-height: 190px; font-size: 14px; }
.tiles.t8 .tile.photo { min-height: 170px; }
.tiles.t7 .tile.photo { min-height: 200px; font-size: 13.5px; }
.band-title { color: #fff; font-size: 28px; font-weight: 600; margin: 0; padding: 30px 0 18px; }

/* ---------- Bande de titre de section ---------- */
.band { background: var(--band); }
.band h2 { color: #fff; font-size: 28px; font-weight: 600; margin: 0; padding: 16px 0 16px; }
.section { padding: 28px 0 60px; }
.section.soft { background: var(--soft); }
.section + .band { margin-top: 0; }

/* ---------- Colonnes ---------- */
.row { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.row.r-side { grid-template-columns: 1fr 2fr; }
.row.r-3 { grid-template-columns: 1fr 1.9fr 0.55fr; gap: 26px; }
.row.half { grid-template-columns: 1fr 1fr; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.lead { font-size: 17px; color: var(--text); }
.h-sub { font-size: 30px; font-weight: 300; margin: 18px 0 8px; }
.label { font-weight: 700; margin: 18px 0 10px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 18px; min-height: 38px; font-family: var(--font); font-size: 14.5px; font-weight: 500; letter-spacing: 0.2px; color: #fff; border: 0; border-radius: 6px; cursor: pointer; text-align: center; transition: background-color .15s, transform .15s; }
.btn:hover { color: #fff; text-decoration: none; }
.btn-blue { background: var(--primary); }
.btn-blue:hover { background: var(--primary-dark); }
.btn-green { background: var(--action); justify-content: flex-start; }
.btn-green:hover { background: var(--action-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); font-weight: 500; }
.btn-outline:hover { background: var(--primary-light); }
.side-box .btn { margin: 6px 6px 0 0; }
.btn-outline:hover { background: #fff; color: var(--primary-dark); }
.btn-inline { display: inline-flex; }
.btn-stack { display: grid; gap: 8px; margin-top: auto; justify-items: start; }
.btn-wa { background: #25A55A; }
.btn-wa:hover { background: #1E8A4B; }

/* ---------- Liste latérale à onglets ---------- */
.side-tabs { border: 1px solid #D5E3EC; background: #fff; border-radius: var(--radius); overflow: hidden; }
.side-tabs .st-head { background: var(--primary-light); color: var(--text); text-align: center; padding: 7px 10px; border-left: 3px solid var(--primary); font-weight: 400; }
.side-tabs button, .side-tabs a { display: block; width: 100%; background: #fff; border: 0; border-top: 1px solid #E3E3E3; padding: 9px 12px; font: inherit; font-weight: 400; color: var(--text); text-align: center; cursor: pointer; }
.side-tabs button:hover, .side-tabs a:hover { background: var(--soft); color: var(--text); text-decoration: none; }
.side-tabs .active, .side-tabs [aria-selected="true"] { background: var(--primary); color: #fff; }
.side-tabs .active:hover, .side-tabs [aria-selected="true"]:hover { background: var(--primary); color: #fff; }
.side-tabs .st-sub { display: block; font-size: 13px; opacity: 0.75; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-top: 2px; }

/* Images avec loupe */
.thumbs { display: grid; gap: 22px; justify-items: center; }
.zoom { position: relative; display: block; cursor: zoom-in; background: none; border: 0; padding: 0; width: 100%; }
.zoom img { width: 100%; height: auto; }
.zoom::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 6px; bottom: 6px; font-size: 22px; color: #222; text-shadow: 0 0 3px #fff, 0 0 6px #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.gallery .zoom { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); border-radius: var(--radius-sm); }
.gallery .zoom img { height: 100%; object-fit: cover; }
.gallery .zoom.tall { aspect-ratio: auto; grid-row: span 2; }
.gallery.g4 { grid-template-columns: repeat(4, 1fr); }
.gallery.g2 { grid-template-columns: 1fr 1fr; }
.row.tabs-layout { grid-template-columns: 330px 1fr; }
.caption { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Chiffres */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 6px 0 20px; }
.facts div { padding: 12px 14px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts strong { display: block; font-size: 30px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--text-2); }

/* Fiche d'information (tableau 2 colonnes) */
.info-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 7px 12px; text-align: left; vertical-align: top; }
.info-table th { background: var(--soft); font-weight: 700; width: 34%; }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th { background: var(--band); color: #fff; font-weight: 400; text-align: left; padding: 9px 12px; }
.data-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.data-table tr:nth-child(even) td { background: #FAFAFA; }
.data-table .price { font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* Statut */
.status { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; color: #fff; background: var(--action); vertical-align: 6px; margin-left: 8px; }
.status.progress { background: #F0AD4E; }

/* ---------- Actualités (4 colonnes) ---------- */
.news { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.news article { display: flex; flex-direction: column; }
.news h3 { font-size: 24px; font-weight: 300; line-height: 1.15; margin: 0 0 10px; }
.news p { font-size: 15px; color: var(--text-2); }
.news .date { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.news .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Applications / cartes image ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.apps article { display: flex; flex-direction: column; }
.apps .pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin: 0 26px 26px; border-radius: var(--radius); }
.apps .pic img { width: 100%; height: 100%; object-fit: cover; }
.apps h3 { font-size: 30px; margin-bottom: 6px; }
.apps p { font-size: 16px; }

/* ---------- Bloc réseaux (colonne droite) ---------- */
.follow { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; color: var(--text); }
.follow:hover { text-decoration: none; color: var(--text); }
.follow .ico { width: 40px; height: 40px; flex-shrink: 0; background: #000; color: #fff; display: grid; place-items: center; font-size: 18px; border-radius: var(--radius-sm); }
.follow .ico.wa { background: #25A55A; }
.follow .ico.fb { background: #1877F2; }
.follow .ico.ml { background: var(--band); }
.follow span { font-size: 15px; line-height: 1.35; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 22px; box-shadow: 0 6px 20px rgba(8, 20, 30, 0.05); }
.side-box h4 { margin-bottom: 8px; }
.side-box p { font-size: 16px; }

/* ---------- Grandes bannières d'appel ---------- */
.callout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.callout .big { font-size: 32px; font-weight: 600; font-style: italic; line-height: 1.2; color: #111; padding: 30px 0 30px 40px; }
.partner-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 30px; }
.partner-box img { max-width: 170px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 11px 16px 11px 40px; background: var(--soft); font-weight: 400; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; position: absolute; left: 16px; top: 15px; color: var(--primary); transition: transform .15s; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { padding: 12px 16px 4px 40px; margin: 0 0 8px; }

/* ---------- Formulaire ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 8px 10px; border: 1px solid #CCCCCC; border-radius: var(--radius-sm); background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: inset 0 0 0 1px var(--primary); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.form-feedback { margin-top: 10px; font-weight: 400; }
.form-feedback.success { color: #3C763D; }
.form-feedback.error { color: #A94442; }
.hp { display: none !important; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-lines li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.contact-lines i { color: var(--primary); width: 20px; text-align: center; margin-top: 4px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--topbar); color: #9FB2C0; font-size: 14px; line-height: 1.6; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-top: 44px; padding-bottom: 36px; }
.footer h5 { color: #fff; font-size: 13px; font-weight: 500; text-transform: uppercase; margin: 0 0 14px; letter-spacing: 1.2px; }
.footer a { color: #9FB2C0; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer .logo { display: flex; margin-bottom: 14px; }
.footer .logo img { width: 38px; height: 38px; }
.footer .logo-text strong { font-size: 19px; }
.footer .logo-text small { font-size: 11.5px; }
.footer p { max-width: 380px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 32px; height: 32px; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; padding: 0; font-size: 14px; border-radius: 6px; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { background: #08121A; color: #6F8494; font-size: 12.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; grid-template-columns: none; }

/* ---------- Boutons flottants ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 44px; height: 44px; border: 1px solid #D5DEE5; border-radius: var(--radius-sm); background: #fff; color: var(--text); cursor: pointer; display: none; box-shadow: 0 6px 16px rgba(8,20,30,0.12); }
.to-top.visible { display: block; }
.wa-float { position: fixed; right: 18px; bottom: 72px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: #25A55A; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 20px rgba(37,165,90,0.35); }
.wa-float:hover { color: #fff; background: #1E8A4B; text-decoration: none; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,0.88); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; background: #fff; }
.lightbox p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; padding: 0 16px; margin: 0; }
.lightbox button { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; background: #fff; border: 0; font-size: 20px; cursor: pointer; }

/* 404 */
.error-box { text-align: center; padding: 60px 0 80px; }
.error-box .code { font-size: 140px; font-weight: 700; color: var(--band); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mainnav > ul > li > a { padding: 5px 8px; font-size: 12.5px; }
  .tiles.t7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .menu-btn { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--topbar); border-top: 1px solid #444C52; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .mainnav.open { display: flex; }
  .mainnav > ul { flex-direction: column; }
  .mainnav > ul { gap: 0; padding: 8px var(--gutter) 0; }
  .mainnav > ul > li { padding: 0; }
  .mainnav > ul > li > a { padding: 12px 14px; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; border-radius: 0; background: transparent; padding: 0 0 6px; }
  .dropdown a { color: #9FB2C0; padding: 7px 28px; font-size: 14.5px; }
  .dropdown a:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .mainnav .caret::after { display: none; }
  .lang { margin: 12px var(--gutter) 0; align-self: flex-start; }
  .subbar .container { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; min-height: 42px; gap: 4px; }
  .banner.banner-hero { min-height: 0; padding: 90px 0 60px; }
  .banner-hero .banner-title { font-size: 46px; }
  .subbar .sb-icon { margin-left: 0; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tiles.t8, .tiles.t7 { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .tile { min-height: 120px; }
  .row, .row.r-side, .row.r-3, .row.half, .row.tabs-layout, .callout { grid-template-columns: 1fr; gap: 26px; }
  .news, .cols-4 { grid-template-columns: 1fr 1fr; }
  .apps, .cols-3 { grid-template-columns: 1fr 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .callout .big { padding: 10px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h2, .band h2, .band-title { font-size: 25px; }
  h3 { font-size: 21px; }
  .logo-text strong { font-size: 17px; }
  .logo img { width: 32px; height: 32px; }
  .topbar .container { min-height: 56px; }
  .banner { height: 180px; }
  .banner-title { font-size: 34px; }
  .banner-claim { font-size: 16.5px; }
  .banner.banner-hero { padding: 76px 0 44px; }
  .banner-hero .banner-title { font-size: 38px; letter-spacing: 2px; }
  .banner-hero .banner-claim { font-size: 17px; }
  .banner-actions { margin-top: 24px; }
  .banner-points { flex-direction: column; margin-top: 26px; padding-top: 16px; font-size: 14px; }
  .banner-actions .btn { flex: 1 1 auto; }
  .tiles-band.compact .tiles { margin-top: -64px; }
  .tiles, .tiles.t8, .tiles.t7 { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 100px; font-size: 14px; }
  .tile i { font-size: 30px; margin-bottom: 10px; }
  .tile:not(.photo) { padding: 18px 8px; gap: 10px; }
  .tile:not(.photo) i { width: 48px; height: 48px; font-size: 20px; margin: 0; border-radius: 14px; }
  .tiles-band.compact .tiles { margin-top: 0; gap: 10px; }
  .tiles-band.compact .tile:not(.photo) { min-height: 92px; padding: 12px 8px; gap: 8px; font-size: 13.5px; }
  .tiles-band.compact .tile:not(.photo) i { font-size: 24px; }
  .tiles .tile.photo, .tiles.t8 .tile.photo, .tiles.t7 .tile.photo { min-height: 150px; font-size: 13.5px; }
  .tiles .tile.photo i { font-size: 13px; margin: 0; padding: 0 0 10px 12px; }
  .tiles .tile.photo span { padding: 0 12px 10px 8px; }
  .news, .apps, .cols-3, .cols-4, .form-grid, .footer .container { grid-template-columns: 1fr; }
  .apps .pic { margin: 0 0 18px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery, .gallery.g4 { grid-template-columns: 1fr 1fr; }
  .info-table th { width: 40%; }
  .callout .big { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Grands écrans : le site occupe la largeur et grandit un peu ---------- */
@media (min-width: 1400px) {
  body { font-size: 16.5px; }
  .banner { height: 280px; }
  .banner-title { font-size: 52px; }
  .banner-hero .banner-title { font-size: 58px; }
  .banner-claim { font-size: 20px; max-width: 620px; }
  .banner.banner-hero { min-height: 520px; }
  .banner-hero .banner-claim { font-size: 22px; max-width: 540px; }
  .mainnav > ul > li > a { padding: 5px 12px; }
  .tiles .tile.photo { min-height: 230px; }
  .tiles.t8 .tile.photo { min-height: 210px; }
  .tiles.t7 .tile.photo { min-height: 240px; }
  .row.tabs-layout { grid-template-columns: 380px 1fr; }
  .section { padding: 36px 0 70px; }
}
@media (min-width: 1900px) {
  body { font-size: 17px; }
  .banner { height: 320px; }
  .banner-title { font-size: 58px; }
  .banner-hero .banner-title { font-size: 64px; }
  .banner-claim { font-size: 21px; max-width: 680px; }
  .banner.banner-hero { min-height: 580px; }
  .tiles .tile.photo { min-height: 270px; }
  .tiles.t8 .tile.photo { min-height: 250px; }
  .tiles.t7 .tile.photo { min-height: 280px; }
}
.follow .ico.li { background: #0A66C2; }

/* ---------- Ils nous font confiance (logos clients) ---------- */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 14px 12px; min-height: 170px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.client:hover { border-color: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); text-decoration: none; color: var(--text); }
.client img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.client span { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.2; }
@media (max-width: 991px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients { grid-template-columns: repeat(2, 1fr); gap: 12px; } .client { min-height: 140px; } .client img { max-height: 85px; } }

/* Bandeau "marque" : dégradé sombre + logo SOS TECH en filigrane */
.banner.banner-brand { background: linear-gradient(110deg, #1B2226 0%, #2F363B 55%, #0B3A55 100%); }
.banner.banner-brand::before { display: none; }
.banner.banner-brand::after { content: ""; position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 210px; height: 210px; background: url("../../images/marque/icone.png") center / contain no-repeat; opacity: .25; }
@media (max-width: 600px) { .banner.banner-brand::after { width: 120px; height: 120px; right: 4%; opacity: .18; } }
