/* ==========================================================================
   Ciceria Conseil — feuille de style unique
   Pour changer les couleurs du site, modifiez uniquement les valeurs
   ci-dessous. Elles se répercutent sur toutes les pages.
   ========================================================================== */

:root {
  /* Charte Ciceria — palette reprise du support VR2Planets (septembre 2026) */
  --encre:        #3a322d;   /* texte principal, brun profond */
  --encre-doux:   #6b5f57;   /* texte secondaire */
  --papier:       #ffffff;   /* fond des pages */
  --papier-sourd: #f5f2ef;   /* fond des sections en retrait */
  --sable:        #e7e0d9;   /* fond chaud du bandeau, repris du support */
  --filet:        #e2dcd6;   /* traits de séparation */
  --accent:       #5e6ab0;   /* pervenche soutenu : liens, boutons */
  --accent-fonce: #4a558f;   /* survol des boutons */
  --pervenche:    #6e79be;   /* pervenche du logo, aplats */
  --pervenche-pale: #edeff9; /* fond pervenche très clair */
  --or:           #887267;   /* taupe de la charte, filets */

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --marge: 15rem;            /* largeur de la colonne de marge */
  --lisiere: 2.5rem;
}

/* --------------------------------------------------------------- socle -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-fonce); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.enveloppe {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 var(--lisiere);
}

/* ------------------------------------------------------------- en-tête -- */

.bandeau {
  border-bottom: 1px solid var(--filet);
  background: var(--papier);
}

.bandeau__interieur {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.5rem 2.5rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--encre);
  text-decoration: none;
  margin-right: auto;
  letter-spacing: 0.01em;
}

.marque__second { color: inherit; letter-spacing: 0.06em; }

.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.98rem;
}

.navigation a {
  color: var(--encre-doux);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.navigation a:hover { color: var(--encre); }

.navigation a[aria-current="page"] {
  color: var(--encre);
  border-bottom-color: var(--or);
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--sable);
  border-bottom: 1px solid var(--filet);
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.16;
  max-width: 24ch;
  margin-bottom: 0.6em;
}
.hero h1 em { font-style: normal; color: var(--or); }

/* Deux colonnes : le discours à gauche, le visage à droite. */
.hero__grille {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; }
}

.hero__portrait {
  margin: 0;
  justify-self: start;
  text-align: center;
}

@media (min-width: 860px) {
  .hero__portrait { justify-self: center; }
}

.hero__portrait img {
  width: clamp(11rem, 26vw, 17.5rem);
  height: clamp(11rem, 26vw, 17.5rem);
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--papier);
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(58, 50, 45, 0.35);
}

.hero__portrait figcaption {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--encre);
}

.hero__portrait figcaption span {
  display: block;
  color: var(--encre-doux);
  font-size: 0.88rem;
}

.hero__chapo {
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
  color: var(--encre-doux);
  max-width: 56ch;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.4rem;
}

.bouton {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border: 0;
  cursor: pointer;
}

.bouton:hover { background: var(--accent-fonce); color: #fff; }

.bouton--discret {
  background: transparent;
  color: var(--encre);
  border: 1px solid var(--filet);
  padding: 0.8rem 1.6rem;
}

.bouton--discret:hover { background: var(--papier-sourd); color: var(--encre); }

.hero__telephone {
  font-size: 1.05rem;
  color: var(--encre-doux);
}

.hero__telephone a { color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--filet); }

/* ------------------------------------------------------------ sections -- */

.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-top: 1px solid var(--filet);
}

.section--sourde { background: var(--papier-sourd); border-top: 0; }

/* La grille « marge de registre » : titre à gauche, contenu à droite,
   séparés par un filet vertical. C'est le motif structurant du site. */
.registre {
  display: grid;
  grid-template-columns: var(--marge) 1fr;
  gap: 0 3.5rem;
  align-items: start;
}

.registre__titre {
  position: relative;
  padding-right: 3.5rem;
  margin: 0;
}

.registre__titre::after {
  content: "";
  position: absolute;
  top: 0.35em;
  right: 0;
  width: 1px;
  height: calc(100% + 0.4em);
  min-height: 2.5em;
  background: var(--or);
}

.registre__corps > :first-child { margin-top: 0; }
.registre__corps > :last-child  { margin-bottom: 0; }

/* --------------------------------------------------------- listes clés -- */

/* Liste de missions : filets horizontaux plutôt que cartes. */
.missions { margin: 0; padding: 0; list-style: none; }

.missions li {
  padding: 1.7rem 0;
  border-top: 1px solid var(--filet);
}

.missions li:first-child { border-top: 0; padding-top: 0; }
.missions li:last-child  { padding-bottom: 0; }

.missions h3 { margin-bottom: 0.35em; }

/* Ligne de contexte d'une mission : secteur, taille, format. */
.missions__cadre {
  font-size: 0.92rem;
  color: var(--or);
  margin-bottom: 0.6em !important;
}
.missions p  { margin-bottom: 0; color: var(--encre-doux); }

/* Trois constats côte à côte, sans effet de carte. */
.triptyque {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem 3rem;
}

.triptyque h3 { margin-bottom: 0.4em; }
.triptyque p  { color: var(--encre-doux); margin-bottom: 0; font-size: 1rem; }

/* Note de bas de bloc : précision juridique, mention discrète. */
.precision {
  font-size: 0.92rem;
  color: var(--encre-doux);
  border-left: 2px solid var(--filet);
  padding-left: 1rem;
  margin-top: 1.6rem;
}

/* Citation / phrase de position. */
.exergue {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--encre);
  max-width: 34ch;
  margin: 0;
}

/* ------------------------------------------------------- publications -- */

.articles { margin: 0; padding: 0; list-style: none; }

.articles li {
  padding: 1.9rem 0;
  border-top: 1px solid var(--filet);
}

.articles li:first-child { border-top: 0; padding-top: 0; }

.articles__date {
  display: block;
  font-size: 0.9rem;
  color: var(--encre-doux);
  margin-bottom: 0.4rem;
}

.articles h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.35em;
}

.articles h3 a { color: var(--encre); text-decoration: none; }
.articles h3 a:hover { color: var(--accent); }

.articles p { color: var(--encre-doux); margin-bottom: 0; }

/* Corps d'un article. */
.article { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.article__date { font-size: 0.95rem; color: var(--encre-doux); margin-bottom: 1rem; }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 24ch; }
.article__texte { max-width: 68ch; }
.article__texte h2 { font-size: 1.5rem; margin-top: 2.2em; }
.article__texte p { font-size: 1.08rem; }
.article__retour { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); }

/* ------------------------------------------------------------- contact -- */

.coordonnees { margin: 0; }
.coordonnees div { padding: 1.3rem 0; border-top: 1px solid var(--filet); }
.coordonnees div:first-child { border-top: 0; padding-top: 0; }
.coordonnees dt { font-size: 0.9rem; color: var(--encre-doux); margin-bottom: 0.3rem; }
.coordonnees dd { margin: 0; font-size: 1.15rem; }
.coordonnees dd a { color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--filet); }
.coordonnees dd a:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* --------------------------------------------------------- appel final -- */

.rappel {
  background: var(--encre);
  color: #f5f2ef;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.rappel h2 { color: #fff; max-width: 22ch; }
.rappel p { color: #c9beb6; max-width: 52ch; }
.rappel .bouton { background: #fff; color: var(--encre); }
.rappel .bouton:hover { background: var(--papier-sourd); color: var(--encre); }

/* ------------------------------------------------------------- pied de page */

.pied {
  border-top: 1px solid var(--filet);
  padding: 2.5rem 0 3.5rem;
  font-size: 0.94rem;
  color: var(--encre-doux);
}

.pied__interieur {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  justify-content: space-between;
}

.pied a { color: var(--encre-doux); }

/* -------------------------------------------------------------- mobile -- */

@media (max-width: 62rem) {
  :root { --lisiere: 1.5rem; }

  .registre {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .registre__titre { padding-right: 0; }

  .registre__titre::after {
    top: auto;
    bottom: -0.7rem;
    left: 0;
    right: auto;
    width: 3rem;
    height: 2px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* Logo Ciceria dans le bandeau */
.marque__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .marque__logo { width: 42px; height: 42px; }
}
