/*==================================================

SB DIGITAL ASSO
STYLE 2026

==================================================*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/*==================================================

VARIABLES

==================================================*/

:root {
  --primary: #9ed997;
  --primary-hover: #89cf82;
  --primary-light: #ddf6da;

  --dark: #07110c;
  --dark-light: #101a15;
  --card: #131f19;

  --white: #ffffff;
  --text: #f4f7f5;
  --muted: #9ba7a0;

  --border: rgba(255, 255, 255, 0.08);

  --radius: 24px;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/*==================================================

RESET

==================================================*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Inter", sans-serif;

  background: var(--dark);

  color: var(--text);

  overflow-x: hidden;

  line-height: 1.7;
}

/*==================================================

TYPO

==================================================*/

h1,
h2,
h3,
h4,
h5 {
  font-weight: 800;

  line-height: 1.15;
}

p {
  color: var(--muted);

  margin-bottom: 0;
}

a {
  text-decoration: none;

  transition: var(--transition);
}

img {
  max-width: 100%;

  display: block;
}

/*==================================================

SCROLLBAR

==================================================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);

  border-radius: 20px;
}

::-webkit-scrollbar-track {
  background: #08120d;
}

/*==================================================

BACKGROUND

==================================================*/

.background-grid {
  position: fixed;

  inset: 0;

  pointer-events: none;

  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);

  background-size: 60px 60px;

  z-index: -3;
}

body::before {
  content: "";

  position: fixed;

  width: 650px;

  height: 650px;

  left: -280px;

  top: -250px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(158, 217, 151, 0.2),
    transparent 70%
  );

  filter: blur(60px);

  z-index: -2;

  animation: float1 15s infinite alternate;
}

body::after {
  content: "";

  position: fixed;

  width: 700px;

  height: 700px;

  right: -300px;

  bottom: -280px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(158, 217, 151, 0.12),
    transparent 70%
  );

  filter: blur(70px);

  z-index: -2;

  animation: float2 18s infinite alternate;
}

@keyframes float1 {
  100% {
    transform: translate(60px, 40px) scale(1.15);
  }
}

@keyframes float2 {
  100% {
    transform: translate(-60px, -40px) scale(0.9);
  }
}

/*==================================================

NAVBAR

==================================================*/

.navbar {
  padding: 18px 0;

  background: rgba(7, 17, 12, 0.75);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  transition: 0.4s;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  height: 48px;

  width: auto;

  transition: 0.3s;
}

.navbar-nav {
  gap: 10px;
}

.nav-link {
  font-weight: 500;

  color: #dbe5df;

  padding: 10px 18px !important;

  border-radius: 14px;
}

.nav-link:hover {
  background: rgba(158, 217, 151, 0.08);

  color: var(--primary);
}

.btn-nav {
  background: var(--primary);

  color: #07110c;

  padding: 12px 22px;

  border-radius: 50px;

  font-weight: 700;
}

.btn-nav:hover {
  background: var(--primary-hover);

  transform: translateY(-2px);

  color: #07110c;
}

.navbar-toggler {
  border: none;

  box-shadow: none !important;
}

.navbar-toggler i {
  font-size: 2rem;

  color: white;
}

/*==================================================

SECTION

==================================================*/

section {
  padding: 110px 0;

  position: relative;
}

.section-title {
  text-align: center;

  max-width: 760px;

  margin: auto auto 70px;
}

.section-title span {
  display: inline-block;

  padding: 10px 18px;

  background: rgba(158, 217, 151, 0.08);

  border: 1px solid rgba(158, 217, 151, 0.18);

  border-radius: 999px;

  color: var(--primary);

  font-weight: 600;

  margin-bottom: 20px;
}

.section-title h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);

  margin-bottom: 20px;
}

.section-title p {
  font-size: 1.1rem;
}

/*==================================================

HERO

==================================================*/

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  padding-top: 130px;

  overflow: hidden;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 12px 20px;

  border-radius: 999px;

  background: rgba(158, 217, 151, 0.08);

  border: 1px solid rgba(158, 217, 151, 0.18);

  color: var(--primary);

  font-weight: 600;

  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);

  line-height: 1;

  margin-bottom: 30px;

  letter-spacing: -3px;
}

.hero h1 span {
  display: block;

  color: var(--primary);
}

.hero p {
  font-size: 1.15rem;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-bottom: 35px;
}

