/* LRD Conseils : feuille de style commune */

:root{
  --violet:#7F5AA7;
  --violet-fonce:#6B4A8F;
  --violet-nuit:#3A2B4D;
  --violet-pale:#F3EFF7;
  --blanc:#FFFFFF;
  --blanc-doux:rgba(255,255,255,.90);
  --blanc-tenu:rgba(255,255,255,.62);
  --anthracite:#23282C;
  --gris:#6E767C;
  --papier:#FCFBFD;
  --sans:"Avenir Next","Avenir",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--sans);
  font-size:18px;
  line-height:1.65;
  color:var(--anthracite);
  background:var(--papier);
  -webkit-font-smoothing:antialiased;
}

.wrap{max-width:46rem;margin:0 auto;padding:0 1.6rem}
.wrap.etroit{max-width:40rem}

/* ============ Zones violettes ============ */

.violet{
  background:var(--violet);
  background-image:radial-gradient(120% 90% at 50% 10%, #8B67B2 0%, #7F5AA7 45%, #6E4E92 100%);
  color:var(--blanc);
}

/* Navigation */

.topbar{border-bottom:1px solid rgba(255,255,255,.18)}
.topbar .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;padding-top:1rem;padding-bottom:1rem;
}
.topbar .wordmark{
  font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;
  color:var(--blanc);text-decoration:none;font-weight:600;white-space:nowrap;
}
.topbar nav ul{list-style:none;display:flex;gap:1.5rem;margin:0;padding:0;flex-wrap:wrap}
.topbar nav a{
  font-size:.82rem;color:var(--blanc-tenu);text-decoration:none;
  border-bottom:1px solid transparent;padding-bottom:3px;letter-spacing:.03em;
}
.topbar nav a:hover,.topbar nav a:focus{color:var(--blanc);border-bottom-color:rgba(255,255,255,.45)}
.topbar nav a[aria-current="page"]{color:var(--blanc);border-bottom-color:var(--blanc)}

/* Carte de visite (accueil) */

header.card{
  min-height:calc(100vh - 4rem);
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;padding:2.2rem 0 2.2rem;
}
.logo{
  width:142px;height:142px;display:block;margin:0 auto 1.5rem;
  background:var(--blanc);border-radius:50%;padding:14px;
  box-shadow:0 3px 26px rgba(30,18,48,.20);
}

header.card h1{
  font-size:clamp(1.55rem,4.4vw,2.15rem);
  font-weight:500;letter-spacing:.20em;text-transform:uppercase;
  margin:0 0 1.8rem;line-height:1.25;
}
header.card h1 .role{
  display:block;
  font-size:clamp(1rem,2.3vw,1.22rem);
  font-weight:400;letter-spacing:.06em;text-transform:none;
  color:var(--blanc-doux);margin:.55rem 0 0;
}
.pitch{max-width:42rem;margin:0 auto 1.35rem;color:var(--blanc-doux);line-height:1.7}
.pitch strong{color:var(--blanc);font-weight:600;display:block;margin-bottom:.15rem}

/* Six domaines, en colonnes */

.domaines{
  list-style:none;margin:2rem auto 0;padding:0;max-width:49rem;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.55rem 1.5rem;text-align:left;
}
.domaines li{position:relative;padding-left:1.05rem;color:var(--blanc-doux);font-size:1rem;white-space:nowrap}
.domaines li::before{
  content:"";position:absolute;left:0;top:.72em;
  width:5px;height:5px;border-radius:50%;background:var(--blanc);opacity:.85;
}

.filet{width:36rem;max-width:80%;height:1px;background:rgba(255,255,255,.35);border:0;margin:2rem auto 1.7rem}

.coordonnees{
  display:flex;justify-content:center;gap:3.5rem;flex-wrap:wrap;
  font-size:1.12rem;font-weight:600;margin:0;
}
.coordonnees a{color:var(--blanc);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:2px}
.coordonnees a:hover{border-bottom-color:var(--blanc)}

.deroule{
  display:inline-block;
  margin-top:3.2rem;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--blanc-tenu);text-decoration:none;
}
.deroule:hover{color:var(--blanc)}
.deroule span{display:block;font-size:1.1rem;letter-spacing:0;margin-top:.2rem}

/* En-tête des pages intérieures */

header.bandeau{padding:3.4rem 0 3.2rem;text-align:center}
.logo-petit{
  width:80px;height:80px;display:block;margin:0 auto 1.6rem;
  background:var(--blanc);border-radius:50%;padding:8px;
  box-shadow:0 2px 16px rgba(30,18,48,.18);
}
header.bandeau h1{
  font-size:clamp(1.5rem,3.6vw,2.05rem);
  font-weight:500;letter-spacing:.02em;margin:0 auto .9rem;max-width:32rem;line-height:1.28;
}
header.bandeau .lede{color:var(--blanc-doux);max-width:36rem;margin:0 auto;font-size:1.06rem;line-height:1.7}

/* ============ Zones claires ============ */

section{padding:3.6rem 0;border-bottom:1px solid #E8E2EF}
section:last-of-type{border-bottom:0}
section.alt{background:var(--violet-pale)}

h2{
  font-size:.78rem;letter-spacing:.20em;text-transform:uppercase;
  color:var(--violet-fonce);font-weight:700;margin:0 0 1.5rem;
}
h3{font-size:1.12rem;font-weight:600;margin:2.1rem 0 .6rem;line-height:1.4;color:var(--anthracite)}
h3:first-of-type{margin-top:0}
p{margin:0 0 1.15rem}
section p:last-child{margin-bottom:0}

a{color:var(--violet-fonce)}
section a{text-decoration:none;border-bottom:1px solid #D9CEE6;padding-bottom:1px}
section a:hover,section a:focus{border-bottom-color:var(--violet-fonce)}

/* Listes de contenu */

ul.points{list-style:none;margin:0;padding:0}
ul.points li{padding:.8rem 0 .8rem 1.5rem;position:relative;border-bottom:1px solid #E8E2EF}
ul.points li:last-child{border-bottom:0;padding-bottom:0}
ul.points li::before{
  content:"";position:absolute;left:0;top:1.5rem;
  width:.5rem;height:1px;background:var(--violet);
}
ul.points strong{font-weight:600}

/* Grille de cartes */

.cartes{display:grid;gap:1.5rem 2.2rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.cartes h3{margin:0 0 .3rem;font-size:1.02rem}
.cartes p{margin:0;font-size:.96rem;color:var(--gris);line-height:1.55}

/* Encadré */

.note{
  font-size:1rem;color:var(--gris);
  background:var(--violet-pale);border-left:2px solid var(--violet);
  padding:1.1rem 1.3rem;margin:1.8rem 0 0;
}
section.alt .note{background:var(--blanc)}
.note p:last-child{margin-bottom:0}

.coordonnees-plate{font-weight:600;font-size:1.05rem}

/* Renvois */

.suite{font-size:.97rem;line-height:2}

/* ============ Pied de page ============ */

footer{
  background:var(--violet-nuit);color:var(--blanc-tenu);
  padding:2.8rem 0 3.4rem;font-size:.87rem;line-height:1.75;
}
footer a{color:var(--blanc-doux);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22)}
footer a:hover{color:var(--blanc);border-bottom-color:rgba(255,255,255,.6)}
footer .plan{list-style:none;margin:0 0 1.7rem;padding:0;display:flex;gap:1.6rem;flex-wrap:wrap}
footer .plan a{border-bottom-color:transparent}
footer .plan a:hover{border-bottom-color:rgba(255,255,255,.4)}
footer details summary{cursor:pointer;color:var(--blanc-doux);letter-spacing:.03em;margin-bottom:1rem}
footer details[open] summary{margin-bottom:1.2rem}
footer details p{margin:0 0 .9rem}
footer strong{color:var(--blanc-doux)}
.copy{margin-top:1.9rem;font-size:.8rem;color:rgba(255,255,255,.42)}

/* ============ Adaptations ============ */

/* Écrans peu hauts : la carte de visite doit tenir sans couper le contact */
@media (min-width:760px) and (max-height:900px){
  .logo{width:110px;height:110px;padding:11px;margin-bottom:1.1rem}
  header.card{padding:1.6rem 0 1.6rem}
  header.card h1{margin-bottom:1.2rem}
  .pitch{margin-bottom:1rem;line-height:1.6}
  .domaines{margin-top:1.4rem;gap:.35rem 1.5rem}
  .filet{margin:1.5rem auto 1.2rem}
  .deroule{margin-top:2.2rem}
}

@media (max-width:860px){
  .domaines{grid-template-columns:repeat(2,minmax(0,1fr));max-width:32rem}
}

/* Fenêtres basses : la carte de visite doit tenir en entier */
@media (min-width:760px) and (max-height:800px){
  .logo{width:94px;height:94px;padding:9px;margin-bottom:.8rem}
  header.card{padding:1.1rem 0 1.1rem}
  header.card h1{margin-bottom:.9rem;font-size:clamp(1.4rem,3.6vw,1.8rem)}
  header.card h1 .role{margin-top:.4rem;font-size:clamp(.95rem,2vw,1.06rem)}
  .pitch{margin-bottom:.8rem;line-height:1.55;font-size:.97rem}
  .domaines{margin-top:1.1rem;gap:.25rem 1.5rem}
  .domaines li{font-size:.95rem}
  .filet{margin:1.1rem auto .9rem}
  .coordonnees{font-size:1.04rem}
  .deroule{margin-top:1.7rem}
}

@media (max-width:520px){
  body{font-size:17px}
  header.card{min-height:auto;padding:3rem 0 3.5rem}
  .logo{width:116px;height:116px;padding:12px;margin-bottom:1.8rem}
  .domaines{grid-template-columns:1fr;gap:.5rem;max-width:20rem;white-space:normal}
  .coordonnees{flex-direction:column;gap:.9rem}
  .topbar nav ul{gap:1.1rem}
  .filet{margin:2.2rem auto 1.8rem}
}

@media print{
  .violet{background:#fff!important;color:#000!important}
  header.card{min-height:auto}
  .topbar,.deroule{display:none}
}
