@font-face {
  font-family: Geist;
  src: url("./fonts/geist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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: Geist;
  src: url("./fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  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 {
  --sif-ink: #23282b;
  --sif-muted: #50595e;
  --sif-paper: #fff;
  --sif-surface: #f3f5f6;
  --sif-line: #d9dee1;
  --sif-control: #697477;
  --sif-link: #37562d;
  --sif-visit: #416624;
  --sif-visit-hover: #334f1d;
  --sif-photo-ink: #171c1f;
  --sif-forest: #1e3528;
  --sif-forest-raised: #294334;
  --sif-accent: #d7e9af;
  --sif-on-dark: #f7f9f1;
  --sif-dark-muted: #d6e1d5;
  --sif-dark-line: #748877;
  --sif-sage: #eef2e5;
  --sif-ivory: #f8f7ef;
  --sif-aqua: #e6efeb;
  --pine: var(--sif-ink);
  --green: var(--sif-visit);
  --secondary: var(--sif-surface);
  --accent: var(--sif-control);
  --light: var(--sif-surface);
  --paper: var(--sif-paper);
  --muted: var(--sif-muted);
  --line: var(--sif-line);
  --wash: var(--sif-surface);
  --header-height: 80px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-space: clamp(64px, 8vw, 111px);
  --radius: 20px;
  color: var(--pine);
  background: var(--paper);
  font-family: Geist, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-top: var(--header-height); }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
address { font-style: normal; }
/* A two-tone ring stays visible against both light surfaces and photos. */
:focus-visible {
  outline: 3px solid var(--sif-photo-ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--sif-paper);
}
::selection { color: var(--sif-paper); background: var(--sif-photo-ink); }

.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip-link { position: fixed; top: 10px; left: var(--gutter); z-index: 100; padding: 10px 15px; transform: translateY(-160%); color: var(--pine); background: var(--paper); border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.eyebrow { color: var(--sif-muted); font-size: .74rem; font-weight: 650; letter-spacing: .105em; line-height: 1.4; text-transform: uppercase; }
.section h2, .home-cee h2, .diagnostic h2 { font-size: clamp(2.1rem, 4.6vw, 4.35rem); font-weight: 600; letter-spacing: -.051em; line-height: 1.03; }
.eyebrow + h2 { margin-top: 12px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .65fr); align-items: end; gap: 24px clamp(26px, 5vw, 80px); margin-bottom: 37px; }
.section-heading h2 { max-width: 720px; text-wrap: balance; }
.section-heading > p { max-width: 470px; padding-bottom: 4px; color: var(--muted); font-size: 1rem; line-height: 1.65; }

.button {
  display: inline-flex;
  min-height: 47px;
  max-width: 100%;
  width: fit-content;
  padding: 11px 19px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid var(--sif-control);
  border-radius: 100px;
  color: var(--sif-ink);
  background: var(--sif-paper);
  font-size: .92rem;
  font-weight: 590;
  line-height: 1.24;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.button:hover { background: var(--sif-surface); }
.button.button--visit {
  border-color: var(--sif-visit);
  color: var(--sif-paper);
  background: var(--sif-visit);
}
.button.button--visit:hover {
  border-color: var(--sif-visit-hover);
  background: var(--sif-visit-hover);
}
.button:disabled { cursor: default; opacity: .65; }
.arrow { flex: none; font-family: Arial, sans-serif; font-size: 1.17em; font-weight: 500; line-height: 1; }
.text-link { display: inline-flex; width: fit-content; min-height: 32px; align-items: center; gap: 10px; color: var(--sif-link); font-size: .91rem; font-weight: 630; text-decoration-thickness: 1px; text-underline-offset: .24em; }
.text-link:hover { color: var(--pine); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: clamp(14px, 2vw, 32px); }
.brand { display: block; flex: none; width: clamp(178px, 18vw, 222px); }
.brand img { width: 100%; height: auto; aspect-ratio: 1563 / 340; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.25vw, 37px); }
.nav-link, .nav-group > summary { display: flex; min-height: 44px; align-items: center; gap: 9px; color: var(--pine); font-size: .92rem; font-weight: 550; white-space: nowrap; text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-group > summary:hover, [aria-current="page"] { color: var(--sif-link); }
.nav-group > summary { list-style: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.chevron { display: block; width: 6px; height: 6px; margin-top: -3px; transform: rotate(45deg); border-right: 1.5px solid; border-bottom: 1.5px solid; }
.nav-group[open] .chevron { transform: translateY(3px) rotate(225deg); }
.header-actions { display: flex; flex: none; align-items: center; gap: 9px; }
.nav-contact { white-space: nowrap; }
.menu-toggle, .site-nav .mobile-nav-contact { display: none; }

.hero { position: relative; display: grid; min-height: clamp(630px, 49vw, 720px); isolation: isolate; overflow: hidden; color: white; background: var(--pine); }
.hero-media, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgb(23 28 31 / .88), rgb(23 28 31 / .74) 64%, rgb(23 28 31 / .24)); }
.hero-inner { display: flex; align-items: center; padding-block: 70px; }
.hero-copy { width: min(100%, 710px); }
.hero h1 { max-width: 650px; font-size: clamp(3rem, 6.25vw, 5.7rem); font-weight: 600; line-height: .99; letter-spacing: -.064em; text-wrap: balance; }
.hero-lead { display: grid; max-width: 560px; gap: 7px; margin-top: 25px; color: var(--sif-paper); font-size: clamp(1.03rem, 1.37vw, 1.17rem); line-height: 1.53; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.hero-actions .button { min-height: 52px; padding-inline: 20px; }

.quick-links { border-bottom: 1px solid var(--line); background: var(--light); }
.quick-links ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; min-height: 95px; padding: 0; list-style: none; }
.quick-links li + li { border-left: 1px solid var(--line); }
.quick-links a { display: flex; min-height: 46px; justify-content: space-between; align-items: center; gap: 10px; padding: 8px clamp(10px, 1.8vw, 25px); font-size: .91rem; font-weight: 590; line-height: 1.3; text-decoration: none; }
.quick-links li:first-child a { padding-left: 0; }
.quick-links li:last-child a { padding-right: 0; }
.quick-links a:hover { color: var(--sif-link); }

.about {
  background: var(--sif-surface) url("./original/home/about-texture.webp") center / cover;
  background-blend-mode: screen;
}
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 6vw, 90px); }
.about-layout h2 { max-width: 570px; }
.about-layout p { max-width: 66ch; margin-top: 16px; color: var(--muted); line-height: 1.65; }
.about-layout .about-lead { margin-top: 21px; color: var(--pine); font-size: clamp(1.1rem, 2vw, 1.48rem); font-weight: 500; line-height: 1.47; letter-spacing: -.022em; }
.about-media { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; aspect-ratio: 1.31; }
.about-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 12px; }
.about-main { grid-row: span 2; }
.about-media img:last-child { grid-column: 1 / -1; }

.home-solutions { background: var(--light); }
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); }
.solution-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.solution-card img { width: 100%; aspect-ratio: 1.42; object-fit: cover; background: var(--wash); }
.solution-card > div { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(16px, 2vw, 24px); }
.solution-card h3 { font-size: clamp(1.12rem, 1.75vw, 1.52rem); font-weight: 610; letter-spacing: -.036em; line-height: 1.14; }
.solution-card p { margin: 9px 0 16px; color: var(--muted); font-size: .92rem; line-height: 1.52; }
.solution-card .text-link { margin-top: auto; }
.related-solutions { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; }

.home-cee { color: var(--paper); background: var(--pine); }
.home-cee-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 100px); align-items: center; padding-block: clamp(45px, 6vw, 82px); }
.home-cee-layout .eyebrow { color: var(--sif-muted); }
.home-cee h2 { font-size: clamp(2rem, 3.9vw, 3.65rem); text-wrap: balance; }
.home-cee p:not(.eyebrow) { margin-top: 17px; color: #eaf3e9; line-height: 1.62; }
.home-cee .button { margin-top: 19px; }
.home-cee img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: var(--radius); }

.vision { background: var(--paper) url("./original/home/vision-texture.webp") bottom left / cover; }
.vision-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 8vw, 115px); }
.vision-copy p:not(.eyebrow) { margin-top: 14px; color: var(--muted); line-height: 1.6; }
.vision-copy .button { margin-top: 21px; }
.vision-points { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.vision-points li { padding: 23px 0; border-bottom: 1px solid var(--line); }
.vision-points h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 610; letter-spacing: -.035em; }
.vision-points p { margin-top: 7px; color: var(--muted); line-height: 1.55; }

