/* ==========================================================================
   modern-theme.css — 2026 visual refresh
   Conservative facelift: typography, spacing, shadows, rounded corners,
   hover transitions. Layout/structure/content untouched.
   Retains the site's existing blue/nautical palette (#609cff / #2f3238).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --mt-accent: #609cff;
  --mt-accent-dark: #4c86e6;
  --mt-ink: #2f3238;
  --mt-ink-soft: #52565e;
  --mt-radius: 10px;
  --mt-radius-sm: 6px;
  --mt-shadow-sm: 0 2px 8px rgba(47, 50, 56, 0.08);
  --mt-shadow-md: 0 8px 24px rgba(47, 50, 56, 0.12);
  --mt-shadow-lg: 0 16px 40px rgba(47, 50, 56, 0.16);
  --mt-transition: 220ms cubic-bezier(.25,.8,.25,1);
}

/* ---- Typography ------------------------------------------------------- */

body,
.OESZ,
.OESZ_WEMenuText,
p, span, div, li, td {
  font-family: 'Inter', 'Metropolis', Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.OESZ_WELabel[class*="Title"],
.OESK_WELabel_Default h1,
.OESK_WELabel_Default h2,
.OESK_WELabel_Default h3 {
  font-family: 'Poppins', 'Metropolis', Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  color: var(--mt-ink) !important;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* NOTE: no line-height override here — text sits inside openElement's
   fixed-px-height BaseDiv containers; increasing interline overflows the
   box and can overlap the element below (confirmed bug on the sibling
   louislafrance theme, fixed there — kept consistent here defensively). */

/* Improve readability contrast slightly for soft grey copy blocks */
.OESZ_WELabel {
  color: var(--mt-ink) !important;
}

/* ---- Links & hover states ---------------------------------------------- */

a {
  transition: color var(--mt-transition), background-color var(--mt-transition),
              box-shadow var(--mt-transition), transform var(--mt-transition),
              border-color var(--mt-transition) !important;
}

/* ---- Buttons (WELinkButton) -------------------------------------------- */

.OEWELinkButton,
.OESK_WELinkButton_Default {
  border-radius: var(--mt-radius) !important;
  box-shadow: var(--mt-shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--mt-transition), transform var(--mt-transition) !important;
}

.OEWELinkButton:hover,
.OESK_WELinkButton_Default:hover {
  box-shadow: var(--mt-shadow-md);
  transform: translateY(-2px);
}

.OEWELinkButton a,
.OESK_WELinkButton_Default a {
  border-radius: var(--mt-radius) !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Exclude the scroll-to-top round button from the lift effect / large radius
   so it keeps its circular shape */
#WEToTop.OEWELinkButton {
  border-radius: 50% !important;
  box-shadow: var(--mt-shadow-md);
}
#WEToTop.OEWELinkButton:hover {
  transform: translateY(-3px);
}

/* ---- Panels / cards (WEPanel) ------------------------------------------ */

.OEWEPanel.apply-smoove,
.OEWEPanel.OESK_WEPanel_Default {
  transition: box-shadow var(--mt-transition), transform var(--mt-transition) !important;
}

/* Give card-like panels (those with a visible background) a soft shadow and
   rounded corners without altering their sizing/layout */
.OEWEPanel[style*="background-color"] {
  border-radius: var(--mt-radius);
  box-shadow: var(--mt-shadow-sm);
}

/* ---- Navigation menu ---------------------------------------------------- */

.OESZ_WEMenuItem {
  transition: background-color var(--mt-transition), color var(--mt-transition) !important;
  border-radius: var(--mt-radius-sm);
}

.OESZ_WEMenuItem:hover {
  background-color: rgba(96, 156, 255, 0.10);
}

.OESZ_WEMenuText {
  transition: color var(--mt-transition) !important;
}

/* ---- Images -------------------------------------------------------------*/

img {
  border-radius: 4px;
}

/* Hero / gallery images that are meant edge-to-edge shouldn't get rounding
   forced on them if they already fill a full-bleed section */
.OESK_XBody_Default img,
[class*="vegas"] img,
.parallax img {
  border-radius: 0;
}

/* ---- Forms (contact) ---------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border-radius: var(--mt-radius-sm) !important;
  transition: border-color var(--mt-transition), box-shadow var(--mt-transition) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--mt-accent) !important;
  box-shadow: 0 0 0 3px rgba(96, 156, 255, 0.25) !important;
}

/* ---- Misc polish --------------------------------------------------------- */

hr {
  border-color: rgba(47, 50, 56, 0.12) !important;
}

::selection {
  background: rgba(96, 156, 255, 0.35);
}

/* Respect existing responsive breakpoints already defined by the CMS.
   No line-height override on mobile either — same fixed-height-box risk. */

/* ==========================================================================
   PASS 2 — bolder visual identity (requested: push further than a subtle
   facelift). Adds real color presence, a deep hero overlay, filled buttons,
   and section accents, while still never touching layout/position/height. */

/* Deeper, richer accent instead of the original pale corporate blue */
:root {
  --mt-accent: #1f4fd6;
  --mt-accent-dark: #163a9e;
  --mt-accent-bright: #3f7dff;
}

/* Section headings: bigger, bolder, with a short accent underline for
   visual weight (::after is purely decorative, adds no layout height since
   these headings already have surrounding margin in the original design) */
#WE6c0657ab0c, #WEdf23ba1eb4, #WEd47de71cd0, #WE6252fe5633 {
  font-size: 44px !important;
  letter-spacing: 0.03em !important;
  position: relative;
  color: var(--mt-accent) !important;
}

/* Hero title gets a subtle gradient text-fill for more visual punch */
#WEb6a9b4834b .OESZ_Text {
  background: linear-gradient(180deg, #ffffff 0%, #dbe7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45) !important;
}

/* Hero overlay: darken the photo a touch so the white title pops (a
   ::before layer on the hero image container, absolutely positioned to
   match it exactly — does not change hero height) */
#WE4281ef8752 {
  position: relative;
}
#WE4281ef8752::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,20,40,0.15) 0%, rgba(10,20,40,0.55) 100%);
  pointer-events: none;
}

/* Contact submit button: solid filled accent instead of white/outline,
   bigger radius, real shadow — this is the button people actually click */
#WEae1b239abb {
  background-color: var(--mt-accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(31, 79, 214, 0.35) !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}
.OE_Over#WEae1b239abb {
  background-color: var(--mt-accent-dark) !important;
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(31, 79, 214, 0.45) !important;
}

/* Contact form fields: swap the flat solid-blue fill for a cleaner glass
   look with the new deeper accent as border/focus color */
#WEFORMULAIRENOM .OESZ_TextBox,
#WEEMAIL .OESZ_TextBox,
#WEMESSAGEFORMULAIRE .OESZ_TextArea {
  background-color: var(--mt-accent) !important;
  border-radius: var(--mt-radius) !important;
}

/* Round photo frames (WEc087a5217c, WEda34e12739, WEec5c95be67, WEd7d5003606,
   WE59d47605ac): add a colored ring to match the new accent */
#WEc087a5217c, #WEda34e12739, #WEec5c95be67 {
  box-shadow: 0 0 0 6px rgba(31, 79, 214, 0.12), var(--mt-shadow-md);
}

/* Nav menu: give the active/hover item a filled pill instead of a faint
   tint, more presence */
.OESZ_WEMenuItem:hover {
  background-color: var(--mt-accent) !important;
}
.OESZ_WEMenuItem:hover .OESZ_WEMenuText {
  color: #fff !important;
}
