/* home.css - Styles spécifiques à la page d'accueil */

body.home #master{
    min-width: 1000px;
    background: #FFFFFF;
    padding-bottom: 20px;
}

body.home #main {
    padding: 10px 0 0;
}

/* SAINTS */
body.home .saints{
    font-family: 'Amaranth', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color:rgb(0, 76, 131);
    background-color:#9cdbf0;
    padding:10px;
    text-align: center; 
    border-radius:4px;
}
body.home .saints .saint{
    text-transform:uppercase;
    color: #FFFFFF;
    font-size:19px;
    background:#3baed7;
    padding:1px 4px 2px 4px;
    border-radius:3px;
}
body.home .saints a{
    color:rgb(0, 76, 131); 
    text-decoration: underline;
}


/* Bloc USP */
.usp-section {
    width: 100%;
    padding: 40px 0;
}

.usp-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0 20px;
}

.usp-left {
    width: 557px;
}

body.home h1 {
    font-family: 'Amaranth', Arial, sans-serif;
    font-size: 29px !important;
    background:none !important;
    padding:none !important;
    font-weight: 400;
    color: #000;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.usp-line {
    height: 2px;
    background: #ffda00;
    margin-bottom: 10px;
}

.usp-tagline {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #000;
    margin: 0;
}

.usp-benefits {
    margin: 35px 0 30px 0;
    padding: 0 25px;
    list-style: none;
}

.usp-benefits li {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 00;
    color: #000;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.usp-benefits li:before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #38d100;
}

.usp-benefits::after { /* Angry boule */
    content: '';
    background-image: url('/img/front/personnages/giggle.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 83px;
    height: 98px;
    left: calc(50% - 440px);
    top: 330px;
    transform: translateY(-50%);
    z-index:0;
}

.button-container{
    text-align: center;
}


.home-btn {
    display: inline-block;
    background: #ffda00;
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 24px;
    border-radius: 8px;
    margin: 0 auto 25px auto;
    text-align: center;
    border: 5px solid transparent;
    white-space: nowrap;
}
.home-btn:hover {
    color:#000000 !important;
    text-decoration: none;
    border:5px solid #FFFFFF;
}

.usp-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.usp-cat-btn {
    position:relative;
    background: #ececec;
    color: #000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    z-index:1;
}

.usp-cat-btn:hover {
    background: #ffda00;
    color:#000000;
    text-decoration: none;
}

.usp-right {
    width: 385px;
    height: 308px;
}

.usp-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid transparent;
}
.usp-right a:hover img {
    border: 5px solid #ffda00;
}


/* Bloc Top 5 */
.top5-section {
    background: #9cdbf0;
    margin: 0;
    padding: 30px;
    border-radius: 8px;
}

.top5-container {
    max-width: 1000px;
    margin: 0 auto;
}


.top5-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.top5-card {
    position: relative;
    width: 180px;
    border: 5px solid #FFFFFF;
}

.top5-card:hover {
    border-color: #47b5d9;
}

.top5-card .num {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #000;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.top5-card img {
    width: 100%;
    height: 144px;
    object-fit: cover;
    display: block;
}


/* H2 généralisé pour toute la page */
body.home h2 {
    font-family: 'Amaranth', Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height:1.3em;
    color: #000;
    text-align: left;
    margin: 0 0 30px 0;
}

/* H3 généralisé pour toute la page */
body.home h3 {
    font-family: 'Amaranth', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #000;
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    text-align: left;
    margin: 0 0 20px 0;
}

/* Bloc Personnalisation */
.personalisation-section {
    background: #a1f37d;
    margin-top: 30px;
    padding: 30px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.personalisation-container {
    max-width: 1000px;
    margin: 0 auto;
}

.personalisation-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.personalisation-left {
    width: 457px;
}

.personalisation-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.personalisation-right {
    flex: 1;
}

.personalisation-text {
    font-size: 18px;
    line-height: 1.4em;
    color: #000;
    text-align: left;
    margin: 0 0 20px 0;
}


/* Bloc Personnalisation 2 */
.personalisation2-section {
    background: #c7f8b1;
    margin: 0;
    padding: 30px;
}

.personalisation2-container {
    max-width: 1000px;
    margin: 0 auto;
}

.personalisation2-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.personalisation2-left {
    flex: 1;
}

.personalisation2-right {
    width: 466px;
}

.personalisation2-image {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Bloc Personnalisation 3 */
.personalisation3-section {
    background: #a1f37d;
    margin: 0;
    padding: 30px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.personalisation3-container {
    max-width: 1000px;
    margin: 0 auto;
}

.personalisation3-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.personalisation3-left {
    width: 499px;
}

.personalisation3-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.personalisation3-right {
    flex: 1;
}

.personalisation3-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap; 
}

.personalisation3-content .button-container {
    flex-basis: 100%; 
    margin-top: 0;
    text-align: center;
}


/* Bloc Témoignages */
.temoignages-section {
    background: #fff;
    margin: 0;
    padding: 30px;
}

.temoignages-container {
    max-width: 1000px;
    margin: 0 auto;
}

.temoignages-carousel {
    margin-top: 30px;
    position: relative;
    height: 200px;
    width: 100%;
}

.temoignages-group {
    display: flex;
    gap: 20px;
    position: absolute;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}

.temoignages-group.active {
    opacity: 1;
}

.temoignage-item {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-style: normal;
    line-height: 1.4em;
    text-align: center;
    min-height: 160px;
    box-sizing: border-box;
    font-size:14px;
}

.temoignage-item.jaune { background: #f9e364; }
.temoignage-item.bleu { background: #b5f5ff; }
.temoignage-item.rose { background: #fcb4d9; }


/* Bloc Vitrine */
.vitrine-section {
    background: #79dced;
    margin: 0;
    padding: 30px;
    text-align: center;
    border-radius:8px;
}

.vitrine-container {
    max-width: 1000px;
    margin: 0 auto;
}

.vitrine-section h2 {
    text-align: left;
    margin-bottom: 30px;
}

.vitrine-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.vitrine-main {
    width: 407px;
    flex-shrink: 0;
}

.vitrine-main img {
    width: 407px;
    height: 326px;
    object-fit: cover;
    border: 5px solid white;
    display: block;
}

.vitrine-main a:hover img {
    border-color: #2ec2dc;
}

.vitrine-sidebar {
    flex: 1;
}

.vitrine-thumbs {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.vitrine-thumb {
    width: 133px;
    height: 107px;
}

.vitrine-thumb img {
    width: 133px;
    height: 107px;
    object-fit: cover;
    border: 5px solid white;
    display: block;
}

.vitrine-thumb a:hover img {
    border-color: #2ec2dc;
}


/* Bloc Cartes par genre */
.genre-section {
    background: #fff;
    margin: 0;
    padding: 30px;
}

.genre-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 10px;
}

.genre-lists {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.genre-lists ul {
    list-style: none;
    padding: 0;
    margin: 5px 15px;
    display: inline-block;
    vertical-align: top;
    width: 30%;
}

.genre-lists li {
    font-size: 14px;
    line-height: 1.9em;
    text-transform: capitalize;
}

.genre-lists li a {
    color: #000;
    text-decoration: underline;
}

.genre-lists li a:hover {
    color: #f00049;
}

