/* Dark theme: deep navy surfaces, off-white text, gold accents. Loads last; remove its <link> to go back to light. */
:root, body {
  color-scheme: dark;
  --surface: #071328;
  --surface-alt: #0c1d3a;
  --ink: #f2efe8;
  --muted: #a7a29a;
  --hairline: #ffffff24;
  --neutral--black: #f2efe8;
  --neutral--white: #0c1d3a;
  --neutral--neutral-200: #0c1d3a;
  --neutral--neutral-400: #ffffff2e;
  --neutral--neutral-500: #8d897f;
  --neutral--neutral-600: #c9c4ba;
  --neutral--neutral-800: #f2efe8;
  --brand--secondary-100: #071328;
  --brand--primary: #c9a361;          /* gold takes the accent role */
  --brand-gold-text: #d8b878;
}
body, .page-wrapper, .main-wrapper, .section:not(.is-full), #service-section, #faq-section { background-color: var(--surface); color: var(--ink); }
h1, h2, h3, h4, h5, h6, .hero_heading, .heading-style-h4, .heading-style-h5, .process_title, .milestone_heading { color: var(--ink); }
p, .hero_paragraph, .text-small, .about_text, .max-width-medium, .faq_accordion-paragraph, .process_content-wrap, .info-link { color: var(--muted); }

/* the grid pattern and the fades must blend into navy */
.hero_section-mask { background-image: linear-gradient(#07132800, #071328); }
.service_box { background: transparent; border-top-color: var(--ink); }
.section { background-blend-mode: normal; }

/* keep the statue exactly as in the light version */
.hero_image { filter: none; }

/* header */
.navbar, .nav_content-wrap, .nav_grid.container-large { background-color: #071328eb; border-color: var(--hairline); }
.navbar { backdrop-filter: blur(10px); }
.nav_link, .nav_title, .menu-button { color: var(--ink); }
.nav_logo-wrap.brand-lockup, .brand-lockup { color: var(--ink); }
.brand-sub { color: var(--brand--secondary); }

/* buttons: gold on navy */
.button, .button.w-variant-6305b1b7-88af-98eb-d02a-975ed448abf7, .button_form { background-color: var(--brand--secondary); color: #071328; }
.button:hover, .button_form:hover { background-color: var(--ink); color: #071328; }
.locale-btn { color: var(--ink); }

/* icons and panels */
.philosophy_icon-wrap { background-color: #ffffff14; }
.philosophy-image.brand-panel { background: #0c1d3a; border: 1px solid var(--hairline); }
.service_icon-wrap, [class*="service_icon"] { background-color: #ffffff12; }
img[src$=".svg"]:not(.locale-flag) { filter: none; }

/* form */
.form-wrapper { background-color: #0c1d3a; border-color: var(--hairline); }
.form_input { background-color: #071328; color: var(--ink); border-color: #ffffff33; }
.form_input::placeholder { color: #8d897f; }
.form_label, .checkbox_text, .contact-checkbox { color: var(--ink); }
.info-box-wrap { border-left-color: var(--hairline); color: var(--ink); }

.intro_box-top, .intro_box-bottom { background-color: #040c1c; }


/* map section */
.map-section { padding: 6rem 2.5rem; border-top: 1px solid var(--hairline); }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; align-items: center; max-width: 82.5rem; margin: 0 auto; }
.map-info .heading-style-h3 { margin: .75rem 0 1.25rem; }
.map-text { margin: 0 0 .5rem; color: var(--muted); }
.map-button { margin-top: 1.5rem; }
.map-frame { aspect-ratio: 16 / 10; border: 1px solid var(--hairline); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
@media (max-width: 767px) { .map-section { padding: 4rem 1.25rem; } .map-wrap { grid-template-columns: 1fr; gap: 2rem; } .map-frame { aspect-ratio: 4 / 3; } }

/* floating WhatsApp button, above the Webflow badge */
.wa-float { position: fixed; right: 20px; bottom: 64px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px;
  border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font: 600 .9375rem/1 var(--font-family--body);
  box-shadow: 0 10px 30px #0006; transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px #0008; }
.wa-float:focus-visible { outline: 2px solid var(--brand--secondary); outline-offset: 3px; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 479px) { .wa-float { width: 52px; padding: 0; justify-content: center; } .wa-label { display: none; } }

/* "Un acte à établir ?" band: the template's light background showed through while the photo zooms in */
.section.is-full, .section.is-full .sticky_content-wrap { background-color: var(--surface); }
.section.is-full .text-color-alternate, .section.is-full .message_paragraph { color: var(--ink); }
.section.is-full .button { background-color: var(--brand--secondary); color: #071328; }
.section.is-full .button:hover { background-color: var(--ink); color: #071328; }


/* service icons: one size in every row (they shrank when the title wrapped to two lines) */
.service_box .icon-1x1-large { flex: none; width: 64px; height: 64px; }

/* engagements on phones: icon always above its text, on the left, instead of jumping sides */
@media (max-width: 767px) {
  .philosophy_box, .philosophy_box.is-top-left, .philosophy_box.is-top-rightt, .philosophy_box.is-bottom-left, .philosophy_box.is-bottom-right {
    align-items: flex-start; justify-content: flex-start; gap: 1.5rem; }
}
