:root{
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: rgba(15,23,42,.65);
  --line: rgba(15,23,42,.10);
  --brand: #1e3a8a;  /* bleu proche logo */
  --brand2: #264BA5;
  --brand-rgb: 30,58,138;
  --brand2-rgb: 38,75,165;
  --radius: 18px;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

html, body,
button, input, textarea, select, option{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

body{
  margin: 0;
  font-feature-settings: "cv11" 1, "ss01" 1;
  background: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.skip-link{
  position: fixed;
  top: -44px;
  left: 10px;
  z-index: 2100;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.22);
  background: rgba(255,255,255,.97);
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s ease;
}

.skip-link:focus-visible{
  top: 10px;
}

:focus-visible{
  outline: 2px solid rgba(38,75,165,.78);
  outline-offset: 2px;
}

h1, h2, h3,
.drawer-nav a,
.lang-toggle,
.btn-primary,
.btn-ghost,
.cookie-btn{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.015em;
}

button, input, textarea, select{
  font: inherit;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }

.container{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Sticky footer: main prend la place */
.site-main{ flex: 1; }

/* =========================
   HEADER
   ========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1100;
  background:
    linear-gradient(180deg, rgba(241,242,244,.84) 0%, rgba(241,242,244,.84) 100%),
    url("../images/banniere.jpg") center/cover no-repeat;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.header-inner{
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.header-center-title{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 260px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  color: rgba(15,23,42,.88);
  font-size: clamp(14px, 1.45vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.menu-trigger{
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #14181f;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-trigger svg{
  width: 32px;
  height: 32px;
  display: block;
}

.header-spacer{
  flex: 1;
}

.logo-header{
  height: 34px;
  width: auto;
  display: block;
}

.admin-quick-login{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-quick-login input{
  width: 108px;
  height: 32px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.86);
  color: var(--ink);
  font-size: 12px;
}

.admin-quick-login input:focus{
  outline: none;
  border-color: rgba(38,75,165,.45);
  box-shadow: 0 0 0 3px rgba(38,75,165,.14);
}

.admin-login-btn{
  height: 32px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.16);
  background: transparent;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
}

.admin-login-status{
  display: none;
}

.menu-backdrop{
  position: fixed;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity .14s ease;
  z-index: 1104;
}

.menu-backdrop.is-open{
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer{
  position: fixed;
  top: clamp(58px, 7.2vw, 76px);
  left: clamp(8px, 2.2vw, 32px);
  width: min(232px, 42vw);
  max-height: min(62vh, 360px);
  background: linear-gradient(180deg, rgba(15,23,42,.86) 0%, rgba(20,33,70,.86) 100%);
  backdrop-filter: blur(10px);
  color: #eaf2ff;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
  z-index: 1105;
  padding: 10px 12px 12px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(232,242,255,.16);
  box-shadow: 0 16px 38px rgba(2,8,23,.24);
}

.menu-drawer.is-open{
  transform: translateY(0);
  opacity: 1;
}

.menu-close{
  margin-left: auto;
  display: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(232,242,255,.78);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav{
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.drawer-nav a{
  color: rgba(232,242,255,.94);
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  padding: 4px 2px;
  transition: color .2s ease, transform .2s ease;
}

.drawer-nav a:hover{
  color: #78b6ff;
  transform: translateX(1px);
}

#open-contact{
  color: rgba(232,242,255,.94);
}

#open-contact:hover{
  color: #78b6ff;
}

.lang-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  opacity: .88;
  transition: opacity .2s ease, transform .2s ease;
}

.header-search{
  display: inline-flex;
  align-items: center;
  margin-right: 2px;
}

.header-search-btn{
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15,23,42,.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(15,23,42,.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.header-search-btn svg{
  width: 17px;
  height: 17px;
  display: block;
}

.header-search-btn:hover{
  border-color: rgba(30,58,138,.34);
  color: rgba(30,58,138,.9);
  background: rgba(255,255,255,.38);
}

.lang-toggle:hover{
  opacity: 1;
  transform: translateY(-1px);
}

.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.header-auth{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-right: 12px;
}

.header-auth[hidden]{
  display: none !important;
}

.header-user-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-user{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(15,23,42,.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15,23,42,.82);
  background: transparent;
}

.header-user::after{
  content: "⏷";
  font-size: 11px;
  opacity: .8;
}

.header-logout{
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1205;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  min-width: 126px;
  border: 1px solid rgba(15,23,42,.22);
  background: transparent;
  color: rgba(15,23,42,.82);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.header-user-wrap:hover .header-logout,
.header-user-wrap:focus-within .header-logout{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(2px);
}

.header-logout:hover{
  background: rgba(15,23,42,.05);
}

.page-breadcrumb{
  background: transparent;
  border-bottom: 0;
}

.page-breadcrumb .container{
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 8px 8px;
  color: rgba(15,23,42,.68);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}

.page-breadcrumb a{
  color: rgba(15,23,42,.78);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-breadcrumb a:hover{
  text-decoration-thickness: 1.5px;
}


/* =========================
   HERO
   ========================= */
.hero{
  padding: 64px 0 38px;
}

.hero-center{
  display: grid;
  place-items: center;
  text-align: center;
}

.construction{
  width: min(820px, 92vw);
}

.construction-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--brand2);
  background: rgba(38,75,165,.08);
  border: 1px solid rgba(38,75,165,.14);
}

.hero h1{
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-sub{
  margin: 12px 0 0;
  font-size: 16px;
  color: rgba(15,23,42,.60);
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.btn-ghost{
  border: 1px solid rgba(15,23,42,.24);
  background: transparent;
  color: rgba(15,23,42,.86);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-ghost:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2,8,23,.08);
  background: rgba(15,23,42,.04);
}

/* =========================
   SECTIONS
   ========================= */
.section-head{
  margin: 16px 0 14px;
}

.section-head h2{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(15,23,42,.90);
}

.expertises{ padding: 28px 0 40px; }

.expertise-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.expertise-toolbar-label{
  color: rgba(15,23,42,.72);
  font-size: 13px;
  font-weight: 600;
}

.expertise-size-switch{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.expertise-size-btn{
  border: 1px solid rgba(15,23,42,.2);
  background: transparent;
  color: rgba(15,23,42,.78);
  border-radius: 10px;
  min-width: 34px;
  height: 30px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.expertise-size-btn.is-active{
  border-color: rgba(30,58,138,.42);
  color: rgba(30,58,138,.95);
}

.discover-head{
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
}

.discover-title{
  margin: 0;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: rgba(15,23,42,.92);
  font-weight: 500;
}

.discover-progress{
  margin-top: 14px;
  width: min(580px, 55vw);
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,.12);
  overflow: hidden;
}

.discover-progress span{
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: rgba(15,23,42,.46);
  transition: width .2s ease;
}

.discover-carousel-wrap{
  position: relative;
  margin-top: 22px;
}

.discover-arrow{
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(15,23,42,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
  color: rgba(15,23,42,.84);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease, transform .15s ease;
}

.discover-arrow:hover{
  opacity: 1;
  border-color: rgba(30,58,138,.25);
  background: rgba(255,255,255,.9);
}

.discover-arrow:disabled{
  opacity: .46;
  cursor: default;
}

.discover-arrow-prev{
  left: 0;
  transform: translate(-20%, -50%);
}

.discover-arrow-next{
  right: 0;
  transform: translate(20%, -50%);
}

.discover-arrow-prev:hover{
  transform: translate(-22%, -50%);
}

.discover-arrow-next:hover{
  transform: translate(22%, -50%);
}

.expertise-scroll{
  --expertise-card-w: 430px;
  --expertise-card-h: 250px;
  --expertise-card-r: 0px;
  --expertise-gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 0 10px 12px;
  height: calc(var(--expertise-card-h) + 72px);
  scrollbar-gutter: stable;
  touch-action: pan-x;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.expertise-scroll::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;
}

.expertise-scroll[data-expertise-size="s"]{
  --expertise-card-w: 320px;
  --expertise-card-h: 188px;
  --expertise-card-r: 0px;
}

.expertise-scroll[data-expertise-size="m"]{
  --expertise-card-w: 430px;
  --expertise-card-h: 250px;
  --expertise-card-r: 0px;
}

.expertise-scroll[data-expertise-size="l"]{
  --expertise-card-w: 520px;
  --expertise-card-h: 304px;
  --expertise-card-r: 0px;
}

.expertise-grid{
  display: grid;
  grid-template-columns: repeat(3, var(--expertise-card-w));
  gap: var(--expertise-gap);
  width: max-content;
  min-width: calc(var(--expertise-card-w) * 3 + var(--expertise-gap) * 2);
  min-height: calc(var(--expertise-card-h) + 72px);
  align-content: start;
}

.discover-card{
  width: var(--expertise-card-w);
}

.discover-media{
  width: var(--expertise-card-w);
  height: var(--expertise-card-h);
  border-radius: var(--expertise-card-r);
  overflow: hidden;
  box-shadow: none;
}

.discover-card-title{
  margin: 10px 0 0;
  font-size: clamp(16px, 1.75vw, 28px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: rgba(15,23,42,.9);
  text-align: left;
}

.expertise-grid .card{
  width: var(--expertise-card-w);
  height: var(--expertise-card-h);
  aspect-ratio: 344 / 215;
  border-radius: var(--expertise-card-r);
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, rgba(38,75,165,.10), rgba(255,255,255,1));
  box-shadow: none;
  overflow: hidden;
}

.card img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card picture{
  display: block;
  width: 100%;
  height: 100%;
}

.about{
  padding: 10px 0 60px;
}

.about-text{
  margin: 0;
  color: rgba(15,23,42,.66);
  line-height: 1.6;
  font-size: 15px;
  width: min(850px, 100%);
}

/* =========================
   LEGAL PAGES
   ========================= */
.legal-main{
  flex: 1;
  padding: 36px 0 44px;
}

.legal-card{
  width: min(980px, 92vw);
  margin: 0 auto;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(2,8,23,.10);
  padding: clamp(20px, 3.5vw, 34px);
}

.login-popover,
.search-popover{
  position: fixed;
  display: none;
  z-index: 1210;
  width: 248px;
  padding: 10px;
  border: 1px solid rgba(232,242,255,.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15,23,42,.86) 0%, rgba(20,33,70,.86) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(2,8,23,.30);
}

.login-popover.is-open,
.search-popover.is-open{
  display: block;
}

.login-popover[hidden],
.search-popover[hidden]{
  display: none !important;
}

#login-popover-form,
#search-popover-form{
  display: grid;
  gap: 8px;
}

#login-popover-form input,
#search-popover-form input{
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(232,242,255,.24);
  background: rgba(255,255,255,.08);
  color: rgba(232,242,255,.98);
  padding: 0 10px;
  font-size: 13px;
}

#login-popover-form input::placeholder,
#search-popover-form input::placeholder{
  color: rgba(232,242,255,.58);
}

#login-popover-form input:focus,
#search-popover-form input:focus{
  outline: none;
  border-color: rgba(140,180,255,.74);
  box-shadow: 0 0 0 2px rgba(70,120,220,.24);
}

.login-popover-captcha-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.login-popover-captcha-question{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(232,242,255,.24);
  border-radius: 10px;
  color: rgba(232,242,255,.96);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
}

#login-popover-captcha-refresh{
  height: 30px;
  margin-top: 0;
  border: 1px solid rgba(232,242,255,.24);
  border-radius: 10px;
  background: transparent;
  color: rgba(232,242,255,.94);
  font-size: 12px;
  font-weight: 600;
  padding: 0 8px;
  cursor: pointer;
  white-space: nowrap;
}

#login-popover-submit,
#search-popover-submit{
  height: 32px;
  border: 1px solid rgba(232,242,255,.32);
  border-radius: 10px;
  color: rgba(232,242,255,.98);
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

#login-popover-submit:disabled,
#search-popover-submit:disabled{
  opacity: .7;
  cursor: not-allowed;
}

.login-popover-status,
.search-popover-status{
  min-height: 16px;
  margin: 0;
  color: rgba(232,242,255,.88);
  font-size: 12px;
}

.login-popover-status.is-error,
.search-popover-status.is-error{
  color: rgba(248,113,113,.96);
}

.login-popover-status.is-ok,
.search-popover-status.is-ok{
  color: rgba(134,239,172,.95);
}

.legal-card h1{
  margin: 0 0 8px;
  font-size: clamp(28px, 3.8vw, 38px);
  letter-spacing: -.02em;
}

.legal-updated{
  margin: 0 0 20px;
  color: rgba(15,23,42,.62);
  font-size: 14px;
}

.legal-card h2{
  margin: 20px 0 8px;
  font-size: 18px;
  color: rgba(15,23,42,.90);
}

.legal-card p,
.legal-card li{
  color: rgba(15,23,42,.72);
  line-height: 1.62;
  font-size: 15px;
}

.legal-card ul{
  margin: 8px 0 0 18px;
  padding: 0;
}

/* =========================
   CONTACT (modal premium)
   ========================= */
.contact-panel{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15,23,42,.42);
  backdrop-filter: blur(6px);
  z-index: 9999;
}
.contact-panel.is-open{ display: flex; }

.contact-inner{
  width: min(500px, 92vw);
  max-height: min(86vh, 780px);
  overflow: auto;
  background: linear-gradient(180deg, rgba(15,23,42,.78) 0%, rgba(20,33,70,.78) 100%);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(2,8,23,.18);
  border: 1px solid rgba(232,242,255,.20);
  padding: 22px 20px 20px;
}

.contact-drag-handle{
  display: none;
}

@media (min-width: 700px){
  .contact-drag-handle{
    display: block;
    width: 88px;
    height: 7px;
    margin: 0 auto 14px;
    border-radius: 999px;
    background: rgba(232,242,255,.34);
    cursor: grab;
    user-select: none;
  }

  .contact-inner.is-dragging .contact-drag-handle{
    cursor: grabbing;
    background: rgba(232,242,255,.56);
  }
}

.contact-head{
  display: none;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}

.contact-close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(232,242,255,.28);
  background: transparent;
  color: rgba(232,242,255,.96);
  font-size: 26px;
  line-height: 1;
  display: none;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-close:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 24px rgba(2,8,23,.22);
}

.contact-title{
  margin: 0 0 18px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
  font-size: clamp(22px, 2.4vw, 28px);
  cursor: grab;
  user-select: none;
}

.contact-inner.is-dragging .contact-title{
  cursor: grabbing;
}

.premium-form{
  width: 100%;
  min-width: 0;
  max-width: 430px;
  margin: 0 auto;
}

.form-grid{
  --form-gap-y: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  row-gap: var(--form-gap-y);
}

.field{ position: relative; }
.field.full{ grid-column: 1 / -1; }
.field.full{ margin-top: 0; }
.field.field-compact{
  width: 75%;
  margin: 0;
}

.field.field-wide{
  width: 100%;
}

.field.field-medium{
  width: 85%;
}

.form-grid > .field.field-compact:not(.phone-field):nth-child(odd){
  justify-self: start;
}

.form-grid > .field.field-compact:not(.phone-field):nth-child(even){
  justify-self: end;
}

.phone-field.field-compact{
  width: 100%;
  justify-self: start;
}

.field.full.field-compact{
  width: 100%;
}

.field input,
.field textarea,
.field select{
  width: 100%;
  font-family: inherit;
  color: rgba(232,242,255,.98);
  border: 1px solid rgba(232,242,255,.24);
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input,
.field textarea{
  padding: 14px 12px 9px;
  font-size: 13px;
}

.field textarea{
  resize: vertical;
  min-height: 110px;
  padding-top: 20px;
}

.field select{
  padding: 10px 12px;
  font-size: 13px;
}

.field.float label{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(232,242,255,.64);
  font-size: 13px;
  pointer-events: none;
  transition: all .15s ease;
}

.field.float textarea + label{
  top: 22px;
  transform: none;
}

.field.float input:focus,
.field.float textarea:focus{
  border-color: rgba(140,180,255,.74);
  box-shadow: 0 0 0 2px rgba(70,120,220,.24);
}

.field.float input:focus + label,
.field.float textarea:focus + label{
  top: 10px;
  transform: none;
  font-size: 11px;
  color: rgba(180,212,255,.95);
}

.field.float.has-value label,
.field.float input:not(:placeholder-shown) + label,
.field.float textarea:not(:placeholder-shown) + label{
  opacity: 0;
  visibility: hidden;
}

.phone-field{ grid-column: 1 / -1; }

.phone-row{
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(232,242,255,.24);
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
}

.phone-row:focus-within{
  border-color: rgba(140,180,255,.74);
  box-shadow: 0 0 0 2px rgba(70,120,220,.24);
}

.phone-row select{
  width: auto;
  min-width: 0;
  padding-left: 10px;
  padding-right: 30px;
  border: 0;
  border-right: 1px solid rgba(232,242,255,.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-row select option{
  color: #0f172a;
}

.phone-row .phone-input input{
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-row .phone-input input:focus{
  box-shadow: none;
}

.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;
}

.hp{ display:none; }

.form-legal{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(232,242,255,.20);
}

.form-legal.form-legal-compact{
  width: 100%;
}

.consent{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(232,242,255,.88);
}
.consent input{ margin-top: 3px; }

.consent-optout{
  margin-top: 10px;
}

.legal-link{
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(38,75,165,.95);
  text-decoration: none;
}
.legal-link:hover{ text-decoration: underline; }

.btn-primary{
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  padding: 12px 3ch;
  border-radius: 16px;
  border: 1px solid rgba(232,242,255,.34);
  background: transparent;
  color: rgba(232,242,255,.98);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(2,8,23,.14);
  background: rgba(255,255,255,.06);
}
.btn-primary:disabled{
  opacity:.7;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.status{
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  color: rgba(232,242,255,.88);
}

/* =========================
   FOOTER
   ========================= */
.site-footer{
  margin-top: auto;
}

.footer-bottom{
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(232,242,255,.92);
}

.footer-bottom-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.footer-item{
  font-size: 13px;
  color: #000;
}
.footer-sep{
  color: #000;
  font-size: 13px;
}

.footer-gap{
  display: none;
}

.footer-construction{
  margin-left: auto;
  color: #c91414;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: right;
  flex-shrink: 0;
}

.footer-social{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 50px;
  z-index: 1200;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: transparent;
}

body.has-cookie-banner .footer-social{
  bottom: 122px;
}

.sbtn{
  width: auto;
  height: auto;
  padding: 2px;
  border-radius: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #000;
  transition: transform .15s ease, opacity .15s ease;
  opacity: .92;
}
.sbtn svg{ width: 20px; height: 20px; display: block; }
.sbtn:hover{
  transform: translateY(-1px);
  background: transparent;
  color: #000;
  opacity: 1;
}

.cookie-banner{
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 1300;
  width: min(980px, calc(100vw - 24px));
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(241,242,244,.86);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(2,8,23,.12);
  padding: 10px 12px;
}

.cookie-banner[hidden]{
  display: none !important;
}

.cookie-banner-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-banner-text{
  margin: 0;
  color: rgba(15,23,42,.8);
  font-size: 13px;
  line-height: 1.4;
  max-width: 66ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cookie-banner-text a{
  color: rgba(15,23,42,.9);
  text-decoration: underline;
}

.cookie-banner-actions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn{
  border: 1px solid rgba(15,23,42,.24);
  background: transparent;
  color: rgba(15,23,42,.86);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-preferences{
  margin-top: 10px;
  border-top: 1px solid rgba(15,23,42,.14);
  padding-top: 10px;
  display: grid;
  gap: 10px;
}

.cookie-pref-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-pref-title{
  margin: 0;
  color: rgba(15,23,42,.88);
  font-size: 13px;
  font-weight: 600;
}

.cookie-pref-desc{
  margin: 2px 0 0;
  color: rgba(15,23,42,.68);
  font-size: 12px;
  line-height: 1.35;
}

.cookie-pref-locked{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(15,23,42,.72);
  font-size: 12px;
  white-space: nowrap;
}

.cookie-pref-toggle input{
  width: 18px;
  height: 18px;
  accent-color: #1e3a8a;
}

.cookie-preferences-actions{
  display: flex;
  justify-content: flex-end;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px){
  .header-inner{
    width: min(960px, 95vw);
    padding: 8px 6px;
  }

  .logo-header{ height: 30px; }
  .menu-trigger{ width: 40px; height: 40px; }
  .menu-trigger svg{ width: 28px; height: 28px; }
  .header-center-title{
    max-width: calc(100% - 230px);
    font-size: clamp(13px, 1.9vw, 18px);
  }

  .admin-quick-login input{
    width: 96px;
    height: 30px;
    font-size: 11px;
  }
  .admin-login-btn{
    height: 30px;
    font-size: 11px;
    padding: 0 10px;
  }

  .lang-toggle{
    font-size: 13px;
    min-width: 0;
    padding: 4px 0;
  }

  .header-search-btn{
    width: 28px;
    height: 28px;
  }

  .header-search-btn svg{
    width: 16px;
    height: 16px;
  }

  .header-auth{
    margin-right: 10px;
    gap: 6px;
  }

  .header-user{
    font-size: 12px;
    padding: 4px 8px;
  }

  .header-logout{
    font-size: 11px;
    padding: 5px 8px;
    min-width: 112px;
  }

  .page-breadcrumb .container{
    width: min(960px, 95vw);
    padding: 7px 6px;
    font-size: 12px;
  }

  .hero{ padding: 52px 0 30px; }
  .construction{ width: min(740px, 92vw); }

  .discover-title{
    font-size: clamp(24px, 4vw, 34px);
  }

  .discover-progress{
    width: min(420px, 60vw);
  }

  .discover-arrow{
    width: 50px;
    height: 50px;
    font-size: 34px;
  }

  .expertise-scroll{
    height: calc(var(--expertise-card-h) + 68px);
    padding: 0 8px 10px;
  }

  .expertise-grid{
    --expertise-gap: 18px;
  }

  .menu-drawer{
    width: min(220px, 54vw);
    top: clamp(54px, 8.5vw, 72px);
    left: clamp(8px, 2vw, 22px);
    padding: 9px 10px 10px;
  }

  .menu-close{
    display: grid;
  }

  .drawer-nav a{
    font-size: clamp(11px, 1.35vw, 13px);
  }
}

@media (max-width: 820px){
  .header-inner{
    width: 94vw;
    padding: 8px 4px;
    gap: 10px;
  }

  .logo-header{ height: 28px; }
  .menu-trigger{ width: 38px; height: 38px; }
  .menu-trigger svg{ width: 26px; height: 26px; }
  .header-center-title{
    max-width: calc(100% - 170px);
    font-size: 12px;
  }

  .admin-quick-login{
    gap: 4px;
  }
  .admin-quick-login input{
    width: 72px;
    height: 28px;
    padding: 0 8px;
    font-size: 10px;
  }
  .admin-login-btn{
    height: 28px;
    padding: 0 8px;
    font-size: 10px;
  }

  .lang-switch{ gap: 0; }
  .lang-toggle{
    font-size: 12px;
    min-width: 0;
    padding: 4px 0;
  }

  .header-search-btn{
    width: 26px;
    height: 26px;
  }

  .header-search-btn svg{
    width: 14px;
    height: 14px;
  }

  .header-auth{
    margin-right: 8px;
    gap: 5px;
  }

  .header-user{
    max-width: 92px;
    font-size: 11px;
    padding: 4px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-logout{
    padding: 5px 7px;
    min-width: 108px;
  }

  .page-breadcrumb .container{
    width: 94vw;
    padding: 7px 4px;
  }

  .hero{ padding: 42px 0 22px; }
  .hero h1{
    font-size: clamp(30px, 8vw, 44px);
    line-height: 1.06;
  }

  .discover-head{
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .discover-title{
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .discover-progress{
    width: min(360px, 74vw);
    margin-top: 10px;
  }

  .discover-arrow{
    width: 46px;
    height: 46px;
    font-size: 30px;
  }

  .discover-arrow-prev{
    transform: translate(-10%, -50%);
  }

  .discover-arrow-next{
    transform: translate(10%, -50%);
  }

  .expertise-scroll{
    --expertise-card-w: min(82vw, 440px);
    --expertise-card-h: calc(var(--expertise-card-w) * .58);
    --expertise-card-r: 16px;
    height: calc(var(--expertise-card-h) + 64px);
    padding: 0 6px 10px;
  }

  .expertise-scroll[data-expertise-size="s"]{
    --expertise-card-w: min(68vw, 360px);
    --expertise-card-h: calc(var(--expertise-card-w) * .58);
    --expertise-card-r: 14px;
  }

  .expertise-scroll[data-expertise-size="m"]{
    --expertise-card-w: min(82vw, 440px);
    --expertise-card-h: calc(var(--expertise-card-w) * .58);
    --expertise-card-r: 16px;
  }

  .expertise-scroll[data-expertise-size="l"]{
    --expertise-card-w: min(96vw, 520px);
    --expertise-card-h: calc(var(--expertise-card-w) * .58);
    --expertise-card-r: 18px;
  }

  .btn-ghost{
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 14px;
  }

  .about,
  .expertises{
    padding-bottom: 34px;
  }

  .contact-panel{ padding: 14px; }
  .contact-inner{
    width: min(560px, 94vw);
    padding: 18px 16px 16px;
    border-radius: 22px;
    max-height: 88vh;
  }
  .premium-form{
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .form-grid{ grid-template-columns: 1fr; }
  .field.field-compact{ width: 100%; }
  .form-legal.form-legal-compact{ width: 100%; }
  .phone-row{ grid-template-columns: max-content 1fr; }

  .footer-bottom-inner{
    gap: 6px;
    padding: 12px 0;
    font-size: 11px;
  }

  .footer-item,
  .footer-sep{
    font-size: 11px;
  }

  .footer-bottom-inner{
    flex-wrap: wrap;
    row-gap: 4px;
    white-space: normal;
  }

  .footer-construction{
    flex-basis: 100%;
    margin-left: 0;
    text-align: right;
  }

  .contact-head{
    display: flex;
  }

  .contact-close{
    display: grid;
  }

  .footer-construction{
    font-size: 11px;
  }

  .footer-social{
    left: 50%;
    bottom: 44px;
    gap: 12px;
  }

  body.has-cookie-banner .footer-social{
    bottom: 108px;
  }
  .sbtn{
    padding: 1px;
  }
  .sbtn svg{
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 600px){
  .header-inner{ padding: 6px 2px; }
  .logo-header{ height: 25px; }
  .header-center-title{
    max-width: calc(100% - 138px);
    font-size: 11px;
  }

  .header-auth{
    margin-right: 6px;
    gap: 4px;
  }

  .header-search-btn{
    width: 24px;
    height: 24px;
  }

  .header-search-btn svg{
    width: 13px;
    height: 13px;
  }

  .header-user{
    max-width: 72px;
    font-size: 11px;
    padding: 3px 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-logout{
    padding: 5px 6px;
    font-size: 10px;
    min-width: 102px;
  }

  .admin-quick-login{
    gap: 3px;
  }
  .admin-quick-login input{
    width: 66px;
    font-size: 10px;
    padding: 0 6px;
  }
  .admin-login-btn{
    font-size: 10px;
    padding: 0 7px;
  }

  .menu-drawer{
    width: min(216px, 72vw);
    top: 52px;
    left: 6px;
    padding: 8px 9px 10px;
    max-height: min(58vh, 320px);
  }

  .menu-close{
    width: 26px;
    height: 26px;
    font-size: 21px;
  }

  .drawer-nav{
    margin-top: 6px;
    gap: 7px;
  }

  .drawer-nav a{
    font-size: clamp(11px, 3.2vw, 13px);
    line-height: 1.25;
  }

  .hero{ padding: 34px 0 18px; }
  .construction{ width: 94vw; }
  .hero h1{ font-size: clamp(28px, 9vw, 36px); }
  .section-head h2{ font-size: 17px; }
  .about-text{ font-size: 14px; }

  .discover-progress{
    width: min(320px, 82vw);
  }

  .discover-arrow{
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .contact-inner{
    width: 94vw;
    padding: 16px 14px 14px;
    border-radius: 20px;
  }
  .contact-title{ font-size: clamp(20px, 6vw, 24px); }

  .btn-primary{
    margin-top: 14px;
    padding: 10px 2.4ch;
    font-size: 13px;
  }

  .footer-social{
    left: 50%;
    bottom: 40px;
    gap: 10px;
  }

  body.has-cookie-banner .footer-social{
    bottom: 100px;
  }

  .cookie-banner{
    width: calc(100vw - 16px);
    padding: 9px 10px;
  }

  .cookie-banner-inner{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cookie-banner-actions{
    width: 100%;
    justify-content: flex-end;
  }

  .cookie-pref-row{
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .cookie-preferences-actions{
    width: 100%;
    justify-content: flex-end;
  }

  .footer-bottom-inner{
    gap: 4px;
    font-size: 10px;
    padding: 10px 0;
  }

  .footer-item,
  .footer-sep{
    font-size: 10px;
  }

  .footer-construction{
    font-size: 10px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce){
  #open-contact{ animation: none; }
  .sbtn{ animation: none; }
}
