/* Affiliation-Dating — apercu build suedois — feuille de style separee du generateur */

* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #0f0f12;
  color: #e8e8ec;
  line-height: 1.6;
}

.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* --- en-tete / logo --- */

.site-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #2a2a30;
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.logo-link {
  display: block;
  line-height: 0;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* --- navigation categories --- */

nav.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a30;
  margin-bottom: 24px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

nav.categories a {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 16px;
  background: #1c1c22;
  color: #d8d8e0;
  text-decoration: none;
  border: 1px solid #2a2a30;
}

nav.categories a:hover {
  background: #c22b52;
  border-color: #c22b52;
  color: white;
}

.silo-title {
  margin-top: 36px;
  opacity: 0.55;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-h1 {
  font-size: 1.6rem;
  margin: 24px 0 16px;
}

.seo-intro {
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #2a2a30;
}

.seo-intro p {
  margin: 0 0 14px;
  opacity: 0.85;
  font-size: 0.95rem;
}

.seo-intro h2 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
  color: #ff8a8a;
}

.seo-intro h3 {
  font-size: 0.95rem;
  margin: 16px 0 6px;
  opacity: 0.9;
}

.seo-intro a {
  color: #ff8a8a;
  text-decoration: underline;
}

.silo-intro {
  opacity: 0.75;
  font-size: 0.92rem;
  margin: 4px 0 0;
}

/* --- filtre ville par silo --- */

.city-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.city-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 14px;
  background: #16161b;
  color: #c9c9d2;
  border: 1px solid #23232a;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.city-pill:hover {
  border-color: #c22b52;
}

.city-pill.active {
  background: #c22b52;
  border-color: #c22b52;
  color: white;
}

/* --- grille de profils (home), 6 colonnes x 4 rangees visibles --- */

.profile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.profile-card {
  text-decoration: none;
  color: #d8d8e0;
  display: block;
  background: #16161b;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #23232a;
  transition: border-color .15s;
}

.profile-card:hover {
  border-color: #c22b52;
}

.profile-card img,
.card-noimg {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #1c1c22;
  display: block;
}

.card-body {
  padding: 8px 10px 10px;
}

.card-name {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-bio {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.card-tag {
  font-size: 0.62rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: #23232a;
  color: #c9c9d2;
  white-space: nowrap;
}

.card-readmore {
  display: block;
  font-size: 0.68rem;
  color: #ff8a8a;
  font-weight: 600;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .profile-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- teaser (page index) --- */

.teaser {
  border-top: 1px solid #23232a;
  padding: 18px 0;
  display: flex;
  gap: 14px;
}

.teaser:first-of-type {
  border-top: none;
}

.teaser img {
  width: 90px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #1c1c22;
}

.teaser .col {
  flex: 1;
  min-width: 0;
}

.teaser h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.teaser p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  opacity: 0.85;
}

.teaser a.readmore {
  font-size: 0.85rem;
  color: #ff8a8a;
  text-decoration: none;
  font-weight: 600;
}

.teaser a.readmore:hover {
  text-decoration: underline;
}

/* --- fiche individuelle --- */

.fiche-hero {
  display: flex;
  gap: 18px;
  padding: 20px 0;
}

.fiche-hero img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #1c1c22;
  cursor: pointer;
  transition: opacity .15s;
}

/* bug mobile corrige 2026-08-10 : flex sans wrap ecrasait le texte a cote d'une photo
   180px fixe sur petit ecran - on empile verticalement en dessous de 640px */
@media (max-width: 640px) {
  .fiche-hero {
    flex-direction: column;
  }
  .fiche-hero img {
    width: 100%;
    height: 320px;
  }
}

.fiche-hero img:hover {
  opacity: 0.85;
}

.fiche-hero h1 {
  font-size: 1.4rem;
  margin: 0 0 8px;
}

.fiche-hero .chapeau {
  opacity: 0.65;
  font-size: 0.9rem;
}

.back-link {
  font-size: 0.8rem;
  opacity: 0.6;
  text-decoration: none;
  color: #c9c9d2;
}

.back-link:hover {
  opacity: 1;
}

.long-desc p {
  margin: 0 0 12px;
}

/* --- grille de preferences (accepte/refuse) --- */

.prefs h2 {
  font-size: 1.05rem;
  color: #ff8a8a;
  margin: 22px 0 10px;
}

.specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.specs .badge {
  flex-shrink: 0;
  font-size: 1rem;
}

/* --- CTA --- */

.cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 22px;
  background: #c22b52;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

/* --- profils similaires --- */

.similar {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #2a2a30;
}

.similar h2 {
  font-size: 0.95rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}

.similar-grid a {
  text-decoration: none;
  color: #d8d8e0;
}

.similar-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
}

