:root {
  --glg-black: #000000;
  --glg-green: #61bc47;
  --glg-green-dark: #4e9139;
  --glg-ink: #172018;
  --glg-muted: #556057;
  --glg-cream: #f5f7f2;
  --glg-soft-green: #eaf5e6;
  --glg-line: #dce3da;
  --glg-white: #ffffff;
  --glg-radius: 18px;
  --glg-shadow: 0 18px 50px rgba(23, 32, 24, .10);
}

html { scroll-behavior: smooth; }
body { color: var(--glg-ink); font-family: Montserrat, Arial, sans-serif; }
body, button, input, select, textarea { font-family: Montserrat, Arial, sans-serif; }
a { color: var(--glg-green-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--glg-green);
  outline-offset: 3px;
}
.glg-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.glg-site-header { position: relative; z-index: 50; background: var(--glg-white) !important; color: var(--glg-ink); border-top: 3px solid var(--glg-black); border-bottom: 1px solid var(--glg-line); box-shadow: 0 5px 20px rgba(23,32,24,.05); }
.glg-header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.glg-brand { display: block; flex: 0 0 auto; }
.glg-brand img { display: block; width: 225px; height: auto; }
.glg-site-nav { display: flex !important; align-items: center; gap: 24px; }
.glg-nav-list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.glg-site-header .glg-nav-list > li > a {
  position: relative;
  display: flex;
  min-height: 88px;
  align-items: center;
  color: var(--glg-black) !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none !important;
  white-space: nowrap;
}
.glg-site-header .glg-nav-list > li > a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--glg-green);
  content: '';
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}
.glg-site-header .glg-nav-list > li > a:hover,
.glg-site-header .glg-nav-list > li > a:focus-visible,
.glg-site-header .glg-nav-list > .current-menu-item > a,
.glg-site-header .glg-nav-list > .current_page_item > a { color: var(--glg-green-dark) !important; }
.glg-site-header .glg-nav-list > li > a:hover::after,
.glg-site-header .glg-nav-list > li > a:focus-visible::after,
.glg-site-header .glg-nav-list > .current-menu-item > a::after,
.glg-site-header .glg-nav-list > .current_page_item > a::after { opacity: 1; transform: scaleX(1); }
.glg-header-call { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 999px; background: var(--glg-green); color: var(--glg-black); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.glg-header-call:hover { background: var(--glg-green-dark); color: var(--glg-white); }
.glg-menu-toggle { display: none !important; width: 46px; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--glg-line); border-radius: 10px; background: var(--glg-white); color: var(--glg-ink); padding: 10px; }
.glg-menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.glg-menu-toggle-icon, .glg-menu-toggle-icon::before, .glg-menu-toggle-icon::after { display: block; width: 22px; height: 2px; background: currentColor; content: ''; }
.glg-menu-toggle-icon { position: relative; }
.glg-menu-toggle-icon::before { position: absolute; top: -7px; }
.glg-menu-toggle-icon::after { position: absolute; top: 7px; }

.elementor-widget-container > .glg-site-header,
.elementor-widget-container > .glg-site-footer,
.elementor-widget-container > .glg-faq { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.glg-page-hero { background: var(--glg-cream); overflow: hidden; }
.glg-page-hero .elementor-heading-title { max-width: 820px; }
.glg-eyebrow .elementor-heading-title { letter-spacing: .09em; text-transform: uppercase; }
.glg-display .elementor-heading-title { text-wrap: balance; }
.glg-lead, .glg-lead p { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; color: var(--glg-muted); }
.glg-copy, .glg-copy p { font-size: 16px; line-height: 1.75; color: var(--glg-muted); }
.glg-section-heading .elementor-heading-title { text-wrap: balance; }
.glg-section-intro { max-width: 720px; }
.glg-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.glg-btn .elementor-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; }
.glg-btn-primary .elementor-button { background: var(--glg-green); color: var(--glg-black); }
.glg-btn-primary .elementor-button:hover { background: var(--glg-green-dark); color: var(--glg-white); }
.glg-btn-secondary .elementor-button { background: transparent; color: var(--glg-ink); border: 2px solid var(--glg-ink); }
.glg-btn-secondary .elementor-button:hover { background: var(--glg-ink); color: var(--glg-white); }

.glg-hero-visual { position: relative; min-height: 480px; border-radius: 26px; overflow: hidden; background: linear-gradient(145deg, #dcebd6, #f6f8f3 55%); box-shadow: var(--glg-shadow); }
.glg-hero-visual::before, .glg-hero-visual::after { position: absolute; content: ''; transform: rotate(-35deg); border-radius: 40px; background: var(--glg-green); }
.glg-hero-visual::before { width: 410px; height: 70px; top: 90px; left: -40px; }
.glg-hero-visual::after { width: 360px; height: 70px; top: 88px; right: -130px; background: var(--glg-green-dark); }
.glg-visual-building { position: absolute; inset: 175px 48px 42px; padding: 32px; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 12px 35px rgba(0,0,0,.10); }
.glg-visual-building strong { display: block; margin-bottom: 10px; font-size: 23px; }
.glg-visual-building p { margin: 0; color: var(--glg-muted); line-height: 1.6; }
.glg-visual-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.glg-visual-dots span { height: 45px; border-radius: 8px; background: var(--glg-soft-green); border: 1px solid #d6e5d0; }

.glg-stat-card, .glg-feature-card, .glg-step-card, .glg-info-card { height: 100%; border: 1px solid var(--glg-line); border-radius: var(--glg-radius); background: var(--glg-white); box-shadow: 0 8px 28px rgba(23,32,24,.05); }
.glg-stat-card .elementor-heading-title { color: var(--glg-green-dark); }
.glg-feature-card:hover { transform: translateY(-3px); box-shadow: var(--glg-shadow); }
.glg-feature-card { transition: transform .2s ease, box-shadow .2s ease; }
.glg-card-index .elementor-heading-title { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--glg-soft-green); color: var(--glg-green-dark); }
.glg-warm-panel { border-radius: 24px; background: var(--glg-soft-green); }
.glg-dark-panel { border-radius: 24px; background: var(--glg-black); color: var(--glg-white); }
.glg-dark-panel .elementor-heading-title, .glg-dark-panel p { color: var(--glg-white); }
.glg-placeholder-image { min-height: 320px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(145deg, #dfead9, #f6f8f3); color: var(--glg-green-dark); font-weight: 700; text-align: center; border: 1px dashed #a5be9e; }

.glg-site-footer { background: var(--glg-soft-green); color: var(--glg-black) !important; padding: 64px 0 22px; }
.glg-footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: clamp(50px, 7vw, 95px); align-items: start; }
.glg-footer-brand img { display: block; width: 330px; max-width: 100%; height: auto; }
.glg-site-footer h2, .glg-site-footer li, .glg-site-footer p { color: var(--glg-black) !important; }
.glg-site-footer h2 { font-size: 20px; margin: 4px 0 25px; }
.glg-site-footer h2::after { display: block; width: 58px; height: 3px; margin-top: 13px; border-radius: 999px; background: var(--glg-green); content: ''; }
.glg-site-footer ul { list-style: none; margin: 0; padding: 0; }
.glg-site-footer li { margin: 0 0 14px; line-height: 1.5; }
.glg-site-footer a:not(.glg-social-link) { color: var(--glg-black) !important; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.glg-site-footer li a { text-decoration: none; }
.glg-site-footer li a:hover { color: var(--glg-green-dark) !important; text-decoration: underline; }
.glg-footer-socials { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.glg-site-footer .glg-social-link { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 2px solid var(--glg-green-dark); border-radius: 50%; background: var(--glg-green-dark); color: var(--glg-white); transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.glg-site-footer .glg-social-link svg { width: 25px; height: 25px; fill: currentColor; }
.glg-site-footer .glg-social-instagram { background: transparent; color: var(--glg-green-dark); }
.glg-site-footer .glg-social-link:hover { background: var(--glg-green); border-color: var(--glg-green); color: var(--glg-white); transform: translateY(-2px); }
.glg-footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 54px; padding-top: 22px; border-top: 1px solid #9abc90; font-size: 13px; }
.glg-footer-bottom p { margin: 0; }

.glg-faq { width: 100%; padding: clamp(58px, 8vw, 92px) 0; background: var(--glg-cream); color: var(--glg-ink); }
.glg-faq-inner { width: min(1600px, calc(100% - 40px)); margin-inline: auto; }
.glg-faq-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.glg-faq-eyebrow { margin: 0 0 12px; color: var(--glg-green-dark); font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.glg-faq-heading h2 { margin: 0; color: var(--glg-black); font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.glg-faq-heading > p:last-child { max-width: 680px; margin: 18px auto 0; color: var(--glg-muted); font-size: 17px; line-height: 1.7; }
.glg-faq-list { display: grid; gap: 12px; }
.glg-faq-item { overflow: hidden; border: 1px solid var(--glg-line); border-radius: 14px; background: var(--glg-white); box-shadow: 0 6px 22px rgba(23,32,24,.04); }
.glg-faq-item[open] { border-color: #bdd8b5; box-shadow: 0 10px 28px rgba(23,32,24,.07); }
.glg-faq-item summary { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; color: var(--glg-black); font-size: 17px; font-weight: 700; line-height: 1.45; cursor: pointer; list-style: none; }
.glg-faq-item summary::-webkit-details-marker { display: none; }
.glg-faq-item summary::marker { content: ''; }
.glg-faq-item summary:hover { color: var(--glg-green-dark); }
.glg-faq-item summary:focus-visible { outline: 3px solid var(--glg-green); outline-offset: -3px; }
.glg-faq-icon { position: relative; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--glg-soft-green); }
.glg-faq-icon::before, .glg-faq-icon::after { position: absolute; top: 50%; left: 50%; width: 15px; height: 2px; border-radius: 999px; background: var(--glg-green-dark); content: ''; transform: translate(-50%, -50%); }
.glg-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .18s ease; }
.glg-faq-item[open] .glg-faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.glg-faq-answer { padding: 0 78px 22px 22px; }
.glg-faq-answer p { margin: 0; color: var(--glg-muted); font-size: 16px; line-height: 1.75; }
.glg-faq-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; padding: 28px 30px; border-radius: var(--glg-radius); background: var(--glg-soft-green); }
.glg-faq-contact strong { display: block; margin-bottom: 7px; color: var(--glg-black); font-size: 20px; }
.glg-faq-contact p { margin: 0; color: var(--glg-muted); line-height: 1.6; }
.glg-faq-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.glg-faq-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid var(--glg-green-dark); border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.glg-faq-button-primary { background: var(--glg-green); color: var(--glg-black) !important; }
.glg-faq-button-primary:hover { background: var(--glg-green-dark); color: var(--glg-white) !important; }
.glg-faq-button-secondary { background: var(--glg-white); color: var(--glg-green-dark) !important; }
.glg-faq-button-secondary:hover { background: var(--glg-green-dark); color: var(--glg-white) !important; }

.glg-form { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--glg-line); border-radius: var(--glg-radius); background: var(--glg-white); box-shadow: var(--glg-shadow); }
.glg-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.glg-form p { margin: 0; }
.glg-form-wide { grid-column: 1 / -1; }
.glg-form label { display: block; margin-bottom: 8px; color: var(--glg-ink); font-size: 14px; font-weight: 700; }
.glg-form input, .glg-form select, .glg-form textarea { width: 100%; min-height: 52px; border: 1px solid #aeb8ac; border-radius: 10px; background: var(--glg-white); color: var(--glg-ink); padding: 12px 14px; font-size: 16px; }
.glg-form textarea { min-height: 145px; resize: vertical; }
.glg-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; line-height: 1.55; }
.glg-consent input { width: 20px; min-height: 20px; margin-top: 2px; flex: 0 0 20px; }
.glg-submit { min-height: 52px; margin-top: 24px; border: 0; border-radius: 999px; background: var(--glg-green); color: var(--glg-black); padding: 12px 24px; font-size: 16px; font-weight: 700; cursor: pointer; }
.glg-submit:hover { background: var(--glg-green-dark); color: var(--glg-white); }
.glg-form-help { margin-top: 18px !important; color: var(--glg-muted); font-size: 14px; line-height: 1.6; }
.glg-form-notice { margin-bottom: 18px; padding: 15px 18px; border-radius: 10px; font-weight: 600; }
.glg-form-success { background: var(--glg-soft-green); color: #275c1b; }
.glg-form-error { background: #fff0ee; color: #832b20; }
.glg-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Estatik : style volontairement léger pour conserver la compatibilité entre versions. */
.es-listings, .es-listings__list { gap: 24px !important; }
.es-listing, .es-property, .es-listing__item, .es-listings__item { border-color: var(--glg-line) !important; border-radius: var(--glg-radius) !important; overflow: hidden; box-shadow: 0 8px 28px rgba(23,32,24,.07) !important; }
.es-listing a, .es-property a { color: var(--glg-ink); }
.es-btn, .es-button, .es-search__submit, .es-request-form__submit { min-height: 48px !important; border-radius: 999px !important; background: var(--glg-green) !important; border-color: var(--glg-green) !important; color: var(--glg-black) !important; font-weight: 700 !important; }
.es-btn:hover, .es-button:hover, .es-search__submit:hover, .es-request-form__submit:hover { background: var(--glg-green-dark) !important; border-color: var(--glg-green-dark) !important; color: var(--glg-white) !important; }
.es-search, .es-search-form { border-radius: var(--glg-radius) !important; background: var(--glg-cream) !important; }

@media (max-width: 860px) {
  .glg-menu-toggle { display: inline-flex !important; }
  .glg-site-nav { display: none !important; position: absolute; top: 92px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 20px; padding: 24px max(20px, calc((100vw - 1180px) / 2)); background: var(--glg-white); border-bottom: 1px solid var(--glg-line); box-shadow: 0 18px 35px rgba(0,0,0,.10); }
  .glg-site-nav.is-open { display: flex !important; }
  .glg-nav-list { align-items: stretch; flex-direction: column; gap: 0; }
  .glg-site-header .glg-nav-list > li > a { display: flex; min-height: 50px; padding: 8px 0; font-size: 16px; }
  .glg-site-header .glg-nav-list > li > a::after { right: auto; bottom: 3px; width: 48px; }
  .glg-header-call { align-self: flex-start; }
  .glg-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 60px; }
  .glg-footer-brand { grid-column: 1 / -1; }
  .glg-footer-brand img { width: 300px; }
}

@media (max-width: 767px) {
  .glg-shell { width: min(100% - 28px, 1180px); }
  .glg-header-inner { min-height: 78px; }
  .glg-brand img { width: 190px; }
  .glg-site-nav { top: 78px; }
  .glg-hero-visual { min-height: 350px; }
  .glg-visual-building { inset: 145px 20px 25px; padding: 24px; }
  .glg-form-grid, .glg-footer-grid { grid-template-columns: 1fr; }
  .glg-form-wide { grid-column: auto; }
  .glg-site-footer { padding-top: 48px; }
  .glg-footer-grid { gap: 38px; }
  .glg-footer-brand { grid-column: auto; }
  .glg-footer-brand img { width: min(320px, 100%); }
  .glg-footer-bottom { align-items: flex-start; flex-direction: column; }
  .glg-faq-inner { width: calc(100% - 28px); }
  .glg-faq-heading { margin-bottom: 28px; text-align: left; }
  .glg-faq-heading > p:last-child { margin-left: 0; }
  .glg-faq-item summary { min-height: 68px; padding: 17px 16px; font-size: 16px; }
  .glg-faq-answer { padding: 0 16px 19px; }
  .glg-faq-contact { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
  .glg-faq-actions, .glg-faq-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
