/* ==========================================================================
   lisalapetitelatina.fr — Thème CLAIR (light) avec accent bleu OnlyFans
   ========================================================================== */

:root {
  /* Accent bleu (signature) */
  --of-blue: #00AFF0;
  --of-blue-dark: #0090C7;
  --of-blue-light: #E6F7FF;
  --of-gradient: linear-gradient(135deg, #00AFF0, #0070FF);

  /* Backgrounds clairs */
  --bg: #ffffff;          /* fond principal */
  --bg-2: #f5f7fa;        /* sections / footer */
  --bg-3: #ffffff;        /* cards */
  --bg-4: #eef1f5;        /* hover / éléments */
  --border: #e6e8eb;      /* bordures */

  /* Texte */
  --text: #0f0f0f;        /* texte principal */
  --text-2: #555b62;      /* texte secondaire */
  --text-3: #8a9099;      /* texte muted */

  /* Accents */
  --green: #00a85a;
  --red: #ef4444;

  --maxw: 1200px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-2);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--of-blue-dark); text-decoration: none; }
a:hover { color: var(--of-blue); }

img { max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== HEADER / NAV ====================== */
header.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 62px;
  display: flex;
  align-items: center;
}
header.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  color: var(--of-blue);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo span { color: var(--text); font-weight: 600; font-size: 14px; }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--of-blue); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none; border: none; color: var(--text); cursor: pointer;
  font-size: 22px; padding: 4px 8px;
}

/* ===================== BUTTONS ====================== */
.btn-primary {
  background: var(--of-gradient);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0,175,240,.25);
}
.btn-primary:hover { opacity: .92; color: #fff; transform: translateY(-1px); }

.btn-secondary {
  background: #fff;
  color: var(--of-blue-dark);
  border: 1px solid var(--of-blue);
  border-radius: 25px;
  padding: 11px 27px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
}
.btn-secondary:hover { background: var(--of-blue-light); color: var(--of-blue-dark); }

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* ===================== BADGES ====================== */
.badge-free {
  background: rgba(0,168,90,.10);
  color: var(--green);
  border: 1px solid rgba(0,168,90,.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}
.badge-blue {
  background: var(--of-blue-light);
  color: var(--of-blue-dark);
  border: 1px solid rgba(0,175,240,.35);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

/* ===================== PROFILE BANNER (page créatrice) ====================== */
.profile-banner { background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.profile-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: var(--bg-4);
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-info {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 24px;
  position: relative;
}
.profile-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 3px solid var(--of-blue);
  object-fit: cover;
  margin-top: -55px;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: block;
}
.profile-meta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 12px; }
.profile-name { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; margin: 0; color: var(--text); }
.profile-handle { color: var(--text-3); font-size: 14px; margin: 2px 0 0; }
.verified { color: var(--of-blue); font-size: 18px; }
.profile-stats { display: flex; gap: 24px; margin: 14px 0 0; padding: 0; list-style: none; }
.profile-stats li { color: var(--text-2); font-size: 14px; }
.profile-stats strong { color: var(--text); display: block; font-size: 16px; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ===================== READING SHEET (contenu pré-écrit) ====================== */
.page-wrap { padding: 32px 0 56px; }
.reading-sheet {
  background: #ffffff;
  color: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 840px;
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 40px) 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.reading-sheet a { color: var(--of-blue-dark); }
.reading-sheet img { border-radius: 12px; height: auto; }
.reading-sheet h1 { font-size: clamp(26px,4vw,36px); line-height: 1.2; font-weight: 800; color: #0f0f0f; }
.reading-sheet h2 { font-size: clamp(20px,3vw,26px); line-height: 1.3; margin-top: 1.8em; font-weight: 700; color: #0f0f0f; }
.reading-sheet h3 { font-size: 19px; font-weight: 700; color: #0f0f0f; }
.reading-sheet p { margin: 0 0 1.1em; }
.reading-sheet ul, .reading-sheet ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.reading-sheet li { margin-bottom: .5em; }
.reading-sheet table { border-collapse: collapse; width: 100%; }
.reading-sheet th, .reading-sheet td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }

/* article meta line */
.article-top { max-width: 840px; margin: 0 auto 16px; padding: 0 8px; }
.article-cat { color: var(--of-blue-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.article-date { color: var(--text-3); font-size: 13px; margin-left: 10px; }
.breadcrumb { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-2); }

/* ===================== BLOG INDEX / FEED ====================== */
.section-head { margin: 40px 0 20px; }
.section-head h2 { font-size: 24px; margin: 0 0 6px; }
.section-head p { color: var(--text-2); margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--of-blue); color: var(--of-blue-dark); }
.filter-btn.active { background: var(--of-blue); color: #fff; border-color: var(--of-blue); box-shadow: 0 4px 12px rgba(0,175,240,.25); }

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.card:hover { border-color: var(--of-blue); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card a.card-link { color: inherit; display: flex; flex-direction: column; height: 100%; }
.card-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-4); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat { color: var(--of-blue-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; color: var(--text); }
.card-excerpt { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0 0 14px; flex: 1; }
.card-more { color: var(--of-blue-dark); font-size: 14px; font-weight: 600; }

/* ===================== CTA STRIP ====================== */
.cta-strip {
  background: linear-gradient(135deg, #E6F7FF, #ffffff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  margin: 40px auto;
  max-width: 840px;
  box-shadow: var(--shadow-sm);
}
.cta-strip h2 { margin: 0 0 10px; font-size: 24px; color: var(--text); }
.cta-strip p { color: var(--text-2); margin: 0 0 22px; }

/* ===================== FOOTER ====================== */
footer.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  color: var(--text-3);
  font-size: 14px;
}
footer.site-footer .f-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
footer.site-footer strong.f-logo { color: var(--of-blue); font-size: 18px; }
footer.site-footer p { color: var(--text-2); }
footer.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
footer.site-footer nav a { color: var(--text-2); }
footer.site-footer nav a.blue { color: var(--of-blue-dark); }
footer.site-footer nav a:hover { color: var(--of-blue); }
footer.site-footer .f-legal { max-width: var(--maxw); margin: 24px auto 0; text-align: center; color: var(--text-3); }
footer.site-footer .f-legal a { color: var(--text-3); }

/* ===================== AGE GATE ====================== */
#age-gate {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
#age-gate.show { display: flex; }
.age-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.age-card .logo { justify-content: center; margin-bottom: 18px; }
.age-card h2 { font-size: 20px; margin: 0 0 10px; color: var(--text); }
.age-card p { color: var(--text-2); font-size: 15px; margin: 0 0 24px; }
.age-actions { display: flex; flex-direction: column; gap: 12px; }
.age-deny { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 14px; text-decoration: underline; }
.age-card small { display: block; margin-top: 18px; color: var(--text-3); font-size: 12px; line-height: 1.5; }

/* ===================== LANDING HERO ====================== */
.landing { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 62px); padding: 40px 24px; }
.landing .reading-sheet { background: #fff; color: var(--text); max-width: 560px; text-align: center; box-shadow: var(--shadow-md); }
.landing .reading-sheet a { color: var(--of-blue-dark); }

/* ===================== UTIL ====================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ===================== RESPONSIVE ====================== */
@media (max-width: 860px) {
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .main-nav {
    position: absolute; top: 62px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .header-cta .btn-primary { padding: 9px 18px; font-size: 14px; }
  .profile-stats { gap: 16px; }
}
@media (max-width: 540px) {
  .feed-grid { grid-template-columns: 1fr; }
  .profile-meta { flex-direction: column; align-items: flex-start; }
}
