/* on va définir le style du logo ici */

/* Principe CSS : on définit le style css des boites ici - Mais le positionnement se fait toujours dans la boite parent c-à-d à l'endroit où on
utilise cette boite. On ne doit donc pas avoir de layouts ici*/

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  /* background-color: var(--secondaire); */
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}


/* header {
  position: sticky;
  top: 0;
  z-index: 500;
} */

/*
  * On définit donc un container pour toute la page : 1280px est peut-être
    trop grand.
  * On définit aussi un container pour le texte.
*/

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-inline: 1rem;
  /* border: 1px solid blue; */
}

.container-texte {
  max-width: 950px;
  /* border: 1px solid red; */
}

.centre-inline {
  margin-inline : auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, background-color 0.3s ease; 
}

a.souligne {
  text-decoration: underline;
}

/* a.souligne:hover {
  color: var(--focale);
} */

.couleur-focale-au-hover:hover {
  color: var(--focale);
}

.couleur-focale-sombre-au-hover:hover {
  color: var(--focale-sombre);
}

.sans-retour-a-la-ligne {
  white-space: nowrap;
}

li {
  list-style: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 4px;
  padding : 0.5rem 1rem;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

h2, h3 {
  text-align: center;
  color: var(--secondaire);
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1rem;
}

@media (min-width:790px) {
  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.17rem;
  }
}


/* button:active {
  scale: 1.01;
} */

/* =============================================== */

.shadow {
  box-shadow:
    0 2px 4px rgba(17, 24, 39, 0.04),
    0 8px 20px rgba(17, 24, 39, 0.06);
}
/* =============================================== */
.lien-btn {
  display: inline-block;
  padding : 0.5rem 1rem;
  border-radius: 4px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem; 

  transition: background-color 0.3s ease;
}

.lien-btn-focal {
  background-color: var(--focale);
  color: var(--primaire);
}

.lien-btn-focal:hover {
  background-color: var(--focale-sombre);
}

.lien-btn-secondaire {
  background-color: var(--secondaire);
  color: var(--primaire);
}

.lien-btn-secondaire:hover {
  background-color: var(--focale);
}

.lien-btn-primaire, .lien-btn-primaire-hover-focal {
  background-color: var(--primaire);
  color: var(--secondaire);
}

.lien-btn-primaire:hover {
  background-color: var(--gris-clair);
}

.lien-btn-primaire-hover-focal:hover {
  background-color: var(--focale);
  color: var(--primaire);
}

/* =============================================== */
.texte-gras {
  font-weight: 700;
}

.texte-primaire {
  color: var(--primaire);
}

.texte-secondaire {
  color: var(--secondaire);
}

.texte-focal {
  color: var(--focale);
}

.texte-gris-sombre {
  color: var(--gris-sombre);
}

.texte-gris-clair {
  color: var(--gris-clair);
}

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

/* =============================================== */

.background-primaire {
  background-color: var(--primaire);
}

.background-primaire-80 {
  background-color: var(--primaire-80);
}

.background-secondaire {
  background-color: var(--secondaire);
}

.background-focal{
  background-color: var(--focale);
}

.background-gris-clair {
   background-color: var(--gris-clair);
}
/* ===== A SUPPRIMER .image => ce n'est pas nécessaire à mon avis ======== */
.image {
  display: block;
  width: 100%;
  height: auto;
}
/* =============================================== */
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  /* border: 1px solid red; */
}

.contact-item span, .contact-item p {
  min-width: 0;
  text-align: left;
  overflow-wrap: break-word;
}

.contact-item img {
  width: 1.25rem;
  height: 1.25rem;
}

/* =============================================== */
.section {
  padding-block: 4rem;
  /* border: 4px solid red; */
}

/* .section h2 {
  text-align: center;
  color: var(--secondaire);
  font-size: 1.17rem;
} */

/* @media (min-width : ) {
  
} */

/* =============================================== */
.carte {
  /* background-color: var(--secondaire);
  color: var(--primaire); */
  border-radius: 12px;
  padding-bottom: 2rem;
  width: 100%;
  /* max-width: 320px; */
  max-width: 350px;

  box-shadow:
    0 2px 4px rgba(17, 24, 39, 0.04),
    0 8px 20px rgba(17, 24, 39, 0.06);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.carte__description {
  flex: 1;
}

.carte__btn {
  width: 100%;
  padding-inline: 1rem;
}

/* carte-image = grosse carte de la section : Pourquoi choisir marcelo */
.carte-image {
  border-radius: 34px;
  width: 100%;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(17, 24, 39, 0.04),
    0 8px 20px rgba(17, 24, 39, 0.06);
}

.carte-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width : 380px) {
  .carte-image {
    border-radius: 42px;
  }
}
/* ======= badge = cercle avec icone à l'intérieur =================== */
.badge {
  background-color: var(--gris-fonce);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  padding: 1rem;
  border-radius: 50%;
  width: fit-content;
  height: fit-content;
}

.badge__image {
  width: 14px;
  height: 14px;
}

.badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  scale: 1.6;
}


