/* french-escape.fr — feuille de style unique.
   Charte reprise du site du 21/06 : fond ivoire, vert forêt, or.
   Aucune ressource externe (pas de Google Fonts) : rien ne fuit vers un tiers,
   cohérent avec l'absence de cookie annoncée en mentions légales. */

:root {
  --bg: #fafaf8;
  --bg-alt: #f2f0eb;
  --text: #2d2d2b;
  --text-light: #6b6b66;
  --green: #1a5632;
  --green-light: #2a7a4a;
  --gold: #a88a3c;
  --border: #e0ded8;
  --white: #ffffff;
  --largeur: 1080px;
  --etroit: 720px;
}

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

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

body {
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { color: var(--green-light); text-decoration: underline; }

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

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

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 1.5rem; }
.conteneur.etroit { max-width: var(--etroit); }

/* ---------- En-tête ---------- */

.entete {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.entete-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 70px;
  flex-wrap: wrap;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.marque {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  color: var(--text);
}
.marque:hover { text-decoration: none; color: var(--green); }
.marque img { border-radius: 3px; }

.nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav a {
  color: var(--text-light);
  font-size: .95rem;
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--green); text-decoration: none; }
.nav a.actif { color: var(--green); border-bottom-color: var(--gold); font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4.5rem;
}

.sur-titre {
  color: var(--gold);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.4rem;
  max-width: 16ch;
}

.hero-texte { max-width: 60ch; color: var(--text-light); font-size: 1.05rem; }

/* ---------- Titre de page ---------- */

.page-titre {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3.2rem 0;
}
.page-titre h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--green); font-weight: 700; }

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1.1rem;
  letter-spacing: -.01em;
}
.section > .conteneur > h2 { margin-bottom: 2rem; }

h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: .55rem; color: var(--text); }

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

.chapeau {
  font-size: 1.1rem;
  color: var(--text-light);
  padding-bottom: 1.8rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid var(--border);
}

.bloc-texte { margin-bottom: 2.6rem; }
.bloc-texte:last-child { margin-bottom: 0; }

/* ---------- Grille d'activités ---------- */

.grille-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.bloc {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.6rem 1.4rem;
}
.bloc p { color: var(--text-light); font-size: .95rem; }

/* ---------- Fiche société ---------- */

.fiche { width: 100%; border-collapse: collapse; margin-bottom: 2.6rem; }
.fiche tr { border-bottom: 1px solid var(--border); }
.fiche tr:first-child { border-top: 1px solid var(--border); }
.fiche th, .fiche td { padding: .85rem .6rem; text-align: left; vertical-align: top; font-size: .95rem; }
.fiche th { color: var(--text-light); font-weight: 500; width: 40%; }
.fiche td { font-weight: 600; }


.objet-no {
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  padding: 1.1rem 1.3rem;
  margin: 1.2rem 0;
  font-style: italic;
  color: var(--text-light);
  font-size: .95rem;
}
.objet-fr { font-weight: 500; }
.objet-note {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-light);
}

/* ---------- Formulaire ---------- */

.formulaire { display: flex; flex-direction: column; margin-bottom: 3rem; }

.formulaire label { font-size: .9rem; font-weight: 600; margin-bottom: .35rem; margin-top: 1.1rem; }
.formulaire label:first-child { margin-top: 0; }

.formulaire input,
.formulaire textarea {
  font: inherit;
  font-size: .98rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: .7rem .8rem;
  width: 100%;
}
.formulaire input:focus, .formulaire textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgba(26, 86, 50, .15);
  outline-offset: 0;
}
.formulaire textarea { resize: vertical; min-height: 160px; }

.formulaire button {
  font: inherit;
  font-weight: 600;
  margin-top: 1.6rem;
  align-self: flex-start;
  background: var(--green);
  color: var(--white);
  border: 0;
  border-radius: 2px;
  padding: .75rem 2rem;
  cursor: pointer;
}
.formulaire button:hover { background: var(--green-light); }

/* Piège à robots : invisible pour l'humain, présent pour l'automate. */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alerte {
  padding: .9rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  font-size: .95rem;
  border: 1px solid var(--border);
}
.alerte.ok { background: #eef6f1; border-color: var(--green); color: var(--green); }
.alerte.ko { background: #fbf0ee; border-color: #a4402c; color: #8e3a28; }

.coordonnees { color: var(--text-light); line-height: 1.9; }

/* ---------- Pied ---------- */

.pied {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.6rem 0;
  margin-top: 1rem;
}
.pied-in {
  display: flex;
  justify-content: space-between;
  gap: 2rem 3rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--text-light);
}
.pied-nom { font-weight: 700; color: var(--text); }
.pied-annee { margin-top: .4rem; opacity: .8; }

/* ---------- Impression ---------- */

@media print {
  .entete, .formulaire button { display: none; }
  body { background: #fff; }
}
