/*
 * Millenium Management Consulting — interface institutionnelle premium
 * Charte : #41A5EE / #2B7CD3 / #103F91 / #323232
 * Titres : Montserrat — Corps : Times New Roman
 */
:root {
  --brand-primary: #103F91;
  --brand-secondary: #2B7CD3;
  --brand-accent: #41A5EE;
  --brand-text: #323232;
  --brand-ink: #102544;
  --brand-soft: #eef6ff;
  --brand-line: #dbe8f6;
  --white: #fff;
  --shadow-sm: 0 12px 34px rgba(16, 63, 145, .09);
  --shadow-md: 0 24px 70px rgba(16, 63, 145, .14);
  --shadow-lg: 0 34px 100px rgba(16, 63, 145, .21);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --header-height: 88px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; max-width: 100%; overflow-x: hidden; }
body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  min-width: 320px;
  color: var(--brand-text);
  background: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.search-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--brand-secondary); }

h1, h2, h3, h4, h5, h6,
.brand, .btn-primary, .btn-ghost, .btn-card, .header-cta,
.section-kicker, .eyebrow, .topbar, .primary-nav, .footer-column,
input, textarea, select, button, .flash {
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4 { margin: 0; color: var(--brand-primary); line-height: 1.12; letter-spacing: -.025em; }
p { margin: 0; }

.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 12px 18px;
  color: #fff; background: var(--brand-primary); border-radius: 10px;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.page-progress {
  position: fixed; z-index: 9999; inset: 0 0 auto; height: 3px;
  pointer-events: none; overflow: hidden;
}
.page-progress span {
  display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary));
  box-shadow: 0 0 18px rgba(65, 165, 238, .65); transition: width .35s ease;
}
body.is-navigating .page-progress span { width: 82%; transition-duration: 8s; }

/* Header */
.site-header {
  position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(219,232,246,.88); backdrop-filter: blur(18px);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 12px 36px rgba(16,63,145,.10); }
.topbar { color: #fff; background: linear-gradient(100deg, #0b347d, var(--brand-primary) 50%, #174fa9); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p, .topbar-links, .topbar a { display: flex; align-items: center; gap: 8px; }
.topbar-links { gap: 24px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: #bce6ff; }
.social-top { display: grid !important; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }

.nav-shell { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { width: 73px; height: 61px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { max-width: 180px; color: var(--brand-secondary); font-size: 15px; font-weight: 900; letter-spacing: -.03em; }
.brand small { width: max-content; margin-top: 5px; padding: 4px 7px; color: #fff; background: #323232; font-size: 10px; font-weight: 800; letter-spacing: .07em; }

.primary-nav { flex: 1; align-self: stretch; }
.primary-nav > ul { height: 100%; display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link-row { height: 100%; display: flex; align-items: center; }
.nav-link-row > a {
  position: relative; display: inline-flex; height: 100%; align-items: center; padding: 0 13px;
  color: #263c5c; font-size: 12.6px; font-weight: 750; white-space: nowrap; transition: color .2s;
}
.nav-link-row > a::after {
  position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; content: "";
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-primary)); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
.nav-item:hover .nav-link-row > a, .nav-item.is-active .nav-link-row > a { color: var(--brand-primary); }
.nav-item:hover .nav-link-row > a::after, .nav-item.is-active .nav-link-row > a::after { transform: scaleX(1); }
.submenu-toggle { width: 25px; height: 34px; margin-left: -10px; padding: 0; color: #61718a; background: transparent; border: 0; font-size: 10px; }
.submenu-toggle i { transition: transform .25s; }

.submenu {
  position: absolute; top: calc(100% - 1px); left: 50%; width: 470px; padding: 14px;
  display: grid; grid-template-columns: 145px 1fr; gap: 14px; visibility: hidden; opacity: 0;
  background: rgba(255,255,255,.99); border: 1px solid var(--brand-line); border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow-md); transform: translate(-50%, 14px); transition: opacity .22s, transform .22s, visibility .22s;
}
.nav-item:hover > .submenu, .nav-item:focus-within > .submenu, .nav-item.submenu-open > .submenu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.nav-item:hover .submenu-toggle i, .nav-item.submenu-open .submenu-toggle i { transform: rotate(180deg); }
.submenu-intro { padding: 18px 15px; color: #fff; background: linear-gradient(145deg, var(--brand-primary), var(--brand-secondary)); border-radius: 17px; }
.submenu-intro span { display: block; margin-bottom: 5px; color: #cbeaff; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.submenu-intro strong { display: block; font-size: 15px; line-height: 1.35; }
.submenu ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0; padding: 4px; list-style: none; }
.submenu li a { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 11px; color: #263c5c; border-radius: 11px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.submenu li a i { color: var(--brand-accent); font-size: 9px; opacity: 0; transform: translateX(-4px); transition: .2s; }
.submenu li a:hover, .submenu li a[aria-current="page"] { color: var(--brand-primary); background: var(--brand-soft); transform: translateX(2px); }
.submenu li a:hover i, .submenu li a[aria-current="page"] i { opacity: 1; transform: translateX(0); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.search-open { display: grid; place-items: center; width: 42px; height: 42px; color: var(--brand-primary); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 50%; transition: .25s; }
.search-open:hover { color: #fff; background: var(--brand-primary); transform: translateY(-2px); }
.header-cta, .btn-primary, .btn-ghost, .btn-card {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px;
  font-size: 12px; font-weight: 800; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.header-cta { min-height: 43px; padding: 0 18px; color: #fff; background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary)); box-shadow: 0 10px 24px rgba(16,63,145,.18); }
.header-cta:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(16,63,145,.26); }
.menu-toggle, .mobile-nav-head, .mobile-nav-actions, .nav-backdrop { display: none; }

/* Search */
.search-panel {
  position: absolute; z-index: 40; inset: 100% 0 auto; visibility: hidden; opacity: 0; padding: 26px 0;
  color: #fff; background: linear-gradient(110deg, #0b347d, #103f91 60%, #2677c9); box-shadow: var(--shadow-md); transform: translateY(-10px); transition: .25s;
}
.search-panel.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.search-panel-inner { position: relative; display: flex; align-items: end; gap: 24px; }
.search-panel form { flex: 1; }
.search-panel label { display: block; margin-bottom: 8px; color: #cbe9ff; font-size: 12px; font-weight: 700; }
.search-field { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 7px 7px 7px 18px; background: #fff; border-radius: 16px; }
.search-field i { color: var(--brand-secondary); }
.search-field input { min-width: 0; padding: 11px 0; color: #1d314f; background: transparent; border: 0; outline: 0; font-size: 14px; }
.search-field button { padding: 12px 18px; color: #fff; background: var(--brand-primary); border: 0; border-radius: 11px; font-size: 12px; font-weight: 800; }
.search-close { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }

/* Notifications */
.flash { position: fixed; z-index: 1200; top: 145px; right: 24px; max-width: 440px; padding: 15px 18px; border-radius: 14px; box-shadow: var(--shadow-md); font-size: 12px; font-weight: 700; animation: flashIn .45s var(--ease); }
.flash.success { color: #0f6a3e; background: #e9fff3; border: 1px solid #a9e8c8; }
.flash.error { color: #9f2531; background: #fff0f2; border: 1px solid #f1b8c0; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-12px); } }

/* Hero */
.page-hero {
  position: relative; min-height: clamp(600px, 78vh, 850px); overflow: hidden; display: grid; align-items: end;
  color: #fff; background: #eaf4ff;
}
.hero-slides, .hero-slide, .hero-slide::after { position: absolute; inset: 0; }
.hero-slide { margin: 0; opacity: 0; transform: scale(1.035); transition: opacity 1.5s ease, transform 7s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.07) saturate(1.06) contrast(1.02); }
.hero-slide::after {
  content: "";
  background: linear-gradient(90deg, rgba(8,35,82,.72) 0%, rgba(16,63,145,.43) 39%, rgba(16,63,145,.08) 72%, rgba(255,255,255,.03) 100%);
}
.hero-sheen { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 55%, rgba(5,27,64,.22)); pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding-bottom: clamp(82px, 10vh, 118px); }
.hero-content::before { display: block; width: 64px; height: 4px; margin-bottom: 24px; content: ""; background: var(--brand-accent); border-radius: 99px; box-shadow: 0 0 20px rgba(65,165,238,.6); }
.hero-kicker { display: inline-flex; margin-bottom: 15px; padding: 8px 13px; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.33); border-radius: 999px; backdrop-filter: blur(8px); font-family: Montserrat,Arial,sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-content h1 { max-width: 970px; color: #fff; font-size: clamp(39px, 5.3vw, 76px); font-weight: 900; text-wrap: balance; text-shadow: 0 4px 28px rgba(3,25,58,.2); }
.hero-content > p { max-width: 780px; margin-top: 22px; color: rgba(255,255,255,.94); font-size: clamp(19px, 2vw, 25px); line-height: 1.5; text-shadow: 0 2px 12px rgba(3,25,58,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.btn-primary { min-height: 50px; padding: 14px 23px; color: #fff; background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary)); box-shadow: 0 14px 32px rgba(8,44,101,.24); }
.hero-content .btn-primary { color: var(--brand-primary); background: #fff; box-shadow: 0 15px 38px rgba(4,25,60,.22); }
.hero-content .btn-primary:hover { color: #fff; background: var(--brand-secondary); }
.btn-ghost { min-height: 50px; padding: 13px 23px; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.62); backdrop-filter: blur(10px); }
.btn-ghost:hover { color: var(--brand-primary); background: #fff; transform: translateY(-2px); }
.hero-dots { position: absolute; z-index: 5; right: max(24px, calc((100vw - 1240px)/2)); bottom: 44px; display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; padding: 0; background: rgba(255,255,255,.48); border: 0; border-radius: 99px; transition: width .25s, background .25s; }
.hero-dot.is-active { width: 34px; background: #fff; }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 28px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; animation: cue 2s infinite; }
@keyframes cue { 50% { transform: translateY(6px); } }

/* Content */
.content-section { position: relative; overflow: hidden; padding: clamp(76px, 8vw, 118px) 0; color: var(--section-text); background: var(--section-bg); }
.content-section:nth-of-type(even)::before { position: absolute; top: -150px; right: -120px; width: 360px; height: 360px; content: ""; background: radial-gradient(circle, rgba(65,165,238,.10), transparent 68%); pointer-events: none; }
.section-heading { max-width: 850px; margin: 0 auto 46px; text-align: center; }
.section-kicker, .eyebrow { display: block; margin-bottom: 12px; color: var(--section-accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2, .split-copy h2, .contact-copy h2, .contact-form-panel h2, .cta-panel h2 { color: var(--brand-primary); font-size: clamp(31px, 4vw, 54px); font-weight: 850; text-wrap: balance; }
.section-subtitle { margin-top: 19px; color: #536477; font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.section-body { margin-top: 20px; color: #445469; font-size: 19px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.premium-card {
  position: relative; overflow: hidden; min-width: 0; color: var(--card-text); background: var(--card-bg);
  border: 1px solid var(--brand-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform .32s var(--ease), box-shadow .32s, border-color .32s;
}
.premium-card::after { position: absolute; inset: auto 0 0; height: 3px; content: ""; background: linear-gradient(90deg, var(--card-accent), var(--brand-primary)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.premium-card:hover { transform: translateY(-7px); border-color: rgba(65,165,238,.55); box-shadow: var(--shadow-md); }
.premium-card:hover::after { transform: scaleX(1); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--brand-soft); }
.card-image { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) saturate(1.03); transition: transform .7s var(--ease); }
.premium-card:hover .card-image { transform: scale(1.045); }
.card-content { padding: 27px; }
.icon-bubble { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 19px; color: var(--brand-primary); background: linear-gradient(145deg, #f7fbff, #e2f2ff); border: 1px solid #cfe6fb; border-radius: 15px; box-shadow: 0 9px 22px rgba(16,63,145,.09); font-family: Montserrat,Arial,sans-serif; }
.premium-card h3 { color: var(--brand-primary); font-size: 21px; font-weight: 800; }
.premium-card p { margin-top: 13px; color: #526276; font-size: 17px; line-height: 1.62; }
.btn-card { margin-top: 20px; padding: 11px 16px; color: var(--brand-primary); background: var(--brand-soft); border: 1px solid #d4e7f9; }
.btn-card:hover { color: #fff; background: var(--brand-primary); transform: translateY(-2px); }
.case_study { border-top: 4px solid var(--brand-accent); }
.case_study .card-content { padding-top: 24px; }
.reference .eyebrow, .case_study .eyebrow { color: var(--brand-secondary); }
.reference h3, .case_study h3 { font-size: 20px; }

.split-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(380px,.98fr); align-items: center; gap: clamp(48px, 7vw, 94px); }
.layout-image-left .split-visual { grid-column: 1; grid-row: 1; }
.layout-image-left .split-copy { grid-column: 2; }
.split-copy > .section-kicker { margin-bottom: 14px; }
.split-copy .section-subtitle, .contact-copy .section-subtitle { max-width: 730px; }
.split-visual { position: relative; margin: 0; min-height: 510px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split-visual::before { position: absolute; z-index: 0; inset: -18px 22px 22px -18px; content: ""; background: linear-gradient(145deg, rgba(65,165,238,.26), rgba(16,63,145,.08)); border-radius: inherit; }
.split-image { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 510px; object-fit: cover; filter: brightness(1.08) saturate(1.05); border-radius: inherit; }
.visual-mark { position: absolute; z-index: 2; right: -20px; bottom: 28px; display: grid; place-items: center; width: 82px; height: 82px; color: #fff; background: linear-gradient(145deg, var(--brand-accent), var(--brand-primary)); border: 7px solid #fff; border-radius: 24px; box-shadow: var(--shadow-md); font-family: Montserrat,Arial,sans-serif; font-size: 18px; font-weight: 900; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.premium-card.compact { box-shadow: none; border-radius: 17px; }
.premium-card.compact .card-content { padding: 19px; }
.premium-card.compact .icon-bubble { width: 40px; height: 40px; margin-bottom: 13px; border-radius: 12px; }
.premium-card.compact h3 { font-size: 16px; }
.premium-card.compact p { font-size: 15.5px; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; counter-reset: process; }
.process-grid::before { position: absolute; top: 40px; left: 10%; right: 10%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--brand-accent), transparent); }
.process-grid .premium-card { counter-increment: process; text-align: center; overflow: visible; background: #fff; }
.process-grid .premium-card::before { position: absolute; z-index: 2; top: 19px; right: 20px; content: "0" counter(process); color: rgba(16,63,145,.15); font-family: Montserrat,Arial,sans-serif; font-size: 30px; font-weight: 900; }
.process-grid .icon-bubble { position: relative; z-index: 2; margin-inline: auto; border-radius: 50%; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: clamp(36px,5vw,64px); color: #fff; background: linear-gradient(120deg, #0a347d, var(--brand-primary) 48%, var(--brand-secondary)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.cta-panel::after { position: absolute; top: -160px; right: -100px; width: 420px; height: 420px; content: ""; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: inset 0 0 0 50px rgba(255,255,255,.035), inset 0 0 0 100px rgba(255,255,255,.025); }
.cta-panel .section-kicker { color: #bfe7ff; }
.cta-panel h2, .cta-panel .section-subtitle, .cta-panel .section-body { color: #fff; }
.cta-actions { position: relative; z-index: 2; }
.premium-card.cta-card { background: transparent; border: 0; box-shadow: none; }
.premium-card.cta-card .card-content { padding: 0; }
.premium-card.cta-card .icon-bubble, .premium-card.cta-card h3, .premium-card.cta-card p, .premium-card.cta-card .eyebrow { display: none; }
.premium-card.cta-card .btn-card { margin: 0; padding: 16px 23px; color: var(--brand-primary); background: #fff; border-color: #fff; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 44px; align-items: start; }
.contact-copy { padding-top: 18px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 30px; }
.premium-card.contact-card { box-shadow: none; border-radius: 17px; }
.premium-card.contact-card .card-content { padding: 18px; }
.premium-card.contact-card .icon-bubble { width: 38px; height: 38px; margin-bottom: 12px; }
.premium-card.contact-card h3 { font-size: 14px; }
.premium-card.contact-card p { word-break: break-word; font-size: 14.5px; }
.premium-card.contact-card .btn-card { padding: 9px 12px; font-size: 10px; }
.contact-form-panel { padding: clamp(28px,4vw,45px); background: #fff; border: 1px solid var(--brand-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-form-panel > p:not(.section-kicker) { margin-top: 14px; color: #607087; font-size: 17px; }
.contact-form { position: relative; display: grid; gap: 17px; margin-top: 27px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 7px; color: #253b5a; font-size: 11px; font-weight: 750; }
.contact-form label > span { color: #a51f31; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; min-width: 0; padding: 14px 15px; color: #1e334f; background: #f9fbfe; border: 1px solid #d8e6f4; border-radius: 12px; outline: 0; font-size: 13px; transition: border .2s, box-shadow .2s, background .2s;
}
.contact-form textarea { min-height: 145px; resize: vertical; line-height: 1.55; }
.contact-form input:focus, .contact-form textarea:focus { background: #fff; border-color: var(--brand-accent); box-shadow: 0 0 0 4px rgba(65,165,238,.13); }
.contact-form .consent { display: flex; align-items: flex-start; grid-template-columns: none; gap: 10px; color: #5e6e82; line-height: 1.45; }
.contact-form .consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brand-primary); }
.contact-form .consent span { color: inherit; }
.contact-form .btn-primary { justify-self: start; }
.form-note { display: flex; align-items: center; gap: 8px; color: #718096; font-family: Montserrat,Arial,sans-serif; font-size: 10px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Search results / generic */
.search-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.search-result { padding: 27px; background: #fff; border: 1px solid var(--brand-line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.search-result h3 { font-size: 19px; }
.search-result p { margin-top: 12px; color: #5c6d82; font-size: 16px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding-top: 72px; color: #dfeaff; background: #082c6b; }
.footer-glow { position: absolute; top: -240px; left: 48%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(65,165,238,.22), transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.45fr .75fr .95fr 1.05fr; gap: 44px; padding-bottom: 56px; }
.brand-footer strong { color: #9dd8ff; }
.brand-footer small { color: #082c6b; background: #fff; }
.footer-brand > p { max-width: 420px; margin-top: 21px; color: #c5d5eb; font-size: 17px; }
.footer-brand .coverage { display: flex; align-items: flex-start; gap: 10px; color: #9bc8ee; font-family: Montserrat,Arial,sans-serif; font-size: 11px; line-height: 1.6; }
.footer-column { display: flex; flex-direction: column; gap: 11px; }
.footer-column h2 { margin-bottom: 8px; color: #fff; font-size: 15px; font-weight: 800; }
.footer-column > a { width: fit-content; color: #bed0e8; font-size: 11.5px; font-weight: 650; transition: color .2s, transform .2s; }
.footer-column > a:hover { color: #fff; transform: translateX(3px); }
.footer-contact > a { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; width: 100%; word-break: break-word; }
.footer-contact i { display: grid; place-items: center; width: 29px; height: 29px; color: #fff; background: rgba(255,255,255,.10); border-radius: 9px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; color: #8fb0d8; border-top: 1px solid rgba(255,255,255,.12); font-family: Montserrat,Arial,sans-serif; font-size: 10.5px; }
.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 17px; color: #fff; background: #169d55; border: 4px solid rgba(255,255,255,.92); border-radius: 999px; box-shadow: 0 18px 40px rgba(10,84,48,.28); font-family: Montserrat,Arial,sans-serif; font-size: 11px; font-weight: 800; transition: transform .25s; }
.whatsapp-float i { font-size: 20px; }
.whatsapp-float:hover { transform: translateY(-4px); }

/* Reveal animation: content remains visible without JavaScript */
.js .content-section .section-heading,
.js .content-section .split-copy,
.js .content-section .split-visual,
.js .premium-card { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .is-revealed .section-heading,
.js .is-revealed .split-copy,
.js .is-revealed .split-visual,
.js .is-revealed .premium-card { opacity: 1; transform: none; }
.js .is-revealed .premium-card:nth-child(2) { transition-delay: .08s; }
.js .is-revealed .premium-card:nth-child(3) { transition-delay: .16s; }
.js .is-revealed .premium-card:nth-child(4) { transition-delay: .24s; }
.js .is-revealed .premium-card:nth-child(5) { transition-delay: .32s; }
.js .is-revealed .premium-card:nth-child(6) { transition-delay: .4s; }

@media (max-width: 1130px) {
  .nav-shell { gap: 15px; }
  .brand span { display: none; }
  .nav-link-row > a { padding-inline: 10px; font-size: 11.6px; }
  .nav-link-row > a::after { left: 10px; right: 10px; }
  .header-cta { padding-inline: 14px; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / 4; }
}

@media (max-width: 920px) {
  :root { --header-height: 75px; }
  .topbar { display: none; }
  .nav-shell { justify-content: space-between; }
  .brand span { display: grid; }
  .brand img { width: 62px; height: 52px; }
  .brand strong { max-width: 150px; font-size: 12px; }
  .brand small { font-size: 8px; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; padding: 0; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 14px; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--brand-primary); border-radius: 99px; transition: .25s; }
  .primary-nav {
    position: fixed; z-index: 1002; inset: 0 0 0 auto; width: min(420px, 92vw); height: 100dvh; padding: 0 22px 30px;
    overflow-y: auto; background: #fff; box-shadow: -25px 0 65px rgba(5,32,75,.22);
    opacity: 0; visibility: hidden; clip-path: inset(0 0 0 100%);
    transition: clip-path .38s var(--ease), opacity .22s ease, visibility 0s linear .38s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; clip-path: inset(0); transition-delay: 0s; }
  .mobile-nav-head { position: sticky; z-index: 2; top: 0; display: flex; min-height: 78px; align-items: center; justify-content: space-between; color: var(--brand-primary); background: #fff; border-bottom: 1px solid var(--brand-line); font-size: 13px; font-weight: 850; }
  .menu-close { display: grid; place-items: center; width: 40px; height: 40px; color: var(--brand-primary); background: var(--brand-soft); border: 0; border-radius: 12px; }
  .primary-nav > ul { height: auto; display: block; padding: 18px 0; }
  .nav-item { height: auto; display: block; border-bottom: 1px solid #edf3f9; }
  .nav-link-row { min-height: 57px; }
  .nav-link-row > a { flex: 1; height: auto; padding: 16px 4px; color: #223b5d; font-size: 13px; }
  .nav-link-row > a::after { display: none; }
  .submenu-toggle { width: 46px; height: 46px; margin: 0; color: var(--brand-primary); background: var(--brand-soft); border-radius: 12px; }
  .submenu {
    position: static; width: auto; max-height: 0; padding: 0; display: block; visibility: visible; opacity: 1; overflow: hidden;
    border: 0; border-radius: 0; box-shadow: none; transform: none; transition: max-height .45s var(--ease), padding .3s;
  }
  .nav-item.submenu-open > .submenu { max-height: 650px; padding: 0 0 15px; transform: none; }
  .submenu-intro { display: none; }
  .submenu ul { display: block; padding: 0 0 0 12px; border-left: 2px solid #d8eafa; }
  .submenu li a { min-height: 44px; font-size: 11px; }
  .mobile-nav-actions { display: block; padding-top: 10px; }
  .mobile-nav-actions .btn-primary { width: 100%; }
  .nav-actions .header-cta { display: none; }
  .nav-backdrop { position: fixed; z-index: 1001; inset: 0; display: block; background: rgba(4,25,60,.48); backdrop-filter: blur(4px); }
  .nav-backdrop[hidden] { display: none; }
  .search-panel { position: fixed; inset: 0; display: grid; align-items: start; padding-top: 95px; }
  .search-panel-inner { align-items: start; }
  .page-hero { min-height: 680px; }
  .hero-content h1 { font-size: clamp(38px,8vw,61px); }
  .split-grid, .contact-layout { grid-template-columns: 1fr; }
  .layout-image-left .split-visual, .layout-image-left .split-copy { grid-column: auto; grid-row: auto; }
  .layout-image-left .split-visual { order: 2; }
  .split-visual, .split-image { min-height: 440px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .cta-panel { grid-template-columns: 1fr; }
  .search-results { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 650px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 30px, 1240px); }
  .brand strong { max-width: 125px; font-size: 10.5px; }
  .brand small { padding: 3px 5px; }
  .nav-actions { gap: 7px; }
  .search-open, .menu-toggle { width: 42px; height: 42px; }
  .page-hero { min-height: 650px; }
  .hero-slide::after { background: linear-gradient(90deg, rgba(8,35,82,.72), rgba(16,63,145,.35) 80%, rgba(16,63,145,.16)); }
  .hero-content { padding-bottom: 88px; }
  .hero-content h1 { font-size: clamp(35px,10.4vw,50px); }
  .hero-content > p { font-size: 19px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-dots { right: 15px; bottom: 24px; }
  .scroll-cue { display: none; }
  .content-section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; }
  .cards-grid, .process-grid, .mini-grid, .contact-cards, .form-row, .search-results { grid-template-columns: 1fr; }
  .split-grid { gap: 39px; }
  .split-visual, .split-image { min-height: 330px; }
  .visual-mark { right: -5px; bottom: 14px; width: 68px; height: 68px; border-width: 5px; border-radius: 19px; font-size: 14px; }
  .card-content { padding: 23px; }
  .cta-panel { padding: 30px 23px; border-radius: 25px; }
  .contact-form-panel { padding: 26px 20px; border-radius: 24px; }
  .contact-form .btn-primary { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; min-height: 0; justify-content: center; padding: 0; border-width: 3px; }
  .whatsapp-float span { display: none; }
  .search-panel-inner { flex-direction: column; }
  .search-close { position: absolute; top: -65px; right: 0; }
  .search-field { grid-template-columns: auto 1fr; }
  .search-field button { grid-column: 1 / -1; width: 100%; }
  .flash { top: 90px; right: 15px; left: 15px; }
}

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