@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;600&display=swap');

:root {
  --turquoise: #009FB5;
  --turquoise-soft: #19B7C8;
  --bluenight: #0A2240;
  --white: #F8FBFC;
  --glass-bg: rgba(255,255,255,.42);
  --glass-border: rgba(255,255,255,.28);
  --shadow: 0 8px 24px rgba(0,0,0,.08);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--bluenight);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem;
}

/* HEADER */
.main-header.glass-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.brand {
  font-weight: 500;
  letter-spacing: .4px;
  color: var(--bluenight);
}
.brand strong {
  font-weight: 600;
  color: var(--turquoise);
}
.main-nav a {
  margin: 0 1rem;
  font-weight: 500;
  color: var(--bluenight);
}

/* STRUCTURE */
main { padding-top: 80px; }

/* HERO */
.hero {
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #082233;
  text-align: center;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.10));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}
.hero h1 {
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  max-width: 980px;
  margin-inline: auto;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  transition: .25s;
  margin: .5rem;
}
.btn-primary {
  background: linear-gradient(90deg, var(--turquoise), var(--turquoise-soft));
  color: white;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: white;
  color: var(--bluenight);
  border: 1px solid #e3edf2;
}
.btn-secondary:hover { background: #f1f7f9; }

/* GLASS CARDS */
.glass {
  backdrop-filter: blur(12px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.values { margin: 4rem 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.values .card {
  padding: 2rem;
  text-align: center;
}
.values .card h3 { margin-bottom: .4rem; }

/* CTA BANNER */
.banner {
  margin: 4rem auto;
  max-width: 1100px;
  text-align: center;
  padding: 2.6rem;
}

/* PAGES */
.page-hero { padding: 5rem 0 2rem; }
.page-hero.lite {
  background: linear-gradient(180deg, #ffffff, rgba(255,255,255,.6));
}
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
.feature { padding: 1.4rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.form {
  display: grid;
  gap: .8rem;
  padding: 1.5rem;
}
.form input, .form textarea {
  padding: .9rem 1rem;
  border: 1px solid #dfe8ee;
  border-radius: 10px;
  background: rgba(255,255,255,.8);
}
.info { padding: 1.5rem; }
.legal p { margin: .5rem 0; }

/* FOOTER */
.main-footer {
  background: rgba(255,255,255,.75);
  border-top: 1px solid var(--glass-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
  text-align: center;
  padding: 1.2rem;
}
.legal a {
  margin: 0 .4rem;
  color: var(--bluenight);
}
.signature { opacity: .75; }

/* ANIMATIONS */
.visible { animation: fade .6s ease forwards; }
@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* === 4 BLOCS (VALUES-FOUR) === */
.values-four {
  padding: 70px 0 100px;
  background: linear-gradient(
    180deg,
    rgba(208,235,239,0.88) 0%,
    rgba(223,242,245,0.9) 35%,
    rgba(241,247,249,0.97) 70%,
    rgba(255,255,255,1) 100%
  );
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}
.values-four::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(210,235,238,0.4) 0%,
    rgba(208,235,239,0.6) 50%,
    rgba(223,242,245,0) 100%
  );
  filter: blur(15px);
  z-index: 0;
}
.values-four::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/fusion_pureglass.jpg") center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}
.values-four .grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.values-four .card {
  height: 128px;
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 16px;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 8px 24px rgba(16,24,40,0.08);
  backdrop-filter: blur(8px);
  text-align: left;
}
.values-four .card img {
  width: 56px;
  height: auto;
  margin: auto;
}
.values-four .card .txt h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  color: #0f2a34;
  font-weight: 700;
}
.values-four .card .txt p {
  margin: 0;
  font-size: 0.95rem;
  color: #36474f;
  line-height: 1.4;
}

/* === RESPONSIVE GLOBAL === */
@media (max-width: 992px) {
  .container { width: 92%; padding: 0 1rem; }
  h1 { font-size: 2rem !important; line-height: 1.3; }
  h2 { font-size: 1.4rem !important; }
  p { font-size: 1rem; line-height: 1.5; }

  /* HERO */
  .hero-content { padding: 3rem 1rem; text-align: center; }
  .hero-content h1 { font-size: 1.8rem; margin-bottom: 1rem; }
  .cta-row { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
  .btn-primary, .btn-secondary { width: 85%; text-align: center; }

  /* 3 CARTES DU HAUT */
  .values-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .values-grid .card {
    width: 92%;
    text-align: center;
  }

  /* 4 BLOCS */
  .values-four .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }
  .values-four .card {
    width: 92%;
    max-width: 480px;
    height: auto;
    min-height: 130px;
    grid-template-columns: 60px 1fr;
    align-items: flex-start;
    padding: 20px 24px;
  }
  .values-four .card img {
    width: 54px;
    margin-top: 4px;
  }

  /* CTA */
  .cta.banner table {
    display: block;
    text-align: center;
  }
  .cta.banner td {
    display: block;
    width: 100%;
    text-align: center;
    padding: .5rem 0;
  }
  .cta.banner img {
    height: 90px;
    margin: 0 auto 1rem;
  }
  .cta.banner h2 {
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
  }
  .cta.banner a {
    display: inline-block;
    margin-top: 1rem;
  }

  /* HEADER NAV */
  .header-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
  }
  .main-nav a {
    font-size: 1rem;
    padding: .3rem .6rem;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

