@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Roboto:wght@400;500&display=swap");

:root {
  --color-primary-blue: #1f2a40;
  --color-primary-green: #2bbf7a;
  --color-accent-red: #d41e3f;
  --color-neutral-white: #fff;
  --color-neutral-light: #f5f6f7;
  --color-neutral-medium: #a0a4a8;
}

body,
.navbar,
.navbar-brand,
.nav-link,
.btn {
  font-family: "Roboto", "Inter", "Nunito", "El Messiri", serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title-typewriter,
.animated-underline,
.section-title,
.card-title,
.footer-title {
  font-family: "Montserrat", "Roboto", sans-serif !important;
  font-weight: 700 !important;
  color: var(--color-primary-blue);
}

.cta,
.btn,
.btn-primary,
.demo-btn,
.navbar-pro-login {
  font-family: "Montserrat", "Roboto", sans-serif !important;
  font-weight: 500 !important;
}

.text-secondary,
.footer,
.footer-links,
.footer-links a,
.footer .premium-footer-text {
  color: var(--color-neutral-medium) !important;
}

body {
  background-color: var(--color-neutral-white) !important;
  font-family: "Montserrat", sans-serif;
  background-image: none !important;
  background-repeat: initial;
  background-position: initial;
  background-size: initial;
  background-attachment: initial;
  /* plus aucune animation sur le body */
  position: relative;
  z-index: 1;
}

@keyframes bgParallax {
  0% {
    background-position: 52% 48%;
  }
  100% {
    background-position: 48% 52%;
  }
}

@keyframes flagMove {
  0% {
    background-position: center 48%;
  }
  100% {
    background-position: center 52%;
  }
}

.hero {
  min-height: 100vh;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 #00b4d822;
  position: relative;
  z-index: 1;
}
.demo-btn {
  background: #00b4d8 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: none !important;
  transition: background 0.3s;
}
.demo-btn:hover {
  background: #14532d !important;
  color: #fff !important;
  box-shadow: none !important;
}
img {
  border: 4px solid #fff;
}
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  .hero img {
    max-height: 200px;
  }
}

/* Workflow steps */
.workflow-steps {
  position: relative;
}
.workflow-step-anim {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  filter: blur(2px);
  animation: workflowStepIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20, 83, 45, 0.07);
  padding: 24px 16px;
  min-width: 120px;
  font-weight: 600;
  color: #14532d;
  margin-bottom: 0;
}
.workflow-step-anim.step-1 {
  animation-delay: 0.2s;
}
.workflow-step-anim.step-2 {
  animation-delay: 0.8s;
}
.workflow-step-anim.step-3 {
  animation-delay: 1.4s;
}

@keyframes workflowStepIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
    filter: blur(0.5px);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.13);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.04);
    background: linear-gradient(90deg, #e3f6fd11 0%, #fff 100%);
  }
}

.workflow-arrow-anim {
  opacity: 0;
  font-size: 2.2rem;
  color: #a4161a;
  animation:
    workflowArrowIn 0.8s cubic-bezier(0.4, 2, 0.6, 1) forwards,
    arrowPulse 1.2s 1.8s infinite alternate;
  animation-play-state: paused;
  margin: 0 8px;
}
.workflow-arrow-anim.arrow-1 {
  animation-delay: 0.5s, 2s;
}
.workflow-arrow-anim.arrow-2 {
  animation-delay: 1.1s, 2.6s;
}

@keyframes workflowArrowIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes arrowPulse {
  0% {
    color: #a4161a;
    text-shadow: none;
  }
  100% {
    color: #00b4d8;
    text-shadow: 0 0 8px #00b4d833;
  }
}

.workflow-timeline {
  min-height: 120px;
  margin: 32px 0 0 0;
}
.workflow-step-txt {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(2px);
  animation: workflowStepTxtIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
  z-index: 2;
  min-width: 120px;
}
.workflow-step-txt.step-1 {
  animation-delay: 0.2s;
}
.workflow-step-txt.step-2 {
  animation-delay: 0.7s;
}
.workflow-step-txt.step-3 {
  animation-delay: 1.2s;
}
@keyframes workflowStepTxtIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.workflow-dot {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 4px solid #00b4d8;
  border-radius: 50%;
  margin: 0 auto 8px auto;
  box-shadow: 0 0 0 0 #00b4d8;
  transition: box-shadow 0.4s;
  position: relative;
  z-index: 3;
}
.workflow-step-txt.in-view .workflow-dot,
.workflow-step-txt:hover .workflow-dot {
  box-shadow:
    0 0 16px #00b4d8cc,
    0 0 32px #00b4d822;
  border-color: #a4161a;
}
.workflow-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  background: #fff;
  border-radius: 8px;
  padding: 2px 10px;
  display: inline-block;
  box-shadow: 0 2px 8px #00b4d811;
}
.workflow-line {
  flex: 1 1 0;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  opacity: 0;
  transform: scaleX(0.7);
  border-radius: 2px;
  margin: 0 0.5rem;
  animation: workflowLineIn 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.workflow-line:nth-of-type(1) {
  animation-delay: 0.45s;
}
.workflow-line:nth-of-type(2) {
  animation-delay: 0.95s;
}
@keyframes workflowLineIn {
  0% {
    opacity: 0;
    transform: scaleX(0.7);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}
.workflow-final-text {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(2px);
  animation:
    workflowFinalIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) 1.7s forwards,
    bounceText 1.2s 2.7s 1 both;
  animation-play-state: paused;
}
@keyframes workflowFinalIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(-4px);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes bounceText {
  0% {
    transform: translateY(30px);
  }
  40% {
    transform: translateY(-10px) scale(1.04);
  }
  60% {
    transform: translateY(4px) scale(0.98);
  }
  80% {
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    transform: none;
  }
}

/* Motif zellige subtil sur plusieurs sections */
/* SUPPRIMÉ : plus de mosaïque */

/* Boutons marocains */
.btn,
.btn-primary,
.btn-success,
.btn-outline-primary,
.btn-outline-success {
  background: linear-gradient(90deg, #0b8619 60%, #00b4d8 100%) !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border-radius: 30px !important;
  box-shadow: 0 4px 24px #00b4d822;
  padding: 0.7em 2.2em;
  letter-spacing: 0.5px;
  border: none;
  transition:
    background 0.3s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  font-size: 1.13rem;
}
.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
  background: linear-gradient(90deg, #00b4d8 60%, #0b8619 100%) !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px #00b4d822;
}
.btn-outline-danger {
  background: #fff !important;
  color: #a4161a !important;
  border: 2px solid #a4161a !important;
  font-weight: 700;
  border-radius: 30px !important;
  transition:
    background 0.2s,
    color 0.2s,
    border 0.2s;
}
.btn-outline-danger:hover {
  background: #a4161a !important;
  color: #fff !important;
  border: 2px solid #a4161a !important;
}

/* Cartes solutions interactives */
.card {
  border-radius: 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 16px rgba(20, 83, 45, 0.07);
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(164, 22, 26, 0.13);
  border: 1.5px solid #a4161a22;
}

/* Workflow animé */
.workflow-step {
  position: relative;
  overflow: hidden;
  border: 2px solid #a4161a22;
  transition:
    box-shadow 0.2s,
    border 0.2s;
}
.workflow-step:hover {
  box-shadow: 0 8px 32px rgba(20, 83, 45, 0.13);
  border: 2px solid #14532d55;
}

/* Scroll to top */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: #fff;
  border: 2px solid #a4161a;
  color: #a4161a;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 2px 12px rgba(164, 22, 26, 0.13);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border 0.2s;
  opacity: 0.85;
}
#scrollTopBtn:hover {
  background: #a4161a;
  color: #fff;
  border: 2px solid #14532d;
  opacity: 1;
}

/* Footer calligraphie */
footer {
  font-family: "El Messiri", serif;
  letter-spacing: 0.5px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="40" viewBox="0 0 100 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 20 Q50 40 100 20" stroke="%23fff" stroke-width="2" fill="none"/></svg>');
  background-repeat: repeat-x;
  background-size: 200px 40px;
}

/* Transitions douces */
section,
.card,
.btn,
nav,
footer {
  transition: all 0.3s cubic-bezier(0.4, 2, 0.6, 1);
}

/* Responsive amélioré */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  .hero img {
    max-height: 200px;
  }
  .btn,
  .btn-primary,
  .btn-success,
  .btn-outline-primary,
  .btn-outline-success {
    padding: 0.6em 1.5em;
    font-size: 1rem;
  }
}

/* Drapeau marocain */
.maroc-flag {
  width: 48px;
  height: 32px;
  display: inline-block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="32" viewBox="0 0 48 32"><rect width="48" height="32" fill="%23c1272d"/><polygon points="24,7 26,19 16,13 32,13 22,19" fill="none" stroke="%23006c35" stroke-width="2.5"/></svg>')
    no-repeat center/cover;
  vertical-align: middle;
  margin-left: 8px;
}

/* Footer calligraphie et drapeau */
footer .maroc-flag {
  width: 32px;
  height: 22px;
  margin-left: 12px;
}

section {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(20, 83, 45, 0.04);
  padding-top: 32px;
  padding-bottom: 32px;
}

#bg-ia {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: none !important;
  /* plus aucun motif ni image */
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.animated-underline {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.animated-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8 0%, #6c757d 100%);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.4, 2, 0.6, 1);
}
.animated-underline.in-view::after {
  transform: scaleX(1);
}

/* Animation au scroll */
.pourquoi-list li {
  opacity: 0;
  transform: translateX(-40px) scale(0.97);
  filter: blur(2px) brightness(0.95);
  animation: fadeInLeftPretty 2s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
  box-shadow: none;
}
.pourquoi-list li.in-view {
  /* Pour forcer l'effet si besoin */
  animation-play-state: running;
}
.pourquoi-list li:nth-child(1) {
  animation-delay: 0.3s;
}
.pourquoi-list li:nth-child(2) {
  animation-delay: 1s;
}
.pourquoi-list li:nth-child(3) {
  animation-delay: 1.7s;
}
.pourquoi-list li:nth-child(4) {
  animation-delay: 2.4s;
}
.pourquoi-list li:nth-child(5) {
  animation-delay: 3.1s;
}

@keyframes fadeInLeftPretty {
  0% {
    opacity: 0;
    transform: translateX(-40px) scale(0.97);
    filter: blur(2px) brightness(0.95);
    box-shadow: none;
  }
  80% {
    opacity: 1;
    transform: translateX(4px) scale(1.03);
    filter: blur(0.5px) brightness(1.05);
    box-shadow: 0 4px 24px rgba(0, 180, 216, 0.07);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.04);
    background: linear-gradient(90deg, #e3f6fd11 0%, #fff 100%);
    border-radius: 8px;
  }
}

.pourquoi-list ~ .d-flex img {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  filter: blur(2px);
  animation: imgFadeInZoom 1.8s cubic-bezier(0.4, 2, 0.6, 1) 0.7s forwards;
}
@keyframes imgFadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: scale(1.04) translateY(-6px);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.pq-img-animated {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  filter: blur(2px);
  animation: imgFadeInZoom 1.8s cubic-bezier(0.4, 2, 0.6, 1) 0.7s forwards;
}

.workflow-step-anim .workflow-icon {
  font-size: 2.5rem;
  transition:
    box-shadow 0.4s,
    filter 0.4s,
    transform 0.3s;
  box-shadow: 0 0 0px #00b4d8;
  filter: drop-shadow(0 0 0px #00b4d8);
}
.workflow-step-anim.in-view .workflow-icon,
.workflow-step-anim:hover .workflow-icon {
  box-shadow:
    0 0 16px #00b4d8cc,
    0 0 32px #00b4d822;
  filter: drop-shadow(0 0 8px #00b4d8cc);
  transform: scale(1.12) rotate(-3deg);
}

.workflow-step-anim {
  cursor: pointer;
}

.tarifs-cards .card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(2px);
  animation: tarifsCardIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.tarifs-cards .card:nth-child(1) {
  animation-delay: 0.2s;
}
.tarifs-cards .card:nth-child(2) {
  animation-delay: 0.6s;
}
.tarifs-cards .card:nth-child(3) {
  animation-delay: 1s;
}
@keyframes tarifsCardIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
    filter: blur(0.5px);
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.13);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.04);
  }
}

.card-pro {
  border: 2.5px solid #00b4d8;
  box-shadow:
    0 0 0 4px #00b4d822,
    0 8px 32px #00b4d822;
  z-index: 2;
  transform: scale(1.04) translateY(-8px);
  position: relative;
  overflow: visible;
}
.card-pro .btn-primary.demo-btn {
  box-shadow:
    0 0 16px #00b4d822,
    0 0 32px #00b4d822;
  animation: btnPulse 1.2s infinite alternate;
}
@keyframes btnPulse {
  0% {
    box-shadow: 0 0 8px #00b4d8cc;
  }
  100% {
    box-shadow:
      0 0 24px #00b4d8cc,
      0 0 32px #00b4d822;
  }
}
.card-pro .badge-pop {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #00b4d8 60%, #a4161a 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  padding: 6px 22px;
  box-shadow: 0 2px 8px #00b4d822;
  letter-spacing: 1px;
  z-index: 3;
}

.hero-benefits {
  margin-bottom: 1.5rem;
}
.benefit-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 180, 216, 0.07);
  padding: 18px 28px;
  min-width: 170px;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(2px);
  animation: benefitIn 1.2s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.benefit-item:nth-child(1) {
  animation-delay: 0.2s;
}
.benefit-item:nth-child(2) {
  animation-delay: 0.6s;
}
.benefit-item:nth-child(3) {
  animation-delay: 1s;
}
.benefit-item:hover {
  box-shadow:
    0 8px 32px #00b4d822,
    0 0 0 4px #00b4d822;
  transform: scale(1.06) translateY(-4px) rotate(-2deg);
  z-index: 2;
}
.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
  color: #00b4d8;
  filter: drop-shadow(0 0 8px #00b4d8cc);
  transition:
    filter 0.3s,
    color 0.3s,
    transform 0.3s;
}
.benefit-item:hover .benefit-icon {
  color: #a4161a;
  filter: drop-shadow(0 0 16px #a4161a);
  transform: scale(1.18) rotate(6deg);
}
.benefit-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}
@keyframes benefitIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(2px);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* --- KPI CARDS ALIGNÉES ET AJUSTÉES --- */
.kpi-row-admin {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1.2rem !important;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 1.5rem;
}
.kpi-card-new {
  flex: 1 1 0;
  max-width: 220px;
  min-width: 0;
  background: #fff;
  border: 2px solid #0b8619 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px #0074d922;
  padding: 12px 8px 10px 8px !important;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.kpi-card-title {
  font-weight: 600 !important;
  font-size: 0.97rem !important;
  text-align: center;
  word-break: break-word;
  margin-bottom: 2px;
}
.kpi-card-value {
  font-weight: 800 !important;
  font-size: 1.18rem !important;
  text-align: center;
  margin-top: 2px;
}
@media (max-width: 1200px) {
  .kpi-row-admin {
    gap: 0.7rem !important;
  }
  .kpi-card-new {
    max-width: 170px;
    font-size: 0.93rem;
  }
}
@media (max-width: 900px) {
  .kpi-row-admin {
    flex-wrap: wrap !important;
    gap: 0.7rem !important;
  }
  .kpi-card-new {
    flex: 1 1 45%;
    max-width: 45%;
    min-width: 120px;
    font-size: 0.91rem;
    min-height: 60px;
  }
  .kpi-card-title,
  .kpi-card-value {
    font-size: 0.91rem !important;
  }
}

/* Gradient animé sur la navbar */
.navbar-pro {
  background: linear-gradient(120deg, #ffffffcc 0%, #e0f7fa 40%, #f8e1ff 100%);
  background-size: 200% 200%;
  animation: navbarGradientMove 8s ease-in-out infinite;
}
@keyframes navbarGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* Glow/pulsation douce sur le bouton Login */
.navbar-pro-login {
  animation: loginGlowPulse 2.8s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes loginGlowPulse {
  0% {
    box-shadow:
      0 2px 16px #00b4d8aa,
      0 0 0 #a4161a00;
  }
  100% {
    box-shadow:
      0 6px 32px #00b4d8cc,
      0 0 24px #a4161a44;
  }
}
/* Underline animé en boucle sous chaque lien du menu */
.navbar-pro-link::after {
  animation: underlineLoop 2.7s linear infinite;
}
@keyframes underlineLoop {
  0% {
    opacity: 0.5;
    transform: scaleX(0.5);
  }
  20% {
    opacity: 1;
    transform: scaleX(1);
  }
  60% {
    opacity: 1;
    transform: scaleX(1);
  }
  80% {
    opacity: 0.5;
    transform: scaleX(0.5);
  }
  100% {
    opacity: 0.5;
    transform: scaleX(0.5);
  }
}

.navbar-pro-row {
  gap: 0.5em !important;
  margin-top: 0.1em;
}
.navbar-pro-link {
  color: #23272f !important;
  font-weight: 600;
  font-size: 1.08em;
  border-radius: 14px;
  padding: 0.45em 1.25em;
  position: relative;
  transition:
    color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
  background: none !important;
  box-shadow: none !important;
  letter-spacing: 0.1px;
  overflow: hidden;
}
.navbar-pro-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 7px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.18s,
    transform 0.22s;
  z-index: 2;
}
.navbar-pro-link:hover::after,
.navbar-pro-link:focus::after,
.navbar-pro-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}
.navbar-pro-link:hover,
.navbar-pro-link:focus {
  color: #00b4d8 !important;
  background: rgba(0, 180, 216, 0.07) !important;
  box-shadow: 0 2px 12px #00b4d822;
}
.navbar-pro-login {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow:
    0 2px 16px #00b4d8aa,
    0 0 0 #a4161a00;
  border: none;
  padding: 0.45em 1.7em;
  font-size: 1.08em;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s;
  position: relative;
  overflow: hidden;
}
.navbar-pro-login:hover,
.navbar-pro-login:focus {
  background: linear-gradient(90deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.07) translateY(-2px);
}
@media (max-width: 991px) {
  .navbar-pro {
    border-radius: 0 0 18px 18px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  .navbar-pro-menu {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px 0 #00b4d822;
    margin-top: 0.5em;
    padding: 1.2em 0.5em 1.2em 0.5em;
    transition:
      max-height 0.5s cubic-bezier(0.4, 2, 0.6, 1),
      opacity 0.3s;
  }
  .navbar-pro-link {
    font-size: 1.13em;
    padding: 0.9em 1.2em;
    border-radius: 14px;
    margin-bottom: 0.5em;
    width: 100%;
    display: block;
    justify-content: flex-start;
  }
  .navbar-pro-login {
    width: 100%;
    margin: 0.2em auto 0.2em auto;
    font-size: 1.13em;
    padding: 0.9em 1.2em;
  }
}

/* --- BOUTONS SIMPLIFIÉS --- */
.btn,
.btn-sm,
.btn-info,
.btn-secondary,
.btn-outline-primary,
.btn-warning {
  border-radius: 8px !important;
  font-weight: 500;
  font-size: 0.98em;
  padding: 0.35em 1.1em;
  box-shadow: none;
  border: 1px solid #e0e0e0;
  background: #f7f7fa;
  color: #222;
  transition:
    background 0.18s,
    color 0.18s,
    border 0.18s;
}
.btn-info {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #b6d4fe;
}
.btn-info:hover {
  background: #bbdefb;
  color: #1565c0;
}
.btn-secondary {
  background: #f0f0f0;
  color: #888;
  border: 1px solid #e0e0e0;
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  opacity: 0.7;
  color: #bbb;
}
.btn-outline-primary {
  background: #fff;
  color: #1976d2;
  border: 1px solid #b6d4fe;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: #e3f2fd;
  color: #1565c0;
}
.btn-warning {
  background: #fff8e1;
  color: #b28704;
  border: 1px solid #ffe082;
}
.btn-warning:hover {
  background: #ffe082;
  color: #b28704;
}

/* --- TABLEAU PREMIUM MODERNE --- */
.card.macos-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
  border: 1px solid #f0f0f0;
}
.table.macos-table {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 2px 12px #e3f6fd33;
}
.table.macos-table thead th {
  background: #f7f7fa;
  font-weight: 600;
  color: #222;
  border-bottom: 2px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}
.table.macos-table tbody tr {
  transition: background 0.18s;
}
.table.macos-table tbody tr:hover {
  background: #e3f6fd55;
}
.table.macos-table td,
.table.macos-table th {
  border: none;
  vertical-align: middle;
  text-align: center;
  padding: 0.65rem 0.4rem;
  font-size: 0.99rem;
}
.table.macos-table td {
  background: transparent;
}
.badge.bg-success,
.badge.bg-danger,
.badge.bg-secondary {
  border-radius: 8px;
  font-size: 0.93em;
  padding: 0.32em 0.9em;
  font-weight: 500;
  box-shadow: none;
}
.dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 2px 12px #e3f6fd33;
  border: none;
  min-width: 160px;
  padding: 0.4em 0;
}
.dropdown-item {
  border-radius: 7px;
  margin: 0.1em 0.2em;
  font-size: 0.98em;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: #e3f2fd;
  color: #1976d2;
}
@media (max-width: 900px) {
  .card.macos-glass {
    padding: 1rem !important;
  }
  .table.macos-table th,
  .table.macos-table td {
    font-size: 0.95rem;
    padding: 0.5rem 0.15rem;
  }
}

@media (max-width: 600px) {
  .macos-modal-content {
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    width: 100vw !important;
    margin: 0 !important;
  }
  .macos-modal-header,
  .macos-modal-body {
    padding: 10px 6px !important;
    font-size: 0.98rem !important;
  }
  .macos-modal-title {
    font-size: 1.05rem !important;
  }
}

/* Fond animé IA (le canvas est géré par particles.js) */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* Navbar glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px #00b4d822;
  border-radius: 0 0 18px 18px;
}

/* Hero section */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding-top: 90px;
}
.avatar-ia {
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  border-radius: 50%;
  box-shadow:
    0 4px 32px #00b4d855,
    0 0 0 8px #fff2;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.neon-btn {
  background: #00b4d8 !important;
  color: #fff !important;
  border: none;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  border-radius: 32px;
  font-size: 1.2em;
  letter-spacing: 1px;
}
.neon-btn:hover {
  background: #14532d !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Glassmorphism cards */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition:
    box-shadow 0.3s,
    transform 0.2s;
}
.glass-card:hover {
  box-shadow:
    0 12px 40px 0 #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: translateY(-4px) scale(1.03);
}

/* Section titres soulignés animés */
.animated-underline {
  display: inline-block;
  position: relative;
}
.animated-underline::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8, #a4161a);
  border-radius: 2px;
  margin: 0.2em auto 0 auto;
  animation: underlineAnim 2s infinite alternate;
}
@keyframes underlineAnim {
  0% {
    width: 60%;
  }
  100% {
    width: 90%;
  }
}

/* Pourquoi badges */
.pourquoi-list li {
  margin-bottom: 1.1em;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.pourquoi-list .badge {
  font-size: 1em;
  padding: 0.5em 0.9em;
  border-radius: 16px;
  box-shadow: 0 2px 8px #00b4d822;
}

/* Workflow timeline */
.workflow-timeline {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 2em 1em;
  box-shadow: 0 2px 16px #00b4d822;
  margin-bottom: 1.5em;
}
.workflow-step-txt {
  flex: 1;
  position: relative;
  z-index: 1;
}
.workflow-dot {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  border-radius: 50%;
  margin: 0 auto 0.5em auto;
  box-shadow: 0 2px 8px #00b4d822;
  border: 3px solid #fff;
}
.workflow-label {
  font-weight: 600;
  color: #14532d;
  font-size: 1.1em;
}
.workflow-line {
  flex: none;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8, #a4161a);
  border-radius: 2px;
  margin: 0 0.5em;
}

/* Tarifs */
.badge-pop {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #00b4d8, #a4161a);
  color: #fff;
  font-weight: 700;
  border-radius: 16px;
  padding: 0.4em 1.2em;
  font-size: 1em;
  box-shadow: 0 2px 8px #00b4d822;
  letter-spacing: 1px;
  animation: popBadge 1.5s infinite alternate;
}
@keyframes popBadge {
  0% {
    transform: translateX(-50%) scale(1);
  }
  100% {
    transform: translateX(-50%) scale(1.08);
  }
}

/* Footer IA */
.footer-ia {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 16px #00b4d822;
}
.footer-ia .footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-ia .footer-links a:hover {
  color: #ffe066;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
  }
  .glass-card {
    margin-bottom: 1.5em;
  }
}
@media (max-width: 600px) {
  .hero-section {
    min-height: 70vh;
  }
  .avatar-ia {
    width: 70px;
    height: 70px;
  }
  .glass-card {
    padding: 0.7em;
  }
  .workflow-line {
    width: 30px;
  }
}

