/* AssurSuite landing — styles alignés sur preview_maquette.html */
:root {
  --as-primary: #0074ba;
  --as-primary-dark: #005a92;
  --as-hero-start: #185f98;
  --as-hero-mid: #2074b2;
  --as-hero-end: #2a87c8;
  --as-text: #1e293b;
  --as-muted: #64748b;
  --as-font: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--as-font);
  color: var(--as-text);
  overflow-x: hidden;
}

body.elementor-page .site-header,
body .site-footer {
  display: none;
}

#masthead {
  display: contents;
}

#colophon {
  display: contents;
}

.bhf-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
}

/* Top notice bar */
.as-top-bar {
  background: #004c7d !important;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.as-top-bar .elementor-heading-title,
.as-top-bar .elementor-widget-text-editor,
.as-top-bar .elementor-widget-text-editor p {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 400;
  margin: 0;
}

.as-badge .elementor-heading-title {
  background: #34c38f;
  color: #ffffff !important;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
  line-height: 1.5;
}

/* Sticky header */
.as-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff !important;
  border-bottom: 1px solid #edf2f7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.as-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.as-header .as-logo,
.as-header .elementor-widget-image {
  width: auto !important;
  max-width: 260px !important;
}

.as-logo img,
.as-header img {
  height: 48px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain;
}

.as-pill-btn .elementor-button {
  background: #f0f7fc !important;
  color: var(--as-primary) !important;
  border: 1.5px solid var(--as-primary) !important;
  border-radius: 24px !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  fill: var(--as-primary);
}

.as-pill-btn .elementor-button:hover {
  background: #e2f0fa !important;
}

/* GTranslate in header */
.as-lang-switcher .gt_switcher,
.as-lang-switcher .gt_selected,
.as-lang-switcher .gt_selected a {
  font-family: var(--as-font) !important;
  font-size: 13px !important;
  font-weight: 600;
  height: auto !important;
  line-height: 1.2 !important;
}

.as-lang-switcher .gt_selected img,
.as-lang-switcher .gt_option img,
.as-lang-switcher img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  object-fit: cover;
}

.as-hero .e-con-inner {
  flex-wrap: nowrap !important;
  align-items: center;
}

@media (max-width: 992px) {
  .as-hero .e-con-inner {
    flex-wrap: wrap !important;
  }
}

.as-lang-switcher .gt-selected,
.as-lang-switcher .gt_switcher {
  border-radius: 24px !important;
}

/* Hero */
.as-hero {
  background: linear-gradient(125deg, var(--as-hero-start) 0%, var(--as-hero-mid) 45%, var(--as-hero-end) 100%) !important;
}

.as-hero-title .elementor-heading-title {
  color: #ffffff !important;
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px;
}

.as-hero-title .underline-accent {
  position: relative;
  display: inline-block;
}

.as-hero-title .underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

.as-hero-subtitle,
.as-hero-subtitle p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
}

.as-hero-visual {
  animation: asFloatSlow 6s ease-in-out infinite;
}

@keyframes asFloatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Section badges / titles */
.as-section-badge .elementor-heading-title {
  display: inline-block;
  background: #e1effa;
  color: var(--as-primary) !important;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.as-section-title .elementor-heading-title {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.as-section-subtitle,
.as-section-subtitle p {
  font-size: 16px !important;
  color: var(--as-muted) !important;
}

/* Country search — Design moderne & élégant */
.as-country-search-wrapper,
.as-country-search-bar {
  max-width: 580px;
  width: 100%;
  margin: 0 auto 40px;
  position: relative;
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 50px !important;
  padding: 6px 18px 6px 14px !important;
  box-shadow: 0 4px 18px rgba(0, 76, 125, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.as-country-search-bar:hover {
  border-color: #94a3b8 !important;
  box-shadow: 0 8px 24px rgba(0, 116, 186, 0.1) !important;
  transform: translateY(-1px);
}

.as-country-search-bar:focus-within {
  border-color: var(--as-primary) !important;
  box-shadow: 0 10px 28px rgba(0, 116, 186, 0.16), 0 0 0 3.5px rgba(0, 116, 186, 0.12) !important;
  transform: translateY(-2px);
}

.as-country-search-icon,
.as-country-search-icon-box {
  position: static !important;
  transform: none !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 50% !important;
  background: #f0f7fc !important;
  color: var(--as-primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  pointer-events: none;
}

.as-country-search-bar:focus-within .as-country-search-icon,
.as-country-search-bar:focus-within .as-country-search-icon-box {
  background: var(--as-primary) !important;
  color: #ffffff !important;
}

.as-country-search-input {
  width: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  font-family: var(--as-font) !important;
  color: var(--as-text) !important;
}

.as-country-search-input:focus {
  border: none !important;
  box-shadow: none !important;
}

.as-country-search-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.as-country-search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.as-country-search-clear:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.1);
}

/* Country cards (sans bordure bleue supérieure) */
.as-country-card,
.e-con.as-country-card,
.elementor-element.as-country-card,
.country-card,
.country-card.active-country {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-top: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  height: 100%;
}

.as-country-card:hover,
.e-con.as-country-card:hover,
.elementor-element.as-country-card:hover,
.country-card:hover {
  border-color: var(--as-primary) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 116, 186, 0.1);
}

.as-country-card::before,
.as-country-card::after {
  display: none !important;
}

.as-country-flag img,
.as-country-flag .elementor-widget-image img {
  width: 42px !important;
  height: 28px !important;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.as-country-name .elementor-heading-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.as-country-domain,
.as-country-domain p {
  font-size: 13.5px !important;
  color: var(--as-primary) !important;
  font-weight: 600 !important;
  margin: 0;
}

.as-country-details,
.as-country-details p {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

.as-mini-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.as-mini-tags .mini-tag,
span.mini-tag {
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 500;
  display: inline-block;
}

.as-access-btn .elementor-button {
  width: 100%;
  background: var(--as-primary) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  justify-content: center;
}

.as-access-btn .elementor-button:hover {
  background: var(--as-primary-dark) !important;
}

/* Features */
.as-feature-card,
.e-con.as-feature-card,
.elementor-element.as-feature-card,
.feature-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.as-feature-icon .elementor-heading-title {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e1effa;
  color: var(--as-primary) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px !important;
  margin: 0;
}

.as-feature-title .elementor-heading-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.as-feature-desc,
.as-feature-desc p {
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
}

/* Modal */
.as-modal-overlay,
#countryModal {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(4px);
  z-index: 2000 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.as-modal-overlay.open,
.as-modal-overlay.as-open,
#countryModal.open,
#countryModal.as-open {
  display: flex !important;
}

.as-modal-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.as-modal-close .elementor-button {
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0 !important;
  font-size: 18px !important;
}

.as-modal-close .elementor-button:hover {
  background: #e2e8f0 !important;
}

.as-modal-search {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--as-font);
  outline: none;
}

.as-modal-search:focus {
  border-color: var(--as-primary);
}

.as-modal-row {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.as-modal-row:hover {
  background: #f0f7fc !important;
  border-color: var(--as-primary) !important;
}

.as-modal-row .elementor-heading-title {
  font-size: 16px !important;
}

.as-modal-countries {
  max-height: 320px;
  overflow-y: auto;
}

/* Footer */
.as-footer {
  background: #0d3a5f !important;
  color: #cbd5e1;
}

.as-footer-logo-wrap {
  background: #ffffff !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.as-footer-logo-wrap img {
  height: 38px !important;
  width: auto !important;
}

.as-footer-baseline,
.as-footer-baseline p {
  color: #e2e8f0 !important;
  font-size: 14px !important;
}

.as-footer .elementor-social-icon {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  width: 36px;
  height: 36px;
}

.as-footer .elementor-social-icon:hover {
  background: #00a0e9 !important;
}

.as-footer-col-title .elementor-heading-title {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}

.as-footer-col-title .elementor-heading-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2.5px;
  background: #00a0e9;
  border-radius: 2px;
}

.as-footer .elementor-icon-list-text,
.as-footer .elementor-icon-list-item a {
  color: #cbd5e1 !important;
  font-size: 14px !important;
}

.as-footer .elementor-icon-list-item a:hover .elementor-icon-list-text {
  color: #ffffff !important;
}

.as-footer .elementor-icon-list-icon {
  color: #00a0e9 !important;
}

.as-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.as-footer-copy,
.as-footer-copy p {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.as-footer-legal .elementor-icon-list-text,
.as-footer-legal .elementor-icon-list-item a {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

.as-footer-legal .elementor-icon-list-item a:hover .elementor-icon-list-text {
  color: #ffffff !important;
}

/* Scroll to top */
.as-scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #009fe3;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 160, 233, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s, background 0.2s;
}

.as-scroll-top-btn:hover {
  background: #0088cc;
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .as-hero-title .elementor-heading-title {
    font-size: 36px !important;
  }
}

@media (max-width: 640px) {
  .as-top-bar {
    display: none !important;
  }

  .as-hero-title .elementor-heading-title {
    font-size: 32px !important;
  }
}
