/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    display: flex;
    justify-content: center;
    background: #ffffff;
    font-family: "Poppins", sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
  }
  
  .page {
    width: 100%;
    background: #ffffff;
  }
  
/* Header */
.header {
    background: #178f77;
    /* padding: top right bottom left */
    padding: 0px 0px 0px 0px;
    border-bottom-right-radius: 53px;
  }
  .header .logo {
    display: block;
    margin: 0 auto;
    width: 150px;
  }
  /* ce wrapper est la couleur qu'on verra dans les angles */
.header-wrapper {
    background: #c3dec8;      /* vert pâle exact à ajuster si besoin */
  }
  
  /* Hero (téléphone + fond radial) */
  .hero {
    position: relative;
    background: radial-gradient(
      circle at 50% 30px,
      rgba(195, 222, 216, 0.8) 0%,
      rgba(255, 255, 255, 0) 0%
    ); 
    padding: 20px 0 60px;
    /* Pull the hero up slightly so the fade overlaps the intro */
    margin-bottom: 0;
    z-index: 0;
  }

  /* Fade-out overlay at the bottom of the hero */
  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    background: none;
    pointer-events: none;
  }
  .hero .phone {
    display: block;
    margin: 0 auto;
    width: 80%;
  }
  
  /* Intro texte */
  .intro {
    background: linear-gradient(to top, #ffffff 70%, rgba(255,255,255,0) 100%);
    margin-top: -400px;
    padding: 150px 20px 40px;
    position: relative;
    z-index: 2;
  }
  .intro-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
  }
  .intro-text {
    font-size: 14px;
    font-weight: 600;
  }
  
  /* Liste des features */
  .features {
    position: relative;

    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(215deg, #178F77 0%, #32C783 100%);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
  }
  .features .decoration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 180px;
    background: url(assets/fepi_earth.png) no-repeat right bottom;
    background-size: contain;
    z-index: 0;
    /* To align the image vertically */
    transform: translateY(-50%);
    top: 50%;
    margin-right: -20%;
    font-family: 'Joselin Sans', sans-serif;
    font-weight: 600;
  }
  .feature {
    background: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    color: #006853;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 2;
  }
  
  /* À propos */
  .about {
    background: #ffffff;
    padding: 40px 20px;
    padding-bottom: 80px;
    position: relative; /* to position shadow */
    z-index: 2;

  }
  .about-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .about-text {
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: bold; 
  }
  .about-logo {
    display: block;
    margin: 20px auto 16px;
    max-width: 350px;
    width: 100%;
  }
  
  .about-shadow {
    position: absolute;
    top: 70%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    
  }

.umbeli-credit {
    position: absolute;
    bottom: 24px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0f2a24;
  }
  .umbeli-logo {
    width: 100px;
  }

  /* Footer CTA */
  .footer {
    background: linear-gradient(180deg, transparent 0%, #d8f5e9 90%, #b2e8d5 100%);
    padding: 60px 20px 20px 20px;
    text-align: center;
    width: 100%;
    z-index: 20;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: fixed;
    left: 0;
    bottom: 0;
    flex-wrap: wrap;
  }
  .btn {
    background: #013c2b;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    width: 290px;
    border-radius: 99px 180px 12px 99px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .footer-note {
    font-size: 12px;
    font-weight: 600;
    color: #0f2a24;
    flex-basis: 100%;
    height: 0;
  }

/* Desktop layout */
@media (min-width: 768px) {
  body {
    background: #f5f5f5;
  }
  .page {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 32px;
    overflow: hidden;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  /* Header */
  .header {
    float: right;
    width: 50%;
    display: block;
    padding: 60px 80px 20px 40px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 120px;
    box-sizing: border-box;
    text-align: left;
  }
  .header .logo {
    width: 480px;
    margin-left: -60px; /* shift left */
    margin-top: 40px;   /* move downward */
  }

  /* Hero */
  .hero {
    float: left;
    width: 50%;
    display: flex;
    justify-content: center;
    margin-bottom: -500px;
    box-sizing: border-box;
  }
  .hero .phone {
    width: 460px;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #ffffff 00%, transparent 70%);
  
  }
  .intro {
    float: right;
    width: 50%;
    margin: 0;
    padding: 40px 80px 40px 40px;
    background: transparent;
    box-sizing: border-box;
  }
  .intro-title {
    font-size: 36px;
  }
  .intro-text {
    font-size: 18px;
  }

  /* Features */
  .features {
    clear: both;
    flex-direction: row;
    justify-content: space-between;
    padding: 60px 80px;
    gap: 24px;
    border-top-right-radius: 53px;
  }
  .feature {
    flex: 1 1 30%;
    font-size: 18px;
  }
  .features .decoration {
    width: 260px;
    height: 260px;
    margin-right: -10%;
  }

  /* About */
  .about {
    padding: 60px 80px 60px;
  }
  .about-title {
    font-size: 32px;
  }
  .about-text {
    font-size: 18px;
  }
  .about-logo {
    width: 420px;
  }
  .about-shadow {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Footer */
  .footer {
    padding: 60px 80px 40px;
  }
  .btn {
    width: 340px;
    font-size: 18px;
  }
}

/* Large Desktop Enhancements */
@media (min-width: 1200px) {
  .header {
    padding: 100px 120px 40px 80px;
  }
  .hero .phone {
    width: 600px;
    padding: 40px;
  }
  .intro {
    padding: 50px; 
  }
  .features {
    gap: 32px;
    padding: 80px 120px;
  }
  .feature {
    font-size: 20px;
  }
  .about {
    padding: 80px 120px 80px;
  }
  .btn {
    width: 420px;
    font-size: 22px;
  }
}