/* ========================================= */
/* 🌿 VIBORACARD - Style Lifestyle Premium */
/* ========================================= */

:root {
  --dark: #353535;
  --deep-blue: #284D63;
  --teal: #3C6F71;
  --light-gray: #D9D9D9;
  --white: #FFFFFF;
}

/* ========================================= */
/* BASE */
/* ========================================= */
body {
  background-color: var(--white);
  color: var(--dark);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--deep-blue);
}

p {
  color: var(--dark);
  line-height: 1.7;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--deep-blue); }

section {
  padding: 90px 0;
}

/* ========================================= */
/* NAVBAR */
/* ========================================= */
.header-fixed {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  background: transparent;
  border-bottom: 1px solid var(--light-gray);
}

.navbar-brand {
  color: var(--deep-blue);
  font-size: 1.4rem;
  letter-spacing: 1px;
  font-weight: 800;
}

.navbar-toggler {
  background-color: var(--teal);
  border-radius: 8px;
  padding: 6px 8px;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--teal) !important; }

/* ===== NAV BUTTONS ===== */
.btn-login {
  background-color: transparent;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
  border-radius: 999px;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s ease;
}
.btn-login:hover {
  background-color: var(--deep-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--teal);
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 700;
  color: var(--white);
  transition: all .3s ease;
}
.btn-primary:hover {
  background-color: var(--deep-blue);
  transform: translateY(-2px);
}

.navbar-nav .btn {
  margin: 0;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .navbar-nav {
    background-color: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .navbar-nav .btn {
    width: 100%;
  }
}

/* ========================================= */
/* HERO SECTION */
/* ========================================= */
.hero-section {
  background: linear-gradient(160deg, #ffffff 0%, #f5f9fa 60%, #eaf1f2 100%);
  color: var(--dark);
  padding: 120px 0 100px;
  overflow: hidden;
  position: relative;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60,111,113,0.15) 0%, transparent 70%);
  z-index: 0;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.2;
}
.hero-title span {
  color: var(--teal);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #4a4a4a;
  max-width: 650px;
}
.hero-image {
  max-width: 460px;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15));
  transition: transform .4s ease;
}
.hero-image:hover {
  transform: translateY(-5px) scale(1.02);
}
.hero-tagline {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--teal);
  font-weight: 600;
}
.btn-login-light {
  background-color: var(--light-gray);
  color: var(--deep-blue);
  border-radius: 999px;
  border: none;
  font-weight: 600;
  transition: all .3s ease;
}
.btn-login-light:hover {
  background-color: var(--teal);
  color: var(--white);
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero-section {
    padding: 80px 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

/* ========================================= */
/* LOGO SLIDER */
/* ========================================= */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 60px;
  animation: scroll 50s linear infinite;
}
.logo-track img {
  height: 80px;
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.9;
  transition: all .3s;
}
.logo-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* ========================================= */
/* GENERIC DARK SECTIONS */
/* ========================================= */
.bg-dark, .bg-black {
  background-color: var(--deep-blue) !important;
  color: var(--white);
}
.bg-dark h2, .bg-black h2 { color: var(--light-gray); }
.bg-dark p, .bg-black p { color: rgba(255,255,255,0.8); }

/* ========================================= */
/* CARDS / BOXES */
/* ========================================= */
.border-secondary { border-color: var(--light-gray) !important; }
.rounded { border-radius: 18px !important; }
.shadow-lg { box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important; }

/* ========================================= */
/* ACCORDION */
/* ========================================= */
.accordion-button {
  background: var(--light-gray);
  color: var(--deep-blue);
  font-weight: 600;
  border-radius: 0;
  transition: background .2s ease;
}
.accordion-button:not(.collapsed) {
  background: var(--teal);
  color: var(--white);
}
.accordion-body {
  background: #f9f9f9;
  color: var(--dark);
}

/* ========================================= */
/* FOOTER */
/* ========================================= */
footer {
  background-color: var(--dark);
  color: var(--light-gray);
  border-top: 4px solid var(--teal);
}
footer a {
  color: var(--white);
  text-decoration: underline;
}
footer a:hover { color: var(--teal); }
footer .btn-light {
  background-color: var(--teal);
  color: var(--white);
  border: none;
}
footer .btn-light:hover { background-color: var(--deep-blue); }

/* ========================================= */
/* RESPONSIVE GLOBAL */
/* ========================================= */
@media (max-width: 768px) {
  section { padding: 70px 0; }
}


/* ========================================= */
/* SECTION - ENTREPRISES CLIENTES (TEXTURE) */
/* ========================================= */

.trusted-section {
  background-color: #f8fafa;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.trusted-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.trusted-title span {
  color: var(--teal);
}

/* Logos container */
.trusted-logos-wrapper {
  overflow: hidden;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 80px;
  animation: scroll 45s linear infinite;
  will-change: transform;
}

.logo-track img {
  height: 70px;
  opacity: 0.85;
  filter: grayscale(100%) brightness(0.9);
  transition: all 0.3s ease;
}
.logo-track img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

/* Animation fluide */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dégradé de masquage aux bords */
.trusted-logos-wrapper::before,
.trusted-logos-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}
.trusted-logos-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f8fafa 30%, transparent 100%);
}
.trusted-logos-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f8fafa 30%, transparent 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .trusted-title {
    font-size: 1.8rem;
  }
  .logo-track img {
    height: 60px;
  }
}


