:root {
  --ug-green: #00c920;
  --ug-blue: #30a3ff;
  --ug-ink: #17191d;
  --ug-soft: #f4f9ff;
}

.ug-video-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #17191d, #203247);
}

.ug-video-shell iframe {
  width: 100%;
  max-width: 100%;
}

.ug-video-consent-button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, rgba(48, 163, 255, .45), transparent 45%), linear-gradient(135deg, #17191d, #203247);
  cursor: pointer;
  font: 700 18px/1.3 Inter, Arial, sans-serif;
}

.ug-video-consent-button:focus-visible {
  outline: 3px solid var(--ug-green);
  outline-offset: -5px;
}

.ug-video-consent-button small {
  max-width: 32ch;
  font-size: 13px;
  font-weight: 500;
  opacity: .85;
}

.ug-video-play {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding-left: 4px;
  border-radius: 50%;
  color: var(--ug-ink);
  background: linear-gradient(178deg, var(--ug-green), #87ff9e);
  box-shadow: 0 12px 28px rgba(0, 201, 32, .28);
}

.ug-author-card,
.ug-answer-section,
.ug-related-links,
.ug-expertise-section {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(28px, 4vw, 48px) auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #dce9f4;
  border-radius: 24px;
  color: var(--ug-ink);
  background: #fff;
  box-shadow: 0 18px 48px rgba(23, 25, 29, .08);
  font-family: Inter, Arial, sans-serif;
}

.ug-author-card {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: min(1040px, calc(100% - 40px));
  margin-top: 24px;
  padding: 24px 28px;
  overflow: hidden;
  background: linear-gradient(110deg, #fff 58%, rgba(48, 163, 255, .08));
}

.ug-author-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ug-blue), var(--ug-green));
  content: "";
}

.ug-author-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(178deg, var(--ug-blue), var(--ug-green));
  box-shadow: 0 10px 24px rgba(48, 163, 255, .22);
  font-size: 15px;
  font-weight: 900;
}

.ug-author-card > div:last-child {
  min-width: 0;
}

.ug-author-card strong {
  font-weight: 850;
}

.ug-author-card p,
.ug-answer-section p,
.ug-related-links p,
.ug-expertise-section p {
  margin: 7px 0;
  line-height: 1.65;
}

.ug-author-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-top: 4px !important;
  padding: 6px 10px;
  border: 1px solid rgba(48, 163, 255, .16);
  border-radius: 999px;
  color: #4f5d68;
  background: rgba(244, 249, 255, .85);
  font-size: 13px;
  font-weight: 600;
}

.ug-answer-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(48, 163, 255, .13), transparent 34%),
    linear-gradient(180deg, #fff, var(--ug-soft));
}

.ug-answer-section::before,
.ug-expertise-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(178deg, var(--ug-blue), var(--ug-green));
  content: "";
}

.ug-answer-section h2,
.ug-related-links h2,
.ug-expertise-section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.ug-answer-section > h2 {
  max-width: 24ch;
}

.ug-answer-section > p:first-of-type {
  max-width: 78ch;
  color: #46525c;
  font-size: clamp(15px, 1.4vw, 17px);
}

.ug-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.ug-answer-card {
  position: relative;
  min-height: 100%;
  padding: 24px 22px 22px;
  overflow: hidden;
  border: 1px solid rgba(48, 163, 255, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(23, 25, 29, .06);
}

.ug-answer-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ug-blue), var(--ug-green));
  content: "";
}

.ug-answer-card h3 {
  margin: 0 0 10px;
  color: var(--ug-ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ug-answer-card p {
  color: #4f5d68;
}

.ug-table-wrap {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid #dce9f4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 25, 29, .05);
  scrollbar-color: var(--ug-blue) var(--ug-soft);
}

.ug-comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.ug-comparison-table caption {
  padding: 18px 20px;
  color: var(--ug-ink);
  background: #fff;
  text-align: left;
  font-size: 15px;
  font-weight: 850;
}

.ug-comparison-table th,
.ug-comparison-table td {
  padding: 15px 16px;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.ug-comparison-table th {
  color: #fff;
  background: var(--ug-ink);
  font-size: 14px;
  font-weight: 800;
}

.ug-comparison-table th + th,
.ug-comparison-table td + td {
  border-left: 1px solid #dce9f4;
}

.ug-comparison-table tbody tr + tr td {
  border-top: 1px solid #dce9f4;
}

.ug-comparison-table tbody tr:nth-child(even) td {
  background: #f8fbfe;
}

.ug-answer-section > p:last-child a,
.ug-expertise-section a {
  color: #0675bd;
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.ug-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ug-link-list a {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-weight: 750;
  text-decoration: none;
}

.ug-link-list a::after {
  flex: 0 0 auto;
  color: #87ff9e;
  content: "→";
  font-size: 20px;
}

.ug-link-list a:hover,
.ug-link-list a:focus-visible {
  border-color: #87ff9e;
  color: var(--ug-ink);
  background: #fff;
  outline: 0;
}

.ug-link-list a:hover::after,
.ug-link-list a:focus-visible::after {
  color: var(--ug-green);
}

.ug-proof-note {
  padding: 16px 18px;
  border-left: 4px solid var(--ug-green);
  border-radius: 0 14px 14px 0;
  background: var(--ug-soft);
}

.ug-related-links {
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(48, 163, 255, .24), transparent 35%),
    linear-gradient(135deg, #17191d, #202934);
  box-shadow: 0 22px 52px rgba(23, 25, 29, .18);
}

.ug-related-links h2 {
  max-width: 22ch;
  color: #fff;
}

.ug-related-links > p:not(.ug-proof-note) {
  max-width: 70ch;
  color: rgba(255, 255, 255, .78);
}

.ug-related-links .ug-proof-note {
  margin-top: 20px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.ug-related-links .ug-proof-note a {
  color: #87ff9e;
  font-weight: 750;
  text-underline-offset: 3px;
}

.ug-expertise-section {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, rgba(0, 201, 32, .1), transparent 32%),
    linear-gradient(135deg, var(--ug-soft), #fff 58%);
}

.ug-expertise-section h2,
.ug-expertise-section .ug-proof-note {
  grid-column: 1 / -1;
}

.ug-expertise-section > p:not(.ug-proof-note) {
  margin: 8px 0 4px;
  padding-top: 18px;
  border-top: 2px solid rgba(48, 163, 255, .35);
  color: #46525c;
  font-size: 16px;
}

.ug-expertise-section > p:nth-of-type(2) {
  border-top-color: rgba(0, 201, 32, .4);
}

.ug-expertise-section .ug-proof-note {
  margin-top: 14px;
  background: rgba(255, 255, 255, .72);
}

@media (prefers-reduced-motion: no-preference) {
  .ug-answer-card,
  .ug-link-list a {
    transition: transform .2s ease, border-color .2s ease, color .2s ease, background-color .2s ease;
  }

  .ug-answer-card:hover {
    transform: translateY(-2px);
  }

  .ug-link-list a:hover,
  .ug-link-list a:focus-visible {
    transform: translateY(-2px);
  }
}

.ug-faq-open .cf-faq-line-vertical-2 {
  transform: rotate(90deg);
}

/* Keep the mobile conversion bar below consent and accessibility overlays. */
.sticky-cta-bar {
  z-index: 1000 !important;
}

body:has(#axeptio_main_button[aria-label="Fermer le widget sans consentement"]) .sticky-cta-bar {
  display: none !important;
}

/* Keep the shared Webflow mobile navigation readable and inside the viewport. */
@media screen and (max-width: 767px) {
  .navigation .nav-menu.w-nav-menu {
    z-index: 10001;
    inset: 72px 12px auto;
    width: auto;
    max-height: calc(100dvh - 84px);
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #dce9f4;
    border-radius: 16px;
    color: #17191d;
    background: #f7f7f8;
    box-shadow: 0 18px 42px rgba(23, 25, 29, .18);
  }

  .navigation .nav-menu.w-nav-menu[data-nav-menu-open] {
    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;
  }

  .navigation .nav-menu .nav-dropdown,
  .navigation .nav-menu .nav-link {
    width: 100%;
    color: #17191d;
  }
}

@media screen and (max-width: 479px) {
  .navigation .nav-menu.w-nav-menu {
    inset: 60px 12px auto;
    max-height: calc(100dvh - 72px);
  }
}

/* Shared forms: neutralize conflicting legacy fixed widths on small screens. */
@media screen and (max-width: 767px) {
  .brix---grid-contact-v4,
  .brix---card-form-v2,
  .brix---form-grid-2-columns,
  .brix---card-form-v2 form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .brix---card-form-v2 {
    padding: 32px clamp(20px, 6vw, 32px);
  }

  .brix---form-grid-2-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .brix---form-grid-2-columns > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .brix---form-grid-2-columns > *,
  .brix---input,
  .brix---text-area,
  .brix---btn-primary-4 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 767px) {
  body.page-seminaire-bordeaux {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.page-seminaire-bordeaux .carousel-horizontal {
    max-width: 100vw;
    overflow: hidden !important;
  }

  body.page-seminaire-bordeaux .carousel-horizontal-content {
    max-width: 100%;
  }

  body.page-seminaire-bordeaux .brix---section-bg-image,
  body.page-seminaire-bordeaux .brix---card-over-bg-image {
    opacity: 1 !important;
    transform: none !important;
  }

  .waves---grid-image-halves-2 > * {
    width: 100%;
    min-width: 0;
  }

  .ug-author-card,
  .ug-answer-section,
  .ug-related-links,
  .ug-expertise-section {
    width: min(100% - 24px, 1120px);
    margin: 28px auto;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .ug-answer-grid,
  .ug-link-list {
    grid-template-columns: 1fr;
  }

  .ug-author-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    width: min(100% - 24px, 1040px);
    padding: 20px;
  }

  .ug-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .ug-expertise-section {
    grid-template-columns: 1fr;
  }

  .ug-expertise-section h2,
  .ug-expertise-section .ug-proof-note {
    grid-column: auto;
  }

  .ug-table-wrap {
    margin-right: -8px;
    margin-left: -8px;
    border-radius: 15px;
  }
}

@media (max-width: 479px) {
  .home_background .header-14-title {
    min-height: 236px;
  }
}
