:root {
  --bg: #F5E6DC;
  --ink: #171412;
  --terracotta: #3A2A20;
  --espresso: #3A2A20;
  --espresso-dark: #2C1F18;
  --border-soft: rgba(58, 42, 32, 0.15);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: linear-gradient(155deg, #D8C3AE, #A88968);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 13px;
  margin-bottom: 22px;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 27px;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.role {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--terracotta);
  margin: 0 0 18px;
  max-width: 320px;
}

.bio {
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0 0 16px;
  max-width: 320px;
}

.stats {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--terracotta);
  margin: 0 0 22px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.6px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}

.social-btn:hover { background: rgba(23,20,18,0.06); }
.social-btn:active { transform: scale(0.95); }
.social-btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.avatar-small {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.guide-card-standalone {
  margin-top: 8px;
}

.back-link {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover { text-decoration: underline; }

.article-text {
  width: 100%;
  text-align: left;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.article-text p {
  margin: 0 0 16px;
}

.article-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 32px 0 14px;
  letter-spacing: -0.005em;
}

/* --- Carte du formulaire Brevo --- */
.guide-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(58,42,32,0.12);
  border-radius: 24px;
  padding: 22px 22px 18px;
  margin-bottom: 26px;
  scroll-margin-top: 24px;
}

.guide-card .input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(58,42,32,0.18);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  box-sizing: border-box;
}

.guide-card .input:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 1px;
}

.guide-card .input::placeholder { color: #A8988C; }

.guide-card .sib-form-block__button {
  width: 100%;
  padding: 14px 18px;
  border-radius: 100px;
  background: var(--espresso);
  color: #FBF3EC;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.guide-card .sib-form-block__button:hover { background: var(--espresso-dark); }
.guide-card .sib-form-block__button:active { transform: scale(0.98); }

.guide-card .sib-form-block__button svg { display: none; }

.guide-card .input--hidden { display: none; }

.guide-card .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  text-align: left;
}

.guide-card input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--espresso);
  cursor: pointer;
}

.guide-card .checkbox {
  display: none;
}

.guide-card .consent-text {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}

.guide-card .consent-text p { margin: 0; }

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 70px;
  padding: 8px 20px 8px 8px;
  border-radius: 100px;
  background: var(--espresso);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.link-btn:hover { background: var(--espresso-dark); }
.link-btn:active { transform: scale(0.99); }
.link-btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.link-thumb {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background-size: cover;
  background-position: center;
}

.link-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FBF3EC;
  text-align: left;
  line-height: 1.3;
}

/* ============================================================
   À COLLER À LA FIN de ton style.css (ne rien supprimer avant)
   ============================================================ */

/* --- Lien texte "Qui suis-je ?" (page menu) --- */
.whois-link {
  margin: -4px 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--espresso);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whois-link:hover { opacity: 0.7; }
.whois-link:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* --- Page de choix des e-book gratuits --- */
.choice-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}

.choice-intro {
  font-size: 15px;
  line-height: 1.55;
  max-width: 330px;
  margin: 0 0 24px;
  color: var(--ink);
}

.choice-card {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(58,42,32,0.12);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.choice-card:last-of-type { margin-bottom: 26px; }

.choice-head {
  display: flex;
  gap: 16px;
  align-items: center;
  text-align: left;
}

.choice-cover {
  flex-shrink: 0;
  width: 76px;
  height: 100px;
  border-radius: 10px;
  background-color: #D8C3AE;
  background-size: cover;
  background-position: center;
}

.choice-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.choice-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso);
  opacity: 0.7;
}

.choice-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
}

.choice-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--espresso);
}

.choice-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border-radius: 100px;
  background: var(--espresso);
  color: #FBF3EC;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.1s ease;
}

.choice-cta:hover { background: var(--espresso-dark); }
.choice-cta:active { transform: scale(0.98); }
.choice-cta:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
