@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

:root {
  --forest: #154b3c;
  --forest-deep: #10392f;
  --navy: #102b3a;
  --ink: #1a292b;
  --muted: #5e6d69;
  --paper: #ffffff;
  --mist: #f2f6f2;
  --line: #d9e4dc;
  --accent: #c7a36a;
  --radius: 18px;
  --shadow: 0 16px 44px rgba(15, 42, 37, .09);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.site-body img { display: block; max-width: 100%; }
.site-body a { color: inherit; text-decoration: none; }
.site-body button, .site-body input, .site-body select, .site-body textarea { font: inherit; }
.site-body h1, .site-body h2, .site-body h3, .site-body h4 { font-family: 'Syne', 'Trebuchet MS', sans-serif; line-height: 1.18; letter-spacing: -.035em; }
.site-body h1, .site-body h2, .site-body h3, .site-body p { margin-top: 0; }
.site-body :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 1000; background: white; color: var(--navy); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(17,74,58,.12); box-shadow: 0 4px 24px rgba(8,35,29,.04); backdrop-filter: blur(16px); }
.site-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header.is-scrolled .site-header__inner { min-height: 76px; }
.site-brand { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; flex: 0 0 auto; color: var(--forest-deep); line-height: 1.1; }
.site-brand__mark { min-width: 134px; min-height: 37px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid currentColor; border-radius: 4px; padding: 5px 10px; font: 800 .82rem/1 'Syne', sans-serif; letter-spacing: .08em; text-align: center; }
.site-brand__mark img { max-width: 148px; max-height: 40px; object-fit: contain; }
.site-brand__name { display: block; margin-top: 6px; font: 800 .7rem/1.1 'Syne', sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 40px; flex: 1; }
.site-nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; padding: 0; margin: 0; }
.site-nav__links a { position: relative; display: block; color: var(--ink); font-weight: 700; font-size: .92rem; white-space: nowrap; padding: 13px 0; }
.site-nav__links a::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 0; height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav__links a:hover, .site-nav__links a[aria-current=page] { color: var(--forest); }
.site-nav__links a:hover::after, .site-nav__links a[aria-current=page]::after { transform: scaleX(1); }
.site-menu-button { display: none; appearance: none; border: 1px solid var(--line); background: white; width: 46px; height: 46px; border-radius: 8px; padding: 10px; cursor: pointer; }
.site-menu-button span { display: block; height: 2px; background: var(--forest-deep); margin: 5px 0; transition: transform .2s, opacity .2s; }
.site-menu-button[aria-expanded=true] span:first-child { transform: translateY(7px) rotate(45deg); }
.site-menu-button[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.site-menu-button[aria-expanded=true] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 13px 24px; border: 1px solid transparent; border-radius: 7px; font: 800 .84rem/1.2 'Syne', sans-serif; letter-spacing: .035em; text-align: center; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--forest); color: white !important; box-shadow: 0 8px 20px rgba(21,75,60,.14); }
.button--primary:hover { background: var(--forest-deep); box-shadow: 0 12px 24px rgba(21,75,60,.2); }
.button--ghost { border-color: rgba(255,255,255,.75); color: white !important; background: rgba(255,255,255,.06); }
.button--ghost:hover { background: white; color: var(--forest-deep) !important; }
.button--light { color: var(--forest-deep) !important; background: white; }
.button--light:hover { background: #ecf3ec; }
.text-link { color: var(--forest) !important; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { text-decoration: underline; }
.eyebrow { display: inline-block; color: var(--forest); font: 800 .72rem/1.4 'Syne', sans-serif; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--light { color: #e5d2ad; }

.hero { position: relative; min-height: min(760px, calc(100svh - 92px)); display: flex; align-items: center; overflow: hidden; background: var(--navy); color: white; }
.hero__image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center; }
.hero::after { content: ''; background: linear-gradient(90deg, rgba(8,31,36,.88) 0%, rgba(12,43,46,.76) 38%, rgba(11,34,40,.34) 72%, rgba(11,34,40,.18) 100%); }
.hero__inner { position: relative; z-index: 1; padding-block: 100px 110px; }
.hero__content { max-width: 760px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 50px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #b9dfb5; }
.hero h1 { font-size: clamp(3.2rem, 6.5vw, 6.4rem); line-height: 1.04; margin: 28px 0 22px; max-width: 12ch; overflow-wrap: anywhere; }
.hero__lead { max-width: 660px; font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 700; margin-bottom: 12px; }
.hero__text { max-width: 590px; color: #e0e9e3; font-size: 1.05rem; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__index { position: absolute; z-index: 1; bottom: 36px; right: max(32px, calc((100vw - 1200px)/2)); color: rgba(255,255,255,.78); font: 800 .72rem 'Syne',sans-serif; letter-spacing: .2em; }

.section { padding: clamp(74px, 8vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy); color: white; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head__title { font-size: clamp(2rem, 3.9vw, 3.55rem); margin: 14px 0 16px; color: var(--navy); }
.section-head__text { color: var(--muted); font-size: 1.04rem; max-width: 640px; margin-bottom: 0; }
.section-head--center .section-head__text { margin-inline: auto; }
.section-head--light .section-head__title { color: white; }
.section-head--light .section-head__text { color: #cddfdb; }
.feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(42px,6vw,90px); align-items: center; }
.feature--reverse .feature__visual { order: 2; }
.feature__visual { position: relative; min-width: 0; }
.feature__visual img { width: 100%; height: clamp(350px,39vw,530px); object-fit: cover; border-radius: 12px; }
.feature__visual::after { content: ''; position: absolute; right: -16px; bottom: -16px; width: 38%; height: 28%; border-right: 4px solid var(--accent); border-bottom: 4px solid var(--accent); border-radius: 0 0 12px 0; pointer-events: none; }
.feature__copy { min-width: 0; }
.feature__copy h2 { color: var(--navy); font-size: clamp(2rem,3.7vw,3.4rem); margin: 12px 0 20px; }
.feature__copy p { color: var(--muted); font-size: 1.04rem; }
.feature__copy .button { margin-top: 14px; }
.feature__number { display: block; color: var(--accent); font: 800 .8rem 'Syne',sans-serif; letter-spacing: .2em; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.content-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 20px rgba(15,42,37,.035); display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.content-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.content-card__image { width: 100%; height: 236px; object-fit: cover; }
.content-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.content-card__meta { color: var(--forest); font: 800 .69rem/1.5 'Syne',sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.content-card h2, .content-card h3 { color: var(--navy); font-size: clamp(1.25rem,1.6vw,1.55rem); margin: 12px 0; }
.content-card p { color: var(--muted); margin-bottom: 24px; }
.content-card .text-link { margin-top: auto; }
.section__action { margin-top: 38px; text-align: center; }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.trust-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.trust-card__number { display: block; color: var(--accent); font: 800 2.4rem/1 'Syne',sans-serif; margin-bottom: 34px; }
.trust-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 12px; }
.trust-card p { color: var(--muted); margin-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.gallery-grid__item { position: relative; overflow: hidden; border-radius: 10px; min-height: 330px; background: var(--navy); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-grid__item:hover img { transform: scale(1.04); }
.gallery-grid__item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 55px 22px 20px; color: white; background: linear-gradient(transparent,rgba(5,27,31,.76)); font-weight: 800; }
.cta-band { background: linear-gradient(120deg,var(--forest-deep),var(--navy)); color: white; padding: 72px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: clamp(1.8rem,3.4vw,3rem); margin: 10px 0; }
.cta-band p { color: #d8e6df; margin: 0; }
.contact-strip { border-top: 1px solid var(--line); }
.contact-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-strip h2 { font-size: clamp(1.6rem,2.8vw,2.6rem); margin: 10px 0 0; }
.contact-strip p { color: var(--muted); margin: 0; }

.page-hero { position: relative; overflow: hidden; background: var(--navy); color: white; padding: 94px 0 100px; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .22; background: url('../images/model/hero-chantier.webp') center 46%/cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,rgba(5,31,37,.88),rgba(14,55,51,.62)); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4.8rem); max-width: 900px; margin: 15px 0; overflow-wrap: anywhere; }
.page-hero p { font-size: 1.1rem; max-width: 690px; color: #deebe5; margin-bottom: 0; }
.page-hero__back { display: inline-block; margin-bottom: 20px; font-weight: 700; color: #d8e8df !important; }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(32px,5vw,70px); }
.content-layout img { width: 100%; height: 440px; object-fit: cover; border-radius: 12px; }
.prose { max-width: 780px; color: #384b49; font-size: 1.06rem; }
.prose h2, .prose h3 { color: var(--navy); margin: 1.6em 0 .6em; }
.prose p { margin-bottom: 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { color: var(--forest); text-decoration: underline; }
.article-body { max-width: 850px; margin-inline: auto; }
.article-body__image { width: 100%; max-height: 500px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 34px; }
.article-body__lead { color: var(--navy); font-size: 1.28rem; font-weight: 600; }
.filter-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,230px) auto; gap: 12px; margin-bottom: 40px; }
.filter-form input, .filter-form select, .form-panel input:not([type=checkbox]), .form-panel select, .form-panel textarea { width: 100%; min-width: 0; border: 1px solid #cbd8d0; border-radius: 7px; background: white; padding: 13px 15px; color: var(--ink); }
.filter-form input:focus, .filter-form select:focus, .form-panel input:focus, .form-panel select:focus, .form-panel textarea:focus { border-color: var(--forest); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,6vw,90px); align-items: start; }
.contact-details h2 { font-size: clamp(2rem,3vw,3rem); color: var(--navy); margin: 12px 0; }
.contact-details p { color: var(--muted); }
.contact-details__list { margin-top: 36px; display: grid; gap: 20px; }
.contact-details__item { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-details__item b { color: var(--forest); display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-details__item span, .contact-details__item a { display: block; font-size: 1.08rem; overflow-wrap: anywhere; }
.form-panel { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,4vw,48px); }
.form-panel h2 { color: var(--navy); font-size: 1.8rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-panel label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 18px; }
.form-panel input:not([type=checkbox]), .form-panel select, .form-panel textarea { display: block; margin-top: 6px; font-weight: 400; }
.form-panel textarea { resize: vertical; }
.form-panel__consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; }
.form-panel__consent input { margin-top: 6px; flex: 0 0 auto; }
.form-panel__consent a { color: var(--forest); text-decoration: underline; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }
.alert--success { background: #d8eee0; color: #174e33; }
.alert--error { background: #fce1de; color: #8f251c; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pagination-wrap { margin-top: 40px; }

.site-footer { background: #102b2a; color: #e3eee7; padding: 72px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr 1.05fr; gap: clamp(24px,4vw,64px); }
.site-footer .site-brand { color: white; margin-bottom: 22px; }
.site-footer h2, .site-footer h3 { color: white; font-size: 1rem; margin: 0 0 18px; }
.site-footer p { color: #bfd0c8; }
.site-footer__links { display: grid; align-content: start; gap: 9px; }
.site-footer__links a { color: #d3e0d8; font-size: .9rem; }
.site-footer__links a:hover { color: white; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 58px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #a9bdb1; font-size: .83rem; }
.site-footer__bottom a { color: #d3e0d8; }

@media (max-width: 1020px) {
  .site-header__inner { min-height: 76px; gap: 16px; }
  .site-menu-button { display: block; margin-left: auto; flex: 0 0 auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; border-top: 1px solid var(--line); box-shadow: 0 18px 28px rgba(14,52,43,.12); padding: 16px max(24px,calc((100vw - 1200px)/2)); }
  .site-nav.is-open { display: block; }
  .site-nav__links { display: grid; gap: 0; }
  .site-nav__links li + li { border-top: 1px solid var(--line); }
  .site-nav__links a { padding: 13px 4px; }
  .site-nav__links a::after { display: none; }
  .site-nav__cta { display: flex; margin-top: 16px; width: 100%; }
  .site-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-container { width: min(100% - 40px,1200px); }
  .hero { min-height: 670px; }
  .hero__image { object-position: 58% center; }
  .hero::after { background: linear-gradient(90deg,rgba(7,31,35,.88),rgba(7,31,35,.6)); }
  .hero__inner { padding-block: 86px; }
  .hero h1 { font-size: clamp(2.8rem,10vw,4.5rem); }
  .hero__index { display: none; }
  .feature, .content-layout, .contact-grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__visual { order: 0; }
  .feature__visual img, .content-layout img { height: clamp(260px,55vw,440px); }
  .card-grid, .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid__item { min-height: 260px; }
  .gallery-grid__item:first-child { grid-column: 1/-1; height: 330px; }
  .cta-band__inner, .contact-strip__inner { align-items: flex-start; flex-direction: column; }
  .filter-form { grid-template-columns: 1fr 1fr; }
  .filter-form .button { grid-column: 1/-1; }
  .page-hero { padding: 72px 0; }
}
@media (max-width: 520px) {
  .site-container { width: calc(100% - 32px); }
  .site-header__inner { min-height: 72px; }
  .site-brand__mark { min-width: 112px; font-size: .72rem; }
  .site-brand__name { font-size: .62rem; }
  .site-nav { padding-inline: 16px; }
  .hero { min-height: 620px; }
  .hero__inner { padding-block: 72px; }
  .hero h1 { font-size: clamp(2.55rem,11vw,3.4rem); }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .section { padding: 68px 0; }
  .card-grid, .trust-grid, .gallery-grid, .form-grid, .filter-form { grid-template-columns: 1fr; }
  .gallery-grid__item, .gallery-grid__item:first-child { min-height: 230px; height: 230px; grid-column: auto; }
  .content-card__image { height: 215px; }
  .trust-card { padding: 26px; }
  .cta-band { padding: 60px 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .site-footer__grid > :first-child { grid-column: 1/-1; }
  .site-footer__bottom { flex-direction: column; }
  .form-panel { padding: 22px; }
}
@media (max-width: 380px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > :first-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.pagination a { color: var(--forest); font-weight: 800; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; }
.pagination a:hover { background: var(--mist); }
.site-footer__links span { color: #d3e0d8; font-size: .9rem; overflow-wrap: anywhere; }
