/* Le haut est repris de preview3 ; les règles suivantes prolongent son univers. */
@import url("preview3.css");

:root {
  --ink: var(--luk-text);
  --dark: var(--luk-dark);
  --dark2: var(--luk-dark2);
  --green: var(--luk-accent);
  --green2: var(--luk-accent2);
  --cream: var(--luk-cream);
  --white: var(--luk-white);
  --muted: var(--luk-muted);
  --line: rgba(28, 47, 35, .12);
  --shadow: 0 24px 60px rgba(24, 37, 28, .13);
  --radius: 22px;
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: inherit; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin: auto; }

/* Carte d'expérience du premier écran */
.luk-sideCard { padding: 22px; background: linear-gradient(145deg, rgba(22,47,32,.72), rgba(47,179,107,.17)); }
.luk-experience { display: flex; align-items: baseline; gap: 9px; margin-bottom: 14px; }
.luk-experience strong { color: #7fe3a8; font: 900 clamp(42px,5vw,58px)/.85 Montserrat, Inter, system-ui, sans-serif; letter-spacing: -.06em; }
.luk-experience span { color: rgba(255,255,255,.82); font-size: 13px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.luk-sideTitle { margin-bottom: 8px; font-size: 20px; }
.luk-sideText { margin: 0 0 15px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.55; }
.luk-sideHint { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.luk-ctaRow { display: inline-flex; gap: 9px; padding: 8px 9px 8px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: linear-gradient(135deg, #38c878, #249e5e); box-shadow: 0 16px 34px rgba(15,92,49,.28); }
.luk-ctaLabel { margin-right: 6px; color: #062113; font: 900 16px/1.2 Montserrat, Inter, system-ui, sans-serif; }
.luk-iconAction { display: inline-grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(6,33,19,.22); border-radius: 13px; background: rgba(6,33,19,.15); color: #062113; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.luk-iconAction:hover { background: white; color: #167043; box-shadow: 0 8px 18px rgba(6,33,19,.2); transform: translateY(-3px) scale(1.06); }
.luk-iconActionWrite { border-color: rgba(6,33,19,.22); background: rgba(6,33,19,.15); color: #062113; }
.luk-iconActionWrite:hover { background: white; color: #167043; }
.luk-iconAction svg { width: 23px; height: 23px; }
.luk-cardSmall .luk-btn, .luk-cardMain .luk-btn { padding: 10px 12px; font-size: 12px; }
.luk-actionsIcon { padding-top: 14px; }
.luk-cardIconLink { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 13px; border-radius: 12px; background: var(--luk-accent); color: #062113; box-shadow: 0 10px 22px rgba(47,179,107,.24); font: 800 12px Montserrat, Inter, system-ui, sans-serif; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.luk-cardIconLink:hover { background: var(--luk-accent2); transform: translateX(3px); }
.luk-cardIconLink svg { width: 21px; height: 21px; }
.luk-level { position: absolute; top: 0; left: 18px; display: flex; align-items: center; gap: 7px; padding: 6px 10px 8px; border: 1px solid rgba(47,179,107,.26); border-top: 0; border-radius: 0 0 13px 13px; background: rgba(47,179,107,.1); color: #2f6a4a; box-shadow: 0 8px 16px rgba(26,67,44,.08); }
.luk-level::before { width: 6px; height: 6px; border-radius: 50%; background: var(--luk-accent); box-shadow: 0 0 0 4px rgba(47,179,107,.12); content: ""; }
.luk-level span { font: 800 10px/1 Montserrat, Inter, system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.luk-level strong { color: var(--luk-dark); font: 900 16px/.8 Montserrat, Inter, system-ui, sans-serif; letter-spacing: -.04em; }
.luk-card .luk-cardHead { margin-top: 31px; }
.luk-card:nth-child(2) .luk-level { background: rgba(47,179,107,.14); }
.luk-card:nth-child(3) .luk-level { border-color: rgba(30,155,92,.32); background: rgba(30,155,92,.16); }

.section { padding: 86px 0; }
.section-intro { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-intro h2, .proof h2, .about h2, .stack h2, .cta-band h2 {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}
.section-intro p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0; }
.eyebrow { margin: 0 0 14px; color: #69df9a; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 850; }
.eyebrow.dark { color: var(--green2); }

.proof { background: var(--cream); color: var(--ink); }
.proof-head { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: end; margin-bottom: 38px; }
.proof-head > p { color: var(--muted); line-height: 1.7; margin: 0 0 8px; }
.mission-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mission {
  position: relative;
  isolation: isolate;
  grid-column: span 2;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: var(--dark2);
  color: white;
  box-shadow: 0 16px 34px rgba(24,37,28,.12);
}
.mission::after {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -28px;
  width: 150px;
  height: 150px;
  content: "";
  opacity: .16;
  background: center / contain no-repeat;
}
.mission:nth-child(1)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2376dfa2' stroke-width='5'%3E%3Cpath d='M24 78a79 79 0 0 1 112 0M47 101a46 46 0 0 1 66 0M70 124a14 14 0 0 1 20 0'/%3E%3Ccircle cx='80' cy='137' r='5' fill='%2376dfa2' stroke='none'/%3E%3C/svg%3E"); }
.mission:nth-child(2)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2376dfa2' stroke-width='5'%3E%3Crect x='30' y='32' width='100' height='38' rx='7'/%3E%3Crect x='30' y='90' width='100' height='38' rx='7'/%3E%3Cpath d='M50 51h40M50 109h40'/%3E%3Ccircle cx='112' cy='51' r='4' fill='%2376dfa2' stroke='none'/%3E%3Ccircle cx='112' cy='109' r='4' fill='%2376dfa2' stroke='none'/%3E%3C/svg%3E"); }
.mission:nth-child(3)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2376dfa2' stroke-width='5'%3E%3Crect x='25' y='30' width='110' height='74' rx='8'/%3E%3Cpath d='M62 130h36M80 104v26M44 52h72M44 72h49'/%3E%3C/svg%3E"); }
.mission:nth-child(4)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2376dfa2' stroke-width='5'%3E%3Cpath d='M80 25 30 52l50 27 50-27-50-27ZM30 82l50 27 50-27M30 112l50 27 50-27'/%3E%3C/svg%3E"); }
.mission:nth-child(5)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none' stroke='%2376dfa2' stroke-width='5'%3E%3Cpath d='M27 80h106M47 80V53a33 33 0 0 1 66 0v27M37 80v50h86V80'/%3E%3Ccircle cx='80' cy='104' r='8'/%3E%3C/svg%3E"); }
.mission > * { position: relative; z-index: 1; }
.mission:nth-child(4), .mission:nth-child(5) { grid-column: span 3; }
.mission span { color: #76dfa2; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mission h3 { margin: 12px 0 10px; font: 800 18px/1.35 Montserrat, Inter, system-ui, sans-serif; }
.mission p { margin: 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.6; }

.about { background: white; }
.about-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: center; }
.portrait { position: relative; min-height: 440px; overflow: hidden; border-radius: 28px; background: linear-gradient(145deg, #dfe9e2, var(--cream)); }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.about p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.about .about-lead { color: var(--ink) !important; font-size: 18px; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.skill-pills span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); font-size: 12px; font-weight: 750; }

.reviews { background: var(--cream); }
.compact-intro { margin-bottom: 32px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 28px rgba(31,45,35,.05); }
.review.placeholder { opacity: .72; }
.stars { margin-bottom: 16px; color: var(--green); letter-spacing: 2px; }
.review blockquote { margin: 0 0 22px; font: 500 17px/1.65 Georgia, serif; }
.review p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.review strong { color: var(--ink); font-family: Montserrat, Inter, system-ui, sans-serif; }

.stack { background: #1e2922; color: white; }
.stack-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.logos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.logos span { padding: 12px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.photo-film { position: relative; height: 270px; overflow: hidden; border-radius: 32px 6px 32px 6px; background: radial-gradient(circle at 22% 20%, rgba(47,179,107,.26), transparent 38%), linear-gradient(145deg, #31443a, #15221b); box-shadow: 0 22px 42px rgba(0,0,0,.22); }
.photo-film::before { position: absolute; z-index: 4; top: 20px; right: 18px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(47,179,107,.8); box-shadow: 0 0 0 12px rgba(47,179,107,.1); content: ""; }
.photo-film::after { position: absolute; z-index: 4; right: 37px; top: 39px; width: 10px; height: 10px; border-radius: 50%; background: white; content: ""; }
.film-track { position: relative; width: 100%; height: 100%; animation: none; }
.film-frame { position: absolute; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: 0 14px 26px rgba(0,0,0,.28); transition: transform .35s ease, filter .35s ease; }
.film-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.film-frame:nth-child(1) { z-index: 1; top: 0; left: 0; width: 48%; height: 100%; clip-path: polygon(0 0, 92% 0, 100% 78%, 72% 100%, 0 100%); animation: cutout-float-left 7s ease-in-out infinite; }
.film-frame:nth-child(2) { z-index: 2; top: 10px; right: 8px; width: 49%; height: 52%; clip-path: polygon(9% 0, 100% 0, 100% 88%, 0 100%); animation: cutout-float-right 8s ease-in-out infinite; }
.film-frame:nth-child(3) { z-index: 1; right: 0; bottom: 0; width: 54%; height: 54%; clip-path: polygon(0 13%, 88% 0, 100% 100%, 11% 100%); animation: cutout-float-right 9s ease-in-out -2s infinite; }
.film-frame:nth-child(4) { z-index: 3; top: 35%; left: 35%; width: 34%; height: 46%; border: 3px solid rgba(255,255,255,.82); clip-path: polygon(12% 0, 100% 13%, 84% 100%, 0 88%); animation: cutout-float-left 8s ease-in-out -3s infinite; }
.film-frame:nth-child(n+5) { display: none; }
.photo-film:hover .film-frame { filter: brightness(.7); }
.photo-film:hover .film-frame:hover { z-index: 5; filter: brightness(1); transform: scale(1.06) rotate(-1deg); }
.photo-film:hover .film-frame:hover img { transform: scale(1.08); }
.film-frame figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
@keyframes cutout-float-left { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.2deg); } }
@keyframes cutout-float-right { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(6px) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .film-frame { animation: none; } }

.cta-band { padding: 36px 0; background: var(--green); color: #082014; }
.cta-band .eyebrow { color: #174b2e; }
.cta-band h2 { margin: 0; }
.cta-grid { display: grid; grid-template-columns: minmax(250px, .82fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cta-copy h2 { font-size: clamp(28px,3.2vw,38px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 18px; border: 1px solid transparent; border-radius: 14px; font-weight: 850; text-decoration: none; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.light { background: white; color: #163423; }
.btn.outline { border-color: rgba(8,32,20,.25); color: #0b2918; background: transparent; }

.contact-form { position: relative; width: 100%; padding: 18px; border: 1px solid rgba(8,32,20,.18); border-radius: 12px 22px 22px; background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(13,53,31,.12); }
.contact-form::before { position: absolute; top: 34px; left: -23px; width: 0; height: 0; border: 12px solid transparent; border-right-color: rgba(8,32,20,.18); content: ""; }
.contact-form::after { position: absolute; top: 35px; left: -20px; width: 0; height: 0; border: 11px solid transparent; border-right-color: rgba(255,255,255,.94); content: ""; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-message { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 13px; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid rgba(28,47,35,.18); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input { height: 40px; padding: 0 11px; }
.form-field textarea { min-height: 72px; padding: 9px 11px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green2); box-shadow: 0 0 0 3px rgba(47,179,107,.16); }
.contact-form-footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.contact-form-footer p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.contact-submit { flex: 0 0 auto; padding: 11px 14px; border: 0; border-radius: 10px; background: var(--green); color: #062113; cursor: pointer; font: 850 13px Montserrat, Inter, system-ui, sans-serif; transition: background .2s ease, transform .2s ease; }
.contact-submit:hover { background: var(--green2); transform: translateY(-1px); }
.contact-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.contact-status { margin: 12px 0 0; color: #163423; font-size: 14px; line-height: 1.5; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #9c2525; }
.contact-form .contact-trap { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }

footer { padding: 58px 0 20px; background: #18231c; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
}
.footer-grid p, .footer-grid span, .footer-grid a { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.7; }
.footer-grid strong { margin-bottom: 6px; font-family: Montserrat, Inter, system-ui, sans-serif; }
.footer-grid a { text-decoration: none; }
.copyright { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.38); font-size: 12px; }

@media (max-width: 960px) {
  .proof-head, .about-grid, .stack-grid, .cta-grid { grid-template-columns: 1fr; }
  .contact-form { width: min(100%, 560px); }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .mission, .mission:nth-child(4), .mission:nth-child(5) { grid-column: auto; }
  .review-grid { grid-template-columns: 1fr; }
  .logos, .cta-actions { justify-content: flex-start; }
  .portrait { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(var(--shell), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .mission-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .cta-actions .btn { width: 100%; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-form { width: 100%; }
  .form-field-message { grid-column: auto; }
  .contact-form-footer { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
}

/* Home FAQ */
.home-faq { background: #1e2922; color: white; }
.home-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.home-faq-intro h2 { margin: 0 0 20px; font: 900 clamp(30px, 4vw, 46px)/1.08 Montserrat, Inter, system-ui, sans-serif; letter-spacing: -.025em; }
.home-faq-intro > p:last-child { max-width: 340px; margin: 0; color: #c3cfc7; font-size: 17px; line-height: 1.7; }
.home-faq-list { min-width: 0; border-top: 1px solid rgba(255,255,255,.18); }
.home-faq-list details { border-bottom: 1px solid rgba(255,255,255,.18); }
.home-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 750; line-height: 1.5; }
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary span { display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; height: 28px; border: 1px solid rgba(105,223,154,.35); border-radius: 50%; color: #69df9a; font-size: 22px; font-weight: 400; }
.home-faq-list summary:hover { color: #69df9a; }
.home-faq-list summary:focus-visible { outline: 2px solid #69df9a; outline-offset: 5px; border-radius: 4px; }
.home-faq-list details[open] summary span { transform: rotate(45deg); }
.home-faq-list details > p { margin: 0; padding: 0 42px 24px 0; color: #c3cfc7; font-size: 15px; line-height: 1.8; }
@media (max-width: 960px) { .home-faq-grid { grid-template-columns: 1fr; gap: 32px; } .home-faq-intro > p:last-child { max-width: none; } }
@media (max-width: 620px) { .home-faq-list summary { gap: 14px; font-size: 16px; } .home-faq-list details > p { padding-right: 0; } }
