:root {
  --rose: #f43f5e;
  --rose-dark: #d91d55;
  --deep-purple: #1d1128;
  --plum: #4b1d3f;
  --soft-pink: #ffe4ef;
  --peach: #ffd9c8;
  --text: #28192f;
  --muted: #6c5b75;
  --bg: #fffafc;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 22px 45px rgba(74, 28, 60, 0.12);
  --shadow-strong: 0 28px 60px rgba(93, 42, 74, 0.18);
  --gradient: linear-gradient(135deg, #ff5e8a 0%, #ff8c7d 45%, #d8559a 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffafc 0%, #fff5f8 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 63, 94, 0.1), transparent 18%),
    radial-gradient(
      circle at 80% 0%,
      rgba(181, 121, 214, 0.12),
      transparent 22%
    );
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.navbar {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(93, 42, 74, 0.08);
}

.navbar-brand {
  font-weight: 700;
  color: var(--deep-purple) !important;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-right: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(91, 51, 82, 0.15);
}

.brand-logo.small {
  width: 28px;
  height: 28px;
}

.nav-link {
  color: var(--deep-purple) !important;
  font-weight: 600;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  box-shadow: 0 12px 25px rgba(244, 63, 94, 0.25);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.btn-primary:hover {
  background: var(--gradient);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(244, 63, 94, 0.35);
  filter: saturate(1.08);
}

.btn-outline-primary {
  border-color: rgba(212, 42, 87, 0.5);
  color: var(--rose-dark);
}

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 177, 197, 0.6),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(166, 120, 214, 0.25),
      transparent 30%
    ),
    linear-gradient(180deg, #fffafc 0%, #ffeef3 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255, 169, 196, 0.18);
  filter: blur(10px);
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--deep-purple);
  margin-bottom: 1rem;
}

.eyebrow {
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose-dark);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 560px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1rem;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(172, 116, 140, 0.12);
  border-radius: 20px;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--deep-purple);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-stack {
  position: relative;
  width: min(100%, 440px);
  height: 430px;
  animation: floatCard 6s ease-in-out infinite;
}

.stack {
  position: absolute;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  transition: transform 0.35s ease;
}

.stack:hover {
  transform: scale(1.02);
}

.photo-one {
  width: 72%;
  height: 78%;
  right: 0;
  top: 30px;
  transform: rotate(4deg);
}

.photo-two {
  width: 62%;
  height: 62%;
  left: 0;
  bottom: 0;
  border: 10px solid rgba(255, 255, 255, 0.7);
  transform: rotate(-5deg);
}

.floating-card {
  position: absolute;
  left: 24px;
  bottom: 32px;
  background: rgba(27, 16, 28, 0.78);
  color: white;
  border-radius: 20px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  animation: pulseCard 3s ease-in-out infinite;
}

.floating-card span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.floating-card strong {
  display: block;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.welcome-intro {
  padding: 1rem 0 4rem;
}

.welcome-intro h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--deep-purple);
  font-weight: 700;
  margin-bottom: 1rem;
}

.welcome-intro p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.9;
  margin-bottom: 0;
}

.welcome-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 245, 248, 0.95),
    rgba(255, 255, 255, 1)
  );
  border: 1px solid rgba(191, 132, 150, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem;
  transform: translateY(0);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.welcome-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.welcome-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.welcome-panel li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
  font-weight: 600;
}

.welcome-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose-dark);
  font-weight: 800;
}

.testimonials-section {
  padding: 5rem 0 2rem;
}

.testimonial-carousel {
  position: relative;
  padding: 0 2.5rem;
}

.testimonial-carousel .carousel-inner {
  overflow: visible;
}

.testimonial-carousel .carousel-item {
  padding: 0.2rem 0 1rem;
}

.testimonial-carousel .carousel-indicators {
  bottom: -1rem;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(244, 63, 94, 0.45);
  border: none;
  margin: 0 5px;
}

.testimonial-carousel .carousel-indicators .active {
  background-color: var(--rose-dark);
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(138, 79, 111, 0.12);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(63, 39, 53, 0.08);
  opacity: 1;
}

.testimonial-carousel .carousel-control-prev {
  left: 0;
}

.testimonial-carousel .carousel-control-next {
  right: 0;
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  filter: invert(24%) sepia(60%) saturate(1000%) hue-rotate(300deg)
    brightness(80%) contrast(110%);
}

.testimonial-card {
  height: 100%;
  min-height: 160px;
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(138, 79, 111, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 28px rgba(63, 39, 53, 0.08);
  padding: 1.5rem 1.35rem;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  align-items: center;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.8rem;
  right: 1.15rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(244, 63, 94, 0.2);
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 36px rgba(63, 39, 53, 0.12);
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.8;
  padding-right: 1.5rem;
}

.testimonial-card--featured {
  background: linear-gradient(
    135deg,
    rgba(255, 243, 246, 0.98),
    rgba(255, 255, 255, 0.9)
  );
  border: 1px solid rgba(244, 63, 94, 0.12);
}

@media (max-width: 767.98px) {
  .testimonial-carousel {
    padding: 0 1.5rem;
  }

  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    width: 2rem;
    height: 2rem;
  }

  .testimonial-card {
    min-height: 150px;
    padding: 1.2rem 1rem;
  }

  .testimonial-card p {
    font-size: 0.96rem;
    line-height: 1.6;
    padding-right: 0.8rem;
  }
}

.profiles-section,
.about-section {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--deep-purple);
  font-weight: 700;
}

.profile-card {
  position: relative;
  display: block;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 248, 250, 0.98)
  );
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(63, 39, 53, 0.08);
  border: 1px solid rgba(176, 112, 134, 0.12);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0%, #ffb4cc 50%, #d8559a 100%);
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 45px rgba(63, 39, 53, 0.15);
  filter: saturate(1.06);
}

.profile-card__image {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7ef, #f9e8ff);
}

.profile-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.profile-card:hover .profile-card__image img {
  transform: scale(1.08);
}

.profile-card__badge {
  position: absolute;
  right: 14px;
  top: 14px;
  background: rgba(23, 15, 25, 0.68);
  color: white;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(5px);
}

.profile-card__body {
  padding: 1.5rem 1.2rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 245, 248, 0.7)
  );
}

.profile-card__body h3 {
  margin: 0;
  font-size: 1.55rem;
  color: var(--deep-purple);
  font-weight: 700;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(244, 63, 94, 0.12),
    rgba(255, 211, 224, 0.9)
  );
  color: var(--rose-dark);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(244, 63, 94, 0.12);
}

.age-pill.large {
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
}

.city {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.description {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-size: 0.96rem;
}

.about-section {
  background: linear-gradient(
    180deg,
    rgba(255, 244, 247, 0.9),
    rgba(255, 255, 255, 0.7)
  );
}

.about-visual img {
  border-radius: 28px;
  height: 480px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
  font-weight: 600;
}

.feature-list li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--rose-dark);
}

.footer {
  background: #1d1128;
  color: rgba(255, 255, 255, 0.82);
  padding: 1.5rem 0;
}

.profile-page {
  background: linear-gradient(180deg, #fff8fb 0%, #fef2f6 100%);
}

.profile-detail {
  padding: 4rem 0 5rem;
}

.profile-detail__gallery {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.profile-detail__main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
}

.profile-detail__thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  cursor: pointer;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.profile-detail__thumb:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.profile-detail__thumb.is-active {
  border-color: var(--rose-dark);
  box-shadow: 0 12px 25px rgba(217, 29, 85, 0.18);
}

.profile-detail__card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(138, 79, 111, 0.08);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.profile-detail__card h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0;
  color: var(--deep-purple);
}

.profile-location {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.profile-detail__actions {
  margin-top: 1rem;
}

.profile-detail__info h3 {
  color: var(--deep-purple);
  margin-bottom: 1rem;
}

.profile-detail__info p {
  color: var(--text);
  line-height: 1.8;
}

.admin-page {
  background: linear-gradient(180deg, #fff9fb 0%, #fff1f5 100%);
}

.admin-panel {
  max-width: 900px;
}

.admin-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(176, 124, 145, 0.12);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.custom-modal {
  border: none;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(36, 19, 28, 0.18);
}

.custom-modal .modal-header,
.custom-modal .modal-footer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.custom-modal .modal-body {
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-title {
  color: var(--deep-purple);
  font-weight: 700;
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.12);
  font-size: 2rem;
}

.custom-modal p {
  color: var(--text);
  font-size: 1.05rem;
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid rgba(146, 102, 126, 0.15);
  padding: 0.85rem 1rem;
  min-height: 52px;
}

.age-gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 10, 18, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.age-gate.show {
  opacity: 1;
  visibility: visible;
}

.age-gate__content {
  width: min(92vw, 560px);
  background: linear-gradient(
    135deg,
    rgba(38, 20, 36, 0.96),
    rgba(77, 28, 53, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(10, 7, 11, 0.45);
  padding: 2.2rem 2rem;
  text-align: center;
  color: white;
}

.age-gate__logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.age-gate__content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.age-gate__content p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseCard {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .profile-detail__main-image {
    height: 360px;
  }

  .profile-card__image {
    height: 280px;
  }
}

/* Menu déroulant « Profils » */
.navbar .dropdown-menu {
  border: 1px solid rgba(93, 42, 74, 0.08);
  border-radius: 18px;
  padding: 0.5rem;
  box-shadow: var(--shadow);
  min-width: 13rem;
}

.navbar .dropdown-item {
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  color: var(--deep-purple);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--soft-pink);
  color: var(--rose-dark);
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: var(--gradient);
  color: #fff;
}

/* Formulaires publics (Gay, Sans prise de tête) */
.contact-panel {
  max-width: 820px;
  scroll-margin-top: 90px;
}

.contact-panel__intro {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Admin : demandes */
.request-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(176, 124, 145, 0.15);
  border-radius: 22px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.request-card.is-new {
  border-left: 5px solid var(--rose);
}

.request-card__message {
  white-space: pre-line;
  margin: 0.75rem 0 1rem;
}

/* Message depuis une fiche profil */
.profile-message-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(176, 124, 145, 0.15);
  border-radius: 22px;
  padding: 1.25rem;
}

#formulaire {
  scroll-margin-top: 90px;
}
