@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,620;9..144,700&family=Outfit:wght@400;500;600&display=swap');

:root {
  --bg-primary: #101A2B;
  --bg-secondary: #16283F;
  --bg-card: #1C3352;
  --border-color: #34506F;
  --accent-coral: #E36D4F;
  --accent-blue: #9CC0E6;
  --text-primary: #F4F7FB;
  --text-secondary: #C2D0E0;
  --site-mark: "le-paris-select-observatoire";
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #12182a;
  background-image:
    radial-gradient(1100px 640px at 0% 0%, rgba(92, 148, 214, 0.42), transparent 58%),
    radial-gradient(820px 520px at 100% 8%, rgba(227, 109, 79, 0.28), transparent 52%),
    linear-gradient(168deg, #1a335c 0%, #15243c 40%, #1a2234 68%, #322834 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 40px;
  margin-bottom: 18px;
}

h2 {
  font-size: 27px;
  margin-bottom: 16px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 14px;
  color: var(--text-primary);
}

.text-muted {
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 250ms ease-out;
}

a:hover {
  color: var(--accent-coral);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-primary,
.section-secondary {
  background-color: transparent;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Header & Mega Dropdown */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 24, 40, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: auto;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 18px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--accent-coral);
  color: #0F1B2D;
  font-size: 14px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 14px;
}

.nav-item {
  position: static;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 250ms ease-out, border-color 250ms ease-out;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-coral);
}

/* Full-width hover panel */
.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 28px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 250ms ease-out, transform 250ms ease-out, visibility 250ms ease-out;
}

.nav-item:hover .mega-panel,
.nav-item:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-col-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.mega-links a:hover {
  color: var(--accent-coral);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  background-color: var(--accent-coral);
  color: #0F1B2D;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 250ms ease-out, opacity 250ms ease-out;
}

.btn-primary:hover {
  color: #0F1B2D;
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  background-color: transparent;
  color: var(--accent-blue);
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid var(--accent-blue);
  cursor: pointer;
  transition: transform 250ms ease-out, background-color 250ms ease-out;
}

.btn-secondary:hover {
  color: var(--text-primary);
  background-color: rgba(140, 180, 232, 0.12);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* Mobile Accordion Nav */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-size: 15px;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px 24px;
}

.mobile-drawer.open {
  display: block;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16px;
  text-align: left;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.accordion-panel {
  display: none;
  padding: 8px 0 12px 12px;
}

.accordion-panel.open {
  display: block;
}

.accordion-panel a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
}

/* Prevention / Age Notice Banner */
.notice-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-coral);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 28px;
}

.notice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.age-pill {
  background-color: var(--accent-coral);
  color: #0F1B2D;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
}

/* Operator grid, two columns, no horizontal scroll */
.ribbon-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.operator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ribbon-card {
  width: auto;
  min-width: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 250ms ease-out, border-color 250ms ease-out;
}

.ribbon-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
}

.card-logo-box {
  width: 100%;
  background-color: #0d1522;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0;
  margin-bottom: 14px;
  overflow: hidden;
  display: block;
}

.card-logo-box img {
  width: 100%;
  height: 190px;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.score-tag {
  background-color: rgba(140, 180, 232, 0.16);
  color: var(--accent-blue);
  font-weight: 500;
  font-size: 13px;
  padding: 3px 9px;
  border-radius: 6px;
}

.licence-tag {
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 6px;
}

/* 3-Card Standard Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.std-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  transition: transform 250ms ease-out, border-color 250ms ease-out;
}

.std-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
}

/* Clean Full-Frame Media Block (No text overlay, no cropping) */
.media-frame {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  margin: 24px 0;
}

.media-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}

.media-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Structured Content Lists */
.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.clean-list li {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 20px;
}

.bullet-list {
  padding-left: 20px;
  margin: 14px 0;
  color: var(--text-primary);
}

.bullet-list li {
  margin-bottom: 8px;
}

/* Interactive Filter / Checklist Widget (no <form> tag) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 250ms ease-out;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--accent-coral);
  color: var(--text-primary);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(16, 24, 40, 0.15), rgba(12, 16, 28, 0.72));
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--accent-coral);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  margin-bottom: 12px;
}

.past-pill,
.live-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  margin-right: 8px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.past-pill {
  background-color: rgba(227, 109, 79, 0.18);
  color: var(--accent-coral);
}

.live-pill {
  background-color: rgba(31, 138, 112, 0.22);
  color: #8ee0c8;
}

.form-intro {
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: center;
}

.form-card,
.form-intro + .success-box,
.form-intro + .success-box + .form-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
}

.field input,
.field select {
  height: 44px;
  padding: 0 12px;
}

.field textarea {
  padding: 12px;
  min-height: 140px;
  resize: vertical;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  color: var(--text-secondary);
}

.check-row input {
  margin-top: 4px;
}

.form-status {
  margin-top: 12px;
  margin-bottom: 0;
}

.success-box {
  border: 1px solid #1F8A70;
  background: rgba(31, 138, 112, 0.16);
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 18px;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.cookie-bar p {
  margin: 0;
  max-width: 760px;
}

.prose-block {
  max-width: 820px;
}

.prose-block h2 {
  margin-top: 28px;
}

.table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.compare-table th,
.compare-table td {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-card);
  font-family: 'Fraunces', Georgia, serif;
}

@media (max-width: 860px) {
  .main-nav,
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
  }
  .grid-3,
  .mega-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px;
  }
  .notice-header,
  .card-meta-row,
  .ribbon-controls,
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .operator-grid {
    grid-template-columns: 1fr;
  }
  .card-logo-box img {
    height: 200px;
  }
  .compare-table {
    display: block;
    overflow-x: auto;
  }
}
