/*
Theme Name: Nono Under
Author: Nono
Version: 1.0
Description: Mon nouveau thème indépendant.
*/




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none; */
}

a {
    color: #aa0144; /* Couleur du texte du lien */
  }

body {
    font-family: 'Roboto Condensed', sans-serif;
    background: #fffbfb;
    line-height: 1.6;
    color: #280a22;
    caret-color: transparent; /* cache le curseur clignotant */
}

/* Le réactive dans les champs de saisie */
input,
textarea {
  caret-color: auto; /* ou une couleur spécifique comme #000 */
}


/* couleur de sélection personnalisée */
::selection {
    background: #ffc2c2;
    color: black; /* texte lisible sur jaune */
}

::-moz-selection {
    background: rgb(255, 194, 194);
    color: black;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 2200px;
    margin: 0 auto;
}

.logo img {
    width: 300px;
}

.menu-items {
    display: flex;
    list-style: none;
}

.menu-items.active {
    display: flex; /* Garantit que le toggle JS fonctionne partout */
}

.menu-items li {
    margin: 0 15px;
}

.menu-items a {
    color: #280a22;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    transition: color 0.3s;
}

.menu-items a:hover {
    color: #aa0144;
}

.menu-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #aa0144;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.menu-items a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger div {
    width: 30px;
    height: 3px;
    background: #280a22;
    transition: all 0.3s;
}

.burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active .line2 {
    opacity: 0;
}

.burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sous-menus : masqués par défaut */
.menu-items li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Position relative pour les parents */
.menu-items li {
    position: relative;
}

/* Affichage au survol (desktop) */
.menu-items li:hover > .sub-menu {
    display: block;
}

/* Style des liens dans le sous-menu */
.menu-items li .sub-menu li a {
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    color: #280a22;
    white-space: nowrap;
}

.menu-items li .sub-menu li a:hover {
    background-color: #f8f8f8;
    color: #aa0144;
}

/* breadcrumb */
.breadcrumb {
    font-size: 0.9em;
    color: #b3b3b3;
    margin: 20px;
}
.breadcrumb a {
    color: #b3b3b3;
    text-decoration: none;
}
.breadcrumb span {
    color: #a5a5a5;
}



.wrapper {
    width: 90%;
    max-width: 2200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.carousel-section {
    display: flex;
    gap: 20px;
    position: relative;
    width: 100%;
    flex-direction: row;
}

.carousel {
    flex: 2;
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: #280a22;
    z-index: 2;
}

.carousel-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: none; /* Remplace opacity pour compatibilité avec JS */
}

.carousel-item.active {
    display: block;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(40, 11, 34), transparent);
    z-index: 1;
}

.carousel-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 3;
}

.carousel-content h2 {
    font-size: 1.7rem;
    font-weight: 100;
    width:90%;
    font-family:'Boldonse';
    margin-bottom: 10px;
    transition: background 0.3s, transform 0.3s;
}

.carousel-content h2:hover{
transform: translateY(-5px);}

.carousel-content p {
    font-size: 1rem;
    max-width: 50%;
    margin-bottom: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #aa0144;
}


.btn-cta {
    font-family: 'Boldonse';
    font-weight: 100;
    
    background: #aa0144;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.7rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.btn-cta:hover {
    background: #280a22;
    transform: scale(1.05);
}

.cta-article-home {
    font-family: 'Boldonse';
    font-weight: 100;
    
    background: #aa0144;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.6rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-block;
}

.cta-article-home:hover {
    background: #280a22;
    transform: scale(1.05);
}


/* carousel-focus-container */
.carousel-focus-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 400px;
    width: 100%;
    gap: 10px;
}

.carousel-focus {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    flex: 1;
    background: #ffffff;
    background-size: cover;
    background-position: center;
    position: relative; /* Pour positionner la décoration et le contenu */
    display: flex;
    align-items: flex-end; /* Contenu en bas */
}

.card-decoration {
    position: absolute;
    left: 0;
    top: 0;
    width: 10px; /* Largeur de la barre décorative */
    height: 100%;
    background: rgba(170, 1, 68, 1); /* #aa0144 */
}

.card-content {
    width: 100%;
    padding: 10px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.0) 100%
    ); /* Dégradé de noir opaque en bas à semi-transparent en haut */
    color: white;
    text-align: center;
}

.card-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight:500;
}

.card-desc {
    margin: 5px 0 10px;
    font-size: 1rem;
}

.card-cta {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(170, 1, 68, 1); /* #aa0144 */
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease; /* Transition pour le survol */
}

