/* fucknormal.ca : page d'attente (carte S1), infolettre et confidentialité (S3).
   Identité : bible/identite.md (direction C3). Mobile d'abord. */

/* Bricolage Grotesque, variable (opsz 12-96, wght 200-800), hébergée ici.
   Licence : assets/fonts/OFL.txt */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --jaune: #FFD60A;
  --noir: #111111;
  --blanc: #FFFFFF;
  --gris: #F3F3F3;
  --gris-texte: #CFCFCF;
  --carte: #1E1E1E;
  --police: "Bricolage Grotesque", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--police);
}

a {
  color: var(--noir);
}
a:hover {
  color: #444444;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--noir);
  outline-offset: 3px;
}
.sombre :focus-visible {
  outline-color: var(--blanc);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.conteneur {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.etiquette {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Le U de F●CK : un cercle dessiné, jamais un caractère tapé. */
.point {
  display: inline-block;
  flex: none;
  width: 0.58em;
  height: 0.58em;
  margin: 0 0.03em;
  border-radius: 999px;
  background: var(--blanc);
  border: 3px solid var(--noir);
}

/* Logo en ligne (en-tête, pied de page) */
.logo-ligne {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

/* Boutons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  padding: 16px 24px;
  border: 0;
}
.btn--noir,
.btn--noir:hover {
  background: var(--noir);
  color: var(--blanc);
}
.btn--noir:hover {
  text-decoration: underline;
}
.btn--contour {
  background: var(--blanc);
  color: var(--noir);
  border: 3px solid var(--noir);
  padding: 13px 21px;
}
.btn--contour:hover {
  color: var(--noir);
  text-decoration: underline;
}

/* ---------- En-tête ---------- */
.entete {
  background: var(--jaune);
  border-bottom: 3px solid var(--noir);
}
.entete .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.entete .logo-ligne {
  font-size: 24px;
}
.entete__liens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
}
.entete__liens a {
  text-decoration: none;
}
.entete__liens a:hover {
  text-decoration: underline;
}
.entete__liens .btn {
  font-size: 16px;
  padding: 12px 18px;
}

/* ---------- Accueil ---------- */
.accueil {
  background-color: var(--jaune);
  background-image: radial-gradient(rgba(17, 17, 17, 0.14) 5px, transparent 5.5px);
  background-size: 44px 44px;
}
.accueil .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.accueil__texte {
  flex: 999 1 min(520px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.titre-livre {
  margin: 0;
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
}
.titre-livre__ligne {
  display: flex;
  align-items: baseline;
}
.titre-livre .point {
  border-width: 0.05em;
  transform: translateY(-0.04em);
}
.accroche {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Couverture C3, construite en HTML/CSS (même dessin que la maquette).
   Les tailles suivent la largeur du cadre (300 px au maximum). */
.accueil__couverture {
  flex: 1 1 min(280px, 100%);
  min-width: 0;
  display: flex;
  justify-content: center;
}
.couverture-cadre {
  container-type: inline-size;
  width: min(300px, 100% - 18px);
  margin-right: 18px;
}
.couverture {
  aspect-ratio: 2 / 3;
  padding: 7.33cqi;
  background: var(--jaune);
  border: 3px solid var(--noir);
  box-shadow: 18px 18px 0 var(--noir);
  display: flex;
  flex-direction: column;
  gap: 4.67cqi;
  font-weight: 800;
  letter-spacing: -0.05em;
}
.couverture__grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2.33cqi;
}
.couverture__grille span {
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--noir);
}
.couverture__grille span.sorti {
  opacity: 0;
}
.couverture__titre {
  margin-top: auto;
}
.couverture__fck {
  display: flex;
  align-items: baseline;
  font-size: 22.67cqi;
  line-height: 0.84;
}
.couverture__fck .point {
  border-width: 4px;
}
.couverture__normal {
  font-size: 19.67cqi;
  line-height: 0.86;
}
.couverture__accroche {
  margin-top: 3.33cqi;
  font-size: 4.33cqi;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.couverture__auteur {
  border-top: 2px solid var(--noir);
  padding-top: 2cqi;
  font-size: 4cqi;
  letter-spacing: normal;
}

/* ---------- Sections communes ---------- */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.titre-section {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.titre-section--grand {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.92;
}

/* ---------- L'idée ---------- */
.idee {
  border-top: 3px solid var(--noir);
}
.idee .conteneur {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.idee .titre-section {
  flex: 1 1 min(340px, 100%);
  min-width: 0;
}
.idee__texte {
  flex: 1 1 min(420px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.2rem;
  line-height: 1.6;
}
.idee__texte p {
  margin: 0;
}

/* ---------- Les quatre parties ---------- */
.parties {
  background: var(--noir);
  color: var(--blanc);
}
.parties .titre-section {
  margin-bottom: 36px;
}
.parties__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.partie {
  background: var(--carte);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.partie__points {
  display: flex;
  gap: 8px;
}
.partie__points span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--jaune);
}
.partie__points span.courant {
  background: var(--blanc);
}
.partie__titre {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.partie__texte {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gris-texte);
}

/* ---------- Extrait ---------- */
.extrait {
  background: var(--jaune);
  border-top: 3px solid var(--noir);
  border-bottom: 3px solid var(--noir);
}
.extrait .conteneur {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.extrait blockquote {
  margin: 0;
}
.extrait blockquote p {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  font-weight: 600;
}
.extrait__suite {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ---------- L'auteur ---------- */
.auteur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}
.auteur__photo {
  flex: 1 1 min(300px, 100%);
  max-width: 400px;
  margin: 0;
  aspect-ratio: 1;
  background: var(--gris);
  border: 3px solid var(--noir);
  overflow: hidden;
}
.auteur__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auteur__texte {
  flex: 999 1 min(420px, 100%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auteur__bio {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}
.etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.etiquettes li {
  background: var(--jaune);
  padding: 8px 14px;
}

/* ---------- Inscription ---------- */
.avis {
  background: var(--noir);
  color: var(--blanc);
}
.avis .conteneur {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.avis__point {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blanc);
  border: 5px solid var(--jaune);
}
.avis__texte {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--gris-texte);
}
.formulaire {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.formulaire input[type="email"] {
  flex: 1 1 min(280px, 100%);
  min-width: 0;
  min-height: 54px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 17px;
  background: var(--blanc);
  color: var(--noir);
  border: 3px solid var(--blanc);
  border-radius: 0;
}
.formulaire input[type="email"]::placeholder {
  color: #5C5C5C;
}
.formulaire input[type="email"]:focus-visible {
  outline-color: var(--jaune);
}
.formulaire button {
  min-height: 54px;
  padding: 0 26px;
  background: var(--jaune);
  color: var(--noir);
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-weight: 800;
  font-size: 17px;
}
.formulaire button:disabled {
  cursor: progress;
}
.formulaire__consentement {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gris-texte);
}
.formulaire__consentement input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--jaune);
}
.formulaire__consentement input:focus-visible {
  outline-color: var(--jaune);
}
.formulaire__note {
  flex: 1 1 100%;
  margin: 0;
  text-align: left;
  font-size: 15px;
  color: var(--gris-texte);
}
.formulaire__note a {
  color: var(--blanc);
}
.formulaire__note a:hover {
  color: var(--jaune);
}
.formulaire__etat {
  flex: 1 1 100%;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.formulaire__etat:empty {
  display: none;
}
.formulaire__etat--succes {
  color: var(--jaune);
}
.formulaire__etat--erreur {
  padding: 12px 16px;
  background: var(--blanc);
  color: var(--noir);
  border-left: 6px solid var(--jaune);
  text-align: left;
}
/* Champ piège : hors de l'écran (pas display:none, que certains robots repèrent). */
.piege {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Pages de texte (confidentialité, confirmation) ---------- */
.page-texte .conteneur {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.page-texte p,
.page-texte ul {
  margin: 0;
}
.page-texte ul {
  padding-left: 1.3em;
}
.page-texte li + li {
  margin-top: 6px;
}
.page-texte h2 {
  margin: 22px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.page-texte__message {
  font-size: 1.3rem;
  font-weight: 600;
}
.page-texte__formulaire {
  margin: 0;
}
.page-texte__formulaire .btn {
  cursor: pointer;
}
.page-texte__maj {
  font-size: 15px;
  color: #444444;
}

/* ---------- Pied de page ---------- */
.pied {
  background: var(--jaune);
  border-top: 3px solid var(--noir);
}
.pied .conteneur {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 15px;
  font-weight: 600;
}
.pied .logo-ligne {
  font-size: 20px;
}
.pied p {
  margin: 0;
}

/* ---------- Écrans plus larges ---------- */
@media (min-width: 768px) {
  .accueil .conteneur {
    padding-top: 72px;
    padding-bottom: 96px;
  }
  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }
  .extrait.section,
  .avis.section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.insecable {
  white-space: nowrap;
}
