/* Perfco360 — feuille de style — version statique du 21/09/2026 */

:root {
  --encre: #13233A;
  --graphite: #4B5870;
  --brume: #EDF1F5;
  --papier: #FFFFFF;
  --preuve: #177E5A;
  --preuve-clair: #E1F2EA;
  --trait: #D5DCE4;
  --rayon-s: 6px;
  --rayon-l: 14px;
  --largeur: 1160px;
  --titre: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--preuve); }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--preuve); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-stretch: 85%;
  line-height: 1.08;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 750; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
strong { font-weight: 700; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
/* Empêche les images d'élargir les colonnes de grille */
.hero .conteneur > *, .duo > *, .fonctions > *, .offres > *, .equipe > *, .apports > *, .contact-grille > *, .pied .grille > * { min-width: 0; }
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--papier); padding: .5rem 1rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.4rem;
  border-radius: var(--rayon-s); border: 2px solid transparent;
  font-family: var(--texte); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-plein { background: var(--preuve); color: var(--papier); }
.btn-plein:hover { background: var(--encre); color: var(--papier); }
.btn-contour { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-contour:hover { background: var(--encre); color: var(--papier); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--trait);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.marque {
  font-family: var(--titre); font-stretch: 80%; font-weight: 800; font-size: 1.6rem;
  color: var(--encre); text-decoration: none; letter-spacing: -0.02em;
}
.marque span { color: var(--preuve); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--preuve); }
.nav .btn { padding: .6rem 1rem; }
.nav .btn-plein { color: var(--papier); }
.nav .connexion { color: var(--graphite); }
.bouton-menu {
  display: none; background: none; border: 1px solid var(--trait);
  border-radius: var(--rayon-s); padding: .5rem .8rem; font: inherit; font-weight: 600; color: var(--encre); cursor: pointer;
}

@media (max-width: 900px) {
  .bouton-menu { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier); border-bottom: 1px solid var(--trait); padding: .5rem 1.25rem 1.25rem;
  }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--brume); }
  .nav .btn { margin-top: 1rem; border-bottom: 0; }
  .entete.menu-ouvert .nav { display: flex; }
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-brume { background: var(--brume); }
.chapo { font-size: 1.25rem; color: var(--graphite); max-width: 60ch; }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6rem); }
.hero .conteneur { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.verbes { list-style: none; padding: 0; margin: 2.2rem 0 0; border-top: 1px solid var(--trait); }
.verbes li {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--trait);
}
.verbes strong {
  font-family: var(--titre); font-stretch: 75%; font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1;
  display: flex; align-items: center; gap: .6rem;
}
.verbes strong::before {
  content: ""; width: .55rem; height: .55rem; background: var(--preuve); border-radius: 2px; flex: none;
}
.verbes span { color: var(--graphite); }
.hero-visuel img { border-radius: var(--rayon-l); }

@media (max-width: 900px) {
  .hero .conteneur { grid-template-columns: 1fr; }
  .verbes li { grid-template-columns: 1fr; gap: .3rem; }
}

/* Deux colonnes texte + image */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.duo img { border-radius: var(--rayon-l); }
.duo-inverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
  .duo-inverse > :first-child { order: 0; }
}

.questions { list-style: none; padding: 0; margin: 1.5rem 0; }
.questions li {
  padding: .55rem 0 .55rem 1.1rem; border-left: 3px solid var(--trait);
  font-family: var(--titre); font-stretch: 90%; font-weight: 600; font-size: 1.2rem;
}
.questions li + li { margin-top: .3rem; }
.conclusion { font-weight: 700; color: var(--preuve); }

/* Fonctionnalités */
.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; margin-top: 3.5rem; }
.fonction { border-top: 2px solid var(--encre); padding-top: 1.4rem; }
.fonction img { width: 48px; height: 48px; margin-bottom: 1.1rem; }
.fonction p { font-size: 1.05rem; color: var(--graphite); }
.fonction p strong { color: var(--encre); }
@media (max-width: 960px) { .fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .fonctions { grid-template-columns: 1fr; } }

/* Public cible */
.points { list-style: none; padding: 0; margin: 2rem 0 0; }
.points li { padding: 1.1rem 0; border-top: 1px solid var(--trait); }
.points li strong { display: block; font-family: var(--titre); font-stretch: 90%; font-size: 1.2rem; margin-bottom: .2rem; }
.points li span { color: var(--graphite); }

/* Offres */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.offre {
  display: flex; flex-direction: column;
  background: var(--papier); border: 1px solid var(--trait); border-radius: var(--rayon-l);
  padding: 2rem 1.8rem;
}
.offre .option { font-family: var(--titre); font-stretch: 80%; font-weight: 800; font-size: 1rem; color: var(--preuve); margin-bottom: .6rem; }
.offre h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.offre .pour { font-weight: 700; margin-bottom: 1rem; }
.offre p { font-size: 1.02rem; }
.offre .resume { color: var(--graphite); font-style: italic; border-top: 1px solid var(--trait); padding-top: 1rem; margin-top: auto; }
.offre .btn { margin-top: 1.2rem; align-self: flex-start; }
.offre-complete { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.offre-complete .option { color: #7FD3AE; }
.offre-complete .resume { color: #C4CDD8; border-top-color: rgba(255,255,255,.2); }
.offre-complete .btn-plein:hover { background: var(--papier); color: var(--encre); }
@media (max-width: 960px) { .offres { grid-template-columns: 1fr; } }

/* Équipe */
.equipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: 3rem; }
.membre img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--rayon-l); background: var(--brume); }
.membre h3 { font-size: 1.2rem; margin: 1rem 0 .25rem; }
.membre p { font-size: .98rem; color: var(--graphite); margin: 0; }
@media (max-width: 1000px) { .equipe { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .equipe { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

/* IA : trois apports */
.apports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.apport img { border-radius: var(--rayon-l); border: 1px solid var(--trait); margin-bottom: 1.3rem; background: var(--papier); }
.apport p { font-size: 1.02rem; color: var(--graphite); }
@media (max-width: 900px) { .apports { grid-template-columns: 1fr; } }

/* Bloc lucidité */
.lucidite { background: var(--encre); color: var(--papier); }
.lucidite p { color: #D3DAE3; }
.lucidite .moins { list-style: none; padding: 0; margin: 2rem 0 0; }
.lucidite .moins li {
  font-family: var(--titre); font-stretch: 85%; font-weight: 700; font-size: 1.35rem;
  padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.18);
}
.lucidite img { border-radius: var(--rayon-l); }
.lucidite .btn-plein:hover { background: var(--papier); color: var(--encre); }
.lucidite .btn-contour { border-color: var(--papier); color: var(--papier); }
.lucidite .btn-contour:hover { background: var(--papier); color: var(--encre); }

/* FAQ */
.faq { max-width: 860px; margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--trait); }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font-family: var(--titre); font-stretch: 90%; font-weight: 700; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--preuve);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1.4rem; color: var(--graphite); }

/* Pied de page */
.pied { background: var(--brume); padding: 3.5rem 0 2rem; font-size: 1rem; }
.pied .grille { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.pied h4 { font-size: 1.05rem; margin-bottom: .8rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .45rem; }
.pied a { color: var(--encre); text-decoration: none; }
.pied a:hover { color: var(--preuve); text-decoration: underline; }
.pied .devise { color: var(--graphite); margin-top: .4rem; }
.pied .copyright { border-top: 1px solid var(--trait); margin-top: 2.5rem; padding-top: 1.5rem; color: var(--graphite); font-size: .92rem; }
@media (max-width: 760px) { .pied .grille { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.formulaire { display: grid; gap: 1.2rem; }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .formulaire .deux { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .35rem; }
.champ .facultatif { font-weight: 400; color: var(--graphite); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre);
  padding: .8rem .9rem; border: 1px solid #B8C3CF; border-radius: var(--rayon-s); background: var(--papier);
}
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--preuve-clair); border-color: var(--preuve); }
.consentement { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--graphite); }
.consentement input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--preuve); flex: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--rayon-s); font-weight: 600; display: none; }
.statut.visible { display: block; }
.statut.ok { background: var(--preuve-clair); color: #0F5A40; }
.statut.erreur { background: #FBE9E7; color: #8A2A1B; }
.encart { background: var(--brume); border-radius: var(--rayon-l); padding: 2rem; }
.encart h3 { margin-bottom: 1rem; }
.encart ul { padding-left: 1.1rem; margin: 0 0 1.5rem; color: var(--graphite); }
.encart li { margin-bottom: .5rem; }

/* Pages juridiques */
.juridique { max-width: 820px; }
.juridique h2 { font-size: 1.4rem; margin-top: 2.4rem; }
.juridique p, .juridique li { color: var(--graphite); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Apports IA — fond sombre pour faire ressortir les captures d'écran */
.section-apports { background: var(--encre); }
.section-apports h2,
.section-apports .chapo { color: var(--papier); }
.section-apports .chapo { color: #C4CDD8; }
.apport img {
  border-radius: var(--rayon-l);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 1.3rem;
  background: #1E2E44;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  max-width: 100%;
  height: auto;
}
.apport h3 { color: var(--papier); }
.apport p { color: #C4CDD8; }

/* Équipe — grille 4 colonnes maintenant qu'il y a 4 membres */
.equipe { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .equipe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .equipe { grid-template-columns: 1fr 1fr; gap: 1rem; } }
