/* BASE */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 4.1vw, 60px); font-weight: 800; }
h2 { font-size: clamp(27px, 2.35vw, 35px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 750; }
p { color: var(--muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { color: var(--green-dark); background: var(--lime); }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 72px; }
.section-soft { background: var(--soft); }
.icon { width: 24px; height: 24px; flex: 0 0 auto; vertical-align: middle; }
.eyebrow { margin-bottom: 14px; color: var(--green); font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 49px; padding: 13px 22px; border: 1px solid transparent; border-radius: 7px; background: var(--lime); color: var(--green-dark); font-size: 13px; font-weight: 750; line-height: 1.4; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgb(16 63 53 / 10%); }
.button .icon { width: 19px; height: 19px; }
.button-outline { border-color: var(--green); background: rgb(255 255 255 / 70%); }
.button-outline:hover { background: white; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: #567018; }
.text-link .icon { width: 18px; height: 18px; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 100; padding: 12px 18px; background: var(--green); color: white; border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* BANDEAU SUPERIEUR ET NAVIGATION */
.topbar { color: white; background: var(--green-dark); font-size: 11px; }
.topbar-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-inner > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar a:hover { text-decoration: underline; }
.topbar :focus-visible, .study-banner :focus-visible { outline-color: var(--lime); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; }
.brand-name { font-size: 21px; font-weight: 850; line-height: 1.1; letter-spacing: -.045em; }
.brand-baseline { margin-top: 5px; font-size: 10px; font-style: italic; line-height: 1.3; }
.brand-logo { width: 230px; height: 62px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 19px; margin-left: auto; }
.main-nav > a:not(.button) { position: relative; padding-block: 20px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.main-nav > a:not(.button)::after { position: absolute; content: ""; left: 0; right: 0; bottom: 11px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { flex-shrink: 0; padding-inline: 16px; font-size: 12px; }
.menu-toggle, .nav-mobile-cta { display: none; }

/* GRANDE INTRODUCTION */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #e6eeeb; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero::before { position: absolute; z-index: -1; content: ""; inset: 0; background: linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 91%) 30%, rgb(255 255 255 / 55%) 48%, transparent 70%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: 530px; padding-block: 60px; }
.hero-copy { max-width: 655px; animation: arrive .65s ease-out both; }
.hero h1 { max-width: 650px; }
.hero h1 span { color: #497451; }
.hero-description { max-width: 505px; margin-block: 23px 29px; color: #3c5349; font-size: 17px; line-height: 1.6; }
.hero-note { position: absolute; right: 0; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 15px 20px; max-width: 280px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 7px; background: rgb(255 255 255 / 88%); font-size: 12px; line-height: 1.45; }
.hero-note .icon { width: 31px; height: 31px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ENGAGEMENTS ET ENJEUX */
.benefits-strip { border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; }
.benefit { display: flex; align-items: center; gap: 14px; padding-inline: 20px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 0; }
.benefit:last-child { padding-right: 0; border-right: 0; }
.benefit > .icon { width: 34px; height: 34px; }
.benefit h2 { font-size: 14px; letter-spacing: -.015em; margin-bottom: 5px; }
.benefit p { font-size: 11px; line-height: 1.5; }
.heat-grid { display: grid; grid-template-columns: 1.05fr 1.2fr .55fr; gap: 32px; align-items: center; }
.heat-copy h2 { font-size: clamp(26px, 2.1vw, 31px); }
.heat-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 14px; }
.heat-copy .button { margin-top: 24px; }
.heat-points { display: grid; gap: 25px; padding-left: 22px; border-left: 1px solid var(--line); }
.heat-points li { display: flex; align-items: center; gap: 13px; font-size: 13px; line-height: 1.5; }
.heat-points .icon { width: 29px; height: 29px; }
.comparison-frame { position: relative; height: 275px; border-radius: var(--radius); overflow: hidden; background: #dce6df; }
.comparison-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 33% center; }
.comparison-warm { position: absolute; inset: 0; background: rgb(214 70 35 / 45%); clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison-label { position: absolute; top: 16px; padding: 10px 12px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.label-before { left: 12px; color: white; background: #493e3a; }
.label-after { right: 12px; background: rgb(255 255 255 / 92%); }
.comparison-divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: white; transform: translateX(-50%); }
.comparison-divider > span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 22px; transform: translate(-50%, -50%); }
.comparison-control { display: flex; align-items: center; gap: 14px; margin-block: 12px 5px; font-size: 11px; font-weight: 650; }
.comparison-control input { flex: 1; width: 0; min-width: 0; accent-color: var(--green); cursor: ew-resize; min-height: 24px; }
.comparison figcaption { color: var(--muted); font-size: 10px; line-height: 1.5; }

/* SOLUTIONS */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 30px; }
.section-heading > div:first-child { max-width: 715px; }
.heading-aside { max-width: 370px; flex-shrink: 0; }
.heading-aside p { margin-bottom: 12px; font-size: 14px; }
.solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.solution-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.solution-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.solution-visual { position: relative; display: block; height: 230px; overflow: hidden; }
.solution-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 59%; transition: transform .5s; }
.solution-card:hover .solution-visual img { transform: scale(1.035); }
.solution-icon { position: absolute; left: 24px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid white; border-radius: 50%; background: var(--green); color: white; }
.solution-body { padding: 25px 27px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; }
.round-link { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border: 1px solid #9bac9e; border-radius: 50%; }
.round-link:hover { background: var(--lime); border-color: var(--lime); }
.round-link .icon { width: 18px; height: 18px; }
.solution-body > p { margin-block: 14px 20px; max-width: 510px; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags li { padding: 4px 8px; background: var(--soft); border-radius: 3px; font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }

/* SECTEURS ET METHODE */
.compact-heading h2 { font-size: clamp(26px, 2.15vw, 32px); }
.compact-heading > .text-link { flex-shrink: 0; }
.sectors-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.sector { display: grid; justify-items: center; align-content: start; gap: 16px; padding: 24px 9px; border: 1px solid transparent; border-radius: 8px; text-align: center; transition: background .2s, border-color .2s; }
.sector:hover { background: white; border-color: var(--line); }
.sector > .icon { width: 34px; height: 34px; }
.sector h3 { font-size: 13px; line-height: 1.55; letter-spacing: 0; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; padding-top: 4px; }
.steps li:not(:last-child)::after { position: absolute; top: 20px; left: 48px; right: -12px; height: 1px; background: var(--line); content: ""; }
.step-number { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: var(--green); font-size: 14px; font-weight: 700; }
.steps li > .icon { width: 30px; height: 30px; margin-block: 23px 14px; }
.steps h3 { font-size: 16px; margin-bottom: 10px; }
.steps p { max-width: 215px; font-size: 13px; line-height: 1.65; }

/* INDICATEURS ET CONFIANCE */
.results-layout { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1fr; gap: 32px; align-items: center; }
.results-layout h2 { font-size: 29px; }
.results-layout > div:first-child > p:last-child { margin-top: 16px; font-size: 14px; }
.result-item { padding-left: 26px; border-left: 1px solid var(--line); }
.result-item .icon { width: 33px; height: 33px; margin-bottom: 14px; }
.result-item h3 { margin-bottom: 10px; font-size: 16px; }
.result-item p { font-size: 13px; }
.trust-heading { text-align: center; margin-bottom: 35px; }
.trust-heading h2 { font-size: clamp(27px, 2.25vw, 34px); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.trust-grid .icon { width: 32px; height: 32px; margin-bottom: 14px; }
.trust-grid h3 { font-size: 13px; line-height: 1.6; letter-spacing: 0; }

/* BANDEAU D'ETUDE ET PIED DE PAGE */
.cta-section { margin-bottom: 52px; }
.study-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.6fr 1fr .8fr; align-items: center; gap: 30px; padding: 38px 42px; border-radius: 8px; overflow: hidden; background: var(--green-dark); color: white; }
.study-banner::before { position: absolute; z-index: -2; content: ""; inset: 0; background: linear-gradient(90deg, rgb(9 47 40 / 99%), rgb(9 47 40 / 80%)), url('../images/home/hero-toiture.webp') center 55% / cover; }
.study-banner::after { position: absolute; z-index: -1; content: ""; top: -40%; bottom: -40%; right: 24%; width: 24px; background: var(--lime); transform: rotate(31deg); opacity: .8; }
.study-banner .eyebrow { color: #d2dfc8; font-size: 9px; }
.study-banner h2 { font-size: clamp(29px, 2.6vw, 38px); color: var(--lime); }
.study-copy > p:last-child { max-width: 430px; margin-top: 15px; color: #e0e8df; font-size: 13px; }
.study-action { text-align: center; }
.study-action p { margin-top: 10px; color: #e0e8df; font-size: 11px; }
.study-points { display: grid; gap: 10px; padding-left: 22px; font-size: 11px; }
.study-points li { display: flex; align-items: center; gap: 10px; }
.study-points .icon { width: 17px; height: 17px; }
.site-footer { padding-top: 8px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1.1fr .85fr 1.1fr 1.2fr; gap: 30px; padding-bottom: 38px; }
.footer-grid h2 { margin-bottom: 16px; font-size: 12px; letter-spacing: 0; }
.footer-grid > div > a:not(.brand) { display: block; margin-block: 8px; color: var(--muted); font-size: 11px; }
.footer-grid > div > a:hover { color: var(--green); text-decoration: underline; }
.footer-brand > p { margin-top: 17px; font-size: 12px; }
.footer-contact p { font-size: 11px; }
.footer-contact .icon { width: 15px; height: 15px; margin-right: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom small, .footer-bottom a { font-size: 10px; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a:hover { text-decoration: underline; }
.error-page { min-height: 55vh; padding-block: 90px; }
.error-page h1 { max-width: 850px; }
.error-page > p:not(.eyebrow) { margin-block: 24px; }

/* TABLETTE ET MENU COMPACT */
@media (max-width: 1230px) {
    .header-inner { position: relative; flex-wrap: wrap; gap: 18px; padding-block: 12px; min-height: 80px; }
    .header-cta { margin-left: auto; }
    .main-nav { width: 100%; order: 4; margin: 0; flex-wrap: wrap; gap: 8px 22px; }
    .js .menu-toggle { order: 3; display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: white; }
    .menu-toggle span { height: 2px; width: 20px; background: var(--green); transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .js .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 110px); overflow-y: auto; padding: 16px 22px; border: 1px solid var(--line); border-radius: 0 0 8px 8px; background: white; box-shadow: var(--shadow); }
    .js .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > a:not(.button) { padding-block: 12px; }
    .main-nav > a:not(.button)::after { bottom: 5px; right: auto; width: 32px; }
    .main-nav .nav-mobile-cta { display: inline-flex; margin-top: 12px; }
    .heat-grid { grid-template-columns: 1fr 1.1fr; }
    .heat-points { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .heading-aside { max-width: 290px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 900px) {
    .container { width: calc(100% - 48px); }
    .section { padding-block: 54px; }
    .hero-inner { min-height: 520px; }
    .hero-copy { max-width: 560px; }
    .hero h1 { font-size: 48px; }
    .hero::before { background: linear-gradient(90deg, rgb(255 255 255 / 97%), rgb(255 255 255 / 86%) 48%, rgb(255 255 255 / 15%)); }
    .hero-note { display: none; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .benefit, .benefit:first-child { padding: 0; border: 0; }
    .section-heading { align-items: start; gap: 25px; }
    .section-heading > .text-link { max-width: 165px; }
    .heading-aside { max-width: 240px; }
    .sectors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .steps { gap: 18px; }
    .steps h3 { font-size: 14px; }
    .steps p { font-size: 12px; }
    .results-layout { grid-template-columns: repeat(3, 1fr); }
    .results-layout > div:first-child { grid-column: 1 / -1; max-width: 600px; }
    .result-item { padding-left: 18px; }
    .study-banner { grid-template-columns: 1.3fr 1fr; padding: 32px; }
    .study-points { display: none; }
    .study-banner::after { right: 42%; opacity: .18; }
}

/* TELEPHONE */
@media (max-width: 600px) {
    html { scroll-padding-top: 85px; }
    .container { width: calc(100% - 36px); }
    .section { padding-block: 44px; }
    .topbar-inner { min-height: 33px; gap: 10px; font-size: 9px; }
    .topbar-docs { display: none; }
    .topbar-inner > a[href^="tel:"] { display: none; }
    .topbar .icon { width: 12px; height: 12px; }
    .header-inner { min-height: 74px; }
    .brand-name { font-size: 21px; }
    .brand-baseline { font-size: 9px; }
    .brand-logo { width: 210px; height: 50px; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }
    .hero { display: flex; flex-direction: column; background: var(--soft); }
    .hero::before { display: none; }
    .hero-inner { order: 0; min-height: auto; padding-block: 39px 30px; }
    .hero-image { position: relative; z-index: 0; order: 1; width: 100%; height: 280px; object-position: 68% 55%; }
    .hero-copy { max-width: none; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .13em; }
    .hero h1 { font-size: clamp(34px, 9.6vw, 47px); }
    .hero-description { margin-block: 20px 24px; font-size: 15px; }
    .button-row { gap: 10px; }
    .hero .button-row .button { width: 100%; min-height: 48px; }
    .benefits-grid { gap: 24px 16px; padding-block: 25px; }
    .benefit { align-items: flex-start; gap: 9px; }
    .benefit > .icon { width: 26px; height: 26px; }
    .benefit h2 { font-size: 12px; line-height: 1.35; }
    .benefit p { font-size: 10px; }
    .heat-grid { grid-template-columns: 1fr; gap: 28px; }
    .heat-copy { grid-row: 1; }
    .heat-points { grid-template-columns: 1fr; gap: 18px; }
    .heat-points li br { display: none; }
    .heat-points li strong::before { content: " "; }
    .comparison-frame { height: 250px; }
    .comparison-label { font-size: 10px; padding: 8px; }
    .section-heading { display: block; margin-bottom: 25px; }
    .heading-aside { max-width: none; margin-top: 18px; }
    .section-heading > .text-link { max-width: none; margin-top: 18px; }
    .solutions-grid { grid-template-columns: 1fr; gap: 22px; }
    .solution-visual { height: 210px; }
    .solution-body { padding: 22px; }
    .solution-body > p { font-size: 14px; }
    .sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sector { border-color: var(--line); background: white; padding: 23px 10px; }
    .sector:last-child { grid-column: 1 / -1; }
    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps li { padding: 0 0 27px 55px; min-height: 100px; }
    .step-number { position: absolute; top: 0; left: 0; }
    .steps li:not(:last-child)::after { top: 40px; bottom: 7px; left: 16px; right: auto; width: 1px; height: auto; }
    .steps li > .icon { display: none; }
    .steps h3 { padding-top: 5px; font-size: 17px; }
    .steps p { max-width: none; font-size: 14px; }
    .steps li:last-child { padding-bottom: 0; }
    .results-layout { grid-template-columns: 1fr; gap: 27px; }
    .result-item { padding-left: 20px; }
    .result-item .icon { float: left; margin: 0 16px 25px 0; }
    .result-item p { margin-left: 49px; }
    .trust-heading { text-align: left; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 29px 16px; }
    .trust-grid > div:last-child { grid-column: 1 / -1; }
    .study-banner { grid-template-columns: 1fr; gap: 27px; padding: 29px 25px; }
    .study-action { text-align: left; }
    .study-action .button { width: 100%; }
    .study-action p { text-align: center; }
    .study-banner::after { right: -20px; }
    .cta-section { margin-bottom: 36px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .footer-brand, .footer-contact { grid-column: 1 / -1; }
    .footer-grid h2 { font-size: 13px; }
    .footer-grid > div > a:not(.brand) { font-size: 12px; padding-block: 4px; }
    .footer-bottom { flex-direction: column; gap: 12px; padding-block: 20px 28px; }
    .error-page { padding-block: 55px; }
}

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