/* =========================================================
   PLASTIFIEUSES.FR — PAGE D'ACCUEIL
   Fichier : /themes/default-bootstrap/css/autoload/zz-home.css
   Ce fichier ne gère que les blocs dont les classes commencent par pf-.
   Il ne modifie ni le header, ni le menu, ni le footer.
   ========================================================= */

body#index .pf-home,
body#index .pf-home * {
  box-sizing: border-box;
}

body#index .pf-home {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  color: #263442;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body#index .pf-home a { text-decoration: none; }
body#index .pf-home p { margin-top: 0; }
body#index .pf-home img { max-width: 100%; height: auto; }

body#index .pf-eyebrow {
  margin: 0 0 8px;
  color: #0147b5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* BOUTONS */
body#index .pf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* HERO */
body#index .pf-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin: 0 0 36px;
  padding: 46px 42px;
  border-radius: 8px;
  background: #126f9d !important;
  color: #fff !important;
}

body#index .pf-hero::before,
body#index .pf-hero::after {
  display: none !important;
  content: none !important;
}

body#index .pf-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}

body#index .pf-hero .pf-eyebrow { color: #dcecff !important; }

body#index .pf-hero h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff !important;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.16;
}

body#index .pf-hero-intro {
  max-width: 700px;
  margin: 0 0 24px;
  color: #f5fbff !important;
  font-size: 18px;
  line-height: 1.55;
}

body#index .pf-hero,
body#index .pf-hero p,
body#index .pf-hero li,
body#index .pf-hero span,
body#index .pf-hero small,
body#index .pf-hero strong {
  color: #fff !important;
}

body#index .pf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body#index .pf-hero .pf-button-primary {
  background: #fff !important;
  color: #0147b5 !important;
}

body#index .pf-hero .pf-button-secondary {
  border-color: rgba(255,255,255,.85) !important;
  background: transparent !important;
  color: #fff !important;
}

body#index .pf-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #fff !important;
  font-size: 14px;
}

body#index .pf-reassurance li { margin: 0; padding: 0; color: #fff !important; }
body#index .pf-reassurance li::before {
  content: "✓";
  margin-right: 7px;
  color: #fff;
  font-weight: 700;
}

/* HERO EN DEUX COLONNES, SI LE HTML pf-hero-main EST PRÉSENT */
body#index .pf-hero-main {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(280px,.65fr);
  align-items: center;
  gap: 42px;
}

body#index .pf-hero-main .pf-hero-content { max-width: none; }

body#index .pf-hero-guide {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 7px;
  background: rgba(255,255,255,.11);
}

body#index .pf-hero-guide-label {
  margin: 0 0 7px;
  color: #d8ecff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#index .pf-hero-guide h2 {
  margin: 0 0 15px;
  color: #fff !important;
  font-size: 22px;
}

body#index .pf-hero-guide a {
  display: block;
  position: relative;
  margin-top: 10px;
  padding: 13px 34px 13px 14px;
  border-radius: 4px;
  background: rgba(255,255,255,.96);
  color: #173653 !important;
}

body#index .pf-hero-guide a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 14px;
  color: #0147b5;
  font-size: 24px;
  transform: translateY(-50%);
}

body#index .pf-hero-guide strong,
body#index .pf-hero-guide span { display: block; }

body#index .pf-hero-guide strong {
  margin-bottom: 3px;
  color: #173653 !important;
  font-size: 15px;
}

body#index .pf-hero-guide span {
  color: #66798c !important;
  font-size: 13px;
  line-height: 1.35;
}

/* SECTIONS */
body#index .pf-section {
  width: 100%;
  margin: 0 0 48px;
}

body#index .pf-section-heading {
  max-width: 760px;
  margin: 0 0 22px;
}

body#index .pf-section-heading h2,
body#index .pf-about h2,
body#index .pf-advice h2 {
  margin: 0;
  color: #25374a;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.25;
}

/* PORTES D'ENTRÉE */
body#index .pf-entry-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  width: 100%;
}

body#index .pf-entry-card {
  display: flex;
  min-height: 170px;
  padding: 24px;
  border: 1px solid #dce4ec;
  border-radius: 7px;
  background: #fff;
  color: #263442;
  box-shadow: 0 4px 14px rgba(38,52,66,.06);
}

body#index .pf-entry-icon {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: 48px;
  margin: 0 18px 0 0;
  padding: 0;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0147b5;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

body#index .pf-entry-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

body#index .pf-entry-content strong {
  display: block;
  margin: 0 0 8px;
  color: #1f3042;
  font-size: 19px;
  line-height: 1.25;
}

body#index .pf-entry-content small {
  display: block;
  color: #617180;
  font-size: 15px;
  line-height: 1.5;
}

body#index .pf-entry-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: #0147b5;
  font-weight: 700;
}

/* AIDE AU CHOIX */
body#index .pf-choice {
  width: 100%;
  padding: 34px;
  border-radius: 8px;
  background: #f4f7fa;
}

body#index .pf-choice-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

body#index .pf-choice-card {
  padding: 24px;
  border-radius: 6px;
  background: #fff;
}

body#index .pf-choice-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 9px;
  border-radius: 3px;
  background: #eaf3ff;
  color: #0147b5;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body#index .pf-choice-card h3 {
  margin: 0 0 12px;
  color: #263442;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
}

body#index .pf-choice-card p {
  margin: 0 0 12px;
  color: #617180;
  font-size: 15px;
  line-height: 1.55;
}

body#index .pf-choice-card a {
  color: #0147b5;
  font-weight: 700;
}

/* CARTOUCHE CONSEIL */
body#index .pf-advice {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin: 0 0 48px;
  padding: 34px 38px;
  border-radius: 8px;
  background: #294766 !important;
  color: #fff !important;
}

body#index .pf-advice::before,
body#index .pf-advice::after {
  display: none !important;
  content: none !important;
}

body#index .pf-advice-content {
  width: 100%;
  max-width: 720px;
}

body#index .pf-advice .pf-eyebrow { color: #bedcff !important; }

body#index .pf-advice h2 {
  margin: 0 0 14px;
  color: #fff !important;
  font-size: 28px;
  line-height: 1.3;
}

body#index .pf-advice,
body#index .pf-advice p,
body#index .pf-advice span,
body#index .pf-advice strong {
  color: #fff !important;
}

body#index .pf-advice p:not(.pf-eyebrow) {
  margin: 0;
  color: #eef6ff !important;
  font-size: 16px;
  line-height: 1.55;
}

body#index .pf-advice-actions {
  display: flex;
  flex: 0 0 190px;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
}

body#index .pf-advice-actions .pf-button { width: 100%; }

body#index .pf-advice .pf-button-light {
  background: #fff !important;
  color: #0147b5 !important;
}

body#index .pf-advice .pf-button-outline-light {
  border-color: #fff !important;
  background: transparent !important;
  color: #fff !important;
}

/* NOTRE MÉTIER */
body#index .pf-about {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  width: 100%;
  margin: 0 0 40px;
  padding: 0 0 20px;
}

body#index .pf-about-copy p:not(.pf-eyebrow) {
  margin: 0 0 12px;
  color: #566777;
  font-size: 16px;
  line-height: 1.65;
}

body#index .pf-about-points > div {
  padding: 17px 0;
  border-bottom: 1px solid #dce4ec;
}

body#index .pf-about-points > div:first-child { padding-top: 0; }

body#index .pf-about-points strong,
body#index .pf-about-points span { display: block; }

body#index .pf-about-points strong {
  margin: 0 0 5px;
  color: #263442;
  font-size: 17px;
}

body#index .pf-about-points span {
  color: #617180;
  font-size: 15px;
  line-height: 1.5;
}

/* TABLETTES */
@media (max-width: 991px) {
  body#index .pf-hero-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body#index .pf-choice-grid { grid-template-columns: 1fr; }

  body#index .pf-about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* MOBILES */
@media (max-width: 767px) {
  body#index #columns,
  body#index #center_column,
  body#index #center_column.center_column,
  body#index #center_column.col-xs-12,
  body#index #center_column.col-sm-9,
  body#index .homecontent,
  body#index #editorial_block_center,
  body#index .editorial_block,
  body#index .pf-home {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  body#index #columns {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body#index #center_column {
    padding-right: 8px !important;
    padding-left: 8px !important;
  }

  body#index .pf-home {
    padding: 0 !important;
    font-size: 16px;
  }

  body#index .pf-section { margin-bottom: 34px; }

  body#index .pf-section-heading {
    margin-bottom: 16px;
  }

  body#index .pf-section-heading h2,
  body#index .pf-about h2,
  body#index .pf-advice h2 {
    font-size: 24px;
    line-height: 1.25;
  }

  body#index .pf-hero {
    display: block !important;
    width: 100% !important;
    margin: 0 0 26px !important;
    padding: 22px 16px 24px !important;
    border-radius: 5px;
    overflow: visible;
  }

  body#index .pf-hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  body#index .pf-hero h1 {
    margin-bottom: 14px !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
  }

  body#index .pf-hero-intro {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body#index .pf-hero-actions {
    display: block;
    width: 100%;
  }

  body#index .pf-button {
    width: 100%;
    margin: 0 0 10px;
  }

  body#index .pf-reassurance {
    display: block;
    margin-top: 14px !important;
    padding-left: 4px !important;
  }

  body#index .pf-reassurance li {
    margin-bottom: 6px;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body#index .pf-hero-main { display: block !important; }

  body#index .pf-hero-guide {
    margin-top: 24px;
    padding: 18px;
  }

  body#index .pf-entry-grid {
    display: block !important;
    width: 100% !important;
  }

  body#index .pf-entry-card {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 0 12px !important;
    padding: 16px !important;
  }

  body#index .pf-entry-icon {
    display: flex !important;
    flex: 0 0 42px !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    margin: 0 13px 0 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
  }

  body#index .pf-entry-content {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
  }

  body#index .pf-entry-content strong {
    display: block !important;
    margin-bottom: 5px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  body#index .pf-entry-content small {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  body#index .pf-entry-link {
    display: inline-block;
    margin-top: 10px;
    padding-top: 0;
    font-size: 14px;
  }

  body#index .pf-choice {
    width: 100% !important;
    padding: 24px 15px !important;
  }

  body#index .pf-choice-grid {
    display: block !important;
    width: 100% !important;
  }

  body#index .pf-choice-card {
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 20px 17px !important;
  }

  body#index .pf-choice-card:last-child { margin-bottom: 0 !important; }

  body#index .pf-choice-card h3 { font-size: 18px; }

  body#index .pf-choice-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  body#index .pf-advice {
    display: block !important;
    width: 100% !important;
    margin-bottom: 34px !important;
    padding: 22px 16px !important;
  }

  body#index .pf-advice-content,
  body#index .pf-advice-actions {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body#index .pf-advice h2 {
    margin-bottom: 12px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  body#index .pf-advice p:not(.pf-eyebrow) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body#index .pf-advice-actions {
    display: block !important;
    margin-top: 20px !important;
  }

  body#index .pf-about {
    display: block !important;
    width: 100% !important;
    margin-bottom: 28px !important;
    padding: 4px 6px 20px !important;
  }

  body#index .pf-about-copy,
  body#index .pf-about-points {
    width: 100% !important;
    max-width: 100% !important;
  }

  body#index .pf-about-copy p:not(.pf-eyebrow) {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  body#index .pf-about-points { margin-top: 18px !important; }

  body#index .pf-about-points > div { padding: 13px 0 !important; }

  body#index .pf-about-points strong { font-size: 15px !important; }

  body#index .pf-about-points span {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
}

/* TRÈS PETITS ÉCRANS */
@media (max-width: 380px) {
  body#index #center_column {
    padding-right: 5px !important;
    padding-left: 5px !important;
  }

  body#index .pf-hero h1 { font-size: 21px !important; }

  body#index .pf-entry-card { padding: 14px !important; }

  body#index .pf-entry-icon {
    flex-basis: 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    margin-right: 10px !important;
    font-size: 13px !important;
  }
}
