/* RESET */
* {
  box-sizing: border-box;
}

body, h1, h2, h3, p {
  margin: 0;
}

p {
  line-height: 1.6;
}

p + p {
  margin-top: 24px;
}

/* GLOBAL */
body {
  font-family: 'Georgia', serif; /* adapt to Figma font */
  background: #FBF8F3;
  /*background: #FCFAF6;*/
  color: #1E1E1E;
  line-height: 1.6;
}

/* LAYOUT */
.container {
  width: 80%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  width: 70%;
  max-width: 1440px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes de même largeur */
  gap: 48px;
  width: 100%;          /* prend toute la largeur du parent */
  max-width: 100%;      /* évite de dépasser le parent */
  box-sizing: border-box; /* inclut padding et border dans la largeur */
}
.mobile-br {
  display: inline; 
}
@media (min-width: 1600px) {
  .mobile-br {
    display: none;
  }
}
/*@media (max-width: 768px) {*/
@media (max-width: 1200px) {
  .container.narrow {
    width: 80%;
    max-width: 768px;
  }
}

@media (max-width: 800px) {
  .two-columns {
    grid-template-columns: 1fr; /* une seule colonne */
    gap: 24px;                  /* moins d'espace entre les éléments */
  }
  .container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .container.narrow {
    width: 90%;
    max-width: 768px;
  }
  .mobile-br {
    display: none;
  }
}

.spaced {
  margin-top: 36px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

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

.text-justify {
  text-align: justify;
}

.centered-img {
  display: block;      /* makes margin auto work */
  margin: 0 auto;      /* centers horizontally */
  max-width: 12%;      /* scale image to 12% of parent width */
  height: auto;        /* maintain aspect ratio */
}

/* HEADER */
.site-header {
  padding: 24px 0;
}

.nav nav {
  display: flex;
  gap: 24px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

/* HERO */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-top: 16px;
}

/* ILLUSTRATION */
.illustration img {
  width: 100%;
  display: block;
}

.logo img {
  width: 100%;
  display: block;
}

/* STATS */
.stats {
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 32px;
}

.stat strong {
  font-size: 32px;
  display: block;
}

/* TEXT SECTIONS */
section {
  /*padding: 96px 0;*/
  padding: 48px 0;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
}

/* LIST */
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 12px;
}

.no-bullet {
  list-style: none; /* enlève les puces */
  padding: 0;       /* enlève le padding par défaut du navigateur */
  margin: 0;        /* optionnel : enlève la marge par défaut */
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px; /* largeur maximale souhaitée */
  margin: 0 auto;   /* centre le formulaire horizontalement */
  width: 100%;       /* largeur relative au container pour les écrans plus petits */
}

input, textarea {
  padding: 12px;
  font-family: inherit;
  background-color: #F6F0E4;
  border: none;               /* no border */
}

form select {
  background-color: #F6F0E4; /* couleur de fond claire */
  /*border: 1px solid #ccc;    /* optionnel : bordure visible */
  padding: 12px;              /* espace intérieur */
  border-radius: 4px;         /* coins légèrement arrondis */
  font-family: inherit;       /* garde la même police que le reste du site */
}

.radio-group {
  display: flex;          /* met tous les labels sur la même ligne */
  gap: 20px;              /* espace entre chaque radio */
  align-items: center;    /* centre verticalement les labels */
}

.custom-radio {
  display: flex;
  align-items: center;    /* centre le texte avec le rond */
  cursor: pointer;
  font-size: 16px;
  position: relative;
}

.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.radio-mark {
  width: 16px;
  height: 16px;
  border: 2px solid #545454;
  border-radius: 50%;
  margin-right: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-radio input[type="radio"]:checked + .radio-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #545454;
  border-radius: 50%;
}


button {
  background: #545454;
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  background: #545454;
  color: white;
  /*padding: 40px 0;*/
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
