/* InfoBackup — override de marque sur le template Toxci (chargé APRÈS main.css).
   Couleurs EXACTES extraites des barres du logo :
     bleu   #0F76BD  (structure, liens, titres accent)
     orange #F87026  (actions / CTA — signature de la marque)
   Aucun violet, aucun dégradé décoratif (demande explicite du user). */

:root {
  --color-primary: #0F76BD;      /* vrai bleu InfoBackup (remplace le violet #6248ff du template) */
  --color-secondary: #F87026;    /* vrai orange InfoBackup */
}

/* ===== Système de boutons bi-ton (bleu + orange mélangés) =====
   - défaut  : bleu #0F76BD (via --color-primary sur .tp-btn)
   - .ib-orange  : CTA principal orange (survol → bleu)
   - .ib-outline : action secondaire en contour bleu (survol → plein bleu) */
.ib-orange {
  background-color: #F87026 !important;
  color: #fff !important;
  border-color: #F87026 !important;
}
.ib-orange b { background-color: #0F76BD !important; }
.ib-orange:hover, .ib-orange:hover span { color: #fff !important; }

.ib-outline {
  background-color: transparent !important;
  color: #0F76BD !important;
  border: 1.5px solid #0F76BD !important;
}
.ib-outline b { background-color: #0F76BD !important; }
.ib-outline:hover span, .ib-outline:hover { color: #fff !important; }

/* ===== Suppression du violet / des dégradés ===== */
/* Dégradé violet "AI slop" du hero (::before de la section home-9). */
[class*="#3615fe"]::before {
  background-image: none !important;
  background-color: #f6f7fa !important;
}
/* Halo violet/magenta de la bande CTA (image bg.png) + fond bleu nuit franc. */
img[src*="cta-9/bg.png"] { display: none !important; }
[class*="bg-[#110e2f]"] { background-color: #16233f !important; }
/* Spinner de préchargement (couleur violette en dur dans le template). */
.preloader::before,
.preloader::after { background: #0F76BD !important; }

/* ===== Correctifs de lisibilité ===== */
/* Icônes PNG blanches de la section "Une solution complète" : badge circulaire bleu. */
img[src*="/infobackup/settings.png"],
img[src*="/infobackup/phone.png"],
img[src*="/infobackup/favs.png"] {
  background: #0F76BD;
  border-radius: 50%;
  padding: 26px;
  width: 96px !important;
  height: 96px !important;
  object-fit: contain;
}

/* Bouton CTA de l'en-tête : pas de retour à la ligne (évite la troncature "Nous"). */
.tp-btn span { white-space: nowrap; }

/* ===== En-tête : pill compact centré (piloté ici car les classes Tailwind
   arbitraires ne sont pas compilées dans le template) ===== */
.ib-headwrap { max-width: 1120px; margin-inline: auto; }
.ib-headbar { padding-left: 32px; padding-right: 8px; }
/* Flex uniquement au breakpoint xl (≥1280) : en dessous, le menu est cloné dans le
   panneau mobile (offcanvas) et doit rester empilé verticalement, pas en ligne. */
@media (min-width: 1280px) { .ib-nav { display: flex; align-items: center; } }
.ib-nav > li { margin: 0 15px; }
.ib-nav > li > a { white-space: nowrap; }
.ib-navactive { color: #0F76BD !important; }
/* Hero de page intérieure : photo datacenter en fond + voile sombre (vivant). */
.ib-page-hero {
  position: relative; padding: 236px 0 132px; text-align: center; overflow: hidden;
}
/* Photo nette (pas de fondu). Voile sombre uniforme pour la lisibilité. */
.ib-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(180deg, rgba(11,18,29,.55) 0%, rgba(11,18,29,.5) 100%), var(--hero-img, url("../img/infobackup/datacenter.jpg"));
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.ib-page-hero > * { position: relative; z-index: 1; }
/* La section suivante remonte sur le bas de la photo (recouvrement plein #f6f7fa) :
   coupe droite nette, sans arrondi ni fondu. */
.ib-page-hero + div {
  position: relative; z-index: 2; margin-top: -40px; background: #f6f7fa;
}
.ib-page-hero .ib-eyebrow { margin-bottom: 12px; color: #7fb8e6; }
.ib-page-hero .ib-h2 { color: #fff; }
.ib-page-hero .ib-lead { color: rgba(255,255,255,.86); }
.ib-prose { max-width: 820px; margin: 0 auto; }
.ib-prose h2 { font-size: 28px; font-weight: 600; color: #161616; margin: 40px 0 14px; letter-spacing: -.01em; }
.ib-prose p { font-size: 16px; line-height: 1.7; color: #566270; margin: 0 0 14px; }
.ib-prose ul { margin: 0 0 16px; padding-left: 4px; list-style: none; }
.ib-prose ul li { position: relative; padding-left: 26px; margin: 9px 0; color: #566270; line-height: 1.55; }
.ib-prose ul li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: #0F76BD; }
.ib-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ib-fcard {
  display: grid; grid-template-columns: auto 1fr; column-gap: 15px; row-gap: 13px; align-items: center;
  background: #fff; border: 1px solid rgba(73,72,81,.08); border-radius: 18px;
  padding: 28px; box-shadow: 0 6px 22px rgba(3,4,28,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ib-fcard:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(3,4,28,.10); }
.ib-fic { grid-row: 1; grid-column: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; }
.ib-fic--blue   { background: rgba(15,118,189,.10); color: #0F76BD; }
.ib-fic--orange { background: rgba(248,112,38,.12); color: #F87026; }
.ib-fic--green  { background: rgba(47,168,79,.12);  color: #2FA84F; }
.ib-fcard h3 { grid-row: 1; grid-column: 2; font-size: 16px; font-weight: 600; line-height: 1.25; color: #161616; margin: 0; }
.ib-fcard p  { grid-column: 1 / -1; grid-row: 2; font-size: 15px; line-height: 1.6; color: #566270; margin: 0; }
@media (max-width: 900px) { .ib-feature-grid { grid-template-columns: repeat(2, 1fr); } .ib-page-hero { padding-top: 176px; } }
@media (max-width: 600px) { .ib-feature-grid { grid-template-columns: 1fr; } }

/* ===== Contenu stylé : panneaux + listes à coches + encart ===== */
.ib-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; }
.ib-panel { background: #fff; border: 1px solid rgba(73,72,81,.08); border-radius: 18px; padding: 34px 32px; box-shadow: 0 6px 22px rgba(3,4,28,.05); }
.ib-panel h3 { font-size: 20px; font-weight: 600; color: #161616; margin: 0 0 12px; }
.ib-panel > p { font-size: 15px; color: #566270; margin: 0 0 18px; line-height: 1.6; }
.ib-check { list-style: none; margin: 0; padding: 0; }
.ib-check li { position: relative; padding-left: 32px; margin: 12px 0; color: #3f4a52; font-size: 15px; line-height: 1.5; }
.ib-check li::before { content: ""; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: rgba(47,168,79,.14); }
.ib-check li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 5px; border-left: 2px solid #2FA84F; border-bottom: 2px solid #2FA84F; transform: rotate(-45deg); }
.ib-callout { display: flex; align-items: center; gap: 20px; max-width: 1040px; margin: 24px auto 0; padding: 28px 32px; background: #fff; border: 1px solid rgba(73,72,81,.08); border-radius: 16px; box-shadow: 0 6px 22px rgba(3,4,28,.05); }
.ib-callout h3 { font-size: 19px; font-weight: 600; color: #161616; margin: 0 0 6px; }
.ib-callout p { font-size: 15px; color: #566270; margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .ib-two-col { grid-template-columns: 1fr; } .ib-callout { flex-direction: column; text-align: center; } }

/* Visuel/capture cadré (diagrammes et screenshots de l'ancien site). */
.ib-shot { display:block; width:100%; height:auto; border:1px solid rgba(73,72,81,.12); border-radius:14px; box-shadow:0 10px 30px rgba(3,4,28,.08); background:#fff; }
.ib-shot--pad { padding:22px; }
.ib-figure { max-width:960px; margin:26px auto 0; }
.ib-figure figcaption { text-align:center; font-size:13px; color:#8a97a6; margin-top:12px; }
@media (max-width: 1280px) { .ib-nav > li { margin: 0 11px; } }

/* ===== Section "Une solution complète" : vitrine de compatibilité ===== */
/* Grille des vraies icônes de systèmes sauvegardés (Windows, VMware, SQL…). */
.ib-compat {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; max-width: 940px; margin: 0 auto;
}
.ib-logo-tile {
  width: 94px; height: 94px; background: #fff;
  border: 1px solid rgba(73,72,81,.12); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(3,4,28,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ib-logo-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(3,4,28,.1); }
.ib-logo-tile img { width: 48px; height: 48px; object-fit: contain; }

/* Hub InfoBackup central + connecteurs SVG animés (style "Way syncs" avec les
   vraies icônes système) : le hub "collecte" la sauvegarde de tous les systèmes. */
.ib-hubwrap { max-width: 900px; margin: 0 auto; }
.ib-hub {
  width: 86px; height: 86px; margin: 0 auto; background: #fff;
  border: 1px solid rgba(73,72,81,.10); border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(15,118,189,.18);
  position: relative; z-index: 2;
}
.ib-hub img { width: 46px; height: 46px; }
.ib-connectors { display: block; width: 100%; height: auto; margin: -2px 0 8px; }
.ib-compat--hub { max-width: 900px; }

/* Hero : cercles concentriques + vraies icônes système qui ORBITENT autour
   (style ib-home / image #4-#5), le tout derrière le texte. */
.ib-hero-rings {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  width: 820px; height: 820px; z-index: 0; pointer-events: none;
}
.ib-rings-img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 820px; max-width: none;
}
/* Couche qui tourne : porte les badges et les fait orbiter. */
.ib-orbit-layer {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  animation: ib-spin 50s linear infinite;
}
.ib-orbit-item {
  position: absolute; top: 0; left: 0;
  transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
}
.ib-obadge {
  position: absolute; width: 60px; height: 60px; margin: -30px; background: #fff;
  border-radius: 16px; box-shadow: 0 10px 26px rgba(3,4,28,.12);
  display: flex; align-items: center; justify-content: center;
  animation: ib-spin-rev 50s linear infinite; /* contre-rotation : reste droit */
}
.ib-obadge img { width: 32px; height: 32px; object-fit: contain; }
@keyframes ib-spin { to { transform: rotate(360deg); } }
@keyframes ib-spin-rev { to { transform: rotate(-360deg); } }

/* Titre du hero : ajusté pour tenir DANS les cercles (pas d'empiètement). */
.ib-hero-h1 { font-size: 46px !important; line-height: 1.12 !important; }
/* Padding haut du hero (espace sous l'en-tête). */
.ib-hero-pad { padding-top: 280px !important; }
/* Fondu haut/bas du hero : les icônes qui orbitent disparaissent en douceur
   (comme ib-home) au lieu d'être coupées net. Le fond du hero est grey-200 (#f6f7fa). */
.ib-hero-fade-b {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(246,247,250,0) 0%, #f6f7fa 88%);
}
.ib-hero-fade-t {
  position: absolute; left: 0; right: 0; top: 0; height: 110px;
  z-index: 3; pointer-events: none;
  background: linear-gradient(0deg, rgba(246,247,250,0) 0%, #f6f7fa 88%);
}
/* Remonte la section sous le hero (padding haut équilibré). */
.ib-tighttop { padding-top: 85px !important; }

/* ===== Titres/labels de section réutilisables (registre fin) ===== */
.ib-eyebrow { display:inline-block; font-size:13px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:#0F76BD; margin-bottom:10px; }
.ib-h2 { font-size:40px; font-weight:600; line-height:1.12; letter-spacing:-.02em; color:#161616; margin:0 0 14px; }
.ib-lead { font-size:17px; line-height:1.6; color:#566270; max-width:640px; margin:0 auto; }

/* Conformité : 4 items fins, icônes teintées douces (fini le bloc sombre). */
.ib-conf-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:26px; max-width:1060px; margin:0 auto; }
.ib-conf { text-align:center; }
.ib-conf-ic { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:15px; margin-bottom:15px; }
.ib-conf-ic--blue   { background:rgba(15,118,189,.10); color:#0F76BD; }
.ib-conf-ic--orange { background:rgba(248,112,38,.12); color:#F87026; }
.ib-conf-ic--green  { background:rgba(47,168,79,.12);  color:#2FA84F; }
.ib-conf h3 { font-size:16px; font-weight:600; color:#161616; margin:0 0 5px; }
.ib-conf p  { font-size:14px; line-height:1.5; color:#77767a; margin:0; }

/* CTA fin : bande bleu très clair, pas de bloc sombre. */
.ib-cta-band { background:#eef4fb; }
.ib-cta-inner { padding-top:92px !important; padding-bottom:92px !important; }

/* Masque les fines lignes de séparation verticales du template (décoratives, moches). */
span[class*="w-[1px]"] { display: none !important; }

@media (max-width:900px){ .ib-conf-grid{ grid-template-columns:repeat(2,1fr);} .ib-h2{ font-size:30px; } }

@media (max-width: 1100px) { .ib-orbit-layer { display: none; } .ib-rings-img { width: 560px; } .ib-hero-pad { padding-top: 210px !important; } }
@media (max-width: 767px)  { .ib-hero-h1 { font-size: 34px !important; } .ib-hero-rings { opacity: .5; } }

/* 3 points en cartes, accent de couleur de marque en haut (bleu / orange / vert). */
.ib-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1040px; margin: 56px auto 0;
}
.ib-point {
  text-align: left; padding: 26px 26px; background: #fff;
  border: 1px solid rgba(73,72,81,.10); border-radius: 16px;
  box-shadow: 0 4px 18px rgba(3,4,28,.04);
}
.ib-point h3 {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 19px; margin: 0 0 10px; color: #161616;
}
.ib-point h3::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px;
  background: #0F76BD; flex: 0 0 auto;
}
.ib-point--2 h3::before { background: #F87026; }
.ib-point--3 h3::before { background: #2FA84F; }
.ib-point p  { font-size: 15px; line-height: 1.6; color: #566270; margin: 0; }
@media (max-width: 900px) { .ib-points { grid-template-columns: 1fr; } }

/* ===== Téléchargements : cartes produit verticales =====
   Le "boxshot" carré (tuile + glyphe + label) est reconstruit en CSS aux couleurs
   de marque — les visuels PNG d'origine étaient basse déf et contenaient du violet. */
.ib-dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1120px; margin: 0 auto; }
.ib-dlcard {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid rgba(73,72,81,.08); border-radius: 20px;
  padding: 40px 30px 34px; box-shadow: 0 6px 22px rgba(3,4,28,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ib-dlcard:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(3,4,28,.10); }
.ib-boxshot {
  width: 128px; height: 128px; border-radius: 22px; margin-bottom: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  color: #fff; box-shadow: 0 12px 26px rgba(3,4,28,.16);
}
.ib-boxshot--blue   { background: #0F76BD; }
.ib-boxshot--orange { background: #F87026; }
.ib-boxshot--green  { background: #2FA84F; }
.ib-boxshot-glyph {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; font-size: 25px; font-weight: 600;
}
.ib-boxshot-label { font-size: 12px; font-weight: 600; letter-spacing: .02em; opacity: .96; }
.ib-dlcard h3 { font-size: 20px; font-weight: 600; color: #161616; margin: 0 0 4px; }
.ib-dl-tag { font-size: 13px; font-weight: 600; color: #0F76BD; margin: 0 0 14px; }
.ib-dlcard > p { font-size: 15px; line-height: 1.6; color: #566270; margin: 0 0 20px; }
.ib-dl-targets { list-style: none; margin: 0 0 26px; padding: 0; width: 100%; max-width: 260px; }
.ib-dl-targets li { position: relative; padding-left: 30px; text-align: left; margin: 10px 0; font-size: 14px; color: #3f4a52; line-height: 1.45; }
.ib-dl-targets li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(47,168,79,.14); }
.ib-dl-targets li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 5px; border-left: 2px solid #2FA84F; border-bottom: 2px solid #2FA84F; transform: rotate(-45deg); }
.ib-dl-foot { margin-top: auto; width: 100%; display: flex; flex-direction: column; align-items: center; }
.ib-dl-os { font-size: 12.5px; color: #8a97a6; margin: 0 0 16px; }
/* Liens de téléchargement par OS (un par plateforme disponible). */
.ib-dl-links { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 300px; }
.ib-dl-links li { margin: 8px 0; }
.ib-dl-links a {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px;
  border: 1.5px solid rgba(15,118,189,.35); color: #0F76BD; font-size: 14px; font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
/* Survol doux (fond bleu clair) : garde les logos OS colorés lisibles, sans badge. */
.ib-dl-links a:hover { background: #eef4fb; border-color: #0F76BD; color: #0F76BD; }
/* Logo OS nu (sans fond ni badge). */
.ib-os-ic { width: 22px; height: 22px; flex: 0 0 auto; object-fit: contain; }
.ib-dl-size { margin-left: auto; font-weight: 500; font-size: 12.5px; opacity: .72; }
/* Encart documentation : liste de liens PDF (2 colonnes desktop, 1 mobile). */
.ib-callout--top { align-items: flex-start; }
.ib-doclinks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.ib-doclinks a { display: flex; align-items: center; gap: 10px; padding: 8px 2px; font-size: 14px; font-weight: 500; color: #3f4a52; line-height: 1.35; transition: color .2s ease; }
.ib-doclinks a:hover { color: #0F76BD; }
.ib-doclinks a > svg { flex: 0 0 auto; color: #0F76BD; }
.ib-doc-meta { margin-left: auto; padding-left: 12px; font-size: 12px; color: #8a97a6; white-space: nowrap; }
@media (max-width: 700px) { .ib-doclinks { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .ib-dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ib-dl-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* ===== Solutions : barre de sélection de segment (onglets pills) =====
   Permet de circuler entre les 4 pages segment ; l'onglet courant est plein bleu. */
.ib-segbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto 46px; }
.ib-seg {
  display: inline-block; padding: 10px 20px; border-radius: 40px; white-space: nowrap;
  font-size: 14px; font-weight: 600; color: #566270;
  background: #fff; border: 1px solid rgba(73,72,81,.14);
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.ib-seg:hover { color: #0F76BD; border-color: rgba(15,118,189,.5); }
.ib-seg--active, .ib-seg--active:hover { color: #fff; background: #0F76BD; border-color: #0F76BD; }
@media (max-width: 520px) { .ib-seg { padding: 8px 15px; font-size: 13px; } }
