/* RESET CLEAN */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --primary: #2F4375;
  --bg: #F7F7F7;
  --white: #ffffff;
  --accent: #00C0DB;
  --accent-dark: #0090BF;
}

/* GLOBAL */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.6;
}

/* CONTAINER */
.section {
  padding: 120px 10%;
  position: relative;
}

.nodecoration{
  text-decoration: none;
  color: var(--primary);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 56px;
  max-width: 800px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  opacity: 0.7;
}

/* BUTTON */
.btn {
  margin-top: 30px;
  padding: 14px 28px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  position: relative;
  margin: 100px auto;
  max-width: 600px;
}

/* Ligne */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    #00C0DB,
    transparent
  );
}

/* ITEM */
.timeline-item {
  position: relative;
  margin-bottom: 80px;
  padding-left: 60px;
}

/* DOT */
.timeline-item .dot {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: #00C0DB;
  border-radius: 50%;

  box-shadow: 0 0 15px rgba(0,192,219,0.6);
}

/* CARD DARK */
.timeline-item .content {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;

  padding: 25px;
  transition: 0.3s;
}

/* HOVER */
.timeline-item .content:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.08);
}

/* YEAR */
.timeline-item .year {
  font-size: 14px;
  color: #00C0DB;
  display: block;
  margin-bottom: 5px;
}

/* TITRE */
.timeline-item h3 {
  color: white;
  font-size: 18px;
}

.timeline-section {
  position: relative;
}

.timeline-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(0,192,219,0.15),
    transparent
  );

  filter: blur(100px);
}

.card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border-radius: 16px;
}

.card:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}

.section-dark {
  position: relative;
  background: linear-gradient(
    180deg,
    #2F4375 0%,
    #1f2f57 100%
  );

  color: #F7F7F7;
  padding: 120px 10%;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255,255,255,0.8);
}

.section-dark::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(0,192,219,0.2),
    transparent 70%
  );

  filter: blur(80px);
  pointer-events: none;
}

.section-dark h2 {
  text-shadow: 0 0 20px rgba(0,192,219,0.2);
}

.footer {
  background: #1f2f57;
  color: #F7F7F7;
  padding: 80px 10% 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p {
  opacity: 0.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #00C0DB;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

.about-container {
  max-width: 900px;
  margin: auto;
}

.about-intro {
  text-align: center;
  margin-bottom: 80px;
}

.about-block {
  margin-bottom: 60px;
}

.about-block h3 {
  margin-bottom: 15px;
  font-size: 24px;
}

.about-block p {
  opacity: 0.85;
}

/* PILIERS */
.about-pillars {
  display: flex;
  gap: 30px;
  margin: 80px 0;
}

.pillar {
  flex: 1;
  padding: 30px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  text-align: center;
  transition: 0.3s;
}

.pillar:hover {
  transform: translateY(-5px);
}

/* CONCLUSION */
.about-conclusion {
  text-align: center;
  font-size: 20px;
  margin-top: 60px;
}

.section-light {
  background: #F7F7F7;
}

/* GRID */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */
.solution-card {
  cursor: pointer;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
}

.solution-card-dark {
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  padding: 40px 30px;
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;

  display: flex;
  flex-direction: column;
}

/* ICON CONTAINER */
.solution-card .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,192,219,0.08);
  border-radius: 12px;
}

/* SVG DIRECT (important) */
.solution-card .icon svg {
  width: 26px;
  height: 26px;

  stroke: var(--accent);
  stroke-width: 1.5;
  fill: #2F4375;

  transition: 0.3s;
}

/* TITRE */
.solution-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* TEXTE */
.solution-card p {
  opacity: 0.7;
  line-height: 1.5;
}

/* HOVER */
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* HOVER ICON */
.solution-card:hover svg {
  transform: scale(1.1);
  stroke: var(--accent-dark);
}

.lang-selector {
  margin-top: 15px;
  margin-right: 15px;
  display: flex;
  width: 50px;
  margin-left: auto;
  position: relative
}

.selected {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.selected img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    z-index: 9999;
}

.dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.dropdown img:hover {
    transform: scale(1.1);
}