/* Animation logo Hero */
.animated-logo {
  animation: logoPulse 2.5s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes logoPulse {
  0% {
    filter: drop-shadow(0 0 0 #00b4d8);
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 16px #00b4d8cc);
    transform: scale(1.07);
  }
}

/* Animation titre Hero */
.animated-title {
  animation:
    typingIA 2.2s steps(16, end) 1,
    blinkCaret 0.7s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #a4161a;
  display: inline-block;
}
@keyframes typingIA {
  from {
    width: 0;
  }
  to {
    width: 12ch;
  }
}
@keyframes blinkCaret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #a4161a;
  }
}

/* Animation d'apparition fade-in-up */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Animation d'apparition fade-in-left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: fadeInLeft 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  80% {
    opacity: 1;
    transform: translateX(6px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Icônes IA stylisées */
.ia-icon {
  font-size: 1.3em;
  margin-right: 7px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px #00b4d8aa);
  transition: filter 0.2s;
}
.solution-card:hover .ia-icon,
.pourquoi-list li:hover .ia-icon {
  filter: drop-shadow(0 0 10px #a4161a);
}

/* Badges animés pour tarifs */
.badge-pop-anim {
  animation: popBadge 1.2s cubic-bezier(0.4, 2, 0.6, 1) infinite alternate;
  font-size: 1em;
  padding: 0.5em 1em;
  border-radius: 16px;
  box-shadow: 0 0 8px #00b4d833;
}
@keyframes popBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px #00b4d833;
  }
  100% {
    transform: scale(1.08);
    box-shadow: 0 0 18px #a4161a44;
  }
}

/* Apparition au scroll (JS) */
.fade-in-up.in-view,
.fade-in-left.in-view {
  animation-play-state: running;
}

/* Responsive glass cards */
@media (max-width: 900px) {
  .glass-card {
    border-radius: 14px;
  }
}

