/* Accueil */

/* ---------- Ouverture : bloc ardoise, relief rouge ---------- */
.ouverture {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--encre); color: #fff;
  padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px);
}
.relief {
  position: absolute; z-index: -1; pointer-events: none;
  right: -14%; top: 50%; width: min(1300px, 110vw); transform: translateY(-50%);
}
.ouverture-grille { display: block; }
.ouverture-texte { max-width: 820px; }
.surtitre {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px;
  font: 500 15px/1 var(--texte); letter-spacing: .04em; color: #C9CAD1;
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: var(--rouge); }
.ouverture h1 {
  font-size: clamp(42px, 6.2vw, 82px); line-height: .95; letter-spacing: -.02em; font-weight: 600;
}
.ouverture h1 em { font-style: normal; color: var(--rouge); }
.ouverture .chapo { color: #C9CAD1; margin: 32px 0 40px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouverture .btn { border-color: rgba(255,255,255,.35); color: #fff; }
.ouverture .btn:hover { background: #fff; color: var(--encre); border-color: #fff; }
.ouverture .btn.plein { background: var(--rouge); border-color: var(--rouge); }
.ouverture .btn.plein:hover { background: #fff; color: var(--encre); border-color: #fff; }


.reperes {
  list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px 40px; font-size: 15px; color: var(--gris-clair);
}
.reperes strong { font: 600 19px/1 var(--titre); color: #fff; letter-spacing: .01em; margin-right: 4px; }
@media (max-width: 900px) {
  .relief { right: -40%; top: 30%; width: 160vw; opacity: .6; }
}

/* ---------- En-tête de section ---------- */
.tete-section { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.defile { display: flex; gap: 8px; }
.defile button {
  width: 48px; height: 48px; border: 1px solid var(--encre); background: transparent; color: var(--encre);
  font: 500 20px/1 var(--texte); cursor: pointer;
}
.defile button:hover { background: var(--encre); color: #fff; }

/* ---------- Actualités : bande défilante ---------- */
.actus { background: var(--blanc); }
.bande-cadre { padding-right: 0; }
.bande {
  list-style: none; margin: 0; padding: 0 var(--marge) 8px 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 360px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--ligne) transparent;
}
.actu {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--papier); border-top: 3px solid var(--encre); padding: 22px 22px 20px; min-height: 340px;
  transition: border-color .15s, transform .15s;
}
.actu:hover { border-top-color: var(--rouge); transform: translateY(-2px); }
.actu-meta { display: flex; justify-content: space-between; gap: 12px; font: 600 13px/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; }
.actu-meta .cat { color: var(--rouge-texte); }
.actu-meta time { color: var(--gris); letter-spacing: .04em; }
.actu h3 { margin: 22px 0 12px; font-size: 27px; }
.actu p { margin: 0; color: var(--ardoise); font-size: 16px; }
.actu button {
  margin-top: auto; padding: 18px 0 0; align-self: flex-start; background: none; border: 0; cursor: pointer;
  font: 600 15px/1 var(--texte); color: var(--encre); display: inline-flex; gap: 8px; align-items: center;
}
.actu button span { color: var(--rouge); transition: transform .15s; }
.actu button:hover span { transform: translateX(4px); }

dialog.article {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; padding: 0;
  background: var(--blanc); color: var(--encre); box-shadow: 0 30px 80px rgba(20,21,26,.35);
}
dialog.article::backdrop { background: rgba(43,45,54,.6); backdrop-filter: blur(3px); }
.article-corps { padding: clamp(24px, 5vw, 48px); }
.article-corps h3 { font-size: clamp(30px, 4vw, 40px); margin: 16px 0 20px; }
.article-corps p, .article-corps li { color: var(--ardoise); }
.article-corps h4 { font: 600 20px/1.2 var(--titre); margin: 26px 0 8px; }
.article-corps .sources { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: 14px; color: var(--gris); }
.article-fermer {
  position: sticky; top: 0; float: right; margin: 12px 12px 0 0; width: 44px; height: 44px; border: 0; cursor: pointer;
  background: var(--encre); color: #fff; font: 400 24px/1 var(--texte);
}

/* ---------- Le cabinet ---------- */
.cabinet-grille { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cabinet-texte p { margin: 0 0 18px; color: var(--ardoise); font-size: 18px; }
.cabinet-texte p:first-child { font-size: clamp(20px, 2vw, 23px); line-height: 1.5; color: var(--encre); }
.atouts {
  list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--encre);
}
.atouts li { padding: 26px 24px 8px 0; }
.atouts li + li { padding-left: 24px; border-left: 1px solid var(--ligne); }
.atouts .n { display: block; font: 600 15px/1 var(--titre); color: var(--rouge-texte); letter-spacing: .08em; margin-bottom: 30px; }
.atouts h3 { margin-bottom: 10px; }
.atouts p { margin: 0; font-size: 16px; color: var(--ardoise); }
@media (max-width: 900px) {
  .cabinet-grille { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr 1fr; }
  .atouts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .atouts li:nth-child(n+3) { border-top: 1px solid var(--ligne); }
}
@media (max-width: 560px) {
  .atouts { grid-template-columns: 1fr; }
  .atouts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--ligne); }
}

/* ---------- Équipe ---------- */
.equipe .chapo { margin: 18px 0 0; }
.personnes { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.personne {
  position: relative; background: var(--blanc); padding: 0 0 24px; display: flex; flex-direction: column;
  border: 1px solid var(--ligne);
}
.portrait {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin: 0 0 22px;
  background: var(--papier-2);
}
.portrait-vide { display: grid; place-items: center; font: 600 56px/1 var(--titre); color: var(--gris-clair); }
.personne > :not(.portrait) { margin-left: 22px; margin-right: 22px; }
.personne h3 { font-size: 26px; }
.role { margin: 6px 0 14px; font-weight: 500; color: var(--rouge-texte); font-size: 15px; }
.detail { margin: 0 0 16px; color: var(--ardoise); font-size: 15px; }
.itaa { margin: auto 0 6px; font-size: 13px; color: var(--gris); letter-spacing: .03em; }
.mail {
  display: block; padding-top: 14px; border-top: 1px solid var(--ligne);
  font-weight: 500; font-size: 15px; text-decoration: none; overflow-wrap: anywhere;
}
.mail:hover { color: var(--rouge-texte); }
@media (max-width: 1000px) { .personnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .personnes { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--papier-2); }
.contact-grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.carte { margin: 36px 0 28px; aspect-ratio: 16 / 10; background: var(--ligne); border: 1px solid var(--ligne); }
.carte iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.85) contrast(1.05); }
.coordonnees { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.coordonnees dt { font: 600 13px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }
.coordonnees dd { margin: 0; font-size: 17px; font-weight: 500; }
.coordonnees a { text-decoration-color: var(--rouge); text-underline-offset: 3px; }

.formulaire { background: var(--blanc); padding: clamp(24px, 4vw, 40px); border-top: 3px solid var(--rouge); }
.form-titre { margin: 0 0 24px; font: 600 28px/1 var(--titre); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.champs label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ardoise); }
.champs label small { font-weight: 400; color: var(--gris); }
.champs .large { grid-column: 1 / -1; }
.champs input, .champs select, .champs textarea {
  font: 400 16px/1.4 var(--texte); color: var(--encre); background: var(--papier);
  border: 1px solid var(--ligne); border-bottom-color: var(--gris-clair); padding: 12px 12px; border-radius: 0; width: 100%;
}
.champs textarea { resize: vertical; min-height: 140px; }
.champs input:focus, .champs select:focus, .champs textarea:focus { outline: none; border-color: var(--encre); background: #fff; box-shadow: inset 0 -2px 0 var(--rouge); }
.champs .miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { font-size: 13px; color: var(--gris); margin: 18px 0 20px; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.etat { margin: 0; font-size: 15px; font-weight: 500; }
.etat.ok { color: var(--vert); }
.etat.erreur { color: var(--rouge-texte); }
.formulaire button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs, .coordonnees { grid-template-columns: 1fr; } }
