/* =========================================================
   Bricks Du Lac — Design system
   ========================================================= */

:root {
  --color-primary-black: #000000;
  --color-primary-red: #FF0000;
  --color-primary-white: #FFFFFF;
  --color-secondary-blue: #66CCFF;
  --color-secondary-green: #129A39;
  --color-accent-gold: #DEAA62;

  --color-bg: #FFFFFF;
  --color-surface: #111111;
  --color-surface-soft: #151515;
  --color-border-soft: rgba(255, 255, 255, 0.06);

  --color-text: #111111;
  --color-text-muted: rgba(0, 0, 0, 0.6);
  --color-text-soft: rgba(0, 0, 0, 0.8);
  --color-text-on-color: #FFFFFF;
  --color-text-on-color-muted: rgba(255, 255, 255, 0.75);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 40px rgba(0, 0, 0, 0.18);
  --shadow-subtle: 0 1px 0 rgba(0, 0, 0, 0.04);

  --container-width: min(1080px, 100% - 40px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Archivo', 'Raleway', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Global focus handling — keyboard-only visible ring, no ghost outline on click */
a, button, [role="button"], [role="link"], input, textarea, select {
  outline: none;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[role="link"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-secondary-green);
  outline-offset: 3px;
  border-radius: var(--radius-sm, 6px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92), rgba(102, 204, 255, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.nav-link,
.lang-toggle {
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid transparent;
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-link:hover,
.lang-toggle:hover {
  color: var(--color-primary-black);
}

.header-menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header-menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.nav-dropdown.nav-dropdown--social {
  display: none;
}

.lang-switcher {
  position: relative;
  margin-left: 4px;
}

.social-switcher {
  position: relative;
  margin-left: 4px;
}

.social-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid transparent;
  background: transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-link:hover,
.lang-toggle:hover,
.social-toggle:hover {
  color: var(--color-primary-black);
}

.social-toggle-chevron::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.social-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 30;
}

.social-switcher--open .social-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.social-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  outline: none;
}

.social-menu-item:hover,
.social-menu-item:focus {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lang-toggle-icon {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.lang-toggle-chevron::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 30;
}

.lang-menu-item {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
  outline: none;
}

.lang-menu-item:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

.lang-menu-item:focus,
.lang-menu-item:focus-visible {
  outline: none;
  box-shadow: none;
}

.lang-menu-item--active,
.lang-menu-item--active:hover,
.lang-menu-item--active:focus,
.lang-menu-item--active:focus-visible {
  background: none;
  color: var(--color-secondary-green);
  font-weight: 700;
}


.lang-switcher--open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Nav dropdown (Nos Tarifs) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--color-primary-black);
}

.nav-dropdown-chevron::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .96);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 30;
}

.nav-dropdown-menu:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: #fff;
  outline: none;
  border: 1px solid transparent;
}

.nav-dropdown-item:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

/* Fix: remove browser default blue focus ring ("ghost box") that persists
   on the first dropdown item after opening the menu via click/keyboard */
.nav-dropdown-item:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

.nav-dropdown-item:focus-visible {
  outline: none;
  box-shadow: none;
  background: var(--color-secondary-green);
  color: #000;
  border-color: transparent;
}

.nav-dropdown-toggle:focus,
.nav-dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: none;
}

/* First section */
.section-company-intro {
  padding-top: 40px;
  padding-bottom: 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.section-inner--company {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  flex: 0 0 auto;
}

.company-intro-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-intro-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-name {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--color-primary-red);
  line-height: 1.02;
  text-transform: uppercase;
}

.company-connect {
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--color-secondary-blue);
  line-height: 1.05;
  text-transform: uppercase;
}

.company-tagline {
  margin: 6px 0 0;
  font-size: 20px;
  color: var(--color-text-muted);
}

.company-intro-logo {
  display: flex;
  justify-content: flex-end;
}

.company-logo-frame {
  max-width: 220px;
  width: 100%;
  min-width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
  flex-shrink: 0;
}

.company-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.company-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
}

/* Title positioned between upper logo/title block and mascot */
.company-feature-title {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 0 4px;
  text-align: center;
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--color-primary-black);
}

/*
  Mascot: the container is viewport-wide and uses flex centering,
  which keeps the mascot visually centred at every desktop size
  without depending on the image's own width.
*/
.company-mascot {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  height: auto;
  display: flex;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  margin-bottom: -28px;
}

.company-mascot-img {
  width: min(767px, 59vw);
  max-width: none;
  height: auto;
  display: block;
}

/* Values */
.values-banner {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  border-radius: 999px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #E05142 0%, #435A9C 50%, #2756A5 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .4);
  position: relative;
}

.values-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.values-emoji {
  font-size: 29px;
  line-height: 1;
}

.values-emoji--grey {
  filter: grayscale(100%) brightness(1.4);
}

.values-location-btn .values-emoji {
  font-size: 15px;
}

.values-separator {
  flex: 0 0 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, .4);
}

.values-location {
  margin-left: auto;
  position: relative;
}

.values-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: 6px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.values-location-btn:hover {
  background: #000000;
  border-color: #000000;
  color: var(--color-secondary-blue);
}

.values-flag {
  font-size: 15px;
  line-height: 1;
}

.map-popover {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.map-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease;
  outline: none;
}

.map-option:hover {
  background: rgba(222, 170, 98, .18);
}

.map-option:focus,
.map-option:focus-visible {
  outline: none;
  background: rgba(222, 170, 98, .18);
}

.map-option-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

/* Summary */
.section-summary {
  background: #F7F5F2;
  padding: 48px 0;
}

.section-title.section-title--dark {
  color: #000;
  text-align: center;
  font-size: 26px;
  margin-bottom: 28px;
}

.cards-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.card-summary {
  border-radius: 20px;
  padding: 22px 16px 20px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  height: 100%;
}

.card-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.card-summary-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.card-summary-icon svg {
  width: 36px;
  height: 36px;
}

.card-summary-title {
  font-size: 15px;
  margin: 6px 0 2px;
  color: #111;
}

.card-summary-text {
  font-size: 13px;
  margin: 0 0 6px;
  color: #444;
}

.card-summary-btn {
  margin-top: 2px;
  min-height: 56px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.card-summary-more-link {
  font-size: 12px;
  font-weight: 600;
  color: #8a8a8a;
  text-align: center;
  padding: 4px 0 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-summary-more-link:hover {
  color: #444444;
}

/* Main sections */
.section {
  padding: 56px 0;
}

.section-hero {
  padding-top: 24px;
  padding-bottom: 34px;
}

.section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 28px;
}

.about-difference-block,
.about-approach-block {
  border-radius: var(--radius-md);
  padding: 28px 26px;
  background:
    radial-gradient(circle at -10% -10%, rgba(222, 170, 98, .24), transparent 58%),
    linear-gradient(to bottom, #151515, #030303);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-soft);
  color: #fff;
}

.about-difference-block + .about-approach-block {
  margin-top: 20px;
}

.about-difference-block .bullet-list {
  columns: 2;
  column-gap: 36px;
  column-fill: balance;
}

.about-difference-block .bullet-list li {
  font-size: 19px;
  line-height: 1.5;
  break-inside: avoid;
}

.about-difference-block .bullet-list li:last-child {
  column-span: all;
  margin-top: 12px;
  padding-left: 0;
  text-align: center;
}

.about-difference-block .bullet-list li:last-child::before {
  position: static;
  display: inline-block;
  margin-right: 8px;
  transform: none;
}

.about-difference-block .bullet-list li::before {
  content: '✓';
  width: auto;
  height: auto;
  background: none;
  color: var(--color-secondary-green);
  font-size: 16px;
  font-weight: 700;
  top: 0.05em;
  transform: none;
}

.about-approach-block {
  cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease;
}

.about-approach-block:hover,
.about-approach-block:focus-visible {
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  transform: translateY(-2px);
}

.about-approach-block .section-intro {
  margin-bottom: 0;
}

.hero-content {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background:
    radial-gradient(circle at -10% -10%, rgba(255, 0, 0, .24), transparent 58%),
    radial-gradient(circle at 110% -10%, rgba(102, 204, 255, .22), transparent 58%),
    linear-gradient(to bottom, #1a1a1a, #030303);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}

.hero-title {
  font-size: clamp(28px, 4vw, 34px);
  letter-spacing: -.03em;
  margin: 0 0 10px;
  color: #fff;
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--color-text-on-color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.hero-footnote {
  font-size: 13px;
  color: var(--color-text-on-color-muted);
}

.section-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}

.section-subtitle {
  font-size: 22px;
  margin: 0 0 8px;
  color: #fff;
}

.section-intro {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 18px;
  color: var(--color-text-on-color-muted);
}

.section-text {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--color-text-on-color-muted);
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.contact-detail-row a {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.contact-detail-row a:hover {
  color: var(--color-secondary-blue);
}

.contact-detail-note {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-on-color-muted);
}

.section-card .section-inner {
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background:
    radial-gradient(circle at -10% -10%, rgba(222, 170, 98, .24), transparent 58%),
    linear-gradient(to bottom, #151515, #030303);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}

/* Pricing sections */
#pricing-lego .section-title,
#pricing-lego .section-intro,
#pricing-services .section-title,
#pricing-services .section-intro {
  text-align: center;
}

#pricing-lego .section-intro,
#pricing-services .section-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-placeholder {
  border-radius: var(--radius-md);
  padding: 40px 24px;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .18);
  color: var(--color-text-on-color-muted);
  text-align: center;
  font-size: 14px;
  margin-top: 24px;
}

/* LEGO pricing block (Suisse/International toggle) */
.lego-pricing {
  padding: 8px 0 0;
}

.lego-toggle-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 32px;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 560px;
}

.lego-toggle-label {
  font-size: 1.05em;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
  flex: 0 1 auto;
  min-width: 0;
}

.lego-toggle-switch {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 32px;
  flex-shrink: 0;
}

.lego-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lego-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #003D7A;
  transition: .3s;
  border-radius: 34px;
}

.lego-toggle-slider::before {
  position: absolute;
  content: '';
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
}

.lego-toggle-switch input:checked + .lego-toggle-slider {
  background-color: #FF9500;
}

.lego-toggle-switch input:checked + .lego-toggle-slider::before {
  transform: translateX(30px);
}

.lego-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.lego-pricing-grid[data-view="ch"] .lego-panel--intl,
.lego-pricing-grid[data-view="intl"] .lego-panel--ch {
  display: none;
}

.lego-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  border: 1px solid rgba(0, 0, 0, .06);
}

.lego-panel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 3px solid #003D7A;
}

.lego-panel--intl .lego-panel-header {
  border-bottom-color: #FFB800;
}

.lego-panel-header h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin: 0;
  color: #003D7A;
  text-align: center;
}

.lego-panel--intl .lego-panel-header h3 {
  color: #FF9500;
}

.lego-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lego-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 3px solid #e0e0e0;
  transition: background .2s ease, border-color .2s ease;
}

.lego-item:hover {
  background: #f0f0f0;
  border-left-color: #003D7A;
}

.lego-panel--intl .lego-item:hover {
  border-left-color: #FFB800;
}

.lego-item-title {
  font-size: .95em;
  font-weight: 700;
  color: #111;
}

.lego-item-sub {
  font-size: .8em;
  color: #777;
  line-height: 1.4;
}

.lego-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lego-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .68em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  white-space: nowrap;
}

.lego-badge--economy {
  background: #E3F2FD;
  color: #003D7A;
}

.lego-badge--priority {
  background: #FFE0B2;
  color: #FF6F00;
}

.lego-item-price {
  font-size: 1.2em;
  font-weight: 800;
  color: #003D7A;
  white-space: nowrap;
  margin-left: auto;
}

.lego-panel--intl .lego-item-price {
  color: #FF9500;
}

.lego-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.lego-zone {
  text-align: center;
  padding: 8px 6px;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  border-radius: 8px;
  border: 1px solid #FFB800;
  min-width: 0;
}

.lego-zone-label {
  font-size: .66em;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 3px;
  word-break: break-word;
  line-height: 1.3;
}

.lego-zone-price {
  font-size: 1em;
  font-weight: 800;
  color: #FF9500;
  white-space: nowrap;
}

@media (min-width: 460px) {
  .lego-item-bottom {
    flex-wrap: nowrap;
  }
}

@media (max-width: 400px) {
  .lego-toggle-label {
    font-size: .92em;
  }

  .lego-panel {
    padding: 18px 14px;
  }

  .lego-item {
    padding: 12px;
  }

  .lego-zone-label {
    font-size: .62em;
  }

  .lego-zone-price {
    font-size: .92em;
  }

  .lego-item-price {
    font-size: 1.05em;
  }
}

/* Services (fusionnée avec l'ancien bloc Summary, fond clair) */
#services .section-title,
#services .section-intro {
  text-align: center;
}

#services .section-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #444444;
}

.cards-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

/* Les 3 groupes du bas, alignés sur la largeur des cartes 1+2 / 3 / 4+5 */
.services-zone {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-zone--lego { grid-column: 1 / 3; }
.services-zone--tech { grid-column: 3 / 4; }
.services-zone--home { grid-column: 4 / 6; }

/* Libellé de catégorie : masqué par défaut, réapparaît quand l'alignement
   par largeur n'a plus de sens (voir media query ci-dessous) */
.services-zone::before {
  display: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.card-service {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px 16px 12px 44px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-service:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.card-service-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-service-icon img,
.card-service-icon svg {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}

.card-service-title {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: #111111;
}

/* Bandeau Contact (remplace l'ancienne 10e carte désactivée) */
.services-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  margin-top: 10px;
  background: #FFFFFF;
  border: 1.5px dashed rgba(201, 151, 28, .5);
  border-radius: 16px;
}

.services-cta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.services-cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #DEAA62;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.services-cta-text {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  text-align: left;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.services-cta-btn:hover {
  background: #000000;
  color: var(--color-secondary-blue);
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.split-block {
  border-radius: var(--radius-md);
  padding: 16px 14px;
  background: rgba(10, 10, 10, .95);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-subtle);
  color: #fff;
}

.card-title {
  font-size: 15px;
  margin: 0 0 8px;
  color: #fff;
}

.card-text {
  font-size: 13px;
  margin: 0;
  color: var(--color-text-on-color-muted);
}

.split-block {
  padding: 26px 24px;
  background:
    radial-gradient(circle at -10% -10%, rgba(222, 170, 98, .20), transparent 55%),
    rgba(10, 10, 10, .95);
}

.split-block--accent {
  background:
    radial-gradient(circle at -10% -10%, rgba(102, 204, 255, .24), transparent 58%),
    radial-gradient(circle at 110% 110%, rgba(18, 154, 57, .20), transparent 58%),
    rgba(8, 8, 8, .98);
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-text-on-color-muted);
  margin-bottom: 12px;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--color-primary-red), var(--color-secondary-blue));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.contact-form,
.contact-details {
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(7, 7, 7, .98);
  border: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(5, 5, 5, .9);
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.form-row select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%23ffffff" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-row select option {
  color: #000;
}

.form-row textarea {
  resize: none;
  overflow: hidden;
  min-height: 90px;
}

.phone-group {
  display: flex;
  gap: 8px;
}

.phone-group select {
  flex: 0 0 148px;
  padding-right: 26px;
  background-position: right 8px center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.phone-group input {
  flex: 1;
  min-width: 0;
}

.contact-detail-row svg {
  display: block;
  flex-shrink: 0;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-secondary-green);
  box-shadow: 0 0 0 1px rgba(18, 154, 57, .4);
}

.form-helper {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-gold);
  background: rgba(222, 170, 98, .12);
  border: 1px solid rgba(222, 170, 98, .3);
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.form-required-note {
  font-size: 11px;
  color: var(--color-text-on-color-muted);
  margin: 0 0 10px;
}

/* Case de consentement */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
}

.form-consent input {
  margin: 3px 0 0;
  accent-color: var(--color-secondary-green);
  flex-shrink: 0;
}

.form-consent label {
  font-size: 13px;
  color: var(--color-text-on-color-muted);
  line-height: 1.45;
}

.form-consent a {
  color: var(--color-secondary-blue);
  text-decoration: underline;
}

/* Champ piège à robots — invisible pour les visiteurs humains */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Anti-spam (question simple) */
.form-antispam label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.form-antispam input[type="text"] {
  max-width: 90px;
}

/* Erreurs de validation */
.form-row-error input,
.form-row-error select,
.form-row-error textarea {
  border-color: #FF6B6B;
}

.form-error-text {
  margin: 4px 0 0;
  font-size: 11px;
  color: #FF6B6B;
}

.form-status--error {
  color: #FF6B6B;
}

/* Bloc de confirmation après envoi */
.form-success {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: rgba(18, 154, 57, .12);
  border: 1px solid rgba(18, 154, 57, .4);
  color: #fff;
}

.form-success p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

.btn-primary {
  background: #fff;
  color: #111;
  box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, .3);
  background: #000000;
  color: var(--color-secondary-blue);
  font-weight: 700;
}

.btn-secondary {
  background: #fff;
  color: #111;
  border: 1px solid rgba(0, 0, 0, .08);
}

.btn-secondary:hover {
  background: #000000;
  color: var(--color-secondary-blue);
  border-color: #000000;
  font-weight: 700;
}

.btn-full {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Disclaimer text above breadcrumb */
.section-disclaimer {
  padding: var(--space-8, 32px) 0 0;
}

.disclaimer-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 4px;
  text-align: center;
}

/* Footer */
.section-breadcrumb {
  padding-top: 16px;
  padding-bottom: 10px;
}

.breadcrumb-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.breadcrumb-nav {
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumb-nav a,
.breadcrumb-current {
  color: var(--color-text-soft);
}

.breadcrumb-nav a:hover {
  color: var(--color-secondary-green);
}

.breadcrumb-separator {
  margin: 0 6px;
}

.site-footer {
  margin-top: 8px;
  background: linear-gradient(to right, rgba(0, 0, 0, .96), rgba(102, 204, 255, .9));
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  color: #fff;
  opacity: .85;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-links a,
.footer-legal a {
  color: #fff;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Menu "plan du site" du footer — permanent, distinct du hamburger du
   header, s'ouvre vers le haut et flotte par-dessus le contenu. */
/* Lien "Haut de page" indépendant, à côté du bouton Plan du site */
.footer-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.footer-top-link svg {
  flex-shrink: 0;
}

.footer-top-link:hover {
  color: var(--color-primary-black);
}

.footer-sitemap {
  position: relative;
}

.footer-sitemap-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 8px 18px 8px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.footer-sitemap-toggle:hover,
.footer-sitemap-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .18);
}

.footer-sitemap-toggle svg {
  flex-shrink: 0;
}

.footer-sitemap-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  max-width: calc(100vw - 40px);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 -18px 36px rgba(0, 0, 0, .45);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.footer-sitemap-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-sitemap-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.footer-sitemap-menu a:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

/* Sélecteur de langue du footer — même mécanisme et même style que
   .footer-sitemap, pour que les deux se répondent visuellement. */
.footer-lang {
  position: relative;
}

.footer-social {
  position: relative;
}

.footer-social-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 10px;
  color: #ffffff;
  cursor: pointer;
  transition: background .15s ease;
}

.footer-social-toggle:hover,
.footer-social-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .18);
}

.footer-social-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 170px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 -18px 36px rgba(0, 0, 0, .45);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.footer-social-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.footer-social-item:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

.footer-lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 8px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
}

.footer-lang-toggle:hover,
.footer-lang-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, .18);
}

.footer-lang-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  min-width: 150px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 -18px 36px rgba(0, 0, 0, .45);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.footer-lang-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-lang-item {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.footer-lang-item:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--color-secondary-blue);
}

.footer-lang-item--active {
  color: var(--color-secondary-green);
  font-weight: 700;
}

.footer-meta {
  font-size: 12px;
  color: #fff;
  opacity: .85;
}

.footer-legal {
  font-size: 12px;
  color: #fff;
  opacity: .75;
}

@media (max-width: 1024px) {
  /* L'alignement par largeur n'a plus de sens une fois que les 5 cartes
     du haut passent en mosaïque (juste en dessous) : les 3 zones
     s'empilent en 1 colonne avec un libellé de catégorie à la place. */
  .cards-services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-zone {
    grid-column: 1 / -1;
  }

  .services-zone::before {
    display: block;
  }

  .services-zone--lego::before { content: "LEGO® & Sourcing"; }
  .services-zone--tech::before { content: "Assistance Apple® & Tech"; }
  .services-zone--home::before { content: "Coup de main & Accompagnement"; }

  .cards-summary-grid {
    grid-template-columns: repeat(6, minmax(0, 150px));
    justify-content: center;
  }

  .card-summary:nth-child(1) { grid-column: 1 / 3; }
  .card-summary:nth-child(2) { grid-column: 3 / 5; }
  .card-summary:nth-child(3) { grid-column: 5 / 7; }
  .card-summary:nth-child(4) { grid-column: 2 / 4; }
  .card-summary:nth-child(5) { grid-column: 4 / 6; }
}

@media (max-width: 780px) {
  .cards-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 150px));
    justify-content: center;
  }

  .card-summary:nth-child(1) { grid-column: 1 / 3; }
  .card-summary:nth-child(2) { grid-column: 3 / 5; }
  .card-summary:nth-child(3) { grid-column: 1 / 3; }
  .card-summary:nth-child(4) { grid-column: 3 / 5; }
  .card-summary:nth-child(5) { grid-column: 2 / 4; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 16px;
    background: rgba(0, 0, 0, .96);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .nav-link:hover,
  .nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--color-secondary-blue);
  }

  .site-header.nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .nav-dropdown {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  .nav-dropdown-menu {
    left: auto;
    right: 12px;
  }

  .nav-dropdown-menu[hidden] {
    display: none;
  }

  .social-switcher {
    display: none;
  }

  .nav-dropdown.nav-dropdown--social {
    display: flex;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
}

@media (max-width: 860px) {
  .lang-menu,
  .social-menu {
    left: 50%;
    right: auto;
    transform: translate(-50%, 4px);
  }

  .lang-switcher--open .lang-menu {
    transform: translate(-50%, 0);
  }

  .social-switcher--open .social-menu {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    padding-inline: 4px;
  }

  .about-difference-block .bullet-list {
    columns: 1;
  }

  .section-company-intro {
    padding-top: 28px;
    gap: 14px;
  }

  .section-inner--company,
  .section-inner--split,
  .cards-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-intro-text,
  .company-intro-heading {
    align-items: center;
    text-align: center;
  }

  .company-intro-logo {
    justify-content: center;
  }

  .company-feature-title {
    padding-bottom: 2px;
  }

  .company-mascot {
    margin-bottom: -16px;
  }

  .company-mascot-img {
    width: min(413px, 87vw);
  }

  .values-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
  }

  .values-location {
    margin-left: 0;
  }

  .values-separator {
    width: 100%;
    height: 1px;
  }

  .map-popover {
    right: auto;
    left: 50%;
    transform: translate(-50%, 6px);
  }

  .map-popover.is-open {
    transform: translate(-50%, 0);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-sitemap-menu {
    right: auto;
    left: 0;
    transform: translateY(8px);
  }

  .footer-sitemap-menu.is-open {
    transform: translateY(0);
  }

  .footer-top-row {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .footer-lang-menu {
    left: 50%;
    transform: translate(-50%, 8px);
  }

  .footer-lang-menu.is-open {
    transform: translate(-50%, 0);
  }

  .footer-social-menu {
    left: 50%;
    transform: translate(-50%, 8px);
  }

  .footer-social-menu.is-open {
    transform: translate(-50%, 0);
  }

  .hero-content {
    padding: 24px 20px;
  }

  .section-card .section-inner {
    padding: 18px 16px;
  }
}

@media (max-width: 640px) {
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-cta-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cards-summary-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .card-summary:nth-child(1),
  .card-summary:nth-child(2),
  .card-summary:nth-child(3),
  .card-summary:nth-child(4),
  .card-summary:nth-child(5) {
    grid-column: auto;
  }

  .company-logo-frame {
    max-width: 150px;
  }

  :root {
    --container-width: min(100% - 24px, 420px);
  }

  .brand-text {
    font-size: 13px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 13px;
  }
}

/* Static HTML interaction states */
.form-status {
  margin: 12px 0 0;
  color: var(--color-secondary-green);
  font-size: 13px;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

/* Couvre : Ce que je peux faire pour vous / Une approche centrée sur le service
   / Entrer en contact / Tarifs d'envoi LEGO® / Tarifs & abonnements Services
   / Nos frais de déplacement / Vos formules d'engagement */
.section-title,
.section-title.section-title--dark {
  font-family: 'Archivo', 'Raleway', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
}

/* Sous-titres de section (ex. Informations pratiques) */
.section-subtitle {
  font-family: 'Archivo', 'Raleway', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
}

/* Exception : "Ce qui fait la différence" (#about) est un titre, pas un sous-titre,
   malgré la classe .section-subtitle partagée avec "Informations pratiques" (#contact) */
#about .section-subtitle {
  font-size: 30px;
}

/* Hero : titre conservé à sa taille actuelle, mais centré */
.hero-title {
  text-align: center;
}

/* Hero : sous-titre traité comme les autres sous-titres (20px, même style), + centré */
.hero-subtitle {
  font-family: 'Archivo', 'Raleway', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  text-align: center;
}

/* Textes d'intro de section (Services, À propos, Tarifs LEGO®, Tarifs & abonnements
   Services, Nos frais de déplacement, Entrer en contact) : taille commune 20px,
   non-italique, sans gras — couvre les 7 occurrences de .section-intro du site */
.section-intro {
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
}

/* =========================================================
   Cartes détaillées (#services) : bloc flottant affiché au clic,
   avec plus de texte + photo. Appliqué aux 9 cartes .card-service.
   ========================================================= */

.card-service-popover {
  position: fixed;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(90%, 420px);
  max-height: 82vh;
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  text-align: left;
}

.card-service-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.services-popover-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

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

.card-service-popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .06);
  color: #111111;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.card-service-popover-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #F7F5F2;
  border-radius: 10px;
}

.card-service-popover-gallery {
  display: flex;
  gap: 8px;
}

.card-service-popover-img--half {
  width: calc(50% - 4px);
}

.card-service-popover-title {
  font-size: 15px;
  margin: 4px 0 0;
  color: #111111;
}

.card-service-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #444444;
}

.card-service-popover-text {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #444444;
}

.card-service-popover--verse .card-service-popover-text {
  margin-bottom: 14px;
}

.card-service-popover--verse .card-service-popover-text--spaced {
  margin-top: 10px;
}

/* Bouton flottant "remonter en haut" — hors de toute section .reveal
   pour ne pas être capturé par son will-change:transform */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease, border-color .15s ease;
  z-index: 80;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 0, 0, .06);
}

@media (max-width: 640px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* Bandeau de gestion des cookies */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .35);
  padding: 18px 20px;
  color: #fff;
}

.cookie-banner-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-banner-text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}

.cookie-banner-text a {
  color: var(--color-secondary-blue);
}

.cookie-banner-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}

.cookie-category input {
  margin-top: 3px;
  accent-color: var(--color-secondary-green);
  flex-shrink: 0;
}

.cookie-category input:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-banner-actions .btn {
  padding: 9px 18px;
  font-size: 13px;
}

.footer-legal-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: #fff;
  font-size: inherit;
  font-family: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-legal-cookie-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}

.visitor-counter {
  display: inline-block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