/* Footer glassmorphism premium */
.glass-footer {
  background: rgba(20, 83, 45, 0.85);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(8px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px 22px 0 0;
  color: #fff;
}
.premium-footer-text {
  font-size: 1.1em;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 2px 8px #00b4d822;
}
.footer-links a {
  transition:
    color 0.2s,
    text-shadow 0.2s;
  font-weight: 500;
}
.footer-links a:hover,
.footer-links .social-link:hover {
  color: #00b4d8 !important;
  text-shadow: 0 0 8px #00b4d8cc;
}

/* Formulaire de contact glass */
.contact-form {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 24px 0 #00b4d822;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 180, 216, 0.1);
  padding: 2em 1.5em;
  margin-bottom: 1.5em;
}
.contact-form label {
  font-weight: 600;
  color: #14532d;
  letter-spacing: 0.5px;
}
.contact-input {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid #00b4d822;
  border-radius: 12px;
  transition:
    border 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 6px #00b4d811;
}
.contact-input:focus {
  border: 1.5px solid #00b4d8;
  box-shadow: 0 0 12px #00b4d8cc;
  outline: none;
  background: #fff;
}

/* Animation sur les icônes réseaux sociaux */
.social-link i {
  transition:
    color 0.2s,
    text-shadow 0.2s,
    transform 0.2s;
  font-size: 1.3em;
}
.social-link:hover i {
  color: #00b4d8;
  text-shadow: 0 0 12px #00b4d8cc;
  transform: scale(1.18) rotate(-8deg);
}

/* Hero benefits glass & animation */
.hero-benefits .benefit-item {
  min-width: 180px;
  min-height: 110px;
  padding: 1.2em 1em 1em 1em;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 24px 0 #00b4d822;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 180, 216, 0.1);
  text-align: center;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.hero-benefits .benefit-item:hover {
  box-shadow:
    0 8px 32px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.06) translateY(-4px);
}

/* Animation d'apparition en cascade */
.hero-benefits .fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.hero-benefits .fade-in-up.in-view {
  animation-play-state: running;
}

/* Icônes animées */
.animated-benefit {
  font-size: 2.3em;
  margin-bottom: 0.3em;
  display: inline-block;
  transition:
    filter 0.2s,
    transform 0.3s;
  filter: drop-shadow(0 0 8px #00b4d8aa);
}
.benefit-item:hover .animated-benefit {
  animation: benefitIconPulse 0.7s cubic-bezier(0.4, 2, 0.6, 1) alternate;
  filter: drop-shadow(0 0 16px #a4161a);
  transform: scale(1.18) rotate(-8deg);
}
@keyframes benefitIconPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  60% {
    transform: scale(1.15) rotate(-8deg);
  }
  100% {
    transform: scale(1.18) rotate(-8deg);
  }
}

/* Texte bénéfice */
.benefit-text {
  font-size: 1.15em;
  font-weight: 600;
  color: #14532d;
  letter-spacing: 0.2px;
  margin-top: 0.2em;
}

/* Nouvelle section bénéfices startup */
.hero-benefits-row {
  margin-top: 2em;
  margin-bottom: 2em;
  gap: 2.2em !important;
}
.benefit-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00b4d822;
  padding: 1.1em 1.7em 1.1em 1.1em;
  min-width: 260px;
  display: flex;
  align-items: center;
  transition:
    box-shadow 0.25s,
    transform 0.18s;
  cursor: pointer;
  border: 1.5px solid #f3f3f3;
}
.benefit-card:hover {
  box-shadow:
    0 8px 32px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.045) translateY(-2px);
}
.benefit-icon-square {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #00b4d822;
  font-size: 2em;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.benefit-blue {
  background: linear-gradient(135deg, #3ecfff 0%, #0077ff 100%);
  color: #fff;
}
.benefit-purple {
  background: linear-gradient(135deg, #b16cff 0%, #6f4aff 100%);
  color: #fff;
}
.benefit-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #fff;
}
.benefit-card:hover .benefit-icon-square {
  box-shadow:
    0 0 18px #00b4d8cc,
    0 0 32px #a4161a44;
  transform: scale(1.12) rotate(-6deg);
}
.benefit-card svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.2;
  stroke: #fff;
  display: block;
}
.benefit-card-text {
  margin-left: 0.7em;
}
.benefit-title {
  font-size: 1.13em;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.1px;
}
@media (max-width: 900px) {
  .hero-benefits-row {
    flex-direction: column !important;
    gap: 1.2em !important;
  }
  .benefit-card {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Cartes solutions IA thème startup */
.solutions-row {
  margin-top: 1.5em;
  margin-bottom: 2em;
  gap: 2em !important;
  flex-wrap: wrap;
}
.solution-card2 {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00b4d822;
  padding: 1.1em 1.7em 1.1em 1.1em;
  min-width: 290px;
  max-width: 420px;
  display: flex;
  align-items: center;
  transition:
    box-shadow 0.25s,
    transform 0.18s;
  cursor: pointer;
  border: 1.5px solid #f3f3f3;
  flex: 1 1 320px;
}
.solution-card2:hover {
  box-shadow:
    0 8px 32px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.045) translateY(-2px);
}
.solution-icon-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #00b4d822;
  font-size: 1.7em;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.solution-blue {
  background: linear-gradient(135deg, #3ecfff 0%, #0077ff 100%);
  color: #fff;
}
.solution-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #fff;
}
.solution-purple {
  background: linear-gradient(135deg, #b16cff 0%, #6f4aff 100%);
  color: #fff;
}
.solution-orange {
  background: linear-gradient(135deg, #ffb86c 0%, #ff7f50 100%);
  color: #fff;
}
.solution-pink {
  background: linear-gradient(135deg, #ff6cb1 0%, #ff4a7a 100%);
  color: #fff;
}
.solution-cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  color: #fff;
}
.solution-card2:hover .solution-icon-square {
  box-shadow:
    0 0 18px #00b4d8cc,
    0 0 32px #a4161a44;
  transform: scale(1.12) rotate(-6deg);
}
.solution-card2 svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.1;
  stroke: #fff;
  display: block;
}
.solution-card-text {
  margin-left: 0.7em;
}
.solution-title {
  font-size: 1.08em;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.1px;
}
.solution-desc {
  font-size: 0.98em;
  color: #14532d;
  margin-top: 0.2em;
  font-weight: 500;
}
@media (max-width: 900px) {
  .solutions-row {
    flex-direction: column !important;
    gap: 1.2em !important;
  }
  .solution-card2 {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Animation d'apparition fade-in-up en cascade */
.solutions-row .fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.solutions-row .fade-in-up.in-view {
  animation-play-state: running;
}

/* Badges IA animés */
.solution-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
  padding: 0.25em 0.8em;
  border-radius: 16px;
  box-shadow: 0 2px 8px #00b4d822;
  animation: popBadge 1.2s cubic-bezier(0.4, 2, 0.6, 1) infinite alternate;
  z-index: 3;
  letter-spacing: 1px;
}
.ai-badge {
  background: linear-gradient(90deg, #00b4d8 0%, #6f4aff 100%);
}
.smart-badge {
  background: linear-gradient(90deg, #22c55e 0%, #00b4d8 100%);
}
.auto-badge {
  background: linear-gradient(90deg, #b16cff 0%, #ff4a7a 100%);
}

@keyframes popBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px #00b4d833;
  }
  100% {
    transform: scale(1.13);
    box-shadow: 0 0 18px #a4161a44;
  }
}

/* Halo lumineux IA autour de l'icône */
.ai-glow {
  box-shadow:
    0 0 0 0 #00b4d8,
    0 0 0 0 #a4161a;
  position: relative;
  overflow: visible;
  animation: aiGlowPulse 2.2s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes aiGlowPulse {
  0% {
    box-shadow:
      0 0 0 0 #00b4d8,
      0 0 0 0 #a4161a;
  }
  60% {
    box-shadow:
      0 0 16px 4px #00b4d8cc,
      0 0 32px 8px #a4161a44;
  }
  100% {
    box-shadow:
      0 0 24px 8px #00b4d8cc,
      0 0 48px 16px #a4161a44;
  }
}

/* Fond gradient animé sur l'icône (optionnel, subtil) */
.solution-icon-square svg {
  background: linear-gradient(120deg, #fff 0%, #e0f7fa 100%);
  border-radius: 50%;
  padding: 2px;
  transition: background 0.5s;
}
.solution-card2:hover .solution-icon-square svg {
  background: linear-gradient(120deg, #00b4d8 0%, #fff 100%);
}

/* Effet de survol dynamique */
.solution-card2:hover {
  box-shadow:
    0 12px 40px #00b4d8cc,
    0 2px 16px #a4161a44;
  transform: scale(1.07) translateY(-4px);
}
.solution-card2:hover .solution-icon-square {
  box-shadow:
    0 0 32px #00b4d8cc,
    0 0 48px #a4161a44;
  transform: scale(1.15) rotate(-8deg);
}

/* FAQ accordéon glass startup */
.faq-accordion {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 2em auto;
}
.faq-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #e3f6fd55;
  margin-bottom: 1.2em;
  transition:
    box-shadow 0.25s,
    background 0.25s;
  border: 1.5px solid #e3f6fd;
  overflow: hidden;
}
.faq-item.open {
  box-shadow: 0 8px 32px #00b4d822;
  border-color: #00b4d8;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.18em;
  font-weight: 700;
  color: #14532d;
  text-align: left;
  padding: 1.1em 1.2em 1.1em 1.2em;
  border-radius: 0;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}
.faq-question:hover,
.faq-item.open .faq-question {
  background: #e3f6fd;
  color: #00b4d8;
}
.faq-icon {
  font-size: 1.6em;
  margin-left: 1em;
  transition:
    transform 0.3s,
    color 0.2s;
  color: #00b4d8;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #14532d;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: #14532d;
  font-size: 1.08em;
  font-weight: 500;
  padding: 0 1.2em;
  transition:
    max-height 0.5s cubic-bezier(0.4, 2, 0.6, 1),
    padding 0.3s,
    opacity 0.3s;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0.7em 1.2em 1.2em 1.2em;
  opacity: 1;
}
@media (max-width: 600px) {
  .faq-item {
    border-radius: 12px;
    margin-bottom: 0.7em;
  }
  .faq-question {
    font-size: 1.05em;
    padding: 0.8em 0.7em 0.8em 0.7em;
  }
  .faq-answer,
  .faq-item.open .faq-answer {
    padding-left: 0.7em;
    padding-right: 0.7em;
  }
}

/* FAQ Chatbot popup */
.faq-chat-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 2147483647 !important;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  border: none;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  padding: 0.8em 1em !important;
  font-size: 1.7em !important;
  font-weight: 700;
  box-shadow: 0 4px 24px #00b4d8aa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    box-shadow 0.2s,
    background 0.2s;
}
@media (max-width: 600px) {
  .faq-chat-btn {
    right: 8px !important;
    bottom: 8px !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2em !important;
    padding: 0.7em 0.7em !important;
  }
}
.faq-chat-popup {
  display: none;
  opacity: 1;
  visibility: visible;
  z-index: 2147483647 !important;
  right: 24px !important;
  bottom: 82px !important;
  width: 340px !important;
  max-width: 95vw;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 8px 32px #00b4d8cc;
  border: 1.5px solid #00b4d8;
  animation: popupIn 0.5s cubic-bezier(0.4, 2, 0.6, 1);
  overflow: hidden;
}
.faq-chat-popup.open {
  display: block;
}
@keyframes popupIn {
  0% {
    transform: translateY(60px) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.faq-chat-header {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  font-weight: 700;
  padding: 1em 1.2em;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#faq-chat-close {
  cursor: pointer;
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 1em;
  transition: color 0.2s;
}
#faq-chat-close:hover {
  color: #ff4a7a;
}
.faq-chat-body {
  padding: 1.2em 1.2em 1em 1.2em;
  background: none;
  min-height: 180px;
}
.faq-chat-bot {
  background: #e3f6fd;
  color: #14532d;
  border-radius: 14px;
  padding: 0.7em 1em;
  margin-bottom: 1em;
  font-size: 1.05em;
  font-weight: 500;
  box-shadow: 0 2px 8px #00b4d822;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 2, 0.6, 1);
}
.faq-chat-choose {
  display: block;
  margin-top: 0.5em;
  color: #00b4d8;
  font-weight: 600;
}
.faq-chat-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: 1em;
}
.faq-chat-q {
  background: linear-gradient(90deg, #fff 0%, #e3f6fd 100%);
  border: 1.2px solid #00b4d8;
  color: #14532d;
  border-radius: 12px;
  padding: 0.5em 1em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 4px #00b4d811;
}
.faq-chat-q:hover {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  box-shadow: 0 2px 12px #00b4d8cc;
}
.faq-chat-answer {
  background: #fff;
  color: #222;
  border-radius: 14px;
  padding: 0.7em 1em;
  font-size: 1.05em;
  font-weight: 500;
  box-shadow: 0 2px 8px #00b4d822;
  animation: fadeInUp 0.7s cubic-bezier(0.4, 2, 0.6, 1);
  margin-top: 0.5em;
  min-height: 30px;
}
@media (max-width: 600px) {
  .faq-chat-popup {
    right: 8px;
    width: 98vw;
    min-width: 0;
  }
  .faq-chat-btn {
    right: 8px;
    bottom: 12px;
    padding: 0.7em 1.1em;
    font-size: 1em;
  }
}

/* Nouvelle timeline verticale Comment ça marche */
.workflow-vertical {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00b4d822;
  border: 1.5px solid #00b4d8;
  padding: 2.5em 1.5em 2em 1.5em;
  max-width: 600px;
  margin: 0 auto 2em auto;
  position: relative;
}
.workflow-step-vert {
  display: flex;
  align-items: flex-start;
  gap: 1.2em;
  margin-bottom: 2.2em;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.workflow-step-vert.in-view {
  animation-play-state: running;
}
.workflow-step-vert:last-child {
  margin-bottom: 0;
}
.workflow-icon-vert {
  min-width: 54px;
  min-height: 54px;
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #00b4d822;
  font-size: 2em;
  position: relative;
  z-index: 2;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.workflow-step-vert:hover .workflow-icon-vert {
  box-shadow:
    0 0 18px #00b4d8cc,
    0 0 32px #a4161a44;
  transform: scale(1.12) rotate(-6deg);
}
.workflow-content-vert {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.workflow-title-vert {
  font-size: 1.13em;
  font-weight: 700;
  color: #a4161a;
  margin-bottom: 0.2em;
}
.workflow-desc-vert {
  font-size: 1.02em;
  color: #14532d;
  font-weight: 500;
}
/* Ligne verticale */
.workflow-vertical:before {
  content: "";
  position: absolute;
  left: 36px;
  top: 40px;
  width: 4px;
  height: calc(100% - 80px);
  background: linear-gradient(180deg, #00b4d8 0%, #a4161a 100%);
  border-radius: 2px;
  z-index: 1;
}
@media (max-width: 700px) {
  .workflow-vertical {
    padding: 1.2em 0.5em 1.2em 0.5em;
  }
  .workflow-icon-vert {
    min-width: 40px;
    min-height: 40px;
    font-size: 1.2em;
  }
  .workflow-vertical:before {
    left: 22px;
  }
}

/* Effet glow animé sur les icônes de la timeline */
.workflow-icon-vert {
  position: relative;
  box-shadow:
    0 0 0 0 #00b4d8,
    0 0 0 0 #a4161a;
  animation: workflowGlowPulse 2.2s infinite alternate
    cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes workflowGlowPulse {
  0% {
    box-shadow:
      0 0 0 0 #00b4d8,
      0 0 0 0 #a4161a;
  }
  60% {
    box-shadow:
      0 0 16px 4px #00b4d8cc,
      0 0 32px 8px #a4161a44;
  }
  100% {
    box-shadow:
      0 0 24px 8px #00b4d8cc,
      0 0 48px 16px #a4161a44;
  }
}

/* Animation de survol sur chaque étape */
.workflow-step-vert {
  transition:
    box-shadow 0.3s,
    background 0.3s,
    transform 0.2s;
}
.workflow-step-vert:hover {
  background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
  box-shadow:
    0 8px 32px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.03) translateY(-2px);
  z-index: 2;
}

/* Surbrillance sur la ligne verticale lors du hover */
.workflow-vertical:before {
  transition:
    box-shadow 0.3s,
    background 0.3s;
}
.workflow-step-vert:hover ~ .workflow-vertical:before,
.workflow-step-vert:hover + .workflow-vertical:before {
  box-shadow: 0 0 24px #00b4d8cc;
  background: linear-gradient(180deg, #00b4d8 0%, #a4161a 100%);
}

/* Effet de particules subtiles en fond (optionnel, pseudo-élément) */
.workflow-vertical::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.07;
  z-index: 0;
  border-radius: 18px;
}

.tarif-badges {
  display: flex;
  justify-content: center;
  gap: 0.7em;
  margin-bottom: 0.5em;
}
.tarif-badges .badge {
  font-size: 1em;
  padding: 0.5em 1.1em;
  border-radius: 16px;
  box-shadow: 0 0 8px #00b4d833;
  font-weight: 700;
}

/* Workflow cards façon solutions IA */
.workflow-cards-row {
  margin-top: 1.5em;
  margin-bottom: 2em;
  gap: 2em !important;
  flex-wrap: wrap;
}
.workflow-card2 {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00b4d822;
  padding: 1.1em 1.7em 1.1em 1.1em;
  min-width: 290px;
  max-width: 420px;
  display: flex;
  align-items: center;
  transition:
    box-shadow 0.25s,
    transform 0.18s;
  cursor: pointer;
  border: 1.5px solid #f3f3f3;
  flex: 1 1 320px;
  position: relative;
}
.workflow-card2:hover {
  box-shadow:
    0 8px 32px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.045) translateY(-2px);
  z-index: 2;
}
.workflow-icon-square {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #00b4d822;
  font-size: 1.7em;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  background: #fff;
}
.workflow-blue {
  background: linear-gradient(135deg, #3ecfff 0%, #0077ff 100%);
  color: #fff;
}
.workflow-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #fff;
}
.workflow-purple {
  background: linear-gradient(135deg, #b16cff 0%, #6f4aff 100%);
  color: #fff;
}
.workflow-cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  color: #fff;
}
.workflow-card2:hover .workflow-icon-square {
  box-shadow:
    0 0 18px #00b4d8cc,
    0 0 32px #a4161a44;
  transform: scale(1.12) rotate(-6deg);
}
.workflow-card2 svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.1;
  stroke: #fff;
  display: block;
}
.workflow-card-text {
  margin-left: 0.7em;
}
.workflow-badge {
  display: inline-block;
  font-size: 0.95em;
  font-weight: 700;
  padding: 0.2em 0.9em;
  border-radius: 14px;
  margin-bottom: 0.2em;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff;
  box-shadow: 0 0 8px #00b4d833;
  letter-spacing: 0.5px;
  margin-right: 0.3em;
}
.workflow-title {
  font-size: 1.08em;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.1px;
}
.workflow-desc {
  font-size: 0.98em;
  color: #14532d;
  margin-top: 0.2em;
  font-weight: 500;
}
@media (max-width: 900px) {
  .workflow-cards-row {
    flex-direction: column !important;
    gap: 1.2em !important;
  }
  .workflow-card2 {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Glow animé sur les icônes workflow */
.workflow-icon-square {
  position: relative;
  box-shadow:
    0 0 0 0 #00b4d8,
    0 0 0 0 #a4161a;
  animation: workflowGlowPulse 2.2s infinite alternate
    cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes workflowGlowPulse {
  0% {
    box-shadow:
      0 0 0 0 #00b4d8,
      0 0 0 0 #a4161a;
  }
  60% {
    box-shadow:
      0 0 16px 4px #00b4d8cc,
      0 0 32px 8px #a4161a44;
  }
  100% {
    box-shadow:
      0 0 24px 8px #00b4d8cc,
      0 0 48px 16px #a4161a44;
  }
}

/* Animation de survol startup sur chaque carte */
.workflow-card2 {
  transition:
    box-shadow 0.3s,
    background 0.3s,
    transform 0.2s,
    border 0.2s;
}
.workflow-card2:hover {
  background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
  box-shadow:
    0 12px 40px #00b4d8cc,
    0 2px 16px #a4161a44;
  border: 2px solid #00b4d8;
  transform: scale(1.07) translateY(-4px);
  z-index: 2;
}

/* Badge step animé */
.workflow-badge.step-badge {
  animation: popBadge 1.2s cubic-bezier(0.4, 2, 0.6, 1) infinite alternate;
}
@keyframes popBadge {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px #00b4d833;
  }
  100% {
    transform: scale(1.13);
    box-shadow: 0 0 18px #a4161a44;
  }
}

/* Apparition plus marquée */
.workflow-card2.fade-in-up {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  animation: fadeInUpScale 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
  animation-play-state: paused;
}
.workflow-card2.fade-in-up.in-view {
  animation-play-state: running;
}
@keyframes fadeInUpScale {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  80% {
    opacity: 1;
    transform: translateY(-6px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* Particules subtiles en fond de la section workflow */
#workflow {
  position: relative;
  z-index: 1;
}
#workflow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.07;
  z-index: 0;
  border-radius: 24px;
}

/* Animation non-stop glow/pulse sur les icônes bénéfices */
.benefit-glow {
  box-shadow:
    0 0 0 0 #00b4d8,
    0 0 0 0 #a4161a;
  animation: benefitGlowPulse 2.2s infinite alternate
    cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes benefitGlowPulse {
  0% {
    box-shadow:
      0 0 0 0 #00b4d8,
      0 0 0 0 #a4161a;
  }
  60% {
    box-shadow:
      0 0 16px 4px #00b4d8cc,
      0 0 32px 8px #a4161a44;
  }
  100% {
    box-shadow:
      0 0 24px 8px #00b4d8cc,
      0 0 48px 16px #a4161a44;
  }
}

/* Bouton Se connecter startup premium */
.btn-login-startup {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.08em;
  padding: 0.45em 1.3em;
  box-shadow: 0 4px 20px #00b4d8aa;
  margin-left: 0.7em;
  transition:
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-login-startup .login-icon-glow {
  display: flex;
  align-items: center;
  font-size: 1.3em;
  animation: loginIconPulse 1.5s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
  filter: drop-shadow(0 0 8px #00b4d8cc);
  transition: filter 0.2s;
}
@keyframes loginIconPulse {
  0% {
    filter: drop-shadow(0 0 0 #00b4d8);
  }
  100% {
    filter: drop-shadow(0 0 16px #00b4d8cc);
  }
}
.btn-login-startup .login-text {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1em;
}
.btn-login-startup:hover,
.btn-login-startup:focus {
  background: linear-gradient(90deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.06);
}
.btn-login-startup:hover .login-icon-glow {
  filter: drop-shadow(0 0 24px #a4161a);
}

/* Navbar startup glass */
.startup-navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 8px 32px 0 #00b4d822;
  backdrop-filter: blur(12px);
  border-radius: 0 0 22px 22px;
  border-bottom: 1.5px solid #00b4d822;
  padding-top: 0.7em;
  padding-bottom: 0.7em;
  transition:
    background 0.3s,
    box-shadow 0.3s;
  z-index: 1001;
}
.startup-menu-row {
  gap: 0.5em !important;
  margin-top: 0.1em;
}
.startup-menu-btn {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #00b4d822;
  padding: 0.45em 1.3em;
  font-size: 1.05em;
  font-weight: 700;
  color: #222 !important;
  display: flex;
  align-items: center;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s,
    border 0.18s;
  border: 1.2px solid #f3f3f3;
  position: relative;
  z-index: 1;
  min-height: 40px;
  letter-spacing: 0.2px;
}
.menu-btn-blue {
  background: linear-gradient(135deg, #3ecfff 0%, #0077ff 100%);
  color: #fff !important;
}
.menu-btn-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #fff !important;
}
.menu-btn-purple {
  background: linear-gradient(135deg, #b16cff 0%, #6f4aff 100%);
  color: #fff !important;
}
.menu-btn-cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  color: #fff !important;
}
.menu-btn-orange {
  background: linear-gradient(135deg, #ffb86c 0%, #ff7f50 100%);
  color: #fff !important;
}
.menu-btn-pink {
  background: linear-gradient(135deg, #ff6cb1 0%, #ff4a7a 100%);
  color: #fff !important;
}
.menu-btn-login {
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  box-shadow: 0 2px 12px #00b4d8aa;
  margin-left: 0.3em;
  padding: 0;
  border: none;
  position: relative;
  overflow: hidden;
  animation: loginMenuPulse 1.7s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
}
.menu-btn-login:hover,
.menu-btn-login:focus {
  background: linear-gradient(135deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.13);
}
@keyframes loginMenuPulse {
  0% {
    box-shadow: 0 0 0 #00b4d8;
  }
  100% {
    box-shadow: 0 0 18px #00b4d8cc;
  }
}
.startup-menu-btn:hover,
.startup-menu-btn.active {
  box-shadow:
    0 6px 24px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.06) translateY(-2px);
  color: #fff !important;
  border: 1.5px solid #00b4d8;
  z-index: 2;
}
/* Responsive hamburger */
@media (max-width: 991px) {
  .startup-navbar {
    border-radius: 0 0 18px 18px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  .startup-menu {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px 0 #00b4d822;
    margin-top: 0.5em;
    padding: 1.2em 0.5em 1.2em 0.5em;
    transition:
      max-height 0.5s cubic-bezier(0.4, 2, 0.6, 1),
      opacity 0.3s;
  }
  .startup-menu-btn {
    font-size: 1.13em;
    padding: 0.9em 1.2em;
    border-radius: 16px;
    margin-bottom: 0.5em;
    width: 100%;
    display: block;
    justify-content: flex-start;
  }
  .menu-btn-login {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.3em;
    margin: 0.2em auto 0.2em auto;
  }
}

/* Menu PC */
.startup-link {
  position: relative;
  font-weight: 600;
  font-size: 1.08em;
  color: #222 !important;
  padding: 0.5em 1.1em;
  border-radius: 14px;
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
  z-index: 1;
}
.startup-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  border-radius: 2px;
  transition:
    width 0.3s,
    left 0.3s;
  z-index: 2;
}
.startup-link:hover,
.startup-link.active {
  color: #00b4d8 !important;
  background: linear-gradient(90deg, #e3f6fd 0%, #fff 100%);
  box-shadow: 0 2px 12px #00b4d822;
}
.startup-link:hover::after,
.startup-link.active::after {
  width: 70%;
  left: 15%;
}
/* Menu mobile */
@media (max-width: 991px) {
  .startup-navbar {
    border-radius: 0 0 18px 18px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  .startup-menu {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 32px 0 #00b4d822;
    margin-top: 0.5em;
    padding: 1.2em 0.5em 1.2em 0.5em;
    transition:
      max-height 0.5s cubic-bezier(0.4, 2, 0.6, 1),
      opacity 0.3s;
  }
  .startup-link {
    font-size: 1.13em;
    padding: 0.9em 1.2em;
    margin-bottom: 0.5em;
    border-radius: 16px;
    text-align: center;
    width: 100%;
    display: block;
  }
}
/* Hamburger animé */
.startup-toggler {
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
  transition: transform 0.2s;
}
.startup-toggler:active {
  transform: scale(1.15) rotate(-8deg);
}

/* Menu compact premium */
.compact-link {
  font-size: 0.98em;
  padding: 0.35em 0.7em;
  border-radius: 10px;
  margin: 0 0.1em;
}
@media (max-width: 991px) {
  .compact-link {
    font-size: 1.08em;
    padding: 0.7em 1em;
    border-radius: 14px;
    margin-bottom: 0.3em;
  }
}
/* Bouton Se connecter icône seulement */
.btn-login-icon-only {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  box-shadow: 0 2px 12px #00b4d8aa;
  margin-left: 0.3em;
  transition:
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-login-icon-only .login-icon-glow {
  animation: loginIconPulse 1.5s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
  filter: drop-shadow(0 0 8px #00b4d8cc);
  transition: filter 0.2s;
}
.btn-login-icon-only:hover,
.btn-login-icon-only:focus {
  background: linear-gradient(90deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.09);
}
.btn-login-icon-only:hover .login-icon-glow {
  filter: drop-shadow(0 0 24px #a4161a);
}

/* Menu façon Nos solutions IA */
.menu-cards-row {
  gap: 0.5em !important;
  margin-top: 0.1em;
}
.menu-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #00b4d822;
  padding: 0.38em 1.1em;
  font-size: 0.98em;
  font-weight: 600;
  color: #222 !important;
  display: flex;
  align-items: center;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s,
    border 0.18s;
  border: 1.2px solid #f3f3f3;
  position: relative;
  z-index: 1;
  min-height: 38px;
}
.menu-card i {
  font-size: 1.15em;
  margin-right: 0.4em !important;
  color: inherit;
  transition:
    color 0.2s,
    filter 0.2s;
}
.menu-blue {
  background: linear-gradient(135deg, #3ecfff 0%, #0077ff 100%);
  color: #fff !important;
}
.menu-green {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  color: #fff !important;
}
.menu-purple {
  background: linear-gradient(135deg, #b16cff 0%, #6f4aff 100%);
  color: #fff !important;
}
.menu-cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 100%);
  color: #fff !important;
}
.menu-orange {
  background: linear-gradient(135deg, #ffb86c 0%, #ff7f50 100%);
  color: #fff !important;
}
.menu-pink {
  background: linear-gradient(135deg, #ff6cb1 0%, #ff4a7a 100%);
  color: #fff !important;
}
.menu-card:hover,
.menu-card.active {
  box-shadow:
    0 6px 24px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.06) translateY(-2px);
  color: #fff !important;
  border: 1.5px solid #00b4d8;
  z-index: 2;
}
.menu-card:hover i,
.menu-card.active i {
  filter: drop-shadow(0 0 8px #fff);
}
/* Login mini-carte ronde animée */
.menu-login {
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  box-shadow: 0 2px 12px #00b4d8aa;
  margin-left: 0.2em;
  padding: 0;
  border: none;
  transition:
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
  animation: loginMenuPulse 1.7s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes loginMenuPulse {
  0% {
    box-shadow: 0 0 0 #00b4d8;
  }
  100% {
    box-shadow: 0 0 18px #00b4d8cc;
  }
}
.menu-login .login-icon-glow {
  animation: loginIconPulse 1.5s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
  filter: drop-shadow(0 0 8px #00b4d8cc);
  transition: filter 0.2s;
}
.menu-login:hover,
.menu-login:focus {
  background: linear-gradient(135deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.13);
}
.menu-login:hover .login-icon-glow {
  filter: drop-shadow(0 0 24px #a4161a);
}
/* Responsive */
@media (max-width: 991px) {
  .menu-cards-row {
    gap: 0.3em !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .menu-card {
    font-size: 1.08em;
    padding: 0.8em 1.2em;
    border-radius: 16px;
    margin-bottom: 0.3em;
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .menu-login {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.3em;
    margin: 0.2em auto 0.2em auto;
  }
}

/* Apple/iOS style navbar */
.navbar-apple {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 8px 32px 0 #00b4d822;
  backdrop-filter: blur(12px);
  border-radius: 0 0 22px 22px;
  border-bottom: 1.5px solid #00b4d822;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  transition:
    background 0.3s,
    box-shadow 0.3s;
  z-index: 1001;
}
.apple-menu-desktop .apple-menu-btn {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #00b4d822;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35em;
  color: #222 !important;
  margin: 0 0.1em;
  border: 1.2px solid #f3f3f3;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s,
    border 0.18s;
  position: relative;
  z-index: 1;
}
.apple-menu-desktop .apple-menu-btn:hover,
.apple-menu-desktop .apple-menu-btn.active {
  background: linear-gradient(135deg, #e3f6fd 0%, #fff 100%);
  box-shadow:
    0 6px 24px #00b4d8cc,
    0 2px 8px #a4161a44;
  color: #00b4d8 !important;
  border: 1.5px solid #00b4d8;
  transform: scale(1.13);
  z-index: 2;
}
.apple-menu-desktop .apple-login-btn {
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  animation: loginMenuPulse 1.7s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
  border: none;
}
.apple-menu-desktop .apple-login-btn:hover,
.apple-menu-desktop .apple-login-btn:focus {
  background: linear-gradient(135deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.18);
}
@keyframes loginMenuPulse {
  0% {
    box-shadow: 0 0 0 #00b4d8;
  }
  100% {
    box-shadow: 0 0 18px #00b4d8cc;
  }
}
/* Bottom bar Apple style mobile */
.apple-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -4px 24px #00b4d822;
  border-radius: 22px 22px 0 0;
  border-top: 1.5px solid #00b4d822;
  padding: 0.3em 0.2em 0.3em 0.2em;
  z-index: 1002;
}
.apple-bottom-bar .apple-menu-btn {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 #00b4d822;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  color: #222 !important;
  border: 1.2px solid #f3f3f3;
  margin: 0 0.1em;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s,
    border 0.18s;
  position: relative;
  z-index: 1;
}
.apple-bottom-bar .apple-menu-btn:hover,
.apple-bottom-bar .apple-menu-btn.active {
  background: linear-gradient(135deg, #e3f6fd 0%, #fff 100%);
  box-shadow:
    0 6px 24px #00b4d8cc,
    0 2px 8px #a4161a44;
  color: #00b4d8 !important;
  border: 1.5px solid #00b4d8;
  transform: scale(1.13);
  z-index: 2;
}
.apple-bottom-bar .apple-login-btn {
  background: linear-gradient(135deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  animation: loginMenuPulse 1.7s infinite alternate cubic-bezier(0.4, 2, 0.6, 1);
  border: none;
}
.apple-bottom-bar .apple-login-btn:hover,
.apple-bottom-bar .apple-login-btn:focus {
  background: linear-gradient(135deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.18);
}
@media (max-width: 991px) {
  .navbar-apple {
    display: none !important;
  }
  .apple-bottom-bar {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .apple-bottom-bar {
    display: none !important;
  }
}

/* Favicon login dans navbar */
.startup-menu-favicon {
  padding: 0.1em 0.2em;
  border-radius: 50%;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.startup-menu-favicon img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 2px 8px #00b4d822;
  object-fit: cover;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.startup-menu-favicon:hover img,
.startup-menu-favicon:focus img {
  box-shadow:
    0 0 16px #00b4d8cc,
    0 2px 8px #a4161a44;
  transform: scale(1.13);
}

/* Bouton Login startup 2025 */
.menu-btn-login2025 {
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  color: #fff !important;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow:
    0 2px 16px #00b4d8aa,
    0 0 0 #a4161a00;
  border: none;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.22s,
    background 0.22s,
    color 0.18s,
    transform 0.18s;
}
.menu-btn-login2025:hover,
.menu-btn-login2025:focus {
  background: linear-gradient(90deg, #a4161a 0%, #00b4d8 100%);
  color: #fff !important;
  box-shadow:
    0 8px 32px #a4161a88,
    0 0 24px #00b4d8cc;
  transform: scale(1.09) translateY(-2px);
}
/* Underline animé sur hover pour tous les boutons du menu */
.startup-menu-btn {
  position: relative;
  overflow: hidden;
}
.startup-menu-btn::after {
  content: "";
  display: block;
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 7px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00b4d8 0%, #a4161a 100%);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 0.18s,
    transform 0.22s;
  z-index: 2;
}
.startup-menu-btn:hover::after,
.startup-menu-btn:focus::after,
.startup-menu-btn.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Hero glassmorphism plus transparent */
.hero {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  box-shadow: 0 8px 32px 0 #00b4d822;
  position: relative;
  z-index: 1;
}
/* Benefit cards glassmorphism plus transparent */
.benefit-card {
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #00b4d822;
  border: 1.5px solid #e0e7ef33;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .btn,
  .btn-primary,
  .btn-success,
  .btn-outline-primary,
  .btn-outline-success,
  .cta {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 0.9em 1.2em !important;
    margin-bottom: 0.7em;
  }
  .navbar-pro-menu {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .hero,
  .section,
  .glass-card,
  .contact-form {
    padding-left: 0.7em !important;
    padding-right: 0.7em !important;
  }
  .card,
  .solution-card2,
  .workflow-card2 {
    margin-bottom: 1.2em !important;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.2em !important;
  }
  .hero-title-typewriter {
    font-size: 2rem !important;
  }
  .hero-subtypewriter {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 600px) {
  .hero,
  .section,
  .glass-card,
  .contact-form {
    padding-left: 0.3em !important;
    padding-right: 0.3em !important;
  }
  .navbar {
    padding-left: 0.2em !important;
    padding-right: 0.2em !important;
  }
  .footer-links {
    flex-direction: column !important;
    gap: 0.5em !important;
  }
  .premium-footer-text {
    font-size: 1em !important;
  }
}

.cta,
.btn,
.btn-primary,
.btn-success,
.btn-outline-primary,
.btn-outline-success {
  border-radius: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px #1f2a4022 !important;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.cta:hover,
.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
  box-shadow: 0 4px 16px #2bbf7a33 !important;
  filter: brightness(1.05);
}

.section,
.glass-card,
.contact-form {
  border-radius: 18px !important;
  margin-bottom: 1.5em !important;
}

input,
textarea {
  font-size: 1em !important;
}
