/* =====================================================================
   Page de l'entreprise (accueil yb-creativedigital.fr), version 2 : mêmes couleurs, plus de relief
   (chargée après site.css, seulement par la page de l'entreprise)
   ===================================================================== */
.pastille { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--bleu-fonce); background: #fff;
  border: 1px solid var(--bleu-pale); padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 12px -6px rgba(37, 99, 235, .3); margin-bottom: 22px; }
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--bleu), var(--cyan)); }

.yb-hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: linear-gradient(180deg, #F5F9FF 0%, #fff 100%); }
.yb-hero-fond { position: absolute; inset: 0; pointer-events: none; }
.tache { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.tache-bleue { width: 460px; height: 460px; background: #93C5FD; top: -160px; right: 8%; }
.tache-cyan { width: 380px; height: 380px; background: #A5F3FC; bottom: -160px; right: 32%; }
.tache-orange { width: 300px; height: 300px; background: #FED7AA; top: 30%; left: -180px; opacity: .35; }
.yb-hero-grille { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.yb-hero h1 { font-size: clamp(38px, 5.2vw, 62px); }
.yb-hero .chapeau { font-size: 20px; color: var(--ardoise-600); }
.yb-hero-visuel { position: relative; padding: 30px 10px 40px; }
.ecran-hero { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.yb-hero-visuel:hover .ecran-hero { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.bulle { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 18px 36px -14px rgba(15, 23, 42, .28); border: 1px solid var(--ardoise-100); animation: flotter 4s ease-in-out infinite; }
.bulle b { display: block; color: var(--ardoise-900); font-size: 15px; line-height: 1.2; }
.bulle small { display: block; color: var(--ardoise-500); font-size: 13px; }
.bulle-1 { top: 0; left: -24px; }
.bulle-2 { bottom: 8px; right: -12px; animation-delay: -1.5s; }
.bulle-3 { bottom: 34%; left: -40px; animation-delay: -3s; }
.bulle-icone { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; flex: none; }
.bulle-verte { background: linear-gradient(135deg, #22C55E, #16A34A); }
.bulle-bleue { background: linear-gradient(135deg, var(--bleu), var(--cyan)); }
.bulle-orange { background: linear-gradient(135deg, #FB923C, var(--orange)); }
@media (max-width: 960px) {
  .yb-hero { padding: 48px 0 64px; }
  .yb-hero-grille { grid-template-columns: 1fr; gap: 28px; }
  .ecran-hero, .yb-hero-visuel:hover .ecran-hero { transform: none; }
  .bulle-1 { left: 0; } .bulle-2 { right: 0; } .bulle-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bulle { animation: none; } }

.yb-atouts { background: var(--ardoise-900); color: #CBD5E1; }
.yb-atouts-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.yb-atouts-grille div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.yb-atouts svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #60A5FA; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .yb-atouts-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .yb-atouts-grille { grid-template-columns: 1fr; } }

.yb-service { position: relative; background: #fff; border: 1px solid var(--ardoise-100); border-radius: var(--rayon-grand); padding: 34px 30px; box-shadow: var(--ombre); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.yb-service:hover { transform: translateY(-4px); box-shadow: var(--ombre-bleue); }
.yb-service::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--bleu), var(--cyan), var(--orange)); opacity: 0; transition: opacity .25s; }
.yb-service:hover::after { opacity: 1; }
.yb-service p { color: var(--ardoise-500); margin: 0; }
.yb-service-icone { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.yb-service-icone svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icone-bleue { background: linear-gradient(135deg, #3B82F6, var(--bleu-fonce)); box-shadow: 0 12px 22px -10px rgba(37, 99, 235, .7); }
.icone-cyan { background: linear-gradient(135deg, #22D3EE, #0891B2); box-shadow: 0 12px 22px -10px rgba(6, 182, 212, .7); }
.icone-orange { background: linear-gradient(135deg, #FB923C, #EA580C); box-shadow: 0 12px 22px -10px rgba(249, 115, 22, .7); }

.yb-produit { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% 20%, rgba(37, 99, 235, .35), transparent 60%),
  radial-gradient(700px 400px at 10% 100%, rgba(6, 182, 212, .22), transparent 60%), var(--ardoise-900); color: #CBD5E1; }
.yb-produit h2 { color: #fff; margin: 0; font-size: clamp(34px, 4.4vw, 50px); }
.yb-produit .surtitre { color: #60A5FA; }
.yb-produit-grille { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.yb-produit-nom { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.yb-produit-nom img { border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.yb-produit-type { font-size: 19px; color: #E2E8F0; margin-bottom: 22px; }
.yb-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.yb-coches li { position: relative; padding-left: 32px; }
.yb-coches li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: rgba(96, 165, 250, .18); color: #93C5FD; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.yb-produit-visuel .ecran { transform: rotate(2deg); border-color: #020617; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.yb-produit-visuel:hover .ecran { transform: rotate(0) scale(1.02); }
.bouton-contour-clair { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .6); }
.bouton-contour-clair:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
@media (max-width: 960px) { .yb-produit-grille { grid-template-columns: 1fr; gap: 36px; } .yb-produit-visuel .ecran { transform: none; } }

.yb-apropos { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.yb-apropos-logo { background: #fff; border-radius: var(--rayon-grand); padding: 48px 36px; box-shadow: var(--ombre-bleue); border: 1px solid var(--ardoise-100); display: flex; justify-content: center; }
.yb-apropos p { color: var(--ardoise-600); }
.yb-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.yb-chiffres div { background: #fff; border: 1px solid var(--ardoise-100); border-radius: 16px; padding: 18px; }
.yb-chiffres strong { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; background: linear-gradient(90deg, var(--bleu-fonce), #0891B2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yb-chiffres span { font-size: 14px; color: var(--ardoise-500); }
@media (max-width: 900px) { .yb-apropos { grid-template-columns: 1fr; gap: 32px; } .yb-apropos-logo { max-width: 420px; } }
@media (max-width: 560px) { .yb-chiffres { grid-template-columns: 1fr; } }

.yb-contact { padding: 72px 0; background: #fff; }
.yb-contact-boite { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-radius: var(--rayon-grand); padding: 52px 56px;
  background: linear-gradient(120deg, #1E3A8A 0%, var(--bleu-fonce) 50%, #0E7490 100%); box-shadow: 0 30px 60px -24px rgba(37, 99, 235, .6); position: relative; overflow: hidden; color: #fff; }
.yb-contact-boite::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--orange); opacity: .22; filter: blur(60px); right: -100px; bottom: -160px; }
.yb-contact-boite > * { position: relative; z-index: 1; }
.yb-contact-boite h2 { color: #fff; margin-bottom: 8px; }
.yb-contact-boite p { margin: 0; font-size: 18px; max-width: 560px; }
.yb-contact-boutons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .yb-contact-boite { padding: 36px 26px; } }

.pied-yb .pied-grille { grid-template-columns: 1.6fr 1fr 1fr; }
.pied-logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.pied-logo img { height: 52px; width: auto; }
@media (max-width: 900px) { .pied-yb .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied-yb .pied-grille { grid-template-columns: 1fr; } }
