/* Page d'accueil v1.9.6 — écran partagé en diagonale : équipe (rouge sombre) / client (rose clair). */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(/public/fonts/Poppins-Regular.ttf) format("truetype"); }
@font-face { font-family: Poppins; font-weight: 500 600; font-display: swap; src: url(/public/fonts/Poppins-Medium.ttf) format("truetype"); }
@font-face { font-family: Poppins; font-weight: 700 800; font-display: swap; src: url(/public/fonts/Poppins-Bold.ttf) format("truetype"); }
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body.accueil { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; font-family: Poppins, "Segoe UI", Tahoma, Arial, sans-serif; color: #fff; background: #2b0a0c; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }

.half { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 6vw; transition: filter .3s ease; }
.half:hover, .half:focus-visible { filter: brightness(1.07); outline: none; }
.team { background: linear-gradient(135deg, #3a0d10 0%, #8e1015 55%, #c4161c 100%); clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%); align-items: flex-start; }
.client { background: linear-gradient(135deg, #fff7f6 0%, #ffe3df 60%, #ffcdc6 100%); color: #2a1416; clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%); align-items: flex-end; text-align: end; }
[dir="rtl"] .team { clip-path: polygon(100% 0, 42% 0, 58% 100%, 100% 100%); }
[dir="rtl"] .client { clip-path: polygon(42% 0, 0 0, 0 100%, 58% 100%); }
.half .ic { width: 170px; height: auto; animation: flotte 5s ease-in-out infinite; filter: drop-shadow(0 18px 25px rgba(0,0,0,.25)); }
.client .ic { animation-delay: -2.5s; }
.half b { font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.1; }
.half small { font-size: 15px; opacity: .82; max-width: 280px; }
.half .go { margin-top: 8px; font-weight: 600; font-size: 15px; padding: 11px 22px; border-radius: 999px; background: #fff; color: #b71c1c; box-shadow: 0 10px 22px -8px rgba(0,0,0,.45); transition: transform .25s; }
.client .go { background: #c62828; color: #fff; box-shadow: 0 10px 22px -8px rgba(183,28,28,.6); }
.half:hover .go { transform: translateX(4px); }
[dir="rtl"] .half:hover .go { transform: translateX(-4px); }

.seam { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 236px; height: 236px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 4; box-shadow: 0 20px 45px -10px rgba(0,0,0,.5); pointer-events: none; }
.seam img { width: 150px; height: auto; margin-top: -2px; }
.seam::before, .seam::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #ef5350; animation: onde 2.6s ease-out infinite; }
.seam::after { animation-delay: 1.3s; }

.lang { position: absolute; top: 18px; inset-inline-end: 20px; display: flex; gap: 4px; z-index: 5; font-size: 13px; font-weight: 600; }
.lang a { padding: 6px 11px; border-radius: 999px; color: #7a2b2b; }
.lang a.on { background: #c62828; color: #fff; }
.foot { position: absolute; bottom: 18px; inset-inline-end: 7vw; font-size: 13px; color: #7a3b3b; z-index: 3; }
.foot a { font-weight: 700; color: #b71c1c; }

@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes onde { 0% { transform: scale(.9); opacity: .75; } 100% { transform: scale(1.5); opacity: 0; } }

[hidden] { display: none !important; }
.install { position: absolute; bottom: 16px; inset-inline-start: 7vw; z-index: 5; font: 600 13px Poppins, sans-serif; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 14px; cursor: pointer; }

/* Téléphone : équipe en haut, client en bas, coupure en biais au milieu */
@media (max-width: 700px) {
  .half { gap: 4px; padding: 0 24px; align-items: center !important; text-align: center !important; }
  .team { clip-path: polygon(0 0, 100% 0, 100% 44%, 0 56%) !important; justify-content: flex-start; padding-top: max(76px, 10vh); }
  .client { clip-path: polygon(0 56%, 100% 44%, 100% 100%, 0 100%) !important; justify-content: flex-end; padding-bottom: max(64px, 8vh); }
  .half .ic { width: clamp(82px, 13vh, 120px); }
  .half b { font-size: 24px; }
  .half small { font-size: 14px; }
  .half .go { margin-top: 6px; padding: 9px 18px; font-size: 14px; }
  .seam { width: 164px; height: 164px; }
  .seam img { width: 104px; }
  .lang { top: 12px; inset-inline-end: 50%; transform: translateX(50%); }
  [dir="rtl"] .lang { transform: translateX(-50%); }
  .lang a { color: #ffd6d4; }
  .foot { inset-inline-end: 0; left: 0; right: 0; text-align: center; bottom: 16px; }
  .install { top: 12px; bottom: auto; inset-inline-start: 12px; padding: 6px 10px; font-size: 11px; }
  .lang { inset-inline-end: 12px; transform: none !important; }
}
@media (max-width: 700px) and (max-height: 760px) {
  .team { padding-top: 70px; } .client { padding-bottom: 52px; }
  .half .ic { width: 72px; } .half b { font-size: 21px; } .half small { font-size: 13px; }
  .half .go { padding: 7px 15px; font-size: 13px; }
  .seam { width: 138px; height: 138px; } .seam img { width: 88px; }
}
@media (max-width: 700px) and (max-height: 680px) { .half small { display: none; } .team { padding-top: 64px; } }
@media (max-width: 700px) and (max-height: 560px) { .half .go { display: none; } }
@media (prefers-reduced-motion: reduce) { .half .ic, .seam::before, .seam::after { animation: none; } }
