/*
 * The scraped HTML already contains Elementor's submenu icon. SmartMenus adds
 * the same icon again at runtime, so only the first direct icon is displayed.
 */
.elementor-nav-menu a.has-submenu > .sub-arrow + .sub-arrow {
  display: none !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Le widget Elementor calculait une largeur fixe trop grande sur mobile. */
@media (max-width: 767px) {
  .elementor-headline-dynamic-wrapper,
  .elementor-headline-dynamic-text {
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

.wp-block-file__embed {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 1px solid #d9dce3;
}

.ap-standard-sur-site {
  color: #101a3d;
  font-family: Montserrat, Arial, sans-serif;
}

.ap-standard-sur-site section {
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
}

.ap-standard-sur-site h2 {
  margin: 0 0 24px;
  color: #101a3d;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

.ap-standard-sur-site h3 {
  color: #101a3d;
  font-size: 22px;
}

.ap-standard-sur-site p {
  font-size: 17px;
  line-height: 1.75;
}

.ap-standard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 56px;
  align-items: center;
  background: #f4f6fa;
}

.ap-standard-hero img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.ap-eyebrow {
  margin-bottom: 10px !important;
  color: #fb6609;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ap-button,
.ap-text-link {
  display: inline-block;
  color: #fff !important;
  background: #fb6609;
  border-radius: 4px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none !important;
}

.ap-text-link {
  padding: 10px 18px;
}

.ap-benefit-grid,
.ap-product-grid,
.ap-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ap-benefit-grid article,
.ap-product-grid article,
.ap-review-grid blockquote {
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #e4e7ee;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 26, 61, .08);
}

.ap-benefit-grid article > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #fb6609;
  font-weight: 800;
}

.ap-product-section,
.ap-review-section {
  background: #f4f6fa;
}

.ap-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-review-grid cite {
  color: #fb6609;
  font-style: normal;
  font-weight: 700;
}

.ap-standard-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: #101a3d;
}

.ap-standard-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.ap-contact-results {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto;
}

.ap-contact-result {
  display: none;
  padding: 16px 20px;
  border-radius: 5px;
  font-weight: 600;
}

.ap-contact-result:target {
  display: block;
}

.ap-contact-result--success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}

.ap-contact-result--error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}

.ap-review-links {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 64px;
  padding: 32px;
  text-align: center;
  background: #f4f6fa;
  border-radius: 8px;
}

.ap-review-links a {
  display: inline-block;
  margin: 8px;
  padding: 13px 20px;
  color: #fff;
  background: #fb6609;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.elementor-element-f279f76 {
  justify-content: center !important;
}

@media (max-width: 767px) {
  .ap-standard-sur-site section {
    padding: 48px 20px;
  }

  .ap-standard-hero,
  .ap-benefit-grid,
  .ap-product-grid,
  .ap-review-grid {
    grid-template-columns: 1fr;
  }

  .ap-standard-cta {
    display: block;
  }

  .ap-standard-cta .ap-button {
    margin-top: 18px;
  }

  .wp-block-file__embed {
    min-height: 460px;
  }
}
