:root {
  --navy-deep: #0B1929;
  --navy: #152A45;
  --navy-mid: #1E3D5C;
  --teal: #3DD8C5;
  --teal-deep: #1C9589;

  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --sand: #EDEAE3;
  --line: #E5E7EB;
  --line-2: #D6D9DE;

  --ink: #1A2E4A;
  --ink-2: #617182;
  --ink-3: #8B95A3;

  --warn: #A8670C;
  --warn-soft: #FBF3E6;
  --good: #1C9589;
  --alerte: #D64545;

  --icone-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2 4.2 2 2 0 0 1 4 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");

  --display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--off-white); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }

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

h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.4rem); line-height: 1.06; letter-spacing: -.015em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.16; }
h3 { font-size: 1.12rem; }
p { margin: 0; max-width: 68ch; }

.eyebrow {
  font-family: var(--body); font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep);
}

.bar { background: var(--navy-deep); position: sticky; top: 0; z-index: 20; }
.bar-in {
  max-width: 68rem; margin: 0 auto; padding: .9rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.bar a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .88rem; }
.bar a:hover { color: var(--white); }
.bar-marque { font-family: var(--display); font-size: 1.15rem; color: var(--white); letter-spacing: .02em; }
.bar nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }

.hero { background: var(--navy-deep); color: var(--white); padding: 4.2rem 0 3.4rem; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .promesse {
  margin-top: 1.15rem; font-size: 1.14rem; font-weight: 300;
  color: rgba(255,255,255,.76); max-width: 44ch;
}

.credibilite { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.2rem; }
.credibilite div { display: flex; flex-direction: column; gap: .18rem; }
.credibilite b { font-family: var(--display); font-weight: 400; font-size: 1.85rem; color: var(--teal); line-height: 1; }
.credibilite span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

section { padding: 3.4rem 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
.tete { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.6rem; }

.partenaire {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.8rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.6rem 1.8rem; box-shadow: inset 4px 0 0 var(--teal);
}
.partenaire img { width: 8.5rem; height: 8.5rem; border-radius: 12px; object-fit: cover; background: var(--sand); }
.partenaire .role { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.partenaire h3 { font-size: 1.4rem; margin: .2rem 0 .5rem; color: var(--navy); }
.partenaire .contact { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: .9rem; font-size: .92rem; }

.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1px;
          background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.etape { background: var(--white); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; }
.etape .jours { font-family: var(--display); font-size: 1.5rem; color: var(--teal-deep); line-height: 1; }
.etape b { color: var(--navy); font-size: 1rem; }
.etape span { font-size: .93rem; color: var(--ink-2); }

.preuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.preuve { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.preuve .titre { color: var(--navy); font-weight: 600; }
.preuve .meta { margin-top: .3rem; font-size: .84rem; color: var(--ink-3); }

.citation { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal);
            border-radius: 12px; padding: 1.5rem 1.7rem; }
.citation p { font-family: var(--display); font-size: 1.24rem; line-height: 1.42; color: var(--navy); }
.citation footer { margin-top: .8rem; font-size: .88rem; color: var(--ink-2); }

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem; }
.chiffre { background: var(--sand); border-radius: 12px; padding: 1.3rem 1.4rem; }
.chiffre b { display: block; font-family: var(--display); font-size: 2rem; color: var(--navy); line-height: 1; }
.chiffre span { display: block; margin-top: .35rem; font-size: .9rem; color: var(--ink-2); }

.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px;
               padding: 1rem 1.3rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.faq details[open] summary { margin-bottom: .6rem; }
.faq p { color: var(--ink-2); }

.sorties { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.1rem; }
.sortie { background: var(--navy-deep); color: var(--white); border-radius: 14px; padding: 1.8rem 1.9rem; }
.sortie.pale { background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.sortie h3 { color: var(--white); font-size: 1.3rem; }
.sortie.pale h3 { color: var(--navy); }
.sortie p { margin-top: .5rem; font-size: .96rem; color: rgba(255,255,255,.72); }
.sortie.pale p { color: var(--ink-2); }
.bouton {
  display: inline-block; margin-top: 1.1rem; padding: .72rem 1.4rem; border-radius: 999px;
  background: var(--teal); color: var(--navy-deep); font-weight: 600; font-size: .95rem;
  text-decoration: none;
}
.bouton:hover { background: var(--white); }
.bouton.creux { background: transparent; border: 1px solid var(--navy-mid); color: var(--navy); }
.bouton.creux:hover { background: var(--navy-deep); color: var(--white); border-color: var(--navy-deep); }

.attente {
  background: var(--warn-soft); border: 1px dashed var(--warn); border-radius: 8px;
  padding: .12rem .5rem; font-size: .86rem; color: var(--warn); font-family: var(--mono);
}

.hero .attente, .sortie:not(.pale) .attente {
  background: transparent; border-color: rgba(61,216,197,.55); color: var(--teal);
}
.credibilite .attente { font-size: 1.3rem; padding: 0 .35rem; }

footer.pied { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 2.6rem 0; font-size: .9rem; }
footer.pied a { color: var(--teal); }

.filtres { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: .9rem; align-items: end; }
.champ { display: flex; flex-direction: column; gap: .35rem; }
.etiq { font-size: .68rem; font-weight: 600; letter-spacing: .12em;
        text-transform: uppercase; color: var(--ink-2); }
.filtres input, .filtres select {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: 10px; padding: .62rem .8rem; width: 100%;
}
.filtres input:focus-visible, .filtres select:focus-visible {
  outline: 2px solid var(--teal-deep); outline-offset: 1px; border-color: var(--teal-deep);
}
.resultat { margin: 1.1rem 0 .6rem; font-size: .86rem; color: var(--ink-2); }
.vide { margin-top: 1.2rem; color: var(--ink-2); }
.vide button { font: inherit; color: var(--teal-deep); background: none; border: 0;
               padding: 0; text-decoration: underline; cursor: pointer; }

.offres { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px;
          background: var(--line); border: 1px solid var(--line); border-radius: 14px;
          overflow: hidden; }
.offre { background: var(--white); }

.offre > a { display: grid; grid-template-columns: 11rem 1fr; gap: .3rem 1.4rem;
             align-items: baseline; padding: 1.05rem 1.4rem; text-decoration: none; color: inherit; }
.offre > a:hover { background: var(--sand); }
.offre-pratique { grid-row: span 2; align-self: center; font-size: .68rem; font-weight: 600;
                  letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.offre-titre { font-weight: 600; color: var(--navy); font-size: 1.04rem; }
.offre-meta { font-size: .86rem; color: var(--ink-2); }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.formulaire .champ.large { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea {
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: 10px; padding: .62rem .8rem; width: 100%;
}
.formulaire textarea { resize: vertical; }
.formulaire input[type="file"] { padding: .5rem .6rem; background: var(--sand); }
.formulaire input:focus-visible, .formulaire select:focus-visible, .formulaire textarea:focus-visible {
  outline: 2px solid var(--teal-deep); outline-offset: 1px; border-color: var(--teal-deep);
}
.formulaire .bouton { border: 0; cursor: pointer; font-family: inherit; }
.formulaire .fine { margin-top: .9rem; font-size: .82rem; color: var(--ink-3); }

@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

.equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.4rem; }
.personne {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .25rem;
}
.personne img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px;
  background: var(--sand); margin-bottom: .9rem;
}
.personne h3 { font-family: var(--display); font-size: 1.22rem; color: var(--navy); }
.personne .poste { font-size: .88rem; font-weight: 600; color: var(--teal-deep); }
.personne .ou { font-size: .82rem; color: var(--ink-3); }
.personne .note { margin-top: .55rem; font-size: .88rem; color: var(--ink-2); }

.personne > a {
  margin-top: auto; padding-top: .9rem; font-size: .93rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
}

.personne > a::before {
  content: ''; display: inline-block; width: .95em; height: .95em;
  margin-right: .5rem; vertical-align: -.12em;
  background: var(--teal-deep);
  -webkit-mask: var(--icone-tel) center / contain no-repeat;
  mask: var(--icone-tel) center / contain no-repeat;
}
.personne > a:hover { color: var(--teal-deep); text-decoration: underline; }

.liens-hubs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.liens-hubs li { display: flex; }
.liens-hubs a {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .5rem 1rem; font-size: .93rem; color: var(--navy); text-decoration: none;
}
.liens-hubs a:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.liens-hubs span { font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.liens-hubs a:hover span { color: var(--teal-deep); }

.hero-poste { padding-bottom: 2.6rem; }
.fil { font-size: .84rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.55); }
.fil a { color: var(--teal); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil span { padding: 0 .35rem; }
.faits { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.5rem 0 0; padding: 0; }
.faits li { font-size: .92rem; color: rgba(255,255,255,.78); }
.faits li:first-child { color: var(--teal); font-weight: 500; }

.comble { display: none; background: var(--warn-soft); border-bottom: 1px solid #EBD9BC; padding: 1rem 0; }
.comble p { font-size: .95rem; color: #7A4C08; max-width: none; }
.est-comble .comble { display: block; }
.est-comble .carte-postuler { display: none; }

.poste-grille { display: grid; grid-template-columns: minmax(0,1fr) 20rem; gap: 3rem; align-items: start; }
.poste-corps { min-width: 0; }
.poste-corps h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; color: var(--navy);
                  margin: 2rem 0 .6rem; letter-spacing: .01em; }
.poste-corps h3:first-child { margin-top: 0; }
.poste-corps h4 { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--navy);
                  margin: 1.5rem 0 .5rem; }
.poste-corps p { margin: 0 0 .9rem; }
.poste-corps ul, .poste-corps ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.poste-corps li { margin: .35rem 0; max-width: 68ch; }
.poste-corps u { text-decoration: none; font-weight: 600; color: var(--navy); }

.poste-cote { position: sticky; top: 5rem; display: grid; gap: 1rem; }
.carte-postuler { background: var(--navy-deep); color: var(--white); border-radius: 14px; padding: 1.5rem 1.6rem; }
.carte-postuler h2 { font-size: 1.22rem; color: var(--white); }
.carte-postuler p { margin-top: .5rem; font-size: .93rem; color: rgba(255,255,255,.72); }
.carte-postuler .fine { margin-top: .9rem; font-size: .78rem; color: rgba(255,255,255,.5); }
.carte-voisins { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.5rem; }
.carte-voisins h2 { font-size: 1rem; font-family: var(--body); font-weight: 600; color: var(--navy); }
.carte-voisins ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .85rem; }
.carte-voisins li { display: flex; flex-direction: column; gap: .12rem; font-size: .92rem; }
.carte-voisins li a { color: var(--navy); text-decoration: none; font-weight: 500; }
.carte-voisins li a:hover { color: var(--teal-deep); text-decoration: underline; }
.carte-voisins li span { font-size: .82rem; color: var(--ink-3); }
.lien-plus { display: inline-block; margin-top: 1.1rem; font-size: .88rem; }

@media (max-width: 900px) {
  .poste-grille { grid-template-columns: 1fr; gap: 2rem; }
  .poste-cote { position: static; }
  .filtres { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .partenaire { grid-template-columns: 1fr; }
  .partenaire img { width: 6.5rem; height: 6.5rem; }
  .credibilite { gap: 1.4rem; }
  .offre > a { grid-template-columns: 1fr; padding: .95rem 1.1rem; }
  .offre-pratique { grid-row: auto; }
}
