/* Titre + sous-titre */
.livret-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.livret-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Wrapper iframe (si tu gardes l'aperçu du PDF) */
.livret-iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* ratio 16/10, tu peux ajuster */
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.livret-iframe-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Zone des boutons */
.livret-actions {
    padding: 1.5rem 1.8rem 1.8rem;
}

.livret-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

/* Bouton "Voir" */
.livret-btn-view {
    border-radius: 999px;
    padding: 0 1.8rem;
    text-transform: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

/* Bouton "Télécharger" */
.livret-btn-download {
    border-radius: 999px;
    padding: 0 1.8rem;
    text-transform: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 1px solid #0277bd;
    color: #0277bd !important;
    background-color: #fff;
}

/* Hack Materialize : éviter que .btn-flat supprime la couleur de l'icône */
.livret-btn-download i.material-icons {
    color: inherit;
}

.card .card-action {
    border-top: 0px;
    border-radius: 12px !important;
}

/* Desktop : largeur confortable des boutons */
@media (min-width: 601px) {
    .livret-actions-buttons a {
        min-width: 230px;
        justify-content: center;
    }
}

/* Mobile : boutons en colonne et full width */
@media (max-width: 600px) {

  /* Bouton "Télécharger" */
.livret-btn-download {
font-size: 10px;
    font-weight: 500;
}

    .livret-actions-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .livret-actions-buttons a {
        width: 100%;
        justify-content: center;
    }

    .livret-pif-card {
        margin: 0 0.5rem;
    }
}


/* ===== Bloc général ===== */
.pif-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-top: 2rem;
}

/* Mobile = colonne */
@media (max-width: 700px) {
    .pif-info-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Cartes ===== */
.pif-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    border: 1px solid rgba(2,122,189,0.12);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

/* Variante légèrement colorée pour différencier */
.pif-info-card.alt {
    background: #f5fbff;
}

/* ===== Icône ===== */
.pif-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(2,122,189,0.12);
    color: #0277bd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.pif-info-icon i {
    font-size: 24px;
}

/* ===== Titre ===== */
.pif-info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* ===== Liste ===== */
.pif-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pif-info-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.45rem;
}

.pif-info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0277bd;
    font-size: 1.3rem;
    line-height: 1;
}

.picture-cat, .picture-flacon {
    border-radius: 12px;
    max-width: 500px;
}

/* Toutes les images de la page PIF */
.picture-cat,
.picture-flacon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 12px;
}

.pif-hero {
    padding: 3rem 0 2rem;
}

.pif-hero-heading { margin-bottom: 1.8rem; }

.pif-hero-kicker {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0277bd;
    font-weight: 600;
}

.pif-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #01579b;
}

.pif-hero-subtitle {
font-size: 0.98rem;
  color: #555;
  max-width: 399px;
  margin: 0 auto;
  text-align: center;
}

.pif-types-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.pif-type-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    border: 1px solid rgba(2,122,189,0.12);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.pif-type-card h4 {
    color: #01579b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

/* Images des 4 PIF : mêmes dimensions, full width, arrondies */
.pif-type-card picture {
    display: block;
    width: 100%;
    margin-bottom: 0.6rem;
}

.pif-type-card .picture-cat {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.pif-pain-note {
    margin-top: 0.8rem;
    padding: 0.7rem 0.9rem;
    background: #fff3e0;
    border-left: 4px solid #fb8c00;
    border-radius: 8px;
    font-size: 0.9rem;
}

.pif-solution-list {
    margin: 1.2rem 0 0.5rem;
    padding-left: 1.2rem;
}

.pif-solution-list li {
    margin-bottom: 0.6rem;
    line-height: 1.5;
    font-size: 0.98rem;
}

.pif-solution-list {
    list-style: none;
    padding-left: 0;
}

.pif-solution-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
}

.pif-solution-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0277bd;
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 992px) {
    .pif-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pif-types-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .pif-type-card .picture-cat {
        height: 200px;
    }
}


/* ===== Section calculateur ===== */
.pif-calculateur {
  padding-top: 2.5rem;
}

.pif-calculateur-head {
  margin-bottom: 1.6rem;
}

.pif-calculateur-title {
  letter-spacing: 0.02em;
}

.pif-calculateur-subtitle {
  margin-top: -0.6rem;
  color: #0277bd;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Carte calculateur (gauche) */
.pif-calculateur-card {
  border-radius: 16px;
  overflow: hidden;
}

.pif-calculateur-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #01579b;
}

.pif-calculateur-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: #666;
}

/* Bloc recommandations (droite) */
.pif-calculateur-block-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0277bd;
  margin: 0.2rem 0 1rem;
  text-transform: uppercase;
}

/* CTA */
.pif-calculateur-cta {
  margin-top: 1.1rem;
}

.pif-calculateur-btn {
  border-radius: 999px;
  text-transform: none;
  font-weight: 600;
  padding: 0 1.6rem;
}

/* Image ordonnance / evaluations */
.pif-calculateur-image-wrapper {
  width: 100%;
  background: #f6f6f6;
  border-radius: 12px;
  padding: 0.6rem;
}

.pif-calculateur-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}


/* ===== RECOMMANDATIONS : tableau en lignes (gauche => droite) ===== */
.pif-reco-arrows {
  display: grid;
  gap: 0.85rem;
}

