@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #10232d;
  --ink-2: #18323e;
  --green: #72c928;
  --green-2: #57aa18;
  --paper: #f8faf8;
  --white: #ffffff;
  --muted: #63727a;
  --line: #dfe7e4;
  --shadow: 0 24px 70px rgba(16,35,45,.10);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(248,250,248,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16,35,45,.07);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 700; }
.nav a { opacity: .78; transition: .2s ease; }
.nav a:hover { opacity: 1; }
.nav .nav-cta { background: var(--ink); color: white; padding: 12px 18px; border-radius: 999px; opacity: 1; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 28px; color: var(--ink); }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(114,201,40,.15), transparent 27%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  padding: 82px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 50px; }
.eyebrow { margin: 0 0 15px; color: var(--green-2); font-weight: 900; letter-spacing: .16em; font-size: .72rem; }
.hero h1 { font-size: clamp(3.1rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 26px; max-width: 850px; }
.hero h1 span { color: var(--green-2); }
.hero-lead { font-size: 1.16rem; color: #52636c; max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 999px; padding: 15px 22px; font-weight: 850; border: 1px solid transparent; cursor: pointer; font: inherit; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(16,35,45,.18); }
.btn-primary:hover { transform: translateY(-1px); background: #0b1a22; }
.btn-ghost { border-color: #cbd8d4; background: rgba(255,255,255,.65); }
.hero-note { display: flex; gap: 10px; align-items: center; color: #738087; font-size: .9rem; }
.dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 6px rgba(114,201,40,.12); }

.hero-visual { min-height: 500px; position: relative; display: grid; place-items: center; }
.hero-card {
  position: relative; z-index: 2; width: min(390px, 80%); padding: 38px;
  border: 1px solid rgba(16,35,45,.1); border-radius: 36px;
  background: rgba(255,255,255,.82); box-shadow: var(--shadow);
  text-align: center; transform: rotate(-2deg);
}
.hero-logo { width: 255px; margin: 0 auto 10px; }
.hero-card-line { height: 1px; background: var(--line); margin: 15px 0; }
.hero-card strong { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.hero-card small { display: block; color: var(--muted); margin-top: 7px; }
.orbit { position: absolute; border: 1px solid rgba(114,201,40,.3); border-radius: 50%; }
.orbit-a { width: 510px; height: 510px; }
.orbit-b { width: 380px; height: 380px; border-color: rgba(16,35,45,.11); }
.floating-tag { position: absolute; z-index: 3; padding: 11px 15px; background: white; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 35px rgba(16,35,45,.10); font-size: .78rem; font-weight: 800; }
.tag-one { top: 15%; right: 3%; }
.tag-two { top: 9%; left: 0; }
.tag-three { bottom: 0; right: 4%; }

.problem-strip { background: var(--ink); color: white; padding: 52px 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.problem-strip h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.035em; }
.problem-strip h2 em { color: var(--green); font-style: normal; }
.problem-strip p:last-child { color: #b9c8cd; font-size: 1.06rem; margin: 0; }

.section { padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.section-heading h2 { margin: 0 0 15px; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }

.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.solution-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 8px 30px rgba(16,35,45,.04); transition: .25s ease; }
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.solution-card.featured { border-color: rgba(114,201,40,.55); box-shadow: 0 16px 45px rgba(114,201,40,.10); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(114,201,40,.13); color: var(--green-2); font-size: 1.35rem; font-weight: 900; }
.solution-card h3 { margin: 24px 0 8px; font-size: 1.45rem; }
.solution-card p { color: var(--muted); margin-top: 0; }
.solution-card ul { padding-left: 19px; color: #4f616a; }
.solution-card li { margin: 7px 0; }
.solution-card > a { display: inline-block; margin-top: 14px; color: var(--green-2); font-weight: 850; }

.section-dark { background: var(--ink); color: white; }
.section-heading.light p:last-child { color: #aebfc5; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: #152d38; }
.project-art { height: 230px; display: grid; place-items: center; position: relative; overflow: hidden; }
.project-art::before, .project-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.project-art::before { width: 270px; height: 270px; }
.project-art::after { width: 150px; height: 150px; }
.project-art span { position: relative; z-index: 2; font-size: 3.4rem; font-weight: 950; letter-spacing: -.06em; color: white; }
.art-ai { background: radial-gradient(circle, #28515d 0%, #10232d 70%); }
.art-fab { background: radial-gradient(circle, #4b752d 0%, #10232d 70%); }
.art-proto { background: radial-gradient(circle, #314e5a 0%, #10232d 70%); }
.project-body { padding: 26px; }
.project-label { font-size: .68rem; color: var(--green); letter-spacing: .14em; font-weight: 900; }
.project-body h3 { font-size: 1.45rem; margin: 9px 0; }
.project-body p { color: #b8c7cb; }
.project-body a { color: var(--green); font-weight: 800; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 30px 24px 10px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.step:last-child { border-right: 0; margin-right: 0; }
.step > span { color: var(--green-2); font-weight: 950; font-size: .8rem; letter-spacing: .1em; }
.step h3 { margin: 16px 0 7px; }
.step p { color: var(--muted); margin: 0; }

.quote-section { padding: 100px 0; background: #edf3ef; }
.quote-wrap { text-align: center; max-width: 900px; }
.quote-mark { font-size: 5rem; line-height: .7; color: var(--green); font-family: Georgia, serif; }
blockquote { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.04em; margin: 25px 0; }
blockquote strong { color: var(--green-2); }
.quote-wrap > p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.about-copy h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 22px; }
.about-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.principles div { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.principles strong, .principles span { display: block; }
.principles span { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.about-panel { background: var(--ink); border-radius: 36px; min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; box-shadow: var(--shadow); }
.about-panel img { width: 260px; height: auto; margin-bottom: 10px; }
.about-panel-rule { width: 70px; height: 3px; background: var(--green); margin: 10px 0 22px; }
.about-panel p { margin: 2px; font-weight: 900; letter-spacing: .12em; color: #d8e3e5; }

.training { background: white; }
.training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.training h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 0; }
.training-grid > div:last-child p { color: var(--muted); font-size: 1.05rem; }
.text-link { color: var(--green-2); font-weight: 850; }

.contact-section { background: linear-gradient(135deg, #10232d, #173743); color: white; padding: 105px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 75px; align-items: start; }
.contact-copy h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: .99; letter-spacing: -.05em; margin: 0 0 22px; }
.contact-copy > p { color: #bdcbd0; font-size: 1.08rem; max-width: 620px; }
.contact-points { display: grid; gap: 11px; margin-top: 30px; color: #dce7e9; font-weight: 700; }
.contact-points span::first-letter { color: var(--green); }
.contact-form { background: white; color: var(--ink); padding: 32px; border-radius: 26px; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 800; font-size: .9rem; margin-bottom: 17px; }
.contact-form small { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 7px; border: 1px solid #d4dfdc; background: #fbfcfb;
  border-radius: 13px; padding: 13px 14px; font: inherit; color: var(--ink); outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(114,201,40,.12); }
.contact-form .btn { width: 100%; }
.contact-form .btn[disabled] { opacity: .65; cursor: wait; }
.contact-form input::placeholder, .contact-form textarea::placeholder { font-weight: 400; color: #8a979d; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note a { color: var(--green-2); font-weight: 700; }
.form-status.ok { color: var(--green-2); }
.form-status.err { color: #c0392b; }
.form-note { font-size: .75rem; color: var(--muted); margin: 12px 0 0; }
.form-status { font-size: .85rem; font-weight: 700; margin-bottom: 0; }

.footer { background: #0b1b23; color: white; padding: 45px 0 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding-bottom: 35px; }
.footer-logo { width: 170px; height: auto; }
.footer-top p { color: #9eb0b6; margin-bottom: 0; }
.footer-bottom a { color: #a9bcc2; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

.founder { display: flex; gap: 16px; align-items: center; margin-top: 26px; padding: 18px 20px; background: white; border: 1px solid var(--line); border-radius: 18px; max-width: 720px; }
.founder p { margin: 0; color: var(--muted); font-size: .95rem; }
.founder strong { color: var(--ink); }
.founder-photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; border: 2px solid var(--green); }
.founder .text-link { font-size: .92rem; }
.project-flagship { border-color: rgba(114,201,40,.55); box-shadow: 0 0 0 1px rgba(114,201,40,.25), 0 20px 50px rgba(0,0,0,.25); }
.project-badge { position: absolute; z-index: 3; top: 16px; left: 16px; font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .04em; background: var(--green); color: var(--ink); padding: 6px 11px; border-radius: 999px; }
.project-points { margin: 0 0 12px; padding-left: 18px; color: #d8e3e5; font-size: .93rem; }
.project-points li { margin: 4px 0; }
.project-for { font-size: .88rem; font-style: italic; }
.founder-badge { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--green); font-weight: 900; letter-spacing: .04em; }

.contact-direct { display: grid; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #bdcbd0; }
.contact-direct a { color: #fff; font-weight: 800; }
.contact-direct a:hover { color: var(--green); }

/* Page mentions légales */
.legal { padding: 70px 0 100px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 10px; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 12px; letter-spacing: -.02em; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 6px; }
.legal p, .legal li { color: #44555e; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0; padding: 22px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.legal dt { font-weight: 800; }
.legal dd { margin: 0; color: #44555e; }
.legal a { color: var(--green-2); font-weight: 700; }
.legal .back { display: inline-block; margin-bottom: 30px; color: var(--green-2); font-weight: 800; }
@media (max-width: 620px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.footer-links { display: flex; gap: 25px; color: #cbd8dc; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; color: #7f949c; font-size: .8rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 82px; left: 20px; right: 20px;
    background: white; border: 1px solid var(--line); border-radius: 18px;
    padding: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav .nav-cta { text-align: center; }
  .hero-grid, .about-grid, .contact-grid, .training-grid, .problem-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .hero-visual { min-height: 430px; }
  .project-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
}

@media (max-width: 620px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-wrap { height: 72px; }
  .brand img { width: 125px; }
  .nav { top: 72px; }
  .hero h1 { font-size: 3.15rem; }
  .hero-visual { min-height: 380px; }
  .hero-card { width: 85%; padding: 26px; }
  .hero-logo { width: 210px; }
  .orbit-a { width: 360px; height: 360px; }
  .orbit-b { width: 280px; height: 280px; }
  .floating-tag { font-size: .68rem; padding: 8px 10px; }
  .tag-one { top: 5%; right: 0; }
  .tag-two { top: 5%; left: 0; }
  .tag-one { top: auto; bottom: 14%; right: 0; }
  .tag-three { bottom: 2%; right: 0; }
  .section { padding: 75px 0; }
  .solution-grid, .principles, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 25px 0; }
  .step:last-child { border-bottom: 0; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; }
  .contact-form { padding: 23px; }
}
.legal .todo { padding: 14px 18px; background: #fff6d6; border: 1px solid #f0d77a; border-radius: 12px; }
.legal ul { padding-left: 20px; }

/* Page « Qui suis-je ? » */
.person-hero { padding: 70px 0 90px; }
.person-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.person-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.person-photo { margin: 0; justify-self: center; text-align: center; }
.person-photo img { width: 260px; aspect-ratio: 225 / 328; object-fit: cover; border-radius: 30px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(2deg); }
.person-photo figcaption { margin-top: 18px; font-size: .85rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.nav a[aria-current="page"] { opacity: 1; color: var(--green-2); }
.person-skills { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.person-skills div { padding: 24px; }
.person-skills strong { font-size: 1.1rem; }
.person-skills span { font-size: .95rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid rgba(114,201,40,.45); display: grid; gap: 34px; max-width: 860px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(114,201,40,.18); }
.tl-date { font-size: .78rem; font-weight: 900; letter-spacing: .12em; color: var(--green); text-transform: uppercase; }
.timeline h3 { margin: 6px 0 2px; font-size: 1.25rem; }
.tl-place { margin: 0 0 8px; color: #8fa4ab; font-size: .9rem; }
.timeline p { color: #b8c7cb; margin-top: 0; }
.timeline a { color: var(--green); font-weight: 800; }
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.edu-list li { padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.edu-list strong, .edu-list span { display: block; }
.edu-list span { color: var(--muted); font-size: .9rem; }
.person-cta { text-align: center; }
.person-cta h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.person-cta .hero-actions { justify-content: center; margin-bottom: 0; }
.btn-light { background: var(--green); color: var(--ink); }
.btn-light:hover { background: #82d93a; }
.btn-outline-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
@media (max-width: 900px) {
  .person-grid { grid-template-columns: 1fr; gap: 40px; }
  .person-photo { order: -1; }
  .person-photo img { width: 200px; }
}
@media (max-width: 620px) {
  .person-skills { grid-template-columns: 1fr; }
  .person-hero h1 { font-size: 2.6rem; }
}
.person-edu { align-items: start; }
.person-edu h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 0; }

.project-try { font-size: .9rem; padding: 10px 12px; border-radius: 12px; background: rgba(114,201,40,.12); color: #e4eef0 !important; }
.project-try a { color: var(--green); font-weight: 800; white-space: nowrap; }
.footer-top p a { color: #cbd8dc; }
.footer-top p a:hover { color: #fff; }
