/*
Theme Name: Hueman child
Version: 1.2
Description: A child theme of Hueman
Template: hueman
Author: Administrator
*/

/* Product page */
body.single-product .summary {
    box-sizing: border-box;
}

/* Product details */
.totaim-description {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.totaim-description p {
    margin: 0;
}

.totaim-caracteristiques {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f5f5f5;
}

.totaim-caracteristiques p {
    margin: 8px 0 0;
    line-height: 1.7;
}

/* Redimensionnement colonne gauche - attention : pas image directe */
@media (min-width: 769px) {
    body.single-product.woocommerce-page #content div.product div.images {
        width: 40%;
    }

    body.single-product.woocommerce-page #content div.product div.summary {
        width: 56%;
        padding-left: 28px;
    }
}

/* Gallery corners */
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery__wrapper {
    border-radius: 18px;
    overflow: hidden;
}

/* Thumbnail spacing */
body.single-product.woocommerce-page #content div.product div.images .flex-control-thumbs {
    margin-top: 14px;
}

/* Thumbnail corners */
body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    overflow: hidden;
    border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
    body.single-product .summary {
        padding-left: 0;
    }
}

/* ==================================================
   PAGE AVIS - TOT'AIM
   ================================================== */

.avis-page {
    padding: 38px 20px 55px;
    max-width: 1050px;
    margin: 0 auto;
}

/* Titre de page */

.avis-titre {
    margin: 0;
    text-align: center;
    color: #08738c;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.avis-titre::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    margin: 16px auto 0;
    background: #bcb231;
}

.avis-intro {
    max-width: 650px;
    margin: 18px auto 42px;
    text-align: center;
    color: #777;
    font-size: 16px;
    line-height: 1.7;
}


/* Lignes de témoignages */

.avis-row {
    gap: 26px;
    margin-bottom: 26px;
    align-items: stretch;
}

.avis-row > .wp-block-column {
    display: flex;
    margin-bottom: 0;
}


/* Cartes */

.avis-carte {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 34px 34px 30px;
    background: #fff;
    border: 1px solid rgba(8, 115, 140, 0.16);
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.055);
    overflow: hidden;
}

.avis-carte::before {
    content: "“";
    display: block;
    height: 42px;
    margin-bottom: 10px;
    color: #bcb231;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 0.8;
}


/* Petite ligne colorée à gauche */

.avis-carte::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #08738c;
}


/* Texte */

.avis-contexte {
    margin: 0 0 18px;
    color: #08738c;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.avis-texte {
    margin: 0 0 16px;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.75;
}

.avis-auteur {
    margin: 26px 0 2px;
    color: #08738c;
    font-size: 16px;
    font-weight: 600;
}

.avis-role {
    margin: 0 0 2px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.avis-meta {
    margin: 5px 0 0;
    color: #999;
    font-size: 13px;
}


/* Très léger effet sur ordinateur */

@media (hover: hover) {

    .avis-carte {
        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            border-color 0.2s ease;
    }

    .avis-carte:hover {
        transform: translateY(-3px);
        border-color: rgba(8, 115, 140, 0.28);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
}


/* Tablettes et mobiles */

@media (max-width: 781px) {

    .avis-page {
        padding: 28px 14px 40px;
    }

    .avis-titre {
        font-size: 27px;
    }

    .avis-intro {
        margin-bottom: 30px;
    }

    .avis-row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .avis-carte {
        padding: 28px 25px 25px;
    }

    .avis-texte {
        font-size: 15px;
    }
}