:root{
  /* Notion-like */
  --max: 720px;
  --pad: 24px;

  --text: #111;
  --muted: rgba(55,53,47,.65);
  --border: rgba(55,53,47,.14);
  --link: #0b57d0;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; height: auto; }

/* Cover pleine largeur */
.hero{
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.banner{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

/* Colonne principale */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 64px;
}

/* Typo */
/*h1{
  font-size: 48px;
  line-height: 1.08;
  margin: 18px 0 6px;
  font-weight: 600;
  letter-spacing: -0.025em;
}*/

h1.title{
  font-size: 48px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;

  display: flex;
  align-items: center;   /* alignement vertical parfait */
  gap: 12px;             /* espace logo / texte */
  margin-bottom: 6px;
}


.subtitle{
  margin: 0 0 28px;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(55,53,47,.6);
  /* Alignement sous le texte du titre */
  margin-left: calc(40px + 14px);
}

.title-logo{
  width: 40px;
  height: 40px;
  margin-top: 2px;   /* alignement optique */
  flex-shrink: 0;
  object-fit: contain;
}


h2{
  font-size: 26px;
  line-height: 1.15;
  margin: 34px 0 10px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #1a1a1a;
}

p{
  margin: 0.55rem 0;
  font-size: 16px;
}

p + p{
  margin-top: 0.85rem;
}

a{
  color: var(--link);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* Bloc légal (plus d'air + plus discret) */
.legal{
  margin-top: 32px;         /* espace AVANT le bloc */
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal p{
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
}
/* Mentions légales + photo : toujours en colonne (comme iPhone) */
.legal-wrap{
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 32px;
}
/* La photo reste petite et discrète */
.portrait{
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0.88;
  display: block;
}


/* Photo = signature humaine */
.signature{
  margin-top: 6px;
}


/* Mobile */
@media (max-width: 600px){
  :root{ --pad: 18px; }
  .hero{ height: 180px; }
  h1.title{ font-size: 32px; }
  .subtitle{ margin-left: 0; }
  .legal-wrap{
    gap: 18px;
  }
}


/* Optionnel: mode sombre auto, très léger */
@media (prefers-color-scheme: dark){
  body{ background:#0f0f10; color:#f2f2f2; }
  :root{
    --muted: rgba(255,255,255,.65);
    --border: rgba(255,255,255,.12);
    --link: #7ab0ff;
  /* Fix titres + sous-titre */
  h2{ color: rgba(255,255,255,.90); }
  .subtitle{ color: rgba(255,255,255,.72); }
  }
}