/* ========================================= */
/* SECTION - POURQUOI CHOISIR LA CARTE NFC */
/* ========================================= */

.why-section {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f2f6f6 60%, #e7f0f1 100%);
  padding: 120px 0;
  overflow: hidden;
}

.why-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(40,77,99,0.12) 0%, transparent 70%);
  z-index: 0;
}

.why-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--deep-blue);
  text-transform: none;
  position: relative;
  z-index: 2;
}
.why-title span {
  color: var(--teal);
}

.why-lead {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.why-section p {
  color: #555;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.why-signature {
  font-weight: 600;
  color: var(--teal);
  margin-top: 2rem;
}

.why-image-wrapper {
  position: relative;
  display: inline-block;
  z-index: 2;
}

.why-image {
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.why-image:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 45px rgba(60,111,113,0.25);
}

/* Effet lumineux autour de la carte (style NFC) */
.nfc-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(60,111,113,0.25) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

/* Responsive */
@media (max-width: 992px) {
  .why-section {
    padding: 80px 0;
  }
  .why-title {
    font-size: 2rem;
  }
  .why-image {
    max-width: 90%;
  }
}

/* ========================================= */
/* SECTION - COMMENT ÇA MARCHE */
/* ========================================= */

.how-section {
  background: linear-gradient(180deg, #f9fbfc 0%, #edf3f4 100%);
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.how-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.how-title span {
  color: var(--teal);
}

/* Cartes étapes */
.how-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  padding: 40px 30px;
  height: 100%;
  position: relative;
  transition: all .35s ease;
}
.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(40,77,99,0.25);
}

/* Numéro étape */
.how-number {
  width: 60px;
  height: 60px;
  background: var(--teal);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(60,111,113,0.15);
  transition: all .3s ease;
}
.how-card:hover .how-number {
  background: var(--deep-blue);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(40,77,99,0.3);
}

/* Texte */
.how-card h5 {
  color: var(--deep-blue);
  font-weight: 700;
}
.how-card p {
  color: #444;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* Ligne visuelle entre étapes (desktop uniquement) */
.how-section .row {
  position: relative;
}
.how-section .row::after {
  content: "";
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, rgba(60,111,113,0.15), rgba(60,111,113,0.5), rgba(60,111,113,0.15));
  z-index: 0;
}
.how-card {
  z-index: 1;
}

/* Responsive */
@media (max-width: 992px) {
  .how-title {
    font-size: 2rem;
  }
  .how-section .row::after {
    display: none;
  }
  .how-card {
    margin-bottom: 20px;
  }
}


/* ========================================= */
/* SECTION - ESPACE MEMBRE (REWORK PREMIUM) */
/* ========================================= */

.member-section {
  background: radial-gradient(circle at 20% 20%, #20343f 0%, #0c1418 100%);
  color: #f2f2f2;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.member-section::before {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(60,111,113,0.25) 0%, transparent 70%);
  z-index: 0;
}

.member-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-subtitle {
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === Carousel container === */
.member-carousel {
  max-width: 980px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.member-slide {
  position: relative;
  background-color: #0f1a1f;
}

.member-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.member-image:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.member-caption {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.member-caption h5 {
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.member-caption p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* === Contrôles flèches === */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all .3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(60,111,113,0.4);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: -80px;
}
.carousel-control-next {
  right: -80px;
}

/* Flèches SVG Bootstrap inversées et stylées */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(2);
  width: 24px;
  height: 24px;
}

/* === Indicateurs === */
.carousel-indicators {
  margin-top: 20px;
  margin-bottom: -2rem;
}
.carousel-indicators [data-bs-target] {
  background-color: rgba(255,255,255,0.4);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: all .3s ease;
}
.carousel-indicators .active {
  background-color: var(--teal);
  width: 12px;
  height: 12px;
}

/* === Responsive === */
@media (max-width: 1200px) {
  .carousel-control-prev { left: -40px; }
  .carousel-control-next { right: -40px; }
}
@media (max-width: 992px) {
  .member-title { font-size: 2rem; }
  .carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
  }
  .carousel-control-prev { left: -25px; }
  .carousel-control-next { right: -25px; }
}
@media (max-width: 768px) {
  .carousel-control-prev, .carousel-control-next {
    display: none; /* Mobile : on garde les slides swipeables */
  }
}




/* ========================================= */
/* SECTION - FAQ PREMIUM */
/* ========================================= */

.faq-section {
  background: radial-gradient(circle at top left, #1a2b35 0%, #0e171b 100%);
  color: #f5f5f5;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60,111,113,0.3) 0%, transparent 70%);
  z-index: 0;
}

.faq-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  position: relative;
}

/* Accordion container */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.accordion-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all .3s ease;
}
.accordion-item:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
  border: none;
  transition: all .3s ease;
}
.accordion-button::after {
  filter: invert(1);
  opacity: 0.8;
}
.accordion-button:not(.collapsed) {
  background: rgba(60,111,113,0.3);
  color: var(--white);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}
.accordion-body {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-title { font-size: 1.9rem; }
  .accordion-button { font-size: 1rem; padding: 1rem; }
}




/* ========================================= */
/* FOOTER PREMIUM */
/* ========================================= */
.footer-section {
  background: radial-gradient(circle at top center, #10181C 0%, #0B1114 100%);
  color: #f5f5f5;
  padding: 70px 0 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60,111,113,0.25) 0%, transparent 70%);
  z-index: 0;
}

.footer-section .container {
  position: relative;
  z-index: 2;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 1rem;
}

.footer-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all .3s ease;
}
.footer-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

.footer-email {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.footer-email:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 15px;
  line-height: 1.5;
}

/* Effet subtil d’animation */
.footer-brand {
  animation: fadeInDown 1.2s ease both;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .footer-links { gap: 14px; }
  .footer-brand { font-size: 1.5rem; }
}


/* ========================================= */
/* 🧾 PAGES LÉGALES (Mentions / CGV / RGPD) */
/* ========================================= */

.legal-page {
  background: radial-gradient(circle at 20% 20%, #1a282f 0%, #0c1418 100%);
  color: #f0f0f0;
  padding: 100px 0;
  min-height: 100vh;
}

.legal-page h1 {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.legal-page h2 {
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 1rem;
}

.legal-page p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
}

.legal-page a {
  color: var(--teal);
  text-decoration: underline;
}
.legal-page a:hover {
  color: var(--white);
}

.legal-page .rounded {
  border-radius: 16px;
}

.legal-page strong {
  color: #fff;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 70px 0;
  }
  .legal-page h1 {
    font-size: 2rem;
  }
}