.card-cta:hover {
    transform: scale(1.1); /* Grossit légèrement au survol */
}

/* end carousel-focus-container */

a {
    text-decoration: none;
}

a .card-link {
    text-decoration: none;
    color:black;
}

.section-title {
    font-size: 1.3rem;
    font-weight:100;
    font-family: 'Boldonse';
    color: #280a22;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #aa0144;
    bottom: -5px;
    left: 0;
}

.cards-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.card {
    background: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/*gestion apparition epingle survol card*/
/* Ajout juste après du picto */
.card:hover .card-picto { 
    opacity: 1;
    transform: translateY(0);
}
/*gestion apparition epingle survol card*/

.card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.card h3 {
    font-size: 1rem;
    font-family: Boldonse;
    font-weight: 100;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.8rem;
    flex-grow: 1;
    margin: 0 auto;
    max-width: 80%;
}

.articles-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.articles-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.article-card {
    background: white;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.article-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.article-card p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.main-container-list-blog {
    display: flex;
    gap: 20px;
}

.blog-section-list-blog {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-post-list-blog {
    background: white;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post-list-blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-post-list-blog img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* code ajouté pour cliquer sur toute la zone card */
.blog-post-link {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-post-link .btn-cta {
    margin-left: auto; /* Pousse le bouton à droite */
    /* Conservez vos styles existants pour .btn-cta */
}

/*end code ajouté pour cliquer sur toute la zone card */

.blog-content {
    flex: 1;
}

.blog-title {
    font-size: 1.2rem;
    font-weight:400;
    margin-bottom: 5px;
}

.blog-date {
    font-size: 0.8rem;
    color: #666;
}

.more-btn {
    align-self: center;
    background: white;
    color: #aa0144;
    border: solid 1px #aa0144;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.more-btn:hover {
    background: #280a22;
    color: white;
}

.big-focus-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.big-focus-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.big-focus {
    position: relative;
    height: 300px; /* Ajustez selon vos besoins */
    background-size: cover;
    background-position: center;
    background-image: url('https://picsum.photos/800/600'); /* Image aléatoire */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.big-focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(170, 1, 68, 0.7); /* Couleur de overlay avec transparence */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.big-focus:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.big-focus:hover::before {
    opacity: 1;
}

.focus-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    opacity: 0;
}

.big-focus:hover .focus-content {
    transform: translateY(0);
    opacity: 1;
}

.focus-cta {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    border: 1px solid white;
    transition: background 0.3s ease;
}

.focus-cta:hover {
    background: rgba(255, 255, 255, 0.2);
}



.bottom-section {
    display: flex;
    gap: 15px;
}

.bottom-item {
    background: white;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bottom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.bottom-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.bottom-item img {
    width: 40px;
    height: 40px;
    margin: 10px 0;
}

.bottom-item p {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.whitepaper-download-section {
    background: white;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whitepaper-download-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.whitepaper-image{
    display:flex;
    justify-content: center;
}

.whitepaper-image img {
    width: 50%;
    height: auto;
}

.whitepaper-text {
    text-align: center;
}

.download-button {
    background: #aa0144;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.3s;
}

.download-button:hover {
    background: #280a22;
}

/* saas du moment sidebar*/

.widget-saas-item{
    position:relative;
    text-align:center !important;
}
/* saas du moment sidebar, effet au survol*/
.widget-saas-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Ajout juste après du picto */
.widget-saas-item:hover .card-picto { 
    opacity: 1;
    transform: translateY(0);
}

/* bouton sticky */
.sticky-footer-btn {
    background: #aa0144;
    display: block;
    margin-top: calc(100vh - 150px); /* Ajuste 150px selon la hauteur du bouton + contenu au-dessus */
  }
  


/* new footer */
footer {
    border-top: solid 5px #aa0044;
    background: #280a22; /* sombre */
    color: white;
    padding: 20px;
    width: 100%;
    font-size: 14px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo img {
    max-height: 60px;
    margin-right: 20px;
}

.footer-content p {
    flex: 1;
    text-align: center;
    margin: 0;
}

.footer-content a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}

.social-icons img {
    width: 30px;
    margin: 0 10px;
    filter: brightness(0) invert(1); /* rend les icônes blanches si elles sont noires */
}

.footer-bottom {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.footer-bottom a:hover {
    text-decoration: underline;
}



/* fin footer */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.btn-customize {
    background: transparent;
    color: #aa0144;
    text-decoration: underline;
    padding: 10px 20px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-customize:hover {
    color: #fff;
}

/* pages formulaire */
/* Styles pour la page modèle Nono */
.page-nono-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-nono-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 0px; /* si tu veux pas de bord arrondi */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-title {
    font-size: 2.5rem;
    color: #280a22;
    margin-bottom: 20px;
}

.page-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.page-nono-form {
    background: #f7f7f7;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-nono-form h2 {
    font-size: 2rem;
    font-family: 'Boldonse';
    color: #aa0144;
    margin-bottom: 20px;
}

/* Styliser les champs du formulaire Contact Form 7 */
.page-nono-form input[type="text"],
.page-nono-form input[type="email"],
.page-nono-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 1rem;
}

.page-nono-form input[type="submit"] {
    background-color: #aa0144;
    color: #fff;
    padding: 12px 25px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 0px;
}

.page-nono-form input[type="submit"]:hover {
    background-color: #280a22;
}

/* fin page formulaire */

/* page single.php */
/* Single Article Layout */
.article-wrapper {
    width: 90%;
    max-width: 2200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}

.article-content {
    flex: 2;
    background: #fff;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Article Header */
.article-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-family: 'Boldonse';
    font-weight: 200;
    font-size: 2.3rem;
    color: #280a22;
    margin-bottom: 20px;
    width:90%;
}

/* Article Meta */
.article-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 15px;
}

/* Article Body */
.article-body p {
    font-size: 1.1rem;
    width:90%;
    margin:auto;
    margin-bottom: 15px;
    color:#333;
}

.article-body h2 {
    font-size: 1.9rem;
    /* color: #aa0144; */
    color: #2c1026; 
    margin: 20px 0 10px;
    font-weight: 300;

    /* font-family: 'Merriweather'; */
    position: relative;
    display: inline-block;
    z-index: 1;
}  
.article-body h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(
        to right,
        #2c1026 0%,
        #2c1026 25%,   /* 1ère couleur dominante */
        #fff 25%,
        #fff 35%, 
        #ffaaaa  35%,  /* 2ème couleur plus courte */
        #ffaaaa  40%,  /* 2ème couleur plus courte */
        #aa0144 40%,
        #aa0144 100%   /* 3ème couleur la plus courte */
      );
    /* background:#2c1026; */
    z-index: -1;
  }

/* test petite décoration sur h2 des articles
.article-body h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 8px;
    background: #050304;
    bottom: -2px;
    left: 0;}
/* end test  */

.margin-elements{
    width:90%;
    margin:auto;
}

#margin-elements{
    border:solid #2c1026;
    width:90%;
    margin:auto;
}

/* Call to Action Button */
.btn-cta {
    background: #aa0144;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    /* border-radius: 0px; */
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.btn-cta:hover {
    background: #280a22;
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar h3:first-child {
    font-family: 'Boldonse';
    font-weight: '100';
    color: #aa0044;
}

.sidebar-block {
    background: #fff;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #280a22;
}

.sidebar-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sidebar-saas-moment {
    background: #fff;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #280a22;
}

.sidebar-saas-moment img {
    width: 40%;
    height: 40%;
    object-fit: contain;
    border-radius: 0px;
    margin-bottom: 10px;
}


.sidebar-block img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 0px;
    margin-bottom: 10px;
}


.sidebar-block h3 {
    font-weight:300;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.sidebar-block p {
    font-size: 0.8rem;
    color: #666;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* fin page single.php */


/* ajout css pour logo philigrane */
.logo-decoratif-wrapper {
    position: absolute;
    top: 0;
    right: 0; /* Assure la position à droite */
    width: 100%;
    height: 25%; /* Un quart de la hauteur de l'article */
    pointer-events: none;
    z-index: 1;
    /* border: solid blue; */
}

.logo-decoratif {
    position: absolute;
    top: 0;
    right: 0; /* Positionne l’image elle-même à droite */
    height: 100%;
    width: auto;
    max-width: none;
    opacity: 0.7;
    object-fit: contain;
}


/* article wrapper ajout*/
.article-wrapper {
    position: relative;
    z-index: 2;
}


/* suggestion d'articles en ligne */
.horizontal-suggestions {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.horizontal-suggestions-card {
    position: relative; /* Important pour le positionnement du picto */


    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    width: 220px;
    min-width: 180px; /* Permet de conserver une largeur minimale sur mobile */
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px;
    border-radius: 1px;
    background-color: white; /* ✅ Couleur de fond demandée #aa0044 */
    flex-shrink: 0;
    border: 1px solid #eee;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/*PICTO*/
/* Style et animation du picto */
.card-picto {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Ne bloque pas le hover de la carte */
}

.card-picto img {
    width: 28px;
    height: auto;
}
/*END PICTO*/


.horizontal-suggestions-card:hover {
    background-color: #ffc2c2; /* ffd5e6 Effet hover un peu plus foncé */ 
    color: rgb(53, 53, 53);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Ajout juste après du picto */
.horizontal-suggestions-card:hover .card-picto { 
    opacity: 1;
    transform: translateY(0);
}

/* ✅ Gère la taille des images pour qu’elles restent proportionnées */
.horizontal-suggestions-card .card-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9; /* Proportion standard (peut être ajustée) */
    object-fit: cover;
    border-radius: 3px;
}

.horizontal-suggestions-card h3 {
    font-family: 'Boldonse';
    font-weight:100;
    font-size: 1rem;
    margin: 10px 0 5px;
}

.horizontal-suggestions-card p {
    font-size: 0.9rem;
    color: #333;
    margin: 0;
}

.horizontal-suggestions-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* fin suggestion d'articles en ligne */


/* permet de centrer les images et gérer les "aligner à droite" dans gutenberg */
/* .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
} */

.wp-block-image.aligncenter {
    display: flex;
    justify-content: center;
}

.wp-block-image.aligncenter figcaption {
    text-align: center;
}

.wp-block-image.alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}



/* end permet de centrer les images et gérer les "aligner à droite" dans gutenberg */

/* ajout css pour logo philigrane end */

/* MEDIA QUERIES */

@media (max-width: 1024px) {
    .menu-items li {
        margin: 0 10px;
    }
    .menu-items a {
        font-size: 16px;
    }
    .cards-container {
        /* grid-template-columns: repeat(2, 1fr); */
        grid-template-columns: 1fr;
    }
    .articles-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-container-list-blog {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #f0f0f0;
        padding: 20px;
    }
    .menu-items li {
        margin: 10px 0;
    }
    .menu-items a {
        font-size: 18px;
    }
    .carousel-section {
        flex-direction: column;
        height: auto;
    }
    .carousel {
        height: 200px;
        width: 100%;
        min-height: 200px;
    }
    .carousel-focus-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        gap: 10px;
    }
    .carousel-focus {
        height: 200px;
        width: 100%;
    }
    .carousel-content h2 {
        font-size: 1.5rem;
        font-family:'Boldonse';
    }
    .carousel-content p {
        display:none;
    }
    .btn-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .cards-container {
        grid-template-columns: 1fr;
    }
    .card img {
        width: 60px;
        height: 60px;
    }

    .card-picto img {
        width: 18px;
        height: auto;
    }

    .articles-container {
        grid-template-columns: 1fr;
    }
    .blog-post-list-blog {
        flex-direction: column;
        text-align: center;
    }
    .blog-post-list-blog img {
        width: 100%;
        height: auto;
    }
    .bottom-section {
        flex-direction: column;
    }
    .cookie-popup {
        bottom: 10px;
        width: 95%;
        padding: 15px;
    }
    .cookie-content h3 {
        font-size: 1rem;
    }
    .cookie-content p {
        font-size: 0.8rem;
    }
    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .btn-cta,
    .btn-customize {
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 0.85rem;
    }

    /* single.php */
    .article-wrapper {
        flex-direction: column;
        margin: 20px auto;
    }

    .article-content {
        padding: 20px;
    }

    .article-header img {
        height: 200px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body h2 {
        font-size: 1.2rem;
    }

    .sidebar-block img {
        height: 100px;
    }

    .sidebar-block h3 {
        font-size: 0.9rem;
    }

    .sidebar-block p {
        font-size: 0.7rem;
    }

    /* logo philigranne page notiice */
    .logo-decoratif {
        opacity: 0.08;
        max-width: 50%;
    }
}

@media (max-width: 576px) {


  /* ✅ Titre plus petit et bien contenu */
  .carousel-content h2 {
    font-size: 1.2rem;       /* Taille du texte réduite */
    line-height: 1.3;        /* Espacement du texte équilibré */
    margin-bottom: 0.4em;
    word-break: break-word;  /* Évite le dépassement sur petits écrans */
    text-align: center;      /* Centré pour plus d’harmonie */
  }

  /* On peut masquer le descriptif pour gagner de la place */
  .carousel-content p {
    display: none;
  }
  
  .logo img {
    width: 70%;
}
}