/* 3 colonnes : gauche / => / droite (reste en tableau sur mobile) */
.pif-reco-row {
  display: grid;
  grid-template-columns: 1fr 56px 1.3fr;
  gap: 0.7rem;
  align-items: stretch;
}

/* Rond gauche */
.pif-reco-pill.pif-reco-left {
  background: #0277bd;
  color: #fff;
  border-radius: 999px;
  padding: 1rem 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 76px;
}

/* Flèche texte */
.pif-reco-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0277bd;
  font-size: 1.25rem;
  user-select: none;
}

/* Rectangle droit */
.pif-reco-box.pif-reco-right {
  background: #0277bd;
  color: #fff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 76px;
}

/* Header un peu plus marqué */
.pif-reco-header .pif-reco-pill.pif-reco-left,
.pif-reco-header .pif-reco-box.pif-reco-right {
  font-size: 1rem;
}

/* Mobile : on garde en tableau, on compacte */
@media (max-width: 600px) {
  .pif-reco-row {
    grid-template-columns: 1fr 36px 1fr;
    gap: 0.5rem;
  }

  .pif-reco-pill.pif-reco-left,
  .pif-reco-box.pif-reco-right {
    padding: 0.75rem 0.7rem;
    font-size: 0.85rem;
    min-height: 68px;
  }

  .pif-reco-arrow {
    font-size: 1.05rem;
  }
}


/* ===== Layout 2 lignes (desktop = 2 colonnes / mobile = colonne) ===== */
.pif-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.6rem;
  align-items: start;
  margin-top: 1.4rem;
}

/* Ligne 2 */
.pif-row-reglementation {
  grid-template-columns: 1fr 1.25fr;
}

/* Cartes média */
.pif-media-card {
  border-radius: 16px;
  overflow: hidden;
}

/* Mobile : les blocs s’empilent (OK) */
@media (max-width: 992px) {
  .pif-row,
  .pif-row-reglementation {
    grid-template-columns: 1fr;
  }
}


.pif-calculateur-cta {
  text-align: center !important;
  margin-bottom: 10px;
}


.force-padding {
    padding: 20px !important;
}

.pif-calculateur-caption {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.4rem;
  text-align: center;
}



/* ===== Études scientifiques pleine largeur ===== */
.pif-etudes-scientifiques-full {
  margin-top: 2rem;
  width: 100%;
}

.pif-etudes-full-content {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border-top: 2px solid #0277bd;
  border-bottom: 2px solid #0277bd;
  background: #f7fbff;
}

/* Liste */
.pif-etudes-list {
  margin: 0;
  padding-left: 1.2rem;
}

.pif-etudes-list li {
  margin-bottom: 0.9rem;
  line-height: 1.5;
}

/* Liens TOUJOURS soulignés */
.pif-etudes-list a {
  color: #01579b;
  font-weight: 500;
  text-decoration: underline;
}

.pif-etudes-list a:hover {
  color: #0277bd;
}



/* ===== FAQ ===== */
.pif-faq {
  margin-top: 2.5rem;
}

.pif-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 1.8rem;
}

.pif-faq-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem 1.4rem;
  border: 1px solid rgba(2,122,189,0.12);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.pif-faq-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #01579b;
  margin-bottom: 0.6rem;
}

.pif-faq-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* Mobile */
@media (max-width: 700px) {
  .pif-faq-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== Planning suivi clinique ===== */
.pif-planning-wrapper {
  width: 100%;
  overflow-x: auto;          /* mobile: garde le tableau, scroll si besoin */
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

/* Table */
.pif-planning-table {
  width: 100%;
  min-width: 860px;          /* force un “vrai tableau” sur mobile */
  border-collapse: collapse;
  background: #6fb0db;       /* bleu clair de fond */
}

/* Cellules */
.pif-planning-table th,
.pif-planning-table td {
  border: 2px solid rgba(255,255,255,0.75);
  padding: 0.9rem 0.6rem;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-weight: 700;
}

/* Header */
.pif-planning-table thead th {
  background: #1f78b8;
  font-size: 0.9rem;
}

.pif-th-group {
  font-size: 1rem;
  text-transform: none;
}

.pif-th-semaine {
  width: 90px;
}

.pif-row-label {
  background: #1f78b8;
  width: 90px;
}

/* Séparateur visuel entre Examens et Actes */
.pif-th-sep-right,
.pif-td-sep-right {
  border-right: 8px solid #fff !important;
}

.pif-th-sep-left,
.pif-td-sep-left {
  border-left: 8px solid #fff !important;
}

/* Cases vides un peu plus claires */
.pif-planning-table tbody td:empty {
  background: rgba(255,255,255,0.08);
}

/* Check */
.is-check {
  font-size: 2.1rem;
  line-height: 1;
  color: #fff;
}

/* Mobile: texte un peu plus compact */
@media (max-width: 600px) {
  .pif-planning-table th,
  .pif-planning-table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }

  .is-check {
    font-size: 1.8rem;
  }
}


.pif-actus-box {
  margin-top: 2rem;
  padding: 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fafafa;
  text-align: center;
  margin-bottom: 50px;
}

.pif-actus-text {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.pif-actus-tags {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.pif-badge {
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  color: #fff;
}

.pif-badge-youtube { background: #c4302b; }
.pif-badge-podcast { background: #1e88e5; }
.pif-badge-pdf     { background: #fb8c00; }
.pif-badge-video   { background: #8e24aa; }

.pif-actus-btn {
  background-color: #3A72B1;
}
