/* =========================
   BASE GÉNÉRALE
========================= */

body {
  margin: 0;
  padding: 40px 20px;
  background-color: #F0F4EC;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  max-width: 900px;
  margin-inline: auto;
}

/* =========================
   LOGO
========================= */

.logo {
  max-width: 180px;
  display: block;
  margin: 0 auto 20px;
}

/* =========================
   TITRE PAGE
========================= */

.page-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 20px;
}

/* =========================
   BLOC INFO (HAUT & BAS)
========================= */

.info-box {
  background-color: #D0B9AD;
  color: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.info-box p {
  margin: 0 0 12px;
}

/* =========================
   CHAMP TEXTE + EXEMPLE
========================= */

textarea {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  border-radius: 8px;
  border: none;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 4px;
}

textarea:focus {
  outline: none;
}

.input-example {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.4;
}

/* =========================
   CARTES POLICES
========================= */

.font-preview {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.font-preview span {
  font-size: 14px;
  opacity: 0.6;
}

.font-preview p {
  margin: 10px 0 0;
  font-size: 36px;
}

.font-preview small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #D0B9AD;
  line-height: 1.4;
}

/* =========================
   POLICES – PRÉNOM BOIS
========================= */

@font-face {
  font-family: f1;
  src: url("fonts/luminaire-script.woff2") format("woff2");
}

@font-face {
  font-family: f2;
  src: url("fonts/vintage-goods.woff2") format("woff2");
}

@font-face {
  font-family: f3;
  src: url("fonts/ants-valley.woff2") format("woff2");
}

@font-face {
  font-family: f4;
  src: url("fonts/yearly.woff2") format("woff2");
}

@font-face {
  font-family: f5;
  src: url("fonts/gaston.woff2") format("woff2");
}

@font-face {
  font-family: f6;
  src: url("fonts/golfmind.woff2") format("woff2");
}

@font-face {
  font-family: f7;
  src: url("fonts/cute.woff2") format("woff2");
}

/* =========================
   APPLICATION DES POLICES
========================= */

.font1 p { font-family: f1; font-size: 50px; }
.font2 p { font-family: f2; font-size: 50px; }
.font3 p { font-family: f3; font-size: 50px; }
.font4 p { font-family: f4; font-size: 60px; }
.font5 p { font-family: f5; }
.font6 p { font-family: f6; font-size: 50px; }
.font7 p { font-family: f7; font-size: 50px; }

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: 40px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000000;
  line-height: 1.6;
}

.site-footer a {
  color: #000000;
  text-decoration: underline;
}

.social {
  margin-top: 12px;
}

.social a {
  color: #000000;
  display: inline-block;
}

.social a:hover {
  opacity: 0.7;
}

/* =========================
   INSTAGRAM MOBILE FIXE
========================= */

.instagram-mobile {
  display: none;
}

@media (max-width: 768px) {
  .instagram-mobile {
    display: flex;
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background-color: #D0B9AD;
    color: #FFFFFF;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .instagram-mobile:hover {
    opacity: 0.9;
  }
}
