:root {
  color-scheme: light;
  --ink: #172f25;
  --muted: #43574c;
  --green: #214e3b;
  --deep: #183c30;
  --line: #d7e1d7;
  --cream: #f7f8f2;
  --soft: #edf3e9;
  --lime: #dbe8a9;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 3.8vw, 3.65rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.65rem, 2.25vw, 2.16rem); letter-spacing: -.042em; }
:focus-visible { outline: 3px solid #788c34; outline-offset: 4px; }
[id] { scroll-margin-block-start: 1.25rem; }

.shell { width: min(100% - 112px, 1248px); margin-inline: auto; }
.skip { position: fixed; z-index: 4; left: 1rem; top: 1rem; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-layout, .footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-layout { min-height: 84px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 11px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 11px; object-fit: contain; }
.brand span { display: grid; gap: 1px; }
.brand strong { font-family: var(--serif); font-size: 1.42rem; letter-spacing: -.045em; font-weight: 600; line-height: 1.06; }
.brand small { color: var(--muted); font-size: .75rem; font-weight: 500; line-height: 1.5; }
.navigation { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 38px); }
.navigation > a { font-size: .92rem; font-weight: 630; text-decoration: none; }
.navigation > a:not(.button):hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .26em; }
.menu-toggle { border: 1px solid var(--line); background: white; color: var(--deep); border-radius: 8px; padding: 7px 12px; min-height: 44px; cursor: pointer; font-size: .9rem; font-weight: 650; }
.menu-toggle span { display: inline-block; vertical-align: middle; width: 13px; height: 9px; margin-left: 4px; border-block: 1.5px solid currentColor; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 8px; font-size: .95rem; line-height: 1.35; font-weight: 650; text-decoration: none; text-align: center; transition: background-color .18s, border-color .18s; }
.button-outline { border-color: #b6c8b9; background: transparent; color: var(--deep); }
.button-outline:hover { background: var(--soft); border-color: var(--green); }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: #12362b; }
.text-link { font-weight: 650; color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .28em; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); align-items: stretch; gap: clamp(20px, 4vw, 64px); padding-block: 44px 48px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 34px; }
.eyebrow { color: var(--green); text-transform: uppercase; font-size: .8rem; font-weight: 750; letter-spacing: .12em; }
.location-dot { display: inline-block; vertical-align: .04em; margin-right: 7px; width: 8px; height: 8px; background: #779238; border-radius: 50%; }
.keep-word { white-space: nowrap; }
.hero h1 { margin-top: 18px; font-size: clamp(3.2rem, 5.65vw, 5.65rem); line-height: .96; letter-spacing: -.066em; text-wrap: initial; }
.intro { max-width: 34rem; margin-top: 25px; color: var(--muted); font-size: clamp(1.04rem, 1.27vw, 1.19rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 28px; }
.actions .text-link { font-size: .93rem; padding-block: 8px; }
.hero-figure { position: relative; min-height: 495px; overflow: hidden; border-radius: 20px; background: #e2e8de; }
.hero-figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.hero-figure figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 7px 12px; background: rgba(24,60,48,.94); color: white; border-radius: 6px; font-size: .83rem; font-weight: 600; }

.guide-section { padding-block: 0 12px; }
.guide { background: var(--deep); color: white; border-radius: 20px; padding: clamp(20px, 3.75vw, 52px); }
.guide-header { display: flex; justify-content: space-between; align-items: end; gap: 14px 36px; margin-bottom: 25px; }
.guide h2 { font-size: clamp(2.1rem, 3.7vw, 3.35rem); }
.guide-header p { color: #e1ece0; max-width: 28rem; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choices button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; border: 1px solid #739084; padding: 11px 15px; color: white; background: #234a3b; border-radius: 9px; cursor: pointer; text-align: left; font-size: .96rem; font-weight: 650; line-height: 1.3; }
.choices button i { flex: 0 0 15px; aspect-ratio: 1; border-radius: 50%; border: 1px solid currentColor; opacity: .8; }
.choices button:hover { background: #345b48; }
.choices button[aria-pressed="true"] { background: var(--lime); color: #203529; border-color: var(--lime); }
.choices button[aria-pressed="true"] i { background: currentColor; box-shadow: inset 0 0 0 3px var(--lime); }
.guide :focus-visible { outline-color: #e1ee9b; }
.guide-result:not(:empty) { margin-top: 22px; border-top: 1px solid #739084; padding-top: 17px; }
.result-title { color: #edf4e9; margin-bottom: 9px; font-size: .91rem; font-weight: 650; }
.result-list { display: flex; flex-wrap: wrap; gap: 8px 11px; margin: 0; padding: 0; list-style: none; }
.result-list a { display: block; background: white; color: var(--deep); min-height: 44px; padding: 8px 12px; border-radius: 6px; text-underline-offset: .22em; font-weight: 650; }
.result-list a:hover { background: var(--lime); }
.no-script { padding-bottom: 1rem; }

.service-section { padding-block: 72px 92px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px 34px; margin-bottom: 31px; }
.section-intro h2 { text-wrap: initial; }
.section-intro p { max-width: 27rem; color: var(--muted); }
.feature { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.feature > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; object-position: center; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 3.6vw, 52px); }
.feature h3 { margin-block: 8px 14px; font-size: clamp(2.12rem, 3.35vw, 3.1rem); }
.feature-copy p:not(.eyebrow), .card-copy p { color: var(--muted); }
.check-list { display: grid; gap: 7px; list-style: none; padding: 0; margin: 17px 0 14px; font-size: .94rem; }
.check-list li { position: relative; padding-inline-start: 21px; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 7px; height: 11px; transform: rotate(42deg); border: solid var(--green); border-width: 0 2px 2px 0; }
.feature-context { font-size: .91rem; }
.feature .button { margin-top: 20px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 19px; margin-top: 23px; }
.service-card { overflow: clip; background: white; border: 1px solid var(--line); border-radius: 14px; }
.service-card:target, .feature:target { box-shadow: 0 0 0 3px #8c9f55; }
.service-card img { width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; }
.card-copy { padding: 20px 21px 13px; }
.card-copy h3 { min-height: 2.14em; display: flex; align-items: start; text-wrap: pretty; }
.card-copy > p { min-height: 3.2em; margin-top: 9px; }
.card-copy details { border-top: 1px solid var(--line); margin-top: 14px; }
.card-copy summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; list-style: none; min-height: 44px; color: var(--green); cursor: pointer; font-size: .92rem; font-weight: 700; }
.card-copy summary::-webkit-details-marker { display: none; }
.card-copy summary::after { content: "+"; flex: 0 0 auto; font-size: 1.25rem; font-weight: 400; }
.card-copy details[open] summary::after { content: "−"; }
.card-copy details div { padding: 0 0 10px; }
.card-copy details .text-link { display: inline-block; margin-top: 8px; }
.service-card-plain { grid-column: span 2; background: var(--soft); min-height: 100%; display: grid; align-content: center; }
.service-card-plain .card-copy { padding: clamp(22px, 3vw, 44px); }
.service-card-plain h3, .service-card-plain .card-copy > p { min-height: 0; }

.commitments { background: var(--deep); color: white; padding-block: 73px; }
.commitment-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 35px clamp(35px, 8vw, 112px); }
.commitment-layout h2 { max-width: 13em; text-wrap: pretty; }
.commitment-layout p { color: #dbe8d9; margin-top: 17px; max-width: 28rem; }
.commitment-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 24px; }
.commitment-list div { border-top: 1px solid #7e9b88; padding-top: 10px; }
.commitment-list dt { font-weight: 700; color: #edf4da; }
.commitment-list dd { color: #dbe8d9; margin-top: 5px; font-size: .95rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .75fr); gap: 26px clamp(30px, 8vw, 100px); padding-block: 72px; }
.contact p { color: var(--muted); max-width: 32rem; margin: 15px 0 21px; }
.contact-details { display: grid; gap: 13px; padding: 20px 25px; background: white; border: 1px solid var(--line); border-radius: 14px; font-style: normal; }
.contact-details div { display: grid; gap: 2px; }
.contact-details div + div { border-top: 1px solid var(--line); padding-top: 10px; }
.contact-details a { color: var(--green); font-weight: 700; text-underline-offset: .22em; overflow-wrap: anywhere; }
.contact-details span { color: var(--muted); }
.footer { background: white; border-top: 1px solid var(--line); }
.footer-layout { padding-block: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 21px; }
.footer nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }

@media (max-width: 1100px) {
  .shell { width: min(100% - 70px, 1248px); }
  .hero-figure { min-height: 440px; }
  .section-intro { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 850px) {
  .shell { width: min(100% - 48px, 1248px); }
  .header-layout { flex-wrap: wrap; min-height: 70px; padding-block: 8px; }
  .brand img { width: 46px; height: 46px; }
  .navigation { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 7px 14px; padding-bottom: 8px; }
  .navigation > a { display: flex; align-items: center; min-height: 44px; }
  .hero { padding-block: 26px 34px; gap: 26px; }
  .hero h1 { font-size: clamp(2.9rem, 6.3vw, 4.3rem); }
  .hero-figure { min-height: 380px; }
  .desktop-break { display: none; }
  .guide-header { flex-direction: column; align-items: start; gap: 9px; margin-bottom: 19px; }
  .guide-header p { max-width: none; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-section, .commitments, .contact { padding-block: 52px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card-plain { grid-column: auto; }
  .commitment-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .header-layout { gap: 7px 14px; }
  .navigation { display: grid; grid-template-columns: 1fr; gap: 3px; border-top: 1px solid var(--line); padding-top: 5px; }
  .navigation > a { padding-inline: 5px; }
  .navigation > .button { justify-self: start; padding-inline: 14px; margin-block: 4px; }
  .brand strong { font-size: 1.26rem; }
  .brand small { font-size: .75rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 29px 27px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { font-size: clamp(2.75rem, 11vw, 4rem); margin-top: 12px; }
  .intro { margin-top: 15px; line-height: 1.49; }
  .actions { margin-top: 17px; column-gap: 14px; }
  .hero-figure { min-height: 0; aspect-ratio: 1.36; border-radius: 14px; }
  .hero-figure figcaption { left: 10px; bottom: 10px; }
  .guide { border-radius: 14px; }
  .choices { gap: 7px; }
  .choices button { padding: 9px; min-height: 60px; font-size: .9rem; }
  .choices button i { flex-basis: 12px; }
  .result-list { flex-direction: column; align-items: start; }
  .service-section { padding-block: 44px 46px; }
  .section-intro { margin-bottom: 19px; }
  .feature { grid-template-columns: minmax(0, 1fr); border-radius: 14px; }
  .feature > img { min-height: 0; height: auto; aspect-ratio: 1.65; }
  .feature-copy { padding: 20px; }
  .service-grid, .contact { grid-template-columns: minmax(0, 1fr); }
  .service-grid { gap: 13px; margin-top: 14px; }
  .service-card img { aspect-ratio: 1.8; }
  .card-copy h3, .card-copy > p { min-height: 0; }
  .contact, .commitments { padding-block: 43px; }
  .contact-details { padding-inline: 18px; }
  .footer-layout { align-items: start; flex-direction: column; gap: 10px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  .header-layout { column-gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 39px; height: 39px; }
  .brand strong { font-size: 1.16rem; }
  .menu-toggle { padding-inline: 8px; }
  .guide { padding: 18px 14px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choices button { min-height: 45px; }
  .commitment-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

#demande { display:grid; gap:14px; margin-top:20px; }
#demande label { display:grid; gap:4px; font-weight:600; }
#demande :is(input,textarea,select) { width:100%; min-width:0; color:var(--ink); background:white; padding:10px; border:1px solid #879a8a; border-radius:6px; font:inherit; }
#demande textarea { resize:vertical; }
#demande button { cursor:pointer; justify-self:start; }
.contact-details { align-self:start; }
.document { max-width:860px; padding-block:48px 65px; overflow-wrap:anywhere; }
.document h1 { font-size:clamp(2.4rem,5vw,4rem); margin-bottom:22px; }
.document h2 { font-size:clamp(1.5rem,3vw,2.1rem); margin:28px 0 10px; text-align:left; }
.document p { margin:12px 0; }
.candidate { display:grid; gap:16px; max-width:620px; margin-top:24px; }
.candidate label { display:grid; gap:5px; font-weight:600; }
.candidate :is(input,textarea) { width:100%; min-width:0; font:inherit; border:1px solid #879a8a; border-radius:6px; background:white; padding:10px; }
.candidate button { justify-self:start; cursor:pointer; }

.reasons p, .reasons dd { color: var(--ink); }
.reasons dt { color: var(--deep); }
.hiring { padding-block: 48px; border-bottom: 1px solid var(--line); }
.hiring p { margin-block: 12px; max-width: 62ch; }

.engagement-icon { display:grid;place-items:center;background:white;color:#17503c;border-radius:6px;width:72px;height:72px;margin:4px 0 12px; }
.engagement-icon img { width:60px;height:60px;object-fit:contain; }
.engagement-icon svg { width:36px;height:36px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
.partners { padding-block: 48px; border-bottom: 1px solid var(--line); }
.partners ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 16px; }
.partners li { background: white; color: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 16px 8px; display: grid; grid-template-rows: 76px auto; justify-items: center; align-items: center; text-align: center; font-weight: 600; }
.partners img { max-width: 100%; max-height: 76px; object-fit: contain; }
.home-care { display:grid; grid-template-columns: 1.05fr 1fr; overflow:hidden; background:#e9efe2; border-radius:22px; }
.home-care-intro { padding:clamp(26px,4vw,60px); align-self:center; }
.home-care-kicker { color:var(--green); font-size:.8rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.home-care h2 { margin:14px 0 20px; }
.home-care h2 em { display:block; font-weight:400; color:var(--green); }
.home-care-intro .button { margin-top:24px; }
.home-care-photo { width:100%; height:100%; min-height:280px; object-fit:cover; object-position:60% center; }
.home-care-tax { grid-column:1/-1; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:clamp(20px,4vw,56px); align-items:center; padding:28px clamp(26px,4vw,60px); background:var(--deep); color:white; }
.home-care-tax h3 { font:600 1rem var(--sans); }
.home-care-tax strong { display:block; font:normal clamp(3rem,5vw,4.7rem)/1 var(--serif); color:var(--lime); }
.home-care-tax .text-link { color:white; margin-top:8px; }
.home-care-partner { display:grid; justify-items:center; gap:6px; font-size:.8rem; }
.home-care-partner img { width:116px; height:auto; border-radius:4px; }
@media(max-width:760px) { .home-care { grid-template-columns:1fr; } .home-care-photo { height:auto; aspect-ratio:2/1; min-height:0; } .home-care-tax { grid-template-columns:1fr; gap:16px; } .home-care-partner { display:flex; flex-wrap:wrap; gap:12px; align-items:center; } }

:root { --logo-green: #a5cc14; --soft: #f0f5dd; }
.guide, .commitments, .home-care-tax, .hero-figure figcaption {
  background: var(--logo-green);
  color: var(--ink);
}
.guide-header p, .guide .result-title, .commitments :is(p, dt, dd),
.home-care-tax strong, .home-care-tax .text-link { color: var(--ink); }
.commitments .commitment-list div { border-color: var(--green); }
.home-care { background: var(--soft); }
.location-dot { background: var(--logo-green); }

.service-page-link {display:inline-block;margin:12px 0;}
.service-cover {width:100%;max-height:380px;object-fit:cover;border-radius:12px;margin:24px 0;}

.commitments { padding: clamp(20px, 3vw, 36px); border-radius: 18px; }
.commitments .commitment-layout { grid-template-columns: 1fr; gap: 20px; }
.commitments .commitment-layout p { max-width: 70ch; margin-top: 8px; }
.commitments .commitment-list { gap: 18px 30px; }
.commitments dt { display: flex; align-items: center; gap: 12px; }
.commitments .engagement-icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.commitments .engagement-icon img { width: 38px; height: 38px; }
.commitments .engagement-icon svg { width: 28px; height: 28px; }

/* Cadre commun des rubriques de la page d’accueil. */
#contenu {
  --band-space: clamp(24px, 3.5vw, 48px);
  --band-inset: clamp(18px, 3vw, 36px);
  --band-radius: clamp(14px, 2vw, 20px);
}
#contenu > section + section { margin-block-start: var(--band-space); }
#contenu > .hero { padding-block-end: 0; }
#contenu > .guide-section, #prestations { padding-block: 0; }
#contenu :is(.guide, .feature, .home-care, .commitments, .hero-figure) { border-radius: var(--band-radius); }
#contenu :is(.guide, .commitments, .feature-copy, .home-care-intro, .home-care-tax) { padding: var(--band-inset); }
#contenu > :is(.reasons, .partners, .hiring, .contact) {
  padding: var(--band-inset);
  border: 1px solid var(--line);
  border-radius: var(--band-radius);
  background: var(--white);
}
#contenu > :is(.reasons, .hiring) { background: var(--soft); }
#contenu > .contact { margin-block-end: var(--band-space); }

#fin-de-chantier { border-color: var(--logo-green); background: var(--logo-green); }
#fin-de-chantier .feature-copy :is(p, .eyebrow, li) { color: var(--ink); }
#contenu > .commitments { background: var(--soft); }
#contenu > :is(.reasons,.hiring) { background: var(--white); }
.contact-details .location-map { gap: 12px; }
.location-map iframe { display:block; width:100%; height:230px; border:0; border-radius:10px; }
