header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
}

.logo_box {
    display:flex;
    align-items:center;
}

.logo {
    margin-right:10px;
}

.logo_title {
    display:flex;
    flex-direction:column;
}

.logo_title h1 {
    font-weight:800;
    color:#499F67;
    margin:0;
}

.logo_title h5 { 
    font-weight:600;
    font-style:italic;
    color:#A9A9A9;
    margin:0;
}

.login {
    background:transparent;
    border-radius:50px;
    color:#FFFFFF;
    border: 2px solid #499F67;
    background:#499F67;
    font-family:"Montserrat";
    font-weight:600;
    cursor:pointer;
    padding:15px;
    font-size: 18px;
    transition: 
        background-color 0.25s ease,
        color 0.25s ease;
}

.login i {
    margin-right:3px;
}

.login:hover {
    color:#499F67;
    background:transparent;
}

body{
  background:#EFEFEF;
}

.home {
    background-image: url("../img/backgrounds/landscape.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
}

.home h2 {
    text-align:center;
    text-transform:uppercase;
    font-weight:700;
    font-style:italic;
    font-size: 32px;
}

/* ==============================
   STEPS HORIZONTAUX – BETWALK
   Lisible, moderne, responsive
   ============================== */

.bw-steps{
  --accent:#499F67;
  --text-dark: rgba(7,35,23,.95);
  --text-muted: rgba(7,35,23,.78);

  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}

/* Ligne horizontale derrière les icônes */
.bw-steps__line{
  position: absolute;
  left: 20px;
  right: 20px;
  top: 28px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(73,159,103,0),
    rgba(73,159,103,.7),
    rgba(73,159,103,0)
  );
  opacity: .9;
  pointer-events: none;
}

/* ==============================
   Carte étape
   ============================== */
.bw-step{
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px;
  padding: 22px 20px 20px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 18px 45px rgba(0,0,0,.14);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Hover */
.bw-step:hover{
  transform: translateY(-4px);
  border-color: rgba(73,159,103,.35);
  box-shadow: 0 26px 70px rgba(0,0,0,.18);
}

/* ==============================
   Icône
   ============================== */
.bw-step__icon{
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;

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

  border-radius: 16px;
  background: rgba(73,159,103,.18);
  border: 1px solid rgba(73,159,103,.35);
  color: var(--accent);

  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  position: relative;
  z-index: 1;
}

/* Halo discret */
.bw-step__icon::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius: 20px;
  box-shadow: 0 0 0 6px rgba(73,159,103,.10);
}

.bw-step__icon i{
  font-size: 20px;
  position: relative;
  z-index: 2;
}

/* ==============================
   Texte
   ============================== */
.bw-step h3{
  margin: 0 0 6px 0;
  text-align: center;

  color: var(--text-dark);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .2px;
}

.bw-step p{
  margin: 0;
  text-align: center;

  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
}

.public, .features {
    display:flex;
    height:100vh;
}

.content {
    padding:15px;
    height:100%;
    width:50%;
}

.content h3 {
  color:#499F67;
}

.illustration {
    height:100%;
    width:50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.public .illustration {
     background-image: url("../img/illustrations/public.png");
}

.features .illustration {
     background-image: url("../img/illustrations/features.png");
}

footer {
  margin:0;
  padding:5px;
  background: #499F67;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

footer p {
  margin:0;
}

/* =========================================
   RESPONSIVE – BETWALK
   À coller à la fin de ton fichier CSS
   ========================================= */

/* 1) Petites optimisations globales */
* { box-sizing: border-box; }

.home{
  /* 100vh peut bug sur mobile (barre d'adresse). */
  min-height: 100vh;
  height: auto;
}

/* 2) Tablette (<= 1024px) */
@media (max-width: 1024px){

  header{
    padding: 12px;
    gap: 12px;
  }

  .logo_title h1{ font-size: 22px; }
  .logo_title h5{ font-size: 13px; }

  .login{
    padding: 12px 14px;
    font-size: 16px;
  }

  .home h2{
    font-size: 28px;
  }

  /* Steps : 4 -> 2 colonnes */
  .bw-steps{
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  /* La ligne horizontale n'a plus trop de sens en 2 lignes */
  .bw-steps__line{
    display: none;
  }

  /* Sections 50/50 : on garde en colonnes mais on réduit le "plein écran" */
  .public, .features{
    height: auto;
    min-height: 80vh;
  }

  .content{
    width: 55%;
  }

  .illustration{
    width: 45%;
  }
}

/* 3) Mobile (<= 768px) */
@media (max-width: 768px){

  header{
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .logo_box{
    justify-content: center;
  }

  .logo_title{
    text-align: center;
    align-items: center;
  }

  .login{
    width: 100%;
    max-width: 420px;
    margin: 6px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .home{
    background-position: center top;
    padding: 24px 0;
  }

  .home h2{
    font-size: 24px;
    padding: 0 12px;
  }

  /* Steps : 2 -> 1 colonne */
  .bw-steps{
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 30px auto;
  }

  /* Sections public/features : 2 colonnes -> empilé */
  .public, .features{
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .content{
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .illustration{
    width: 100%;
    height: 260px; /* donne une vraie place à l'image */
  }

  .features .illustration{
    display:none;
  }

  /* Footer : empilé */
  footer{
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    text-align: center;
  }
}

/* 4) Très petits écrans (<= 420px) */
@media (max-width: 420px){

  .logo_title h1{ font-size: 20px; }
  .logo_title h5{ font-size: 12px; }

  .login{
    font-size: 15px;
    padding: 11px 12px;
  }

  .bw-step{
    padding: 18px 16px;
    border-radius: 18px;
  }

  .bw-step h3{
    font-size: 16px;
  }

  .bw-step p{
    font-size: 14px;
  }

  .illustration{
    height: 300px;
  }

  .features .illustration{
    display:none;
  }
}
