/* KORELIS — feuille de style du site */
@import url("fonts.css?v=2");

:root {
  --bleu: #27416a;
  --bleu-nuit: #14223a;
  --texte: #1d1e20;
  --texte-doux: #56585e;
  --encre: #0d141a;
  --carte: #eef1f6;
  --bordure: #b8c0cc;
  --largeur: 1224px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 148px; }
body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--texte);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 28px; box-sizing: content-box; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  height: 148px;
  display: flex; align-items: center;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.entete .logo img { width: 350px; height: auto; }
.entete-actions { display: flex; align-items: center; gap: 32px; }
.linkedin { display: inline-flex; color: #000; }
.linkedin svg { width: 20px; height: 20px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bleu); color: #fff; text-decoration: none;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 500 16px/1 "Roboto", Arial, sans-serif;
  padding: 0 32px; height: 58px;
  transition: background .2s;
}
.bouton:hover { background: #1c3255; }

/* ---------- Héros ---------- */
.heros {
  position: relative; color: #fff;
  min-height: 867px;
  display: flex; align-items: center;
  background: url("../images/hero.jpg") center / cover no-repeat;
}
.heros::before { content: ""; position: absolute; inset: 0; background: rgba(29,30,32,.45); }
.heros .conteneur { position: relative; width: 100%; }
.heros h1 { font-size: 54px; max-width: 915px; margin-bottom: 40px; }
.heros p { font-size: 20px; margin-bottom: 40px; }
.heros .citation { font-style: italic; margin-bottom: 64px; }
.heros .bouton { height: 56px; padding: 0 40px; font-size: 18px; }

/* ---------- Sections ---------- */
section { padding: 24px 0 80px; }
.titre-section { font-size: 42px; text-align: center; color: var(--texte); }
.sous-titre { font-size: 18px; text-align: center; color: var(--texte-doux); max-width: 812px; margin: 16px auto 0; }

/* À propos */
.apropos { padding-top: 26px; }
.apropos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 0 115px; }
.apropos h2 { font-size: 42px; }
.apropos-texte { color: var(--texte-doux); }
.chiffres { display: flex; gap: 12px; margin-top: 52px; }
.chiffre { width: 194px; }
.chiffre strong { display: block; font-size: 60px; font-weight: 600; color: var(--bleu); line-height: 1.3; }
.chiffre span { color: var(--texte-doux); }
.apropos-photo { margin-top: 56px; width: 100%; height: 424px; object-fit: cover; border-radius: 12px; }

/* Services */
.services-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.service { display: flex; flex-direction: column; }
.service h3 { text-align: center; font-size: 24px; font-weight: 700; color: var(--encre); }
.service .accroche { display: block; text-align: center; font-size: 16px; font-weight: 600; font-style: italic; color: var(--encre); margin-top: 4px; }
.service p { margin: 20px 0 24px; min-height: 120px; }
.service img { width: 100%; height: 360px; object-fit: cover; margin-top: auto; filter: grayscale(1); }

/* Méthode */
.methode-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; text-align: center; }
.methode-grille .icone { display: block; width: 84px; height: 84px; margin: 0 auto 14px; color: var(--texte); }
.methode-grille h3 { font-size: 24px; color: #000; margin-bottom: 16px; }
.methode-grille p { max-width: 351px; margin: 0 auto; }

/* Témoignages */
.temoignages-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 56px; }
.temoignage { background: var(--carte); border-radius: 4px; padding: 26px 15px 32px; }
.etoiles { font-size: 20px; font-weight: 600; letter-spacing: 1px; color: var(--texte); }
.temoignage blockquote { margin: 14px 0 0; font-style: italic; }
.temoignage cite { display: block; font-style: normal; }

/* Contact */
.contact {
  position: relative; color: #fff; padding: 80px 0 136px;
  background: url("../images/contact.jpg") center / cover no-repeat fixed;
}
.contact::before { content: ""; position: absolute; inset: 0; background: rgba(29,30,32,.45); }
.contact .conteneur { position: relative; }
.contact .titre-section, .contact .sous-titre { color: #fff; }
.contact .sous-titre { max-width: 400px; }
.formulaire {
  background: #fff; color: var(--encre);
  max-width: 594px; margin: 72px auto 0; padding: 24px 24px 28px;
  border-radius: 12px;
}
.champ { margin-bottom: 20px; }
.champ label { display: block; font-size: 14px; margin-bottom: 6px; }
.champ input, .champ textarea {
  width: 100%; font: 16px "Roboto", Arial, sans-serif; color: var(--encre);
  border: 1px solid var(--bordure); border-radius: 10px;
  padding: 14px 16px; background: #fff;
}
.champ input { height: 53px; }
.champ textarea { height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: 2px solid var(--bleu); outline-offset: 0; border-color: var(--bleu); }
.formulaire .bouton { display: flex; margin: 8px auto 0; height: 51px; padding: 0 40px; font-weight: 400; }
.piege { position: absolute; left: -9999px; }
.message-envoi { margin-top: 16px; text-align: center; font-weight: 500; }
.message-envoi.ok { color: #1f7a3f; }
.message-envoi.erreur { color: #b42318; }

/* ---------- Pied de page ---------- */
.pied { background: var(--bleu-nuit); color: #fff; padding: 70px 0 40px; }
.pied-grille { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.pied h4 { font-size: 16px; font-weight: 600; text-transform: uppercase; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied .coordonnees p { margin-top: 8px; }
.pied .coordonnees p:first-of-type { margin-top: 0; }
.pied .coordonnees strong { font-weight: 900; }
.pied .coordonnees .accroche-pied { margin-bottom: 18px; }
.pied-logo { justify-self: end; }
.pied-logo img { width: 291px; height: auto; margin-top: 14px; }
.pied-bas { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 110px; font-size: 14px; }
.pied-bas .copyright { font-size: 12px; }
.pied-bas .linkedin { color: #fff; justify-self: end; }

/* ---------- Page mentions légales ---------- */
.page-legale { padding: 56px 0 96px; }
.page-legale .conteneur { max-width: 860px; }
.page-legale h1 { font-size: 24px; font-weight: 400; margin-bottom: 40px; }
.page-legale h2 { font-size: 18px; margin: 32px 0 12px; }
.page-legale .sous-partie { font-size: 16px; margin: 20px 0 8px; }
.page-legale ul { padding-left: 20px; margin: 12px 0 0; }
.page-legale li { margin-bottom: 6px; }
.page-legale p + p { margin-top: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  html { scroll-padding-top: 88px; }
  .conteneur { padding: 0 16px; }
  .entete { height: 88px; }
  .entete .logo img { width: 200px; }
  .entete-actions { gap: 16px; }
  .entete .bouton { height: 44px; padding: 0 18px; font-size: 14px; }
  .heros { min-height: 640px; }
  .heros h1 { font-size: 36px; }
  .heros p { font-size: 18px; }
  .titre-section, .apropos h2 { font-size: 32px; }
  .apropos-grille, .services-grille, .methode-grille, .temoignages-grille, .pied-grille { grid-template-columns: 1fr; }
  .apropos-texte { margin-top: 20px; }
  .apropos-photo { height: 240px; }
  .services-grille { gap: 48px; }
  .service p { min-height: 0; }
  .service img { height: 274px; }
  .methode-grille { gap: 40px; }
  .contact { background-attachment: scroll; }
  .pied-logo { justify-self: start; }
  .pied-bas { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; text-align: left; }
  .pied-bas .linkedin { justify-self: start; }
}
@media (max-width: 480px) {
  .entete .bouton .numero { display: none; }
  .entete .bouton { width: 44px; padding: 0; }
  .heros h1 { font-size: 30px; }
}