.testimonials { background: var(--light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 21px); }
.review, .testimonials-stat { padding: clamp(18px, 2.25vw, 31px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.review { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.review--long { grid-column: span 2; }
.rating { color: #816100; background: #fff8e5; padding: 3px 7px; border-radius: 5px; font-size: .85rem; letter-spacing: .08em; }
.review blockquote { font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 11px; margin-top: auto; color: var(--muted); font-size: .82rem; line-height: 1.36; }
.review figcaption strong { color: var(--pine); font-size: .95rem; }
.review img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonials-stat { display: flex; flex-direction: column; justify-content: end; align-items: start; background: var(--wash); }
.testimonials-stat--photo { grid-column: span 2; color: white; border-color: var(--pine); background: linear-gradient(90deg, rgb(23 28 31 / .88), rgb(23 28 31 / .76)), var(--pine) url("./original/home/review-building.webp") center 42% / cover; }
.testimonials-stat strong { font-size: clamp(3rem, 5.9vw, 5.6rem); font-weight: 600; letter-spacing: -.075em; line-height: 1; }
.testimonials-stat span { margin-top: 7px; font-size: .93rem; font-weight: 510; }

.contact-section { color: var(--sif-ink); background: var(--sif-surface); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 7vw, 104px); }
.contact-copy .eyebrow { color: var(--sif-muted); }
.contact-copy h2 { max-width: 640px; text-wrap: balance; }
.contact-copy > p:not(.eyebrow) { max-width: 490px; margin-top: 18px; color: var(--sif-muted); line-height: 1.63; }
.contact-details { display: grid; gap: 9px; margin-top: 21px; padding: 0; list-style: none; font-size: .92rem; }
.contact-details a { text-underline-offset: .2em; overflow-wrap: anywhere; }

.contact-form { padding: clamp(17px, 3vw, 35px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--pine); background: var(--paper); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-fields label { display: flex; min-width: 0; flex-direction: column; gap: 6px; font-size: .88rem; line-height: 1.3; font-weight: 590; }
.contact-fields .contact-wide { grid-column: 1 / -1; }
.contact-form :is(input, textarea) { width: 100%; min-height: 45px; padding: 10px 11px; border: 1px solid var(--sif-control); border-radius: 8px; color: var(--pine); background: var(--paper); font-size: .95rem; font-weight: 400; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form :is(input, textarea)::placeholder { color: var(--sif-muted); opacity: 1; }
.contact-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 17px; }
.contact-form-actions p, .contact-form-status, .contact-form noscript { color: var(--muted); font-size: .8rem; line-height: 1.42; }
.contact-form-status { margin-top: 11px; color: var(--sif-link); font-weight: 550; }

.diagnostic { color: white; background: var(--pine) url("./original/home/diagnostic-texture.webp") center / cover; }
.diagnostic-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(23px, 6vw, 95px); align-items: center; padding-block: clamp(38px, 6vw, 80px); }
.diagnostic h2 { font-size: clamp(2rem, 3.65vw, 3.5rem); }
.diagnostic p { margin-top: 15px; color: #eaf3e9; line-height: 1.55; }
.diagnostic .button { margin-top: 18px; }
.diagnostic img { width: 100%; max-height: 360px; aspect-ratio: 1.6; object-fit: cover; border-radius: var(--radius); }
.diagnostic img[src$="cee-cta.png"] { object-fit: contain; background: white; }

.site-footer { padding: clamp(38px, 6vw, 68px) 0 22px; color: var(--pine); background: var(--light); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr) minmax(0, .85fr); gap: 20px clamp(18px, 5vw, 66px); }
.footer-grid h2 { margin-bottom: 12px; font-size: 1.04rem; letter-spacing: -.02em; font-weight: 630; }
.footer-grid ul { display: grid; gap: 7px 15px; padding: 0; list-style: none; }
.footer-professionals ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-grid li a { display: inline-block; padding-block: 3px; font-size: .875rem; line-height: 1.4; text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-brand .brand { width: min(218px, 100%); }
.footer-brand p, .footer-brand address { margin-top: 14px; color: var(--muted); font-size: .87rem; line-height: 1.57; }
.footer-bottom { margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.footer-bottom a { text-underline-offset: 3px; }

@media (max-width: 1060px) {
  :root { --header-height: 69px; }
  .site-nav { display: none; position: absolute; inset: var(--header-height) 0 auto; max-height: calc(100dvh - var(--header-height)); padding: 11px var(--gutter) 23px; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 20px #23282b24; }
  .site-header[data-menu-open] .site-nav { display: block; }
  .nav-group, .nav-link { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-group > summary { min-height: 49px; justify-content: space-between; font-size: 1.02rem; }
  .site-nav .mobile-nav-contact { display: flex; }
  .menu-toggle { display: grid; width: 44px; height: 44px; padding: 0; place-content: center; gap: 5px; border: 0; border-radius: 50%; color: var(--pine); background: var(--light); cursor: pointer; }
  .menu-toggle span { width: 19px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .16s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.45fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 65ch; }
}

@media (max-width: 650px) {
  :root { --header-height: 64px; --radius: 15px; }
  .brand { width: clamp(138px, 43vw, 175px); }
  .header-inner { gap: 6px; }
  .header-actions { gap: 6px; }
  .nav-contact { min-height: 38px; padding: 7px 10px; font-size: .76rem; }
  .nav-contact .arrow { display: none; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero { min-height: min(760px, max(650px, calc(100svh - var(--header-height) - 28px))); }
  .hero-media img { object-position: 51% 56%; }
  .hero::after { background: linear-gradient(0deg, rgb(23 28 31 / .88), rgb(23 28 31 / .74) 80%, rgb(23 28 31 / .14)); }
  .hero-inner { align-items: end; padding-block: 72px 50px; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4.1rem); line-height: .99; }
  .hero-lead { gap: 6px; margin-top: 19px; font-size: 1rem; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { min-height: 45px; padding-inline: 14px; }
  .quick-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 5px; }
  .quick-links li + li { border-left: 0; }
  .quick-links li:nth-child(2n) { border-left: 1px solid var(--line); }
  .quick-links li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick-links li:nth-child(odd) a { padding-left: 0; }
  .quick-links a { min-height: 44px; font-size: .8rem; }
  .section-heading, .about-layout, .home-cee-layout, .vision-layout, .contact-layout, .diagnostic-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .section-heading { margin-bottom: 22px; }
  .about-media { gap: 5px; }
  .about-media img { border-radius: 8px; }
  .solution-grid { gap: 9px; }
  .solution-card > div { padding: 12px; }
  .solution-card h3 { font-size: 1.02rem; }
  .solution-card p { margin-bottom: 10px; font-size: .82rem; }
  .solution-card .text-link { gap: 5px; font-size: .83rem; }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .testimonials-grid .review { grid-column: 1 / -1; }
  .testimonials-grid .testimonials-stat { grid-column: 1 / -1; }
  .contact-fields { gap: 11px; }
  .contact-form-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
  .footer-professionals ul { grid-template-columns: 1fr; }
}

@media (max-width: 365px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: clamp(2rem, 10.6vw, 2.65rem); }
  .hero-inner { padding-block: 65px 37px; }
  .hero-lead { font-size: .94rem; }
  .nav-contact { display: none; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Les attributs width/height réservent la place sans déformer les images. */
:where(img[width][height]) { height: auto; }

.service-benefits-heading .eyebrow { font-size: .75rem; }
