/* ─── Overrides globaux ──────────────────────────────────────────────────── */

/* Hauteur de ligne – le thème Massively + Bootstrap donnent 1.5,
   on descend à 1.45 pour un texte plus compact sur tout le site */
body {
    line-height: 1.45;
}

/* Réduction de la taille du H1 (était 3.8rem) */
h1, .h1 {
    font-size: 3rem;
}
@media (max-width: 991.98px) {
    h1, .h1 {
        font-size: 2.2rem;
    }
}

/* Réduction du H2 (était 2.8rem) */
h2, .h2 {
    font-size: 2.4rem;
}
@media (max-width: 991.98px) {
    h2, .h2 {
        font-size: 2rem;
    }
}

/* Réduction du H3 (était 2.5rem) */
h3, .h3 {
    font-size: 2.1rem;
}
@media (max-width: 991.98px) {
    h3, .h3 {
        font-size: 1.8rem;
    }
}

/* Colonnes étroites (3 colonnes = col-4) – désactive la justification
   qui crée des espaces inter-mots excessifs dans peu de largeur */
.col-4 p,
.col-4-medium p,
.col-4-large p,
.col-4-xlarge p {
    text-align: left;
}

/* Header.major du thème Massively – le H1 de page */
#main .major h1,
#main header.major h1 {
    font-size: 3rem;
}
@media (max-width: 991.98px) {
    #main .major h1,
    #main header.major h1 {
        font-size: 2rem;
    }
}

/* ─── Composants réutilisables ───────────────────────────────────────────── */

/* Cards en 3 colonnes – utilisées sur les pages de prestations */
.content-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.8rem 1.6rem 1.4rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    border-top: 3px solid rgba(170,99,33,.25);
}
.background-beige .content-card {
    border-top-color: rgba(170,99,33,.4);
}
.content-card h3 {
    margin-bottom: 1rem;
}

/* Icône / emoji de section, affiché au-dessus du titre d'une card */
.section-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: .6rem;
    line-height: 1;
}

/* Liste à coches – remplace les puces standard */
.list-check {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.6rem;
}
.list-check li {
    position: relative;
    padding: .55rem 0 .55rem 2.2rem;
    border-bottom: 1px solid rgba(0,0,0,.07);
    line-height: 1.5;
}
.list-check li:last-child {
    border-bottom: none;
}
.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: .55rem;
    color: #b8864a;
    font-weight: 700;
    font-size: 1.1em;
}

/* ─── Bloc vidéos ────────────────────────────────────────────────────────── */

/* Wrapper portrait (9:16) – vidéos verticales */
.video-wrapper.video-portrait {
    width: 100%;
    max-width: 340px;        /* limite la largeur → hauteur raisonnable sur desktop */
    margin: 0 auto;
    aspect-ratio: 9 / 16;   /* hauteur calculée sur la largeur réelle de l'élément */
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    position: relative;
}

/* Wrapper paysage (16:9) */
.video-wrapper.video-landscape {
    width: 100%;
    max-width: 900px;            /* largeur max augmentée pour les vidéos horizontales */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    position: relative;
}

.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 1 vidéo : centrage */
.videos-grid .video-col-offset {
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/* Sur mobile : pleine largeur sans contrainte de max-width */
@media (max-width: 736px) {
    .videos-grid [class*="col-"] {
        width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
    }
    .video-wrapper.video-portrait {
        max-width: 100%;
    }
}

/* ─── Séparateur ornemental ──────────────────────────────────────────────── */

.sep-ornement {
    padding: 0 !important;
    border-top: 0 !important;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    background: transparent;
    position: relative;
}

/* Lignes latérales */
.sep-ornement::before,
.sep-ornement::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(170, 99, 33, .18);
    max-width: 120px;
}

/* Losange central */
.sep-ornement__diamond {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: rgba(170, 99, 33, .3);
    transform: rotate(45deg);
    margin: 0 .9rem;
    flex-shrink: 0;
}

/* ─── Bloc vidéo + texte côte à côte ────────────────────────────────────── */

/* Colonne vidéo : on contraint la hauteur max pour ne pas écraser la mise en page */
.video-text-video-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-text-video-col .video-wrapper.video-portrait {
    max-width: 260px;   /* plus étroit qu'une vidéo pleine section */
    width: 100%;
}

@media (max-width: 980px) {
    .video-text-video-col {
        order: -1;      /* vidéo passe au-dessus du texte sur tablette/mobile */
        margin-bottom: 1.5rem;
    }
    .video-text-video-col .video-wrapper.video-portrait {
        max-width: 220px;
    }
}

/* Citation / mise en avant – encadrement latéral coloré */
.highlight-quote {
    font-style: italic;
    font-size: 1.1em;
    border-left: 4px solid rgba(170,99,33,.4);
    padding: .8rem 1.4rem;
    margin: 1.5rem 0 0;
    color: #555;
    background: rgba(170,99,33,.04);
    border-radius: 0 6px 6px 0;
}

