/* Self-hosted so no visitor data goes to Google */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #9ab200;
  --green-2: #abc600;
  --green-soft: #f3f7dc;
  --ink: #1f2328;
  --muted: #5c636b;
  --line: #e7e9ec;
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 30, 10, .08);
  --shadow-lg: 0 24px 60px rgba(20, 30, 10, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: currentColor; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: .8rem;
}
.eyebrow.light { color: var(--green-2); }
.eyebrow.center { display: block; text-align: center; }
.hl { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(154, 178, 0, .35); }
.btn-primary:hover { background: #8aa000; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-dark { background: var(--ink); color: #fff; white-space: nowrap; }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 124px; transition: height .3s; }
.brand img { height: 100px; width: auto; transition: height .3s; }
.site-header.scrolled .header-inner { height: 80px; }
.site-header.scrolled .brand img { height: 62px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  padding: .5em .8em; border-radius: 10px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: var(--ink); background: var(--bg-alt); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--bg-alt); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 700;
  padding: .35em .7em; border-radius: 999px; cursor: pointer; color: var(--muted);
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.burger { display: none; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 60px; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, var(--green-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .4em; }
.hero-visual { position: relative; }
.hero-img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; transform: rotate(1.5deg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; left: -24px; bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
  max-width: 300px;
}
.float-card strong { display: block; }
.float-card small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(154,178,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 14px rgba(154,178,0,0); } }

/* Offer */
.offer { padding: 10px 0 30px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offer-card { padding: 28px; border-radius: var(--radius); background: var(--bg-alt); }
.offer-card p { color: var(--muted); margin: 0; }
.offer-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

/* Services */
/* Flex so an incomplete last row stays centred */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.svc-grid > .svc { flex: 0 1 calc((100% - 60px) / 4); }
.svc {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc p { color: var(--muted); font-size: .95rem; margin: 0; }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: var(--green-soft); color: var(--green); margin-bottom: 18px; transition: background .25s, color .25s; }
.svc:hover .svc-ico { background: var(--green); color: #fff; }

/* Zone */
.zone { position: relative; padding: clamp(70px, 10vw, 130px) 0; color: #fff; overflow: hidden; }
.zone-bg { position: absolute; inset: 0; background: url(img/connexion.jpg) center / cover no-repeat; }
.zone-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,24,18,.92) 30%, rgba(20,24,18,.55)); }
.zone-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.zone p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 36em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: .6em 1.1em; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 600; backdrop-filter: blur(6px); }
.chips .chip-remote { background: var(--green); border-color: var(--green); }

/* Team */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 860px; }
.member { display: flex; gap: 32px; align-items: center; padding: 32px; border-radius: var(--radius); background: var(--bg-alt); }
.member img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid #fff; box-shadow: var(--shadow); }
.member h3 { font-size: 1.3rem; margin-bottom: .1em; }
.member .role { color: var(--green); font-weight: 700; font-size: .85rem; margin-bottom: .6em; }
.member p:last-child { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Reviews */
.reviews { background: var(--bg-alt); }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews-head h2 { margin: 0; }
.rating { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; }
.rating-score { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.rating-meta { display: grid; gap: 4px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: #f5b400; font-size: 1.05rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; background: #fff; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.6; }
.review blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--green); font-weight: 800; margin-bottom: 6px; }
.review figcaption { font-weight: 700; color: var(--muted); font-size: .92rem; }
.reviews-more { margin: 28px 0 0; text-align: center; }
.reviews-more a { color: #5d6b00; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-weight: 800; transition: transform .2s, background .2s, color .2s;
}
.faq-item[open] summary::after { content: "–"; background: var(--green); color: #fff; }
.faq-item summary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(154,178,0,.2); border-radius: 14px; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Partners */
.partners { padding: 50px 0; border-block: 1px solid var(--line); }
.partner-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: clamp(30px, 6vw, 80px); }
.partner-row img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.partner-row a:hover img { filter: none; opacity: 1; }

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-line { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 0; font-weight: 700; word-break: break-word; }
.contact-line small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.ci { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); }
.contact-line:hover .ci { background: var(--green); color: #fff; }
.support-box { margin-top: 28px; padding: 22px; border-radius: var(--radius); background: #fff; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow); }
.support-box p { margin: 0; color: var(--muted); font-size: .92rem; }
.support-box > div:first-child { flex: 1 1 100%; }
.contact-form { background: #fff; padding: clamp(22px, 4vw, 36px); border-radius: 24px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; font: inherit; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; }
.contact-form :is(input, textarea, select):focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(154,178,0,.15); }
.contact-form .invalid { border-color: #d64545; }
.hp { position: absolute; left: -9999px; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: .85rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: .75em 1em; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.seg input:checked + span { border-color: var(--green); background: var(--green-soft); color: #5d6b00; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(154,178,0,.15); }
.company-field[hidden] { display: none; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-note a { color: #5d6b00; font-weight: 600; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #4a7a00; }
.form-status.err { color: #c03030; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 40px 0; font-size: .92rem; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-inner strong { color: #fff; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--green-2); }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.copy { margin: 0 0 0 auto; }

.mobile-bar { display: none; }
.fab-wa {
  display: grid; place-items: center; position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 28px;
  box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.06); }
.btn-wa svg { color: #25d366; font-size: 1.2em; }
.ci-wa { color: #25d366; }
.contact-line:hover .ci-wa { background: #25d366; color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .svc-grid > .svc { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 1020px) {
  .header-call span { display: none; }
  .nav a { padding: .5em .55em; }
}
@media (max-width: 860px) {
  .burger { display: grid; gap: 5px; width: 42px; height: 42px; place-content: center; border: 0; background: var(--bg-alt); border-radius: 12px; cursor: pointer; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: 0 20px 30px rgba(0,0,0,.06);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .9em .6em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .hero-grid, .zone-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .offer-grid, .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { height: 92px; }
  .brand img { height: 72px; }
  .site-header.scrolled .header-inner { height: 72px; }
  .site-header.scrolled .brand img { height: 54px; }
  .header-call { display: none; }
  .svc-grid > .svc { flex-basis: 100%; }
  .float-card { left: 12px; right: 12px; bottom: -20px; max-width: none; }
  .hero-img { transform: none; }
  .hero-visual { margin-bottom: 20px; }
  .member { flex-direction: column; align-items: flex-start; }
  .member img { width: 120px; height: 120px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .copy { margin-left: 0; }
  /* Bottom bar replaces the floating buttons on phones */
  .fab-wa { display: none; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: .8em; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; }
  .mobile-bar svg { font-size: 1.2em; }
  .mb-call { background: var(--green); }
  .mb-wa { background: #25d366; }
  .hero-cta .btn-wa { display: none; } /* already in the bottom bar */
  .hero-cta .btn { flex: 1 1 100%; }
}
