/* La Parenthèse-Pro - feuille unique, sans framework. Mobile d'abord. */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(fonts/lora-latin.woff2) format("woff2");
}

:root {
  --creme: #fbf7f2;
  --sable: #f3ebe1;
  --peche: #f6e3d7;
  --blanc: #ffffff;
  --encre: #1f2d2a;
  --gris: #4a5a56;
  --vert: #2f5d50;
  --vert-fonce: #22463c;
  --vert-pale: #e3ede8;
  --terre: #a24e31;
  --trait: #e2d8cc;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(31, 45, 42, .06), 0 6px 20px rgba(31, 45, 42, .06);
  --titre: "Lora", Georgia, "Times New Roman", serif;
  --texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --largeur: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-underline-offset: .18em; }
a:hover { color: var(--vert-fonce); }
:focus-visible { outline: 3px solid var(--terre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; color: var(--encre); margin: 0 0 .6em; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.enveloppe { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 1.25rem; }
.lien-saut { position: absolute; left: -999px; top: 0; background: var(--vert); color: #fff; padding: .7rem 1rem; z-index: 100; }
.lien-saut:focus { left: 1rem; top: 1rem; }

/* En-tete */
.entete { background: var(--creme); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 50; }
.entete__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.marque { font-family: var(--titre); font-weight: 600; font-size: 1.3rem; color: var(--encre); text-decoration: none; white-space: nowrap; }
.marque span { color: var(--terre); }
.burger {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--trait); border-radius: 999px;
  padding: .55rem .95rem; font: inherit; font-size: .95rem; color: var(--encre); cursor: pointer; min-height: 44px;
}
.burger__barres { width: 18px; height: 12px; position: relative; display: inline-block; }
.burger__barres::before, .burger__barres::after, .burger__barres span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; }
.burger__barres::before { top: 0; } .burger__barres span { top: 5px; } .burger__barres::after { bottom: 0; }
.nav { display: none; }
.nav.est-ouvert { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); }
.nav ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.25rem; }
.nav li a { display: block; padding: .8rem .25rem; text-decoration: none; color: var(--encre); font-weight: 500; border-bottom: 1px solid var(--trait); }
.nav li a[aria-current="page"] { color: var(--vert); font-weight: 700; }
.nav .nav__cta { margin-top: 1rem; border-bottom: 0; }
.nav .nav__cta a { border: 0; text-align: center; color: #fff; display: flex; }
.nav .nav__cta a:hover { background: var(--vert-fonce); color: #fff; }

@media (min-width: 68rem) {
  .burger { display: none; }
  .nav, .nav.est-ouvert { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .nav ul { display: flex; align-items: center; gap: .25rem; padding: 0; }
  .nav li a { border: 0; padding: .5rem .8rem; border-radius: 999px; }
  .nav li a:hover { background: var(--vert-pale); }
  .nav li a[aria-current="page"] { background: var(--vert-pale); }
  .nav .nav__cta { margin: 0 0 0 .75rem; }
  .nav .nav__cta a { padding: .65rem 1.2rem; }
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 650; text-decoration: none; border: 2px solid var(--vert); line-height: 1.2; text-align: center;
  cursor: pointer; font-family: var(--texte); font-size: 1rem;
}
.bouton--plein { background: var(--vert); color: #fff; }
.bouton--plein:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: #fff; }
.bouton--trait { background: transparent; color: var(--vert); }
.bouton--trait:hover { background: var(--vert-pale); color: var(--vert-fonce); }
.bouton--clair { background: #fff; color: var(--vert-fonce); border-color: #fff; }
.bouton--clair:hover { background: var(--creme); color: var(--vert-fonce); }
.boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Bandes */
.bande { padding: 3.5rem 0; }
.bande--sable { background: var(--sable); }
.bande--vert { background: var(--vert); color: #fff; }
.bande--vert h2, .bande--vert h3, .bande--vert a:not(.bouton) { color: #fff; }
.surtitre { display: inline-block; font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terre); margin-bottom: .75rem; }
.bande--vert .surtitre { color: #f6e3d7; }
.chapo { font-size: 1.15rem; color: var(--gris); max-width: 46rem; }
.bande--vert .chapo { color: #eef4f1; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }
@media (min-width: 48rem) { .bande { padding: 5rem 0; } }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.hero__grille { display: grid; gap: 2rem; align-items: center; }
.hero__photo { position: relative; max-width: 22rem; }
/* Portrait (31/10, retour de Jessica du 28/10) : la photo n'est plus decoupee en arche, l'arche
   passe DERRIERE la photo et descend sous le visage. Rien ne coupe la tete. */
.portrait { position: relative; isolation: isolate; margin: 0 0 1.5rem 2rem; }
.portrait::before {
  content: ""; position: absolute; z-index: -1;
  left: -2rem; right: 2rem; top: 34%; bottom: -1.5rem;
  background: #efd6c6; border-radius: 999px 999px var(--rayon) var(--rayon);
}
.portrait img { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; }
.portrait--entiere { max-width: 18.5rem; }
.portrait--entiere::before { top: 50%; }
.hero__legende { padding-left: 2rem; }
.insecable { white-space: nowrap; }
.hero__legende { font-size: .9rem; color: var(--gris); margin-top: .6rem; }
@media (min-width: 56rem) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grille { grid-template-columns: 1.35fr 1fr; gap: 4rem; }
  .hero__photo { justify-self: end; }
}

/* Reperes chiffres */
.reperes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.reperes li { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.1rem; }
.reperes b { display: block; font-family: var(--titre); font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); color: var(--vert); line-height: 1.15; margin-bottom: .25rem; }
.reperes span { font-size: .95rem; color: var(--gris); }
@media (min-width: 56rem) { .reperes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Cartes */
.cartes { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 40rem) { .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .cartes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; display: flex; flex-direction: column; box-shadow: var(--ombre); }
.carte h3 { margin-bottom: .5rem; }
.carte p { color: var(--gris); }
.carte__num { font-family: var(--titre); color: var(--terre); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.carte__lien { margin-top: auto; font-weight: 700; color: var(--vert); text-decoration: none; }
.carte__lien::after { content: " \2192"; }
a.carte { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.carte:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(31, 45, 42, .1); }
.carte ul { margin: 0 0 1rem; color: var(--gris); font-size: .97rem; }

/* Etapes */
.etapes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; counter-reset: etape; }
@media (min-width: 56rem) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .etapes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.etapes li { counter-increment: etape; background: var(--blanc); border-radius: var(--rayon); padding: 1.5rem; border: 1px solid var(--trait); }
.etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--vert-pale); color: var(--vert-fonce); font-family: var(--titre); font-weight: 600; margin-bottom: .75rem; }
.etapes h3 { font-size: 1.1rem; }
.etapes p { margin: 0; color: var(--gris); }

/* Deux colonnes */
.duo { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56rem) { .duo { grid-template-columns: 1fr 1fr; gap: 4rem; } .duo--photo { grid-template-columns: 1fr 1.4fr; } }
.encadre { background: var(--peche); border-radius: var(--rayon); padding: 1.5rem; }
.encadre h2, .encadre h3 { margin-top: 0; }
.citation { font-family: var(--titre); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); line-height: 1.3; margin: 0 0 1rem; }
.photo-ronde { max-width: 22rem; }

/* Modules */
.modules { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.modules li { border-left: 4px solid var(--vert); background: var(--blanc); padding: 1.1rem 1.25rem; border-radius: 0 var(--rayon) var(--rayon) 0; }
.modules b { display: block; font-family: var(--titre); font-size: 1.1rem; }
.modules span { color: var(--gris); font-size: .97rem; }

/* Liste des formations d'un pole */
.formations { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 48rem) { .formations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.formation { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.4rem 1.5rem; }
.formation h3 { margin-bottom: .4rem; }
.formation p { margin: 0; color: var(--gris); }

/* Fil d'Ariane */
.ariane { font-size: .9rem; color: var(--gris); padding-top: 1.25rem; }
.ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.ariane li + li::before { content: "/"; margin-right: .35rem; color: var(--trait); }
.ariane a { color: var(--gris); }
.tete-page { padding: 1.5rem 0 2.5rem; }
@media (min-width: 48rem) { .tete-page { padding: 2rem 0 3.5rem; } }

/* FAQ */
.faq { margin-top: 2rem; display: grid; gap: .75rem; }
.faq details { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 0 1.25rem; }
.faq summary { cursor: pointer; font-weight: 650; padding: 1.1rem 0; list-style: none; position: relative; padding-right: 2rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .95rem; font-size: 1.4rem; line-height: 1; color: var(--vert); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--gris); }

/* Formulaire */
.formulaire { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.5rem; box-shadow: var(--ombre); }
@media (min-width: 48rem) { .formulaire { padding: 2rem; } }
.champs { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .champs { grid-template-columns: 1fr 1fr; } .champ--large { grid-column: 1 / -1; } }
.champ label { display: block; font-weight: 650; margin-bottom: .35rem; }
.champ .oblig { color: var(--terre); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; color: var(--encre); background: var(--creme);
  border: 1.5px solid #b9ada0; border-radius: 10px; padding: .75rem .85rem; min-height: 48px;
}
.champ textarea { min-height: 8rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--vert-pale); border-color: var(--vert); }
.champ [aria-invalid="true"] { border-color: #b3261e; }
.erreur { color: #b3261e; font-size: .92rem; margin-top: .3rem; display: none; }
.erreur.visible { display: block; }
.case { display: flex; gap: .75rem; align-items: flex-start; background: var(--vert-pale); border-radius: 10px; padding: 1rem; }
.case input { width: 1.4rem; height: 1.4rem; margin-top: .15rem; flex: none; accent-color: var(--vert); }
.case label { font-weight: 600; margin: 0; }
.mention { font-size: .92rem; color: var(--gris); margin-top: 1rem; }
.message-envoi { margin-top: 1rem; padding: 1rem; border-radius: 10px; background: var(--vert-pale); display: none; }
.message-envoi.visible { display: block; }

/* Contenu long (mentions) */
.texte-long { max-width: 46rem; }
.texte-long h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Pied de page */
.pied { background: var(--vert-fonce); color: #e8efec; padding: 3rem 0 2rem; font-size: .97rem; }
.pied a { color: #fff; }
.pied__grille { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied__marque { font-family: var(--titre); font-size: 1.35rem; color: #fff; margin-bottom: .4rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .45rem; }
.pied h2 { font-family: var(--texte); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #f6e3d7; margin-bottom: .8rem; }
.pied__bas { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; color: #cfdcd6; }
