/* AY System — feuille de style */

:root {
  --taupe: #A89279;
  --taupe-texte: #756654; /* variante foncée du taupe, conforme WCAG AA sur fonds clairs */
  --taupe-clair: #C4B5A0;
  --sable: #F5F1EB;
  --noir: #111111;
  --gris-texte: #6B6459;
  --blanc-casse: #FAF8F5;

  --font-titre: 'Archivo', sans-serif;
  --font-corps: 'Inter', sans-serif;

  --radius: 3px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corps);
  color: var(--noir);
  background: var(--blanc-casse);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  font-family: var(--font-corps);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--taupe-texte);
}

.section-fond-noir .label {
  color: var(--taupe-clair);
}

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p {
  max-width: 65ch;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primaire {
  background: var(--taupe);
  color: var(--noir);
}

.btn-primaire:hover {
  background: var(--taupe-clair);
}

.btn-contour {
  background: transparent;
  border: 1px solid var(--taupe-clair);
  color: var(--blanc-casse);
}

.btn-contour:hover {
  background: var(--taupe);
  border-color: var(--taupe);
}

/* ---------- Header ---------- */

.entete {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(196, 181, 160, 0.15);
}

.entete-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.entete-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.entete-logo span {
  font-family: var(--font-titre);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--blanc-casse);
  font-size: 1rem;
}

.entete .btn {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* ---------- Sections génériques ---------- */

section {
  padding: 120px 0;
}

.section-fond-noir {
  background: var(--noir);
  color: var(--blanc-casse);
}

.section-fond-sable {
  background: var(--sable);
  color: var(--noir);
}

.section-fond-blanc {
  background: var(--blanc-casse);
  color: var(--noir);
}

.entete-section {
  max-width: 640px;
  margin-bottom: 64px;
}

.entete-section .label {
  display: block;
  margin-bottom: 16px;
}

.entete-section h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.entete-section p {
  color: var(--gris-texte);
  font-size: 1.05rem;
}

.section-fond-noir .entete-section p {
  color: var(--taupe-clair);
}

.filet {
  height: 1px;
  background: var(--taupe);
  opacity: 0.4;
  border: none;
  width: 100%;
}

/* ---------- Héro ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--noir);
  color: var(--blanc-casse);
  padding: 160px 0 100px;
  position: relative;
}

.hero-contenu {
  max-width: 780px;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 40px;
}

.hero .label {
  margin-bottom: 24px;
  display: block;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--taupe-clair);
}

.hero-sous-titre {
  font-size: 1.15rem;
  color: #C9C2B6;
  max-width: 56ch;
  margin-bottom: 44px;
}

.hero-cta-groupe {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 0.85rem;
  color: var(--taupe-clair);
  letter-spacing: 0.03em;
}

/* ---------- Le constat ---------- */

.constat-liste {
  display: flex;
  flex-direction: column;
}

.constat-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--taupe-clair);
  align-items: start;
}

.constat-item:first-child {
  border-top: 1px solid var(--taupe-clair);
}

.constat-numero {
  font-family: var(--font-titre);
  font-size: 4rem;
  font-weight: 800;
  color: var(--taupe-texte);
  line-height: 1;
}

.constat-item h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.constat-item p {
  color: var(--gris-texte);
  font-size: 0.98rem;
  max-width: 52ch;
}

/* ---------- Le système ---------- */

.systeme-liste {
  display: flex;
  flex-direction: column;
}

.systeme-etape {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(196, 181, 160, 0.25);
  align-items: start;
}

.systeme-etape:first-child {
  border-top: 1px solid rgba(196, 181, 160, 0.25);
}

.systeme-num {
  font-family: var(--font-titre);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--taupe);
  line-height: 1;
}

.systeme-etape h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.systeme-etape p {
  color: var(--taupe-clair);
  font-size: 1rem;
}

/* ---------- Différenciation ---------- */

.diff-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--taupe-clair);
  border: 1px solid var(--taupe-clair);
}

.diff-item {
  background: var(--sable);
  padding: 44px;
}

.diff-item h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--noir);
}

.diff-item p {
  color: var(--gris-texte);
  font-size: 0.98rem;
}

/* ---------- Pour qui ce n'est pas fait ---------- */

.filtre-liste {
  display: grid;
  gap: 24px;
}

.filtre-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--taupe-clair);
}

.filtre-icone {
  font-family: var(--font-titre);
  font-weight: 800;
  color: var(--taupe-texte);
  font-size: 1.2rem;
}

.filtre-item p {
  font-size: 1.02rem;
  color: var(--noir);
  max-width: 60ch;
}

/* ---------- FAQ ---------- */

.faq-liste {
  border-top: 1px solid var(--taupe-clair);
}

.faq-item {
  border-bottom: 1px solid var(--taupe-clair);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  cursor: pointer;
  font-family: var(--font-corps);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--noir);
}

.faq-plus {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  color: var(--taupe-texte);
  transition: transform 300ms ease;
  flex-shrink: 0;
}

.faq-item.ouvert .faq-plus {
  transform: rotate(45deg);
}

.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
}

.faq-item.ouvert .faq-reponse {
  max-height: 400px;
  padding-bottom: 28px;
}

.faq-reponse p {
  color: var(--gris-texte);
  font-size: 0.98rem;
}

/* ---------- CTA final ---------- */

.cta-final {
  background: var(--noir);
  color: var(--blanc-casse);
  text-align: center;
  padding: 140px 0;
}

.cta-final h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 720px;
  margin: 0 auto 24px;
}

.cta-final .label {
  display: block;
  margin-bottom: 20px;
}

.cta-final-sous {
  color: var(--taupe-clair);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

.pied {
  background: var(--noir);
  color: var(--taupe-clair);
  padding: 48px 0;
  border-top: 1px solid rgba(196, 181, 160, 0.2);
}

.pied-contenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pied-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pied-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.pied-logo span {
  font-family: var(--font-titre);
  font-weight: 800;
  color: var(--blanc-casse);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.pied-liens {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
}

.pied-liens a:hover {
  color: var(--blanc-casse);
}

.pied-copyright {
  font-size: 0.78rem;
  color: var(--gris-texte);
  margin-top: 24px;
}

/* ---------- Animations fade-up ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .constat-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .constat-numero {
    font-size: 2.6rem;
  }

  .diff-grille {
    grid-template-columns: 1fr;
  }

  .systeme-etape {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .entete {
    padding: 16px 20px;
  }

  .entete-logo span {
    display: none;
  }

  .entete .btn {
    padding: 8px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  section {
    padding: 80px 0;
  }

  .hero {
    padding: 140px 0 72px;
  }

  .hero-cta-groupe {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cta-final {
    padding: 96px 0;
  }

  .pied-contenu {
    flex-direction: column;
    align-items: flex-start;
  }
}
