/* ============================================================
   Montelisse 7 — site.css
   Color System #4 — Soft Gradient
   Skeleton #3 — folder/index.php
   ============================================================ */

/* --- Reset & Base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #3a3045;
  background: #f5f0ec;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #7a6b8a; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #9b8ec4; }
a:focus-visible { outline: 2px solid #9b8ec4; outline-offset: 2px; }
ul { list-style: none; }

/* --- Top Bar ----------------------------------------------- */
.site-topbar {
  background: linear-gradient(135deg, #e8e0f0 0%, #ede4d8 100%);
  border-bottom: 1px solid #e0d5cc;
  font-size: 0.8rem;
  line-height: 1.4;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #5a4e6a;
}

.topbar-notice { font-weight: 500; }
.topbar-divider { color: #c8bdb5; font-size: 0.7rem; }
.topbar-age { opacity: 0.85; }
.topbar-link { color: #5a4e6a; text-decoration: underline; text-underline-offset: 2px; }
.topbar-link:hover { color: #9b8ec4; }

/* --- Header / Navigation ----------------------------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e0d8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo { display: block; flex-shrink: 0; }
.logo-img { width: 80px; height: auto; }

.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a4e6a;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-list li a:hover,
.nav-list li a:focus {
  background: #f0ebe5;
  color: #3a3045;
}

/* --- Nav Toggle (Mobile) ----------------------------------- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #3a3045;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Section ------------------------------------------- */
.hero-section {
  background: linear-gradient(160deg, #ede6f5 0%, #f5ede4 40%, #f0e8e0 100%);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(155,142,196,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: #3a3045;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5a4e6a;
  margin-bottom: 2.5rem;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-link {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #9b8ec4, #b8a9c9);
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.hero-link-secondary {
  background: transparent;
  color: #5a4e6a;
  border: 1px solid #d4c8c0;
}

.hero-link-secondary:hover {
  background: #f0ebe5;
  color: #3a3045;
  transform: translateY(-1px);
}

/* --- Section Common ----------------------------------------- */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-alt {
  background: #faf7f4;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3a3045;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #7a6b8a;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a4058;
  margin-bottom: 1.2rem;
}

.section-text:last-child { margin-bottom: 0; }

/* --- Orientation / Anchor Nav ------------------------------ */
.orientation-nav {
  background: #ffffff;
  border-bottom: 1px solid #e8e0d8;
  padding: 1rem 1.5rem;
}

.orientation-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.orientation-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border: 1px solid #e0d5cc;
  border-radius: 50px;
  color: #5a4e6a;
  transition: background 0.2s, color 0.2s;
}

.orientation-link:hover {
  background: #ede6f5;
  border-color: #9b8ec4;
  color: #3a3045;
}

/* --- Criteria Cards ----------------------------------------- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.criteria-card {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.criteria-card:hover {
  box-shadow: 0 4px 16px rgba(155,142,196,0.1);
  transform: translateY(-2px);
}

.criteria-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3a3045;
  margin-bottom: 0.6rem;
}

.criteria-card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5a4e6a;
}

/* --- Platform Cards ----------------------------------------- */
.platform-section {
  background: linear-gradient(160deg, #f5f0ec 0%, #ede6f5 50%, #f5ede4 100%);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.platform-card {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.2s;
}

.platform-card:hover {
  box-shadow: 0 8px 24px rgba(155,142,196,0.12);
  transform: translateY(-3px);
}

.platform-logo {
  margin-bottom: 1rem;
  height: 200px;
  display: flex;
  align-items: center;
}

.platform-logo img {
  max-height: 200px;
  width: auto;
}

.platform-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #3a3045;
  margin-bottom: 0.4rem;
}

.platform-meta {
  font-size: 0.8rem;
  color: #8a7a9a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.6rem;
  background: #f5f0ec;
  border-radius: 6px;
  display: inline-block;
}

.platform-summary {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #4a4058;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.platform-criteria-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.platform-criteria-tag {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: #ede6f5;
  color: #5a4e6a;
  border-radius: 4px;
}

.platform-note {
  font-size: 0.85rem;
  color: #8a7a9a;
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.platform-cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #9b8ec4, #b8a9c9);
  border-radius: 50px;
  text-align: center;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.platform-cta:hover {
  opacity: 0.9;
  color: #fff;
}

/* --- FAQ Accordion ------------------------------------------ */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #3a3045;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover { background: #faf7f4; }

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: #9b8ec4;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a4058;
}

/* --- Transparency Section ----------------------------------- */
.transparency-block {
  background: #ffffff;
  border: 1px solid #e8e0d8;
  border-radius: 14px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.transparency-block p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4a4058;
  margin-bottom: 1rem;
}

.transparency-block p:last-child { margin-bottom: 0; }

/* --- Pre-footer / Responsible Block ------------------------- */
.pre-footer {
  background: linear-gradient(160deg, #ede6f5 0%, #e8e0f0 100%);
  padding: 3rem 1.5rem;
  text-align: center;
}

.pre-footer-inner {
  max-width: 750px;
  margin: 0 auto;
}

.pre-footer-text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #3a3045;
  font-style: italic;
}

/* --- Footer ------------------------------------------------- */
.site-footer {
  background: #3a3045;
  color: #e0d8d0;
}

.footer-top {
  background: linear-gradient(135deg, #4a3f5c, #5a4e6a);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-top-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: #d4c8d8;
}

.footer-cta-link {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  transition: background 0.2s;
}

.footer-cta-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-main {
  padding: 3rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #d4c8d8;
  margin-bottom: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #b8b0b8;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links li a {
  font-size: 0.88rem;
  color: #b8b0b8;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #d4c8d8;
}

/* --- Footer Resource Images -------------------------------- */
.footer-resources {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.resources-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.resource-img {
  max-height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.resource-img:hover { opacity: 1; }

/* --- Footer Bottom ------------------------------------------ */
.footer-bottom {
  background: #2a2035;
  padding: 1.5rem;
}

.footer-bottom-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: #8a7a9a;
  margin-bottom: 0.6rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #7a6b8a;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

/* --- Age Gate Popup ----------------------------------------- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,32,53,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.age-gate-overlay.hidden { display: none; }

.age-gate-modal {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.age-gate-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #3a3045;
  margin-bottom: 1rem;
}

.age-gate-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #5a4e6a;
  margin-bottom: 2rem;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-btn {
  padding: 0.7rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.age-gate-btn-yes {
  background: linear-gradient(135deg, #9b8ec4, #b8a9c9);
  color: #fff;
}

.age-gate-btn-no {
  background: #f0ebe5;
  color: #5a4e6a;
}

.age-gate-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Cookie Banner ------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #3a3045;
  color: #e0d8d0;
  padding: 1.2rem 1.5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.cookie-banner.hidden { display: none; }

.cookie-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  min-width: 250px;
}

.cookie-text a {
  color: #d4c8d8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.5rem 1.3rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #9b8ec4, #b8a9c9);
  color: #fff;
}

.cookie-btn-decline {
  background: transparent;
  color: #b8b0b8;
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn:hover { opacity: 0.85; }

/* --- Legal Pages (FAQ style) -------------------------------- */
.legal-hero {
  background: linear-gradient(160deg, #ede6f5 0%, #f5ede4 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.legal-hero-inner { max-width: 700px; margin: 0 auto; }

.legal-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #3a3045;
  margin-bottom: 1rem;
}

.legal-hero p {
  font-size: 1.05rem;
  color: #5a4e6a;
  line-height: 1.7;
}

.legal-content {
  padding: 3rem 1.5rem;
}

.legal-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #4a4058;
  margin-bottom: 1.5rem;
}

.legal-text:last-child { margin-bottom: 0; }

/* --- Thank-you page ----------------------------------------- */
.thankyou-section {
  padding: 5rem 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, #ede6f5 0%, #f5ede4 100%);
  min-height: 60vh;
}

.thankyou-inner {
  max-width: 650px;
  margin: 0 auto;
}

.thankyou-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #9b8ec4;
}

/* --- Inline CTA --------------------------------------------- */
.inline-cta {
  display: inline;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #7a6b8a;
}

.inline-cta:hover { color: #9b8ec4; }

.cta-block {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #faf7f4;
  border: 1px solid #e8e0d8;
  border-radius: 12px;
}

.cta-block p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4a4058;
  margin-bottom: 0.5rem;
}

.cta-block p:last-child { margin-bottom: 0; }

/* --- Contact Form ------------------------------------------- */
.contact-form {
  max-width: 600px;
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3a3045;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  border: 1px solid #d4c8c0;
  border-radius: 8px;
  background: #ffffff;
  color: #3a3045;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #9b8ec4;
  box-shadow: 0 0 0 3px rgba(155,142,196,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-submit {
  padding: 0.7rem 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #9b8ec4, #b8a9c9);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit:hover { opacity: 0.9; }

/* --- Summary Block ------------------------------------------ */
.summary-block {
  background: #f5f0ec;
  border: 1px solid #e8e0d8;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.summary-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3a3045;
  margin-bottom: 0.8rem;
}

.summary-block p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a4058;
}

/* --- Responsive --------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .main-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-list li a {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-section {
    padding: 3rem 1.2rem;
  }

  .section {
    padding: 2.5rem 1.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .age-gate-modal {
    padding: 1.8rem;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile */
@media (max-width: 430px) {
  .hero-title { font-size: 1.5rem; }
  .topbar-inner { font-size: 0.72rem; gap: 0.4rem; }
  .resources-grid { grid-template-columns: 1fr; }
}