.similar-grid .sname {
  font-size: 0.78rem;
  margin-top: 4px;
}

/* --- pied de page --- */

footer.site {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #2a2a30;
  font-size: 0.75rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.footer-col .footer-cat {
  display: block;
  color: #e8e8ec;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-col .footer-cat:hover {
  color: #ff8a8a;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 5px;
}

.footer-col a {
  color: #a8a8b2;
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-col a:hover {
  color: #ff8a8a;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- lightbox (clic photo) --- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.lightbox-inner img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 10px;
}

.lightbox-inner .lb-text {
  margin: 16px 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.lightbox-inner .cta {
  margin-top: 0;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

/* --- barre CTA sticky bas de page (fiches profil), full-wide mobile + desktop --- */

body:has(.sticky-cta) {
  padding-bottom: 72px; /* evite que la barre fixe cache le bas du contenu/footer */
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 90;
  background: #16161b;
  border-top: 1px solid #2a2a30;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}

.sticky-cta-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  text-decoration: none;
  background: #c22b52;
  transition: background .15s;
}

.sticky-cta-link:hover {
  background: #a8223f;
}

.sticky-cta-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.4);
}

.sticky-cta-text {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 1;
  text-align: center;
}

@media (min-width: 900px) {
  .sticky-cta-link {
    justify-content: center;
    padding: 12px 16px;
  }
  .sticky-cta-text {
    flex: none;
  }
}

/* ============================================================================
   Refonte complete direction artistique theme6 (2026-09-06, portee depuis site4/5/6/7) :
   cette feuille de style n'avait jamais eu de systeme .hero/.bio-grid/.profile-photo (fiche
   basee sur .fiche-hero, retiree du HTML) - bloc autonome, couleurs codees en dur (pas de
   variables CSS ici) reprenant la palette sombre deja utilisee ailleurs sur ce site :
   #0f0f12 fond, #16161b cartes, #c22b52 accent/cta, #e8e8ec / #d8d8e0 texte. Icones sur
   vignettes/photo principale, mini-photos floutees empilees, accordeon "Las mer om mig",
   funnel bio (nouveau composant), bandeaux (aucun ici a l'origine), prelanding, nouveau lien
   affilie. Layouts distincts par breakpoint (desktop/mobile) des le depart - voir skills
   dating-desktop-layout-profil / dating-mobile-layout-profil.
   ============================================================================ */

/* --- hero (fil d'ariane + titre), remplace l'ancien .back-link + .fiche-hero --- */
.hero {
  background: linear-gradient(160deg, #23131a 0%, #16161b 60%, #0f0f12 100%);
  border-bottom: 1px solid rgba(194, 43, 82, 0.35);
  padding: 22px clamp(20px, 5vw, 64px) 34px;
  margin: 0 0 24px;
}

.hero h1 {
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  max-width: 760px;
  margin: 0 0 10px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 4px;
    padding-bottom: 14px;
  }
  .hero h1 {
    margin: 0;
  }
}

/* --- fil d'ariane --- */
.breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  font-weight: 500;
  margin: 0 0 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .crumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.breadcrumb span[aria-current="page"] {
  color: #ff8fac;
  font-weight: 600;
}

/* --- section fiche : grille photo / bio --- */
.section-light {
  background: #16161b;
  padding: 32px clamp(20px, 5vw, 64px);
}

.bio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;  /* pas de 3e colonne .photo-facts sur ce site (composant
    non porte, jugee non essentielle a la parite visuelle theme6) */
  gap: 28px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

.photo-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.profile-photo-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.profile-photo {
  position: relative;
  overflow: visible;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.profile-photo img {
  width: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  cursor: pointer;
  border-radius: 8px;
}

/* Layouts distincts par breakpoint (desktop garde une hauteur fixe, mobile passe en ratio
   proportionnel car .bio-grid s'effondre en 1 colonne pleine largeur sous 900px). */
@media (min-width: 901px) {
  .profile-photo img {
    height: 280px;
    aspect-ratio: auto;
  }
}

@media (max-width: 900px) {
  .profile-photo img {
    height: auto;
    aspect-ratio: 3 / 4;
  }
}

.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 20px;
  display: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-badge:not(:empty) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-badge.badge-online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc7e;
}

/* --- icones sur la photo principale (WhatsApp/mail/like) --- */
.profile-photo .profile-actions {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.profile-actions {
  display: flex;
  gap: 14px;
  z-index: 5;
}

.profile-photo .profile-action-icon {
  width: 52px;
  height: 52px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  cursor: pointer;
  transition: transform 0.15s ease;
}

.profile-action-icon:hover {
  transform: scale(1.08);
}

/* --- icones mini-actions (grilles home/similar) --- */
.mini-actions {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}

.similar-grid .mini-action-icon,
.card-photo-wrap .mini-action-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

.card-photo-wrap {
  position: relative;
  overflow: visible;
}

.profile-card {
  overflow: visible;
}

.similar-grid a {
  position: relative;
  overflow: visible;
}

/* --- mini-photos floutees empilees a cote de la photo principale --- */
.blur-thumbs-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 72px;
  flex-shrink: 0;
}

.blur-thumb {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.blur-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(9px) saturate(1.05);
  transform: scale(1.15);
  display: block;
}

/* --- bio texte --- */
.bio-text {
  color: #e8e8ec;
}

.bio-meta {
  color: #a0a0ac;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
  text-align: center;
}

.bio-text p {
  margin: 0 0 14px;
  line-height: 1.65;
  font-size: 14.5px;
}

.bio-text a:not(.cta) {
  color: #c22b52;
  font-weight: 600;
}

/* --- accordeon "en savoir plus" --- */
.bio-more {
  margin-top: 16px;
}

.bio-more summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 24px;
  border: 1.5px solid #c22b52;
  color: #c22b52;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.bio-more summary::-webkit-details-marker {
  display: none;
}

.bio-more summary::after {
  content: "\25BC";
  font-size: 10px;
  transition: transform 0.2s ease;
}

.bio-more[open] summary::after {
  transform: rotate(180deg);
}

.bio-more p {
  margin: 14px 0 0;
}

/* --- funnel bio (nouveau composant, rose vif / texte noir, demande explicite Jerome) --- */
.bio-funnel {
  background: #FF2D8A;
  border: none;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 10px 26px rgba(224, 19, 97, 0.35);
  margin-top: 18px;
  color: #000000;
}

.bio-funnel-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.bio-funnel-progress span {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
}

.bio-funnel-progress span.done {
  background: #000000;
}

.bio-funnel-step {
  display: none;
}

.bio-funnel-step.active {
  display: block;
}

.bio-funnel-question-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bio-funnel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid #000000;
}

.bio-funnel-question {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #000000;
}

.bio-funnel-answers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bio-funnel-answers button {
  flex: 1;
  min-width: 120px;
  border: 1.5px solid rgba(0, 0, 0, 0.55);
  background: transparent;
  color: #000000;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 9px;
  cursor: pointer;
  transition: all .15s ease;
}

.bio-funnel-answers button:hover,
.bio-funnel-answers button.primary {
  background: #000000;
  color: #ffffff;
  border-color: transparent;
}

.bio-funnel-final p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.8);
  margin: 0 0 12px;
}

.bio-funnel-final .cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0;
}

/* --- menu hamburger mobile --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  color: inherit;
}

@media (max-width: 900px) {
  .site-header {
    justify-content: space-between;
  }
  .menu-toggle {
    display: block;
  }
  nav.categories {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  nav.categories.open {
    display: flex;
  }
}

/* --- prelanding "bli medlem gratis" --- */
.prelanding-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}

.prelanding-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  text-align: center;
  color: #1a1a1a;
}

.prelanding-blur-bg {
  height: 90px;
  border-radius: 12px;
  margin: 0 0 18px;
  background: linear-gradient(135deg, #FF2D8A, #4a1220);
  filter: blur(2px);
  opacity: 0.85;
}

.prelanding-card h1 {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  margin: 0 0 8px;
  color: #1a1a1a;
}

.prelanding-sub {
  color: #5a5a5a;
  font-size: 15px;
  margin: 0 0 20px;
}

.prelanding-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prelanding-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.prelanding-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.prelanding-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  margin-bottom: 12px;
}

.prelanding-note {
  font-size: 12.5px;
  color: #5a5a5a;
  margin: 0;
}
