/* AW CMS AI generated CSS — job #8 */
/* Front-office styles for HTML CMS pages generated by awcmsaigen.
   Scoped to .awcmsaigen-layout to avoid theme conflicts. */

body#cms #content .page-header,
body.page-cms #content .page-header {
  display: none !important;
}

.awcmsaigen-layout,
.awcmsaigen-layout * {
  box-sizing: border-box;
}

.awcmsaigen-layout {
  font-family: inherit;
  color: #101828;
  background: #fff;
  overflow: hidden;
}

.awcmsaigen-layout img {
  max-width: 100%;
  height: auto;
}

.awcmsaigen-layout h1,
.awcmsaigen-layout h2,
.awcmsaigen-layout h3,
.awcmsaigen-layout p,
.awcmsaigen-layout figure {
  margin-top: 0;
}

.awcmsaigen-hero {
  color: #fff;
  padding: 74px 22px;
  overflow: hidden;
}

.awcmsaigen-layout--landing .awcmsaigen-hero { background: linear-gradient(135deg, #101828 0%, #344054 100%); }
.awcmsaigen-layout--editorial .awcmsaigen-hero { background: linear-gradient(135deg, #344054 0%, #667085 100%); }
.awcmsaigen-layout--split-sections .awcmsaigen-hero { background: linear-gradient(135deg, #184E77 0%, #52B69A 100%); }
.awcmsaigen-layout--creative-grid .awcmsaigen-hero { background: linear-gradient(135deg, #53389E 0%, #9E77ED 100%); }
.awcmsaigen-layout--faq-guide .awcmsaigen-hero { background: linear-gradient(135deg, #0E9384 0%, #2ED3B7 100%); }
.awcmsaigen-layout--product-story .awcmsaigen-hero { background: linear-gradient(135deg, #7A271A 0%, #F97066 100%); }

.awcmsaigen-hero__inner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
}

.awcmsaigen-hero__text {
  flex: 1 1 470px;
  min-width: 280px;
}


.awcmsaigen-hero__eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.awcmsaigen-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  margin: 0 0 18px;
  color: #fff;
}

.awcmsaigen-hero p {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, .9);
}

.awcmsaigen-hero-image {
  flex: 0 1 430px;
  min-width: 260px;
  margin: 0;
}

.awcmsaigen-hero-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  background: #fff;
}

.awcmsaigen-intro {
  width: 100%;
  margin: 0 auto;
  padding: 44px 22px 22px;
  text-align: center;
}

.awcmsaigen-intro p,
.awcmsaigen-editorial__intro {
  font-size: 20px;
  line-height: 1.75;
  color: #344054;
  margin: 0;
}

.awcmsaigen-editorial__intro {
  margin-bottom: 28px;
}

.awcmsaigen-cards,
.awcmsaigen-sections,
.awcmsaigen-faq,
.awcmsaigen-editorial,
.awcmsaigen-story,
.awcmsaigen-mosaic,
.awcmsaigen-cta {
  margin-left: auto;
  margin-right: auto;
}

.awcmsaigen-cards {
  width: 100%;
  padding: 30px 22px;
}

.awcmsaigen-cards > h2,
.awcmsaigen-faq > h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 24px;
  color: #101828;
  text-align: center;
}

.awcmsaigen-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.awcmsaigen-cards article,
.awcmsaigen-mosaic__item,
.awcmsaigen-story__cards article {
  background: #F9FAFB;
  border: 1px solid #EAECF0;
  border-radius: 22px;
  padding: 24px;
}

.awcmsaigen-cards h3,
.awcmsaigen-mosaic h3,
.awcmsaigen-story h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #101828;
}

.awcmsaigen-cards p,
.awcmsaigen-mosaic p,
.awcmsaigen-story p,
.awcmsaigen-faq__answer p {
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  color: #475467;
}

.awcmsaigen-sections {
  width: 100%;
  padding: 34px 22px;
}

.awcmsaigen-sections article,
.awcmsaigen-editorial__section {
  padding: 28px 0;
  border-bottom: 1px solid #EAECF0;
}

.awcmsaigen-editorial__section {
  border-top: 1px solid #EAECF0;
  border-bottom: 0;
}

.awcmsaigen-sections h2,
.awcmsaigen-editorial h2,
.awcmsaigen-split h2,
.awcmsaigen-story h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #101828;
}

.awcmsaigen-sections p,
.awcmsaigen-editorial p,
.awcmsaigen-split p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
  color: #475467;
}

.awcmsaigen-faq {
  max-width: 980px;
  padding: 42px 22px;
}

.awcmsaigen-faq__item {
  border: 1px solid #EAECF0;
  border-radius: 18px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.awcmsaigen-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 20px;
  color: #101828;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  list-style: none;
}

.awcmsaigen-faq__question::-webkit-details-marker {
  display: none;
}

.awcmsaigen-faq__question::after {
  content: '+';
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F2F4F7;
  color: #101828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.awcmsaigen-faq__item[open] .awcmsaigen-faq__question::after {
  content: '–';
}

.awcmsaigen-faq__answer {
  padding: 0 20px 20px;
}

.awcmsaigen-cta {
  width: 100%;
  margin-top: 32px;
  margin-bottom: 56px;
  padding: 0 22px;
}

.awcmsaigen-cta__box {
  background: #101828;
  color: #fff;
  border-radius: 30px;
  padding: 38px;
  text-align: center;
}

.awcmsaigen-cta h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}

.awcmsaigen-cta p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, .86);
}

.awcmsaigen-cta span {
  display: inline-block;
  background: #fff;
  color: #101828;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
}

.awcmsaigen-split {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
  padding: 28px 22px;
}

.awcmsaigen-split--reverse {
  flex-direction: row-reverse;
}

.awcmsaigen-split__text {
  flex: 1 1 360px;
  min-width: 280px;
}

.awcmsaigen-split__index {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1570EF;
  font-weight: 700;
  margin-bottom: 12px;
}

.awcmsaigen-split__visual {
  flex: 1 1 280px;
  min-width: 260px;
  border-radius: 28px;
  min-height: 230px;
  background: linear-gradient(135deg, #F2F4F7, #D0D5DD);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

.awcmsaigen-mosaic {
  width: 100%;
  padding: 34px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}

.awcmsaigen-mosaic__item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
}

.awcmsaigen-mosaic__number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #F4EBFF;
  color: #6941C6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.awcmsaigen-editorial {
  width: 100%;
  padding: 42px 22px;
}

.awcmsaigen-story {
  width: 100%;
  padding: 38px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}

.awcmsaigen-story__intro {
  flex: 1 1 360px;
  background: #FFF6ED;
  border: 1px solid #FEDF89;
  border-radius: 28px;
  padding: 30px;
}

.awcmsaigen-story__intro h2,
.awcmsaigen-story__intro p {
  color: #7A2E0E;
}

.awcmsaigen-story__intro p {
  font-size: 17px;
  line-height: 1.7;
}

.awcmsaigen-story__cards {
  flex: 1 1 360px;
  display: grid;
  gap: 16px;
}

.awcmsaigen-story__cards article {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
}

.awcmsaigen-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.awcmsaigen-ce-placeholder {
  padding: 48px 24px;
  border: 1px dashed #c7d7e0;
  border-radius: 16px;
  text-align: center;
  background: #f8fafc;
  color: #363a41;
}

.awcmsaigen-ce-placeholder h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
}

.awcmsaigen-ce-placeholder p {
  margin: 0 auto;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .awcmsaigen-hero {
    padding: 48px 18px;
  }

  .awcmsaigen-hero__inner,
  .awcmsaigen-split,
  .awcmsaigen-story {
    gap: 22px;
  }

  .awcmsaigen-cards > h2,
  .awcmsaigen-faq > h2,
  .awcmsaigen-cta h2 {
    font-size: 28px;
  }
}

/* CSS custom du job */
.awcmsaigen-hero { border-radius: 20px; padding-right: 5rem; padding-left: 5rem;} .awcmsaigen-cta {padding:0}

/* Hide native CMS title on AW CMS AI generated pages to avoid duplicate H1/title blocks. */
body#cms #content .page-header,
body.page-cms #content .page-header,
body.cms-id-13 #content .page-header,
body.cms-id-13 main .page-header,
body.cms-id-13 .page-title,
body.cms-id-13 h1.page-title {
  display: none !important;
}
body.cms-id-13 .page-content.page-cms {
  padding-top: 0 !important;
}
