/* ===================================================
   SPWebDev — ajustements spécifiques client
   Ce fichier n’est pas modifié par le moteur.
   =================================================== */

.badges .badge:nth-last-child(-n + 3) {
  background: rgba(128, 141, 122, 0.32);
  color: #6b7765;
  border: 1px solid rgba(128, 141, 122, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* =========================================================
   AngieAssist — section personnalisée après "À propos"
   Tous les styles sont limités à #angie-assist-story
   ========================================================= */

.aboutSection {
  padding-bottom: 100px;
}

@media all and (max-width: 980px) {
  .aboutSection {
    padding-bottom: 50px;
  }
  div.aboutGrid {
    width: 100%;
  }
}

#angie-assist-story {
  position: relative;
  padding: 0 0 clamp(4rem, 7vw, 6rem);
  background: #ffffff;
}

#angie-assist-story .aaStory__wrap {
  position: relative;
}

/* ---------------------------------------------------------
   Encart : rôle d'Angélique
   --------------------------------------------------------- */

#angie-assist-story .aaStory__role {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 5rem);

  width: min(100%, 900px);
  margin: -1.5rem auto clamp(5rem, 8vw, 7rem);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);

  overflow: visible;
  color: #ffffff;
  background: #808d7a;
  border-radius: 12px;
}

#angie-assist-story .aaStory__roleIntro {
  position: relative;
  z-index: 1;
  max-width: 35ch;
  margin: 0;
  padding: 1.25rem 0 1.25rem clamp(3rem, 3vw, 4rem);

  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
}

#angie-assist-story .aaStory__roleList {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 0.7rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

#angie-assist-story .aaStory__roleList li {
  position: relative;

  padding-left: 1.5rem;

  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
}

#angie-assist-story .aaStory__roleList li::before {
  content: "✓";

  position: absolute;
  top: 0;
  left: 0;

  font-size: 0.85rem;
  font-weight: 700;

  color: rgba(255, 255, 255, 0.9);
}

#angie-assist-story .aaStory__quoteMark {
  position: absolute;
  top: 1.15rem;
  left: clamp(1.5rem, 3vw, 2.75rem);

  display: block;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1;

  color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

#angie-assist-story .aaStory__leafIcon {
  position: absolute;
  right: clamp(1.5rem, 3vw, 2.75rem);
  bottom: 1.1rem;

  width: clamp(62px, 6vw, 78px);
  height: auto;

  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;

  pointer-events: none;
}

/* Tablette et mobile */

@media (max-width: 760px) {
  #angie-assist-story .aaStory__role {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;

    width: min(100%, 620px);
    margin-top: 0;
    margin-bottom: 4.5rem;
    padding: 2rem 1.5rem 2.5rem;
  }

  #angie-assist-story .aaStory__roleIntro {
    padding: 1.25rem 0 0.25rem 1rem;
  }

  #angie-assist-story .aaStory__leafIcon {
    width: 56px;
  }
}

/* ---------------------------------------------------------
   Histoire du nom
   --------------------------------------------------------- */

#angie-assist-story .aaStory__content {
  position: relative;

  padding: clamp(3rem, 5vw, 4.5rem);

  overflow: hidden;
  background: rgba(128, 141, 122, 0.14);
  border-radius: 12px;
}

#angie-assist-story .aaStory__content::before {
  content: "";

  position: absolute;
  top: -65px;
  right: -65px;

  width: 150px;
  height: 150px;

  background: rgba(128, 141, 122, 0.18);
  border-radius: 50%;

  pointer-events: none;
}

#angie-assist-story .aaStory__content::after {
  content: "";

  position: absolute;
  bottom: -75px;
  left: -65px;

  width: 150px;
  height: 150px;

  background: rgba(229, 196, 199, 0.25);
  border-radius: 50%;

  pointer-events: none;
}

#angie-assist-story .aaStory__heading {
  position: relative;
  z-index: 1;

  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem);

  text-align: center;
}

#angie-assist-story .aaStory__title {
  color: inherit;
  margin: 0;
  padding-bottom: var(--space-lg);
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}

#angie-assist-story .aaStory__grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

#angie-assist-story .aaStory__item {
  position: relative;
  text-align: center;
}

#angie-assist-story .aaStory__item + .aaStory__item::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(clamp(1.5rem, 3vw, 2.5rem) / -2);

  width: 1px;

  background: rgba(65, 72, 61, 0.16);
}

#angie-assist-story .aaStory__itemTitle {
  display: inline-block;

  margin: 0 0 0.85rem;
  padding-bottom: 0.2rem;

  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;

  color: #66715f;
  border-bottom: 1px solid rgba(102, 113, 95, 0.4);
}

#angie-assist-story .aaStory__item p {
  max-width: 32ch;
  margin: 0 auto;

  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.65;

  color: inherit;
}

/* ===================================================
   Section personnalisée Angie Assist — responsive
   =================================================== */

@media (max-width: 900px) {
  /* Même alignement horizontal que les autres sections */
  #angie-assist-story .aaStory__wrap {
    width: 100%;
  }

  #angie-assist-story .aaStory__role,
  #angie-assist-story .aaStory__content {
    width: 100%;
    max-width: none;
  }

  /* Encart du rôle en une colonne */
  #angie-assist-story .aaStory__role {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;

    margin-top: 0;
    margin-bottom: 3rem;
    padding: 2rem;
  }

  #angie-assist-story .aaStory__roleIntro {
    max-width: 28ch;
    padding: 1rem 0 0;
  }

  #angie-assist-story .aaStory__roleList {
    padding-right: 4rem;
  }

  /* Histoire du nom en empilement */
  #angie-assist-story .aaStory__grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    margin: 0 auto;
  }

  #angie-assist-story .aaStory__item {
    padding: 0 0 2rem;
  }

  #angie-assist-story .aaStory__item:last-child {
    padding-bottom: 0;
  }

  #angie-assist-story .aaStory__item + .aaStory__item {
    padding-top: 2rem;
  }

  /* Transforme les séparateurs verticaux en séparateurs horizontaux */
  #angie-assist-story .aaStory__item + .aaStory__item::before {
    top: 0;
    right: 15%;
    bottom: auto;
    left: 15%;

    width: auto;
    height: 1px;
  }

  #angie-assist-story .aaStory__item p {
    max-width: 36ch;
  }
}

@media all and (max-width: 640px) {
  #angie-assist-story {
    padding-bottom: 4rem;
  }

  html.theme-default .aboutGrid {
    width: 100%;
  }

  html.theme-default .aboutMedia img {
    width: 100%;
  }

  /*
   Le div .wrap conserve exactement les marges latérales
   définies par le moteur, comme dans la section À propos.
  */
  #angie-assist-story .aaStory__role {
    margin-bottom: 3rem;
    padding: 1.75rem 4.5rem 2rem;
    border-radius: 10px;
  }

  #angie-assist-story .aaStory__roleIntro {
    max-width: 24ch;
    font-size: 1.05rem;
  }

  #angie-assist-story .aaStory__roleList {
    padding-right: 2.5rem;
  }

  #angie-assist-story .aaStory__leafIcon {
    right: 1rem;
    bottom: 0.75rem;
    width: 60px;
  }

  #angie-assist-story .aaStory__content {
    padding: 2.75rem 1.5rem;
    border-radius: 10px;
  }

  #angie-assist-story .aaStory__heading {
    margin-bottom: 2rem;
  }

  #angie-assist-story .aaStory__title {
    font-size: 1.55rem;
  }

  #angie-assist-story .aaStory__item {
    text-align: center;
  }

  #angie-assist-story .aaStory__itemTitle {
    font-size: 1rem;
  }

  #angie-assist-story .aaStory__item p {
    max-width: 30ch;
    font-size: 0.95rem;
  }

  .pricingSectionIntro {
    padding-bottom: 30px;
  }
}

/* ===================================================
   Cartes de services — suppression des espaces inutiles
   =================================================== */

html.theme-default .services--cards .service {
  justify-content: flex-start;
}

html.theme-default .services--cards .serviceDesc {
  flex: 0 0 auto;
}

html.theme-default .services--cards .serviceDesc p:last-child {
  margin-bottom: 0;
}

html.theme-default .services--cards .service ul {
  margin-top: 1.25rem;
}

/* ===================================================
   Why me - icônes plus affirmées
   =================================================== */

html.theme-default .whyIcon {
  background: rgba(182, 148, 154, 0.14);
  border: 1px solid rgba(233, 174, 185, 0.45);
}

html.theme-default .whyIcon svg {
  color: #d9899d;
  stroke-width: 2.2;
}

/* ===================================================
  Photo pleine largeur après le process 
   =================================================== */

.aaProcessPhoto {
  margin: 0;
  padding: 0;
}

.aaProcessPhoto img {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 900px) {
  .aaProcessPhoto img {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .aaProcessPhoto img {
    height: 300px;
  }
}

/* ===================================================
   fonds de sections
   =================================================== */

.processSection {
  background-color: #edefec;
}

.contactSection .contactLeft {
  background-color: #edefec !important;
}

html.theme-default .faqSection {
  background-color: #edefec;
}

html.theme-default .pricingSection {
  background-color: #fbfaf7;
}

html.theme-default .whyIcon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: var(--btn-radius) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color(srgb 0.980235 0.912157 0.922039) !important;
  border: color(srgb 0.773427 0.571096 0.600466 / 0) !important;
  color: color(srgb 0.640314 0.489569 0.511451);
}

.richtext a,
.processCard a,
.faqAnswer a,
.legalContent a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.richtext a:hover,
.processCard a:hover,
.faqAnswer a:hover,
.legalContent a:hover {
  color: var(--color-accent);
}

.processCardTitle {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 1.4vw, 1.5rem);
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}
