/*
 * Site vitrine redukado.fr (D-027) : reproduction à l'identique des quatre pages publiques
 * de l'existant WebDev, en CSS écrit à la main, sans JavaScript.
 *
 * Les valeurs viennent des feuilles de production (ReduKado.css, PAGE_<nom>_styleK.css)
 * et du DOM des captures du 2026-11-12. WebDev choisit son « agencement » en JavaScript
 * selon la largeur de la fenêtre (1200, 980, 600, 320) ; ici, ce sont des media queries
 * sur les mêmes seuils. Chaque bloc positionné cite la classe posNN d'origine.
 */

/* Poppins, auto-hébergée (sous-ensemble latin, @fontsource) : seule la graisse 400 sert. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("/polices/poppins-latin-400-normal.woff2") format("woff2"),
    url("/polices/poppins-latin-400-normal.woff") format("woff");
}

/* ---- Socle : standard.css et les styles en ligne de chaque page ---- */

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #ffffff;
}
body {
  font: 400 0.833333rem sans-serif;
  line-height: normal;
  color: #2d2d2d;
}
h1,
h2,
p {
  margin: 0;
  padding: 0;
  font: inherit;
}
img {
  border: 0;
  vertical-align: middle;
}
a:focus {
  outline: dotted thin;
}
::selection {
  color: #ffffff;
  background-color: #79a2e4;
}

/* La page : bandeau, contenu, pied collé en bas (tableau WebDev à 100 % de haut). */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.contenu {
  flex: 1 0 auto;
}

/* Conteneur centré de la largeur de l'agencement (« margin:0 auto; width:1200px »). */
.cadre {
  width: 1200px;
  margin: 0 auto;
}
.cadre::after {
  content: "";
  display: table;
  clear: both;
}

/* ---- Bandeau (M1) : 60 px, #f2f2f2, logo qui déborde de 19 px ---- */

.bandeau {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 60px;
  padding: 0 2px 0 176px;
  background-color: #f2f2f2;
}
.bandeau-logo {
  position: absolute;
  left: 45px;
  top: 0;
  width: 114px;
  height: 79px;
  overflow: hidden;
}
.bandeau-logo img {
  display: block;
  width: 114px;
  height: 79px;
  object-fit: scale-down;
}
/* l-4 */
.bandeau-accroche {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  color: #333333;
  text-align: left;
}

/* ---- Pied (M4) : 60 px, #f2f2f2, deux liens de 130 × 20 ---- */

.pied {
  flex: none;
  height: 60px;
  background-color: #f2f2f2;
}
/* pos15/pos17 de l'accueil, pos4/pos6 des autres pages : 5 + 15 px au-dessus. */
.pied-liens {
  display: flex;
  padding: 20px 0 0 350px;
}
.pied-case {
  display: block;
  box-sizing: border-box;
  width: 130px;
  height: 20px;
  padding-top: 3px;
  text-align: center;
}
.pied-case + .pied-case {
  margin-left: 240px;
}
/* l-8 */
.pied-lien {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: #333333;
}
.pied-lien:hover {
  color: #48cdff;
}

/* ---- Encart jaune « Vous souhaitez bénéficier des offres ? » (C11/C1/C2) ---- */

.encart {
  position: relative;
  float: left;
  width: 320px;
  height: 360px;
}
/* C2, l-24 : 320 × 310, #f2c94c, rayon 10 px. */
.encart-jaune {
  box-sizing: border-box;
  width: 320px;
  height: 310px;
  padding-top: 10px;
  background-color: #f2c94c;
  border-radius: 10px;
}
/* pos7/pos8, l-25 */
.encart-titre {
  width: 274px;
  height: 57px;
  margin-left: 27px;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  color: #2d2d2d;
  text-align: center;
}
/* pos9/pos10, l-26 */
.encart-texte {
  width: 307px;
  height: 74px;
  margin: 8px 0 0 11px;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: #2d2d2d;
  text-align: center;
}
.encart-badge {
  display: block;
  width: 115px;
  margin-left: 38px;
}
.encart-badge img {
  display: block;
}
.encart-badge-google {
  height: 35px;
  margin-top: 46px;
}
/* pos11 */
.encart-badge-apple {
  height: 34px;
  margin-top: 27px;
}
/* C8 : 104 × 196 à (190, 158) dans C1, par-dessus le bord de l'encart. */
.encart-telephone {
  position: absolute;
  z-index: 1;
  left: 190px;
  top: 158px;
  display: block;
  width: 104px;
  height: 196px;
  object-fit: scale-down;
}

/* Accueil : l'encart est calé à gauche, 10 px du bord, 20 px sous le bandeau (pos2). */
.accueil .encart {
  margin: 20px 0 0 10px;
}
/* Application mobile : dans le cadre centré (pos2). */
.application .encart {
  margin: 10px 0 0 440px;
}

/* ---- Fiche à mascotte : mentions légales, politique de confidentialité (C8/C1/C2) ---- */

.fiche {
  position: relative;
  float: left;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 480px;
  padding: 42px 0 28px;
}
.fiche-mascotte {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  display: block;
  width: 88px;
  height: 87px;
  margin-left: -44px;
  object-fit: scale-down;
}
/* C2, l-12 */
.fiche-jaune {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 47px 0 9px;
  background-color: #f2c94c;
  border-radius: 10px;
}
/* l-13 */
.fiche-titre {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  color: #2d2d2d;
  text-align: center;
}
/* l-14 */
.fiche-texte {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  color: #2d2d2d;
  text-align: left;
}
/* l-15 */
.fiche-intertitre {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  color: #2d2d2d;
  text-align: center;
}

/* Mentions légales : 480 × 470 au moins (pos2), titre de 274 px à 107 px du bord. */
.mentions .fiche {
  min-height: 470px;
  margin: 5px 0 0 355px;
}
.mentions .fiche-titre {
  width: 274px;
  height: 29px;
  margin-left: 107px;
}
.mentions .fiche-texte {
  flex: 1 0 auto;
  margin: 15px 2px 10px 6px;
}

/* Politique de confidentialité : hauteur libre (pos2). */
.politique .fiche {
  margin: 25px 0 0 360px;
}
.politique .fiche-titre {
  margin: 0 57px 0 58px;
}
.politique .fiche-intro {
  margin: 15px 4px 0;
}
.politique .fiche-intertitre {
  margin: 20px 6px 0;
}
.politique .fiche-suite {
  margin: 15px 2px 17px 6px;
}

/* ---- Agencement 980 px (style0) ---- */

@media (max-width: 1199.98px) {
  .cadre {
    width: 980px;
  }
  .pied-liens {
    padding-left: 240px;
  }
  .pied-case + .pied-case {
    margin-left: 234px;
  }
  .application .encart {
    margin-left: 330px;
  }
  .mentions .fiche {
    margin-left: 245px;
  }
  .politique .fiche {
    margin-left: 250px;
  }
}

/* ---- Agencement 600 px (style1, style2 de l'accueil) ---- */

@media (max-width: 979.98px) {
  .cadre {
    width: 600px;
  }
  .pied-liens {
    padding-left: 50px;
  }
  .pied-case + .pied-case {
    margin-left: 240px;
  }
  .application .encart {
    margin-left: 140px;
  }
  .mentions .fiche {
    margin-left: 55px;
  }
  .politique .fiche {
    margin-left: 60px;
  }
}

/* ---- Agencement 320 px (style2, style1 de l'accueil) ---- */

@media (max-width: 599.98px) {
  .cadre {
    width: 320px;
  }
  .bandeau-accroche {
    font-size: 8px;
  }
  .pied-liens {
    padding-left: 0;
  }
  .pied-case {
    width: 160px;
  }
  .pied-case + .pied-case {
    margin-left: 0;
  }
  .accueil .encart {
    margin-left: 0;
  }
  .application .encart {
    margin-left: 0;
  }
  .mentions .fiche,
  .politique .fiche {
    width: 320px;
    margin-left: 0;
  }
  .mentions .fiche {
    min-height: 586px;
  }
  .mentions .fiche-titre {
    width: auto;
    height: auto;
    min-height: 29px;
    margin: 0 6px;
  }
  .politique .fiche-titre {
    margin: 0 6px;
  }
}