.hero-infos {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.hero-infos div {
  padding: 10px 16px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 50px;

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 0.95rem;
}

.hero-infos i {
  color: var(--primary);
}

/*==================================================

BUTTONS

==================================================*/

.btn {
  border-radius: 50px;

  padding: 15px 28px;

  font-weight: 700;

  transition: 0.35s;
}

.btn-primary {
  background: var(--primary);

  border: none;

  color: #07110c;

  box-shadow: 0 15px 40px rgba(158, 217, 151, 0.22);
}

.btn-primary:hover {
  background: var(--primary-hover);

  color: #07110c;

  transform: translateY(-4px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);

  color: white;

  background: transparent;
}

.btn-outline:hover {
  background: white;

  color: #111;
}

/*==================================================

DASHBOARD

==================================================*/

.hero-dashboard {
  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);

  border-radius: 28px;

  padding: 30px;

  backdrop-filter: blur(20px);

  box-shadow: var(--shadow);
}

.dashboard-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 30px;

  font-weight: 700;
}

.online {
  color: var(--primary);
}

.dashboard-item {
  margin-bottom: 22px;
}

.dashboard-item > div:first-child {
  margin-bottom: 10px;

  font-weight: 600;
}

.progress {
  height: 8px;

  background: #0a120e;

  border-radius: 20px;

  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), #78ca73);

  border-radius: 20px;
}

.dashboard-stats {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 15px;

  margin-top: 30px;

  text-align: center;
}

.dashboard-stats strong {
  display: block;

  font-size: 1.6rem;

  color: var(--primary);
}

/*====================================
STATS
====================================*/

.stats {
  padding-top: 0;
  margin-top: -40px;
}

.stat-card {
  height: 100%;

  padding: 40px 30px;

  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid var(--border);

  transition: all 0.35s ease;

  position: relative;

  overflow: hidden;
}

.stat-card::before {
  content: "";

  position: absolute;

  top: -80px;
  right: -80px;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(158, 217, 151, 0.15), transparent);

  transition: 0.4s;
}

.stat-card:hover {
  transform: translateY(-8px);

  border-color: rgba(158, 217, 151, 0.25);
}

.stat-card:hover::before {
  transform: scale(1.4);
}

.stat-card h2 {
  font-size: 3rem;

  color: var(--primary);

  margin-bottom: 10px;
}

.stat-card p {
  color: var(--muted);
}

/*====================================
MISSIONS
====================================*/

.service-card {
  height: 100%;

  padding: 35px;

  border-radius: 28px;

  background: var(--card);

  border: 1px solid var(--border);

  transition: all 0.35s ease;

  position: relative;

  overflow: hidden;
}

.service-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(158, 217, 151, 0.05),
    transparent 45%
  );

  opacity: 0;

  transition: 0.35s;
}

.service-card:hover {
  transform: translateY(-10px);

  border-color: rgba(158, 217, 151, 0.25);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .icon {
  width: 70px;

  height: 70px;

  border-radius: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(158, 217, 151, 0.1);

  color: var(--primary);

  font-size: 2rem;

  margin-bottom: 25px;

  transition: 0.35s;
}

.service-card:hover .icon {
  transform: rotate(8deg) scale(1.08);
}

.service-card h3 {
  margin-bottom: 25px;

  font-size: 1.45rem;
}

.service-card ul {
  padding-left: 20px;
}

.service-card li {
  color: var(--muted);

  margin-bottom: 12px;
}

.service-card li::marker {
  color: var(--primary);
}

/*====================================
ACTIONS
====================================*/

.action-card {
  height: 100%;

  text-align: center;

  padding: 40px 30px;

  border-radius: 24px;

  background: var(--card);

  border: 1px solid var(--border);

  transition: 0.35s;
}

.action-card:hover {
  transform: translateY(-8px);

  border-color: rgba(158, 217, 151, 0.25);
}

.action-card i {
  font-size: 3rem;

  color: var(--primary);

  margin-bottom: 20px;

  display: block;
}

.action-card h4 {
  margin-bottom: 15px;
}

.action-card p {
  color: var(--muted);
}

/*====================================
PUBLICS
====================================*/

.public-card {
  height: 100%;

  padding: 45px 20px;

  text-align: center;

  border-radius: 24px;

  background: var(--card);

  border: 1px solid var(--border);

  transition: 0.35s;

  cursor: pointer;
}

.public-card:hover {
  transform: translateY(-8px);

  border-color: rgba(158, 217, 151, 0.25);
}

.public-card {
  font-size: 4rem;
}

.public-card h4 {
  margin-top: 20px;

  font-size: 1.3rem;
}

/*====================================
AMBITION
====================================*/

.ambition {
  position: relative;
}

.ambition h2 {
  font-size: 3rem;

  margin-bottom: 25px;
}

.ambition p {
  font-size: 1.15rem;
}

.quote-card {
  padding: 40px;

  border-radius: 30px;

  background: linear-gradient(
    135deg,
    rgba(158, 217, 151, 0.08),
    rgba(255, 255, 255, 0.03)
  );

  border: 1px solid var(--border);

  text-align: center;

  height: 100%;
}

.quote-card i {
  font-size: 3rem;

  color: var(--primary);

  margin-bottom: 25px;
}

.quote-card p {
  font-size: 1.2rem;

  color: white;

  font-weight: 600;
}

/*====================================
ANIMATIONS
====================================*/

.service-card,
.action-card,
.public-card,
.stat-card,
.quote-card {
  transition: transform 0.35s ease, border-color 0.35s ease,
    background 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover,
.action-card:hover,
.public-card:hover,
.stat-card:hover,
.quote-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/*====================================
CTA / CONTACT
====================================*/

#contact {
  padding: 120px 0;
}

.contact-box {
  position: relative;

  overflow: hidden;

  border-radius: 32px;

  padding: 80px;

  background: linear-gradient(
    135deg,
    rgba(158, 217, 151, 0.08),
    rgba(255, 255, 255, 0.03)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-box::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -250px;
  top: -250px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(158, 217, 151, 0.18), transparent);
}

.contact-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);

  margin-bottom: 25px;
}

.contact-box p {
  max-width: 700px;

  margin-bottom: 35px;
}

/*====================================
FOOTER
====================================*/

.footer {
  background: #050b08;

  margin-top: 120px;

  padding: 90px 0 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.05);

  position: relative;

  overflow: hidden;
}

.footer::before {
  content: "";

  position: absolute;

  width: 500px;

  height: 500px;

  left: -250px;

  bottom: -250px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(158, 217, 151, 0.1), transparent);
}

.footer-brand img {
  height: 65px;

  margin-bottom: 25px;
}

.footer-brand p {
  max-width: 420px;
}

.footer h5 {
  font-size: 1rem;

  font-weight: 700;

  margin-bottom: 20px;
}

.footer ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.footer li {
  margin-bottom: 12px;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--primary);
}

.socials {
  display: flex;

  gap: 15px;

  margin-top: 20px;
}

.socials a {
  width: 48px;

  height: 48px;

  border-radius: 14px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #111c16;

  border: 1px solid rgba(255, 255, 255, 0.06);

  font-size: 1.2rem;

  transition: 0.3s;
}

.socials a:hover {
  background: var(--primary);

  color: #07110c;

  transform: translateY(-4px);
}

.footer hr {
  margin: 55px 0 30px;

  border-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  flex-wrap: wrap;
}

.footer-bottom span {
  color: var(--muted);
}

.footer-bottom-links {
  display: flex;

  gap: 25px;
}

/*====================================
RESPONSIVE
====================================*/

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/*================ TABLET =================*/

@media (max-width: 992px) {
  section {
    padding: 90px 0;
  }

  .hero {
    padding-top: 140px;

    min-height: auto;
  }

  .hero-content {
    max-width: 100%;

    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-infos {
    justify-content: center;
  }

  .hero-dashboard {
    margin-bottom: 60px;
  }

  .section-title {
    margin-bottom: 55px;
  }

  .contact-box {
    padding: 55px 40px;
  }

  .navbar-collapse {
    margin-top: 20px;

    padding: 20px;

    border-radius: 20px;

    background: #111c16;

    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .navbar-nav {
    gap: 5px;
  }

  .btn-nav {
    display: block;

    text-align: center;

    margin-top: 10px;
  }

  .footer {
    text-align: center;
  }

  .footer-brand {
    display: flex;

    flex-direction: column;

    align-items: center;
  }

  .footer-brand p {
    margin: auto;
  }

  .socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/*================ MOBILE =================*/

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2.7rem;

    letter-spacing: -1px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-infos {
    flex-direction: column;

    align-items: center;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 30px;
  }

  .action-card {
    padding: 30px;
  }

  .public-card {
    padding: 35px 20px;

    font-size: 3rem;
  }

  .stat-card h2 {
    font-size: 2.3rem;
  }

  .contact-box {
    padding: 35px 25px;
  }

  .contact-box h2 {
    font-size: 2rem;
  }

  .footer {
    padding-top: 70px;
  }

  .footer-links {
    text-align: center;
  }
}

/*================ PETIT MOBILE =================*/

@media (max-width: 480px) {
  .hero {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 0.85rem;

    padding: 10px 16px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .btn {
    width: 100%;
  }

  .navbar-brand img {
    height: 40px;
  }

  .contact-box {
    border-radius: 24px;

    padding: 30px 20px;
  }

  .socials {
    flex-wrap: wrap;

    justify-content: center;
  }

  .footer-bottom-links {
    flex-direction: column;

    gap: 12px;

    align-items: center;
  }
}

.navbar {
  transition: 0.35s;
}

.navbar.scrolled {
  padding: 12px 0;

  background: rgba(7, 17, 12, 0.92);

  backdrop-filter: blur(30px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.navbar.scrolled img {
  height: 42px;
}

/*====================*/

section {
  opacity: 0;

  transform: translateY(50px);

  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.show {
  opacity: 1;

  transform: none;
}

/*====================*/

.service-card,
.action-card,
.public-card,
.stat-card {
  opacity: 0;

  transform: translateY(40px);

  transition: opacity 0.8s ease, transform 0.8s ease;
}

.show {
  opacity: 1 !important;

  transform: none !important;
}

/*====================*/

.hero {
  opacity: 1 !important;

  transform: none !important;
}

/*====================*/

.progress-bar {
  transition: 1.8s ease;
}

/*====================*/

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
}

.action-card:hover {
  transform: translateY(-10px);
}

.public-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.stat-card:hover {
  transform: translateY(-10px);
}

/*====================*/

.hero-dashboard {
  transition: 0.45s;
}

.hero-dashboard:hover {
  transform: rotateX(3deg) rotateY(-3deg) translateY(-10px);
}

/*====================*/

.btn {
  position: relative;

  overflow: hidden;
}

.btn::before {
  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 120%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  transition: 0.8s;
}

.btn:hover::before {
  left: 120%;
}

/*====================*/

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-dashboard {
  animation: floating 6s ease-in-out infinite;
}

/*====================*/

::selection {
  background: var(--primary);

  color: #07110c;
}


/*==================================
FOOTER
==================================*/

.footer{

    margin-top:100px;

    padding:60px 0 25px;

    border-top:1px solid rgba(255,255,255,.08);

    background:#050B08;

}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    flex-wrap:wrap;

}

.footer-logo img{

    height:55px;

    margin-bottom:15px;

}

.footer-logo p{

    color:var(--muted);

}

.footer-links{

    display:flex;

    gap:30px;

    flex-wrap:wrap;

}

.footer-links a{

    color:var(--muted);

    font-weight:500;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--primary);

}

.footer hr{

    margin:35px 0 20px;

    border-color:rgba(255,255,255,.08);

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    color:var(--muted);

    font-size:.95rem;

}

@media (max-width:768px){

.footer-content{

    flex-direction:column;

    text-align:center;

}

.footer-links{

    justify-content:center;

    gap:18px;

}

.footer-logo img{

    margin:auto auto 15px;

}

}


/*==================================
PAGE CONTACT
==================================*/

.hero-small{

min-height:55vh;

padding-top:170px;

text-align:center;

}

#contact-page{

padding-top:40px;

}

.contact-card{

height:100%;

padding:45px;

background:var(--card);

border:1px solid var(--border);

border-radius:30px;

}

.contact-card h2{

margin-bottom:15px;

}

.contact-card p{

margin-bottom:35px;

}

.contact-item{

display:flex;

align-items:center;

gap:20px;

margin-bottom:30px;

}

.contact-item i{

width:58px;

height:58px;

display:flex;

align-items:center;

justify-content:center;

border-radius:18px;

background:rgba(158,217,151,.10);

color:var(--primary);

font-size:1.5rem;

}

.contact-item h6{

margin:0;

font-weight:700;

}

.contact-item span{

color:var(--muted);

}

.contact-form{

padding:45px;

border-radius:30px;

background:var(--card);

border:1px solid var(--border);

}

.form-control{

background:#0D1612;

border:1px solid rgba(255,255,255,.08);

border-radius:18px;

padding:16px 20px;

color:white;

}

.form-control:focus{

background:#0D1612;

color:white;

border-color:var(--primary);

box-shadow:0 0 0 .2rem rgba(158,217,151,.15);

}

.form-control::placeholder{

color:#8E9993;

}

textarea{

resize:none;

}

@media(max-width:992px){

.contact-card,
.contact-form{

padding:30px;

}

}