/******************************/
/*********** Général***********/
/******************************/
html {
  --bg-color: #fff;
  --fs-title: clamp(1.625rem, 1.4126rem + 0.9061vw, 2.5rem); /* 26px to 40px */
  --footer-text-color: var(--CONFIG-footer-text-color);
  --bg-img-footer: var(--CONFIG-bg-img-footer);
  
  /***********************************************************************************************************/
  /* Ces variable sont déja prédéfinies (pas besoin de les décommenter), mais vous pouvez les customiser ici */
  /***********************************************************************************************************/
  /* --bg-img-body: linear-gradient(to right, blue, orange); */
  
  /* --ff-global: 'Poppins', sans-serif; */
  
  /* --max-width-body: 1280px; */
  /* --max-width-bodyContentLeftFrame: 780px; */
  
  /* --title-text-color: black; */
  /* --paragraphe-text-color: #c3c3c3; */

  /* --fs-paragraphe: clamp(1rem, 0.8786rem + 0.5178vw, 1.5rem); */ /* 16px to 24px */
  /* --fs-footer-text: clamp(0.8125rem, 0.7063rem + 0.4531vw, 1.25rem); */ /* 13px to 20px */
}

* {
  padding: 0;
  margin: 0;
}

body,
html {
  font-size: 16px;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color, #fff);
  background-image: var(--bg-img-body);
  font-family: var(--ff-global, "Poppins", sans-serif);
  overflow-x: hidden;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
select,
textarea {
  font-family: var(--ff-global, "Poppins", sans-serif);
}

::-webkit-input-placeholder {
  font-family: var(--ff-global, "Poppins", sans-serif);
}

:-moz-placeholder {
  font-family: var(--ff-global, "Poppins", sans-serif);
}

::-moz-placeholder {
  font-family: var(--ff-global, "Poppins", sans-serif);
}

:-ms-input-placeholder {
  font-family: var(--ff-global, "Poppins", sans-serif);
}

h1 {
  font-size: var(--fs-title);
  color: var(--title-text-color);
}

p {
  font-size: var(--fs-paragraphe);
  color: var(--paragraphe-text-color);
}

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

a {
  color: var(--footer-text-color, #fff);
}

ul {
  list-style: none;
}

/******************************/
/*********** Header ***********/
/******************************/
.arrowBlack {
  width: 20px;
  height: 20px;
  padding: 40px;
  transform: translateX(-40px);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.arrowBlack:hover {
  opacity: 1;
}

/*******************************/
/*********** Content ***********/
/*******************************/
.bodyContent {
  height: 100%;
  max-width: var(--max-width-body, 1280px);
  padding: 0 30px;
  margin: 0 auto;
}

.bodyContentLeftFrame {
  max-width: var(--max-width-bodyContentLeftFrame, 780px);
  padding-bottom: 60px;
}

.bodyContentLeftFrame h1 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  color: #02132B;
  font-weight: 700;
  margin-bottom: 0;
  padding-bottom: 0.4rem;
  border-bottom: 3px solid #4CDD84;
  display: inline-block;
}

/******************************/
/*********** Footer ***********/
/******************************/
footer {
  background-image: var(
    --bg-img-footer,
    linear-gradient(to right, rgb(0, 0, 0), rgb(0, 0, 0))
  );
  color: var(--footer-text-color, #fff);
  padding: 1.15rem 1.875rem 1.15rem;
  margin-top: 20px;
}

footer ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}

footer li {
  font-size: var(--fs-footer-text, clamp(0.6875rem, 0.558rem + 0.5525vw, 1rem));
  /* 11px to 16px */
}


/**********************************/
/****** Document Content (CGV / Confidentialité) ******/
/**********************************/

#contents {
  margin-top: 1.25rem;
}

/* ── Police, taille et couleur uniformes (override Google Docs) ── */
#contents p,
#contents li,
#contents span,
#contents td {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  color: #3a4a5a !important;
  text-decoration: none !important;
  text-align: left !important;
  vertical-align: baseline !important;
}

/* ── Le gras Google Docs passe naturellement, on lui donne juste la bonne couleur ── */
#contents span[style*="font-weight:700"],
#contents span[style*="font-weight: 700"] {
  color: #02132B !important;
}

/* ── Listes numérotées ── */
#contents ol {
  margin: 0.6rem 0 0.2rem 1.25rem !important;
  padding: 0 !important;
}

#contents ol li {
  padding-top: 0.35rem !important;
  margin-bottom: 0 !important;
}

/* ── Paragraphes ── */
#contents p {
  margin: 0 0 0.3rem 0 !important;
  padding: 0 !important;
}

/* ── Carte principale (remplace le tableau Google Docs) ── */
#contents .doc-content {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.75rem 2rem;
  background: #fff;
}

/* ── Table intro (à l'intérieur de la carte, sans bordure propre) ── */
#contents table.c34,
#contents table.c26 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
  border: none !important;
}

#contents table.c34 td,
#contents table.c26 td {
  padding: 0.2rem 0 !important;
  border: none !important;
  background-color: transparent !important;
}

/* ── Autres tables Google Docs ── */
#contents table:not(.c34):not(.c26) {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0.5rem 0 !important;
}

#contents table:not(.c34):not(.c26) td,
#contents table:not(.c34):not(.c26) th {
  border: 1px solid #e0e0e0 !important;
  padding: 0.5rem 0.75rem !important;
}

/* ── Masquer spacers Google Docs ── */
#contents p:empty,
#contents p span:only-child:empty,
#contents tr.c45,
#contents p.c38,
#contents p.c49,
#contents p.c41,
#contents p.c24 {
  display: none !important;
}

/* ── Masquer les images vides Google Docs ── */
#contents img[id^="ed."],
#contents span[style*="overflow: hidden"] {
  display: none !important;
}

/**********************************/
/*********** MediaQuery ***********/
/**********************************/

@media screen and (max-width: 700px) {

  footer ul {
    display: grid;
  }

  li {
    text-align: center;
  }
}