/* =========================================================
     P3 — FAQ DE LA FAMILLE
     Same visual language as P2 / Page 3
     ========================================================= */

  .p3-faq {
    background: linear-gradient(
      to bottom,
       #ffffff 0%,
      #f5f5f5 42%,
      #eaeaea 100%
    );

    padding: 44px 0 54px;
  }

  /* --------- HEADER --------- */

  .p3-faq .p2-section-hd {
    text-align: center;
    margin-bottom: 28px;
  }

  .p3-faq .p2-section-hd__title {

    font-size: clamp(26px, 4.5vw, 42px);
    font-weight: 800;

    line-height: 1.1;
    letter-spacing: -0.5px;

    text-transform: uppercase;

    color: #444;

    margin-bottom: 14px;
  }

  .p3-faq .p2-section-hd__sub {
    max-width: 680px;

    margin: 0 auto;

    font-size: 11.5px;
    line-height: 1.7;

    color: #777;
  }


  /* =========================================================
     FAQ LIST
     ========================================================= */

  .p3-faq__list {
    width: 100%;

    margin: 0 auto;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
      0 3px 14px rgba(0, 0, 0, .10);
  }


  /* =========================================================
     FAQ ITEM
     ========================================================= */

  .p3-faq__item {
    position: relative;

    background: #fff;

    border-bottom: 1px solid #e5e5e5;
  }

  .p3-faq__item:last-child {
    border-bottom: 0;
  }


  /* =========================================================
     QUESTION
     ========================================================= */

  .p3-faq__question {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 19px 22px;

    border: 0;

    background: #fff;

    color: #1a1a1a;

    text-align: left;

    cursor: pointer;
    font-size: 12px;
    font-weight: 800;

    line-height: 1.45;
    font-family:  var(--secondary-font);
    text-transform: uppercase;

    transition:
      background .2s ease,
      color .2s ease;
  }

  .p3-faq__question:hover {
    background: #fafafa;
  }

  .p3-faq__item.is-open .p3-faq__question {
    color: #E2001A;
    background: #fcfcfc;
  }


  /* =========================================================
     QUESTION LEFT ACCENT
     ========================================================= */

  .p3-faq__question::before {
    content: "";

    width: 3px;
    height: 20px;

    flex: 0 0 3px;

    border-radius: 2px;

    background: transparent;

    transition:
      background .2s ease,
      height .2s ease;
  }

  .p3-faq__item.is-open .p3-faq__question::before {
    background: #E2001A;
    height: 24px;
  }


  /* =========================================================
     QUESTION CONTENT
     ========================================================= */

  .p3-faq__question-text {
    flex: 1;
  }


  /* =========================================================
     ARROW (Animated Chevron)
     ========================================================= */

  .p3-faq__icon {
    position: relative;

    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    border: 1px solid #cfcfcf;

    border-radius: 50%;

    background: #fff;
    
    transition: border-color .2s ease;
  }

  .p3-faq__icon::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 7px;
    height: 7px;

    border-bottom: 1.5px solid #555;
    border-right: 1.5px solid #555;

    /* Point down */
    transform: translate(-50%, -65%) rotate(45deg);

    transition:
      transform .3s ease,
      border-color .2s ease;
  }

  .p3-faq__item.is-open .p3-faq__icon {
    border-color: #E2001A;
  }

  .p3-faq__item.is-open .p3-faq__icon::after {
    border-bottom-color: #E2001A;
    border-right-color: #E2001A;

    /* Point up */
    transform: translate(-50%, -30%) rotate(225deg);
  }


  /* =========================================================
     ANSWER
     ========================================================= */

  .p3-faq__answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
      grid-template-rows .28s ease;
  }

  .p3-faq__item.is-open .p3-faq__answer {
    grid-template-rows: 1fr;
  }

  .p3-faq__answer-inner {
    overflow: hidden;
  }

  .p3-faq__answer-content {
    padding: 0 70px 20px 48px;

    font-size: 11px;

    line-height: 1.75;

    color: #666;
  }


  /* =========================================================
     SMALL RED LINK
     ========================================================= */

  .p3-faq__answer-content a {
    color: #E2001A;

    font-weight: 700;

    text-decoration: none;
  }

  .p3-faq__answer-content a:hover {
    text-decoration: underline;
  }


  /* =========================================================
     MOBILE
     ========================================================= */

  @media (max-width: 700px) {

    .p3-faq {
      padding: 42px 0 48px;
    }

    .p3-faq .p2-section-hd {
      margin-bottom: 24px;
    }

    .p3-faq .p2-section-hd__title {
      font-size: 29px;
    }

    .p3-faq .p2-section-hd__sub {
      max-width: 90%;
      font-size: 11px;
    }

    .p3-faq__list {
      border-radius: 10px;
    }

    .p3-faq__question {
      gap: 12px;

      padding: 17px 16px;

      font-size: 11.5px;
    }

    .p3-faq__answer-content {
      padding: 0 46px 18px 39px;

      font-size: 10.5px;

      line-height: 1.7;
    }

    .p3-faq__icon {
      width: 22px;
      height: 22px;
    }
  }
