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

:root {
  --ink:       #1C1B18;
  --ink-soft:  #5A5750;
  --gold:      #C9A84C;
  --gold-pale: #F5EDD6;
  --parchment: #FAF7F2;
  --white:     #FFFFFF;
  --rule:      #E8E2D8;
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 clamp(24px, 5vw, 80px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

footer .logo-img {
  height: 64px;
}

.logo-name {
  display: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) clamp(24px, 5vw, 80px);
}

.hero {
  padding: 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--parchment) 100%);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

/* Hero spécifique pour les pages légales (Politique, Mentions, CGU) */
.layout ~ .hero,
.hero:has(+ .layout) {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px) clamp(32px, 5vw, 56px);
  background: var(--parchment); /* Fond uniforme pour les pages légales */
}

.layout ~ .hero .hero-container,
.hero:has(+ .layout) .hero-container {
  max-width: 1100px; /* Aligné sur le layout à deux colonnes */
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 100px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  position: relative;
  overflow: visible;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone-frame {
  width: 280px;
  height: 560px;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
  position: relative;
  border: 4px solid var(--rule);
}

.hero-phone-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: var(--ink);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.hero-phone-content {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.02);
}

.hero-phone-content span {
  font-size: 48px;
  margin-bottom: 16px;
}


.hero-container::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.hero-container::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero:has(+ .layout) .hero-title,
.layout ~ .hero .hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 0;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  font-size: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero:has(+ .layout) .hero-title em,
.layout ~ .hero .hero-title em {
  display: inline;
  font-size: inherit;
  text-transform: none;
  letter-spacing: inherit;
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-meta-value {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-meta {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 22px);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 0 40px;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 992px) {
  .cta-group {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  font-size: 15px;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
}

.btn-secondary:hover {
  background: var(--parchment);
  border-color: var(--gold);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ── Features & Sections (Home) ── */

.section-header {
  margin-bottom: 64px;
  max-width: 800px;
}

#comment-ca-marche .section-header,
#captures .section-header {
  margin-left: 0;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}

/* ── Content Sections (Legal / Rules Pages) ── */
.layout .section {
  padding: 0;
  max-width: initial;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.layout .section-header,
.content .section-header {
  margin-bottom: 12px;
  max-width: initial;
  display: flex;
  align-items: center; /* Aligné sur le milieu pour mieux gérer le nombre */
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.layout .section-title,
.content .section-title {
  font-size: 22px;
  margin-bottom: 0;
}

.layout .section-number,
.content .section-number,
.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  min-width: 24px;
  line-height: 1; /* Pour un meilleur alignement vertical */
}

.layout .section p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.layout .section p strong {
  color: var(--ink);
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--gold);
}

.feature-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}

.feature-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Screenshots ── */
.screenshots {
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.screenshot-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 24px 0 48px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.screenshot-row::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.screenshot-item {
  flex: 0 0 280px;
  aspect-ratio: 9 / 19.5;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 36px;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.screenshot-placeholder {
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  padding: 20px;
}

.screenshot-placeholder span {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ── Plumes/Sabotage ── */
.plumes-section {
  background: var(--ink);
  color: var(--white);
  border-radius: 48px;
  padding: 80px clamp(24px, 8vw, 100px);
  margin: 80px clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: nowrap;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
  .plumes-section {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 40px 24px;
    padding: 64px 32px;
    border-radius: 32px;
  }
}

.plumes-content {
  flex: 1 1 400px;
}

.plumes-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.plumes-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.1;
}

.plumes-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 32px;
}

.plumes-visual {
  flex: 0 1 400px;
  display: flex;
  justify-content: center;
  position: relative;
}

.plume-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 32px;
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.plume-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.plume-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Content Layout (Legal Pages) ── */
.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px);
}

@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .nav { display: none; }
}

.nav {
  position: sticky;
  top: 96px;
  height: fit-content;
  padding-right: 40px;
}

.content {
  min-width: 0;
}

.content .section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
  margin-bottom: 48px;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.content .section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
  text-align: left;
  max-width: none;
}

.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  min-width: 24px;
}

/* ── Data Grid & Cards ── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.data-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.data-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.data-card-icon {
  width: 32px;
  height: 32px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 0;
}

.data-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0;
}

.data-card-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ── Third Party List ── */
.third-party-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
}

.third-party-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.third-party-item:hover {
  border-color: var(--gold);
  background: var(--parchment);
}

.third-party-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.third-party-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  flex: none;
  min-width: 120px;
}

.third-party-role {
  font-size: 12px;
  color: var(--ink-soft);
  flex: 1;
}

.third-party-arrow {
  font-size: 12px;
  color: var(--rule);
}

/* ── Rights List ── */
.rights-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.right-item {
  background: var(--gold-pale);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}

.right-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 10px;
  flex-shrink: 0;
}

/* ── Contact Box ── */
.contact-box {
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-box-text {
  display: flex;
  flex-direction: column;
}

.contact-box-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-box-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
}

.contact-box-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.contact-box-link:hover {
  transform: translateY(-2px);
}

.nav-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.nav-list a:hover {
  color: var(--ink);
  border-left-color: var(--gold);
}


.nav-list, .nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.nav a:hover {
  color: var(--ink);
  border-left-color: var(--gold);
}

/* ── Legal Content (Generic) ── */
.legal-container {
  max-width: 800px;
  margin: 64px auto;
  padding: 0 24px;
}

.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--ink);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
}

.legal-section p, .legal-section ul {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.legal-section ul {
  padding-left: 20px;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 64px clamp(24px, 5vw, 80px) 32px;
  background: var(--white);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-nav h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--ink);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  .footer-brand {
    max-width: 100%;
    text-align: center;
  }
  .footer-brand .logo {
    justify-content: center;
  }
  .footer-nav {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-feather {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.footer-feather img {
  height: 24px;
  width: auto;
}

/* ── Points Grid ── */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 480px) {
  .points-grid {
    grid-template-columns: 1fr;
  }
}

.point-item {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.2s;
}

.point-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.point-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.point-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Rules Card ── */
.rules-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 32px;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.rules-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--ink);
}


@media (max-width: 768px) {
  .nav-links { display: none; }
}
