/* =========================
   Base
========================= */
html {
    font-size: 16px;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* =========================
   Liens & éléments communs
========================= */
.lienAmex {
    align-items: center;
    color: #605f65;
    display: flex;
    font-size: 16px;
    font-weight: 600;
    gap: 8px;
}

.lienAmex:hover {
    color: #605f65;
    gap: 12px;
    transition: transform 0.3s ease;
}

/* =========================
   AMEX HOME
========================= */
#amexHome .amexBack {
    align-items: center;
    border: 1px solid rgba(96, 95, 101, 0.1);
    border-radius: 2rem;
    color: #4d4d4d;
    display: flex;
    font-size: 0.8rem;
    font-weight: 600;
    gap: 0.5rem;
    justify-content: start;
    padding: 0.5rem 1rem;
    transition: transform 0.3s ease;
    width: fit-content;
}

#amexHome .amexBack:hover {
    background: rgba(96, 95, 101, 0.1);
    text-decoration: none;
}

#amexHome h2 {
    color: #4d4d4d;
    font-weight: 400;
    margin-bottom: 1rem;
}

#amexHome h3 {
    font-weight: 400;
}

/* =========================
   AMEX CAT
========================= */
#amexCat {
}

#amexCat h2,
#amexCat p {
}

#amexCat .bgAmexCat {
    height: 400px;
    margin-top: 3rem;
    overflow: hidden;
}

#amexCat .bgAmexCat img {
    border-radius: 1rem;
    height: 400px;
    object-fit: cover;
    width: 100%;
}

#amexCat .listAmex {
    margin-top: 1rem;
}

#amexCat .listAmex .listAmexItem {
    padding: 15px;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref {
    border-radius: 1rem;
    display: grid;
    gap: 0.5rem;
    height: 500px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref img {
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref:hover img {
    transform: scale(1.05);
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    bottom: 0;
    display: grid;
    gap: 1rem;
    height: 50%;
    inset-inline: 0;
    justify-content: space-between;
    min-height: fit-content;
    padding: 2rem;
    position: absolute;
    z-index: 10;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent > div {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent > div h3 {
    color: #4d4d4d;
    font-size: 1.5rem;
    margin-bottom: 0;
    width: 85%;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent p {
    color: #4d4d4d;
    font-size: 14px;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent svg {
    color: #4d4d4d;
    transition: transform 0.3s ease;
}

#amexCat .listAmex .listAmexItem .listAmexItemAhref:hover .listAmexItemAhrefContent svg {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    #amexCat .listAmex .listAmexItem .listAmexItemAhref,
    #amexCat .listAmex .listAmexItem .listAmexItemAhref img {
        height: 600px;
    }

    #amexCat .listAmex .listAmexItem .listAmexItemAhref .listAmexItemAhrefContent {
        height: 40%;
    }
}

/* =========================
   AMEX SERV
========================= */
#amexServ h3 {
    font-weight: 600;
}

#amexServ .listservice {
    margin-top: 1rem;
}

#amexServ .listservice .listserviceItem {
    padding: 15px;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref {
    border: 1px solid rgba(96, 95, 101, 0.1);
    border-radius: 1rem;
    color: #4d4d4d;
    display: grid;
    gap: 0.5rem;
    height: 125px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref:hover {
    text-decoration: none;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref .listserviceItemAhrefContent {
    align-items: center;
    display: grid;
    gap: 1rem;
    height: 100%;
    inset-inline: 0;
    padding: 1.5rem;
    position: relative;
    width: 100%;
    z-index: 10;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref .listserviceItemAhrefContent > div {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref .listserviceItemAhrefContent > div h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    width: 85%;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref .listserviceItemAhrefContent p {
    font-size: 14px;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref .listserviceItemAhrefContent svg {
    transition: transform 0.3s ease;
    width: 15%;
}

#amexServ .listservice .listserviceItem .listserviceItemAhref:hover .listserviceItemAhrefContent svg {
    transform: translateX(4px);
}

#amexServ .listservice .listserviceItem .listserviceItemAhrefSpecial {
    background: rgba(96, 95, 101);
    color: #ffffff;
}

#amexServ .listservice .listserviceItem .listserviceItemAhrefSpecial .listserviceItemAhrefContent > div h3 {
    color: #ffffff;
}

/* =========================
   AMEX FAQ
========================= */
#amexFaq {
    background-color: rgba(152, 131, 99, 0.05);
}

.amexFaqInner {
    display: grid;
    gap: 1rem;
}

.amexFaqInner .amexFaqItem {
    background-color: #ffffff;
    border: 1px solid rgba(96, 95, 101, 0.1);
    border-radius: 1rem;
    display: grid;
    padding: 1rem;
}

.amexFaqInner .amexFaqInnerTitle {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.amexFaqInner .amexFaqInnerTitle h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    width: 90%;
}

.amexFaqInner .amexFaqInnerTitle:hover {
    cursor: pointer;
}

.amexFaqInner .amexFaqItem[open] svg {
    rotate: 180deg;
}

.amexFaqInner .amexFaqInnerContent {
    margin-top: 1rem;
}

.amexFaqInner .amexFaqInnerContent a {
    color: #4d4d4d;
}

/* =========================
   AMEX CAT (complément)
========================= */
#amexCat .listAmexItemAhref {
    border: 1px solid rgba(96, 95, 101, 0.1);
}

/* =========================
   AMEX PROD
========================= */
#amexProd {
    background-color: rgba(152, 131, 99, 0.05);
}

#amexProd h2.amexTitle {
    color: #988363;
}

#amexProd a.lienAmex {
    color: #988363;
}

#amexProd .amexProdItem {
    border-radius: 1rem;
    color: #4d4d4d;
    margin-bottom: 30px;
    overflow: hidden;
}

#amexProd .amexProdItem:hover {
    text-decoration: none;
}

#amexProd .amexProdItem .amexProdImg {
    border-radius: 1rem 1rem 0 0;
    height: 150px;
    overflow: hidden;
    width: 100%;
}

#amexProd .amexProdItem .amexProdImg img {
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#amexProd .amexProdItem:hover .amexProdImg img {
    transform: scale(1.05);
}

#amexProd .amexProdItem .amexProdContent {
    background: #ffffff;
    border: 1px solid rgba(96, 95, 101, 0.1);
    border-radius: 0 0 1rem 1rem;
    display: grid;
    gap: 1rem;
    height: fit-content;
    padding: 1rem 1rem 2rem 1rem;
}

#amexProd .amexProdItem .amexProdContent .amexProdContentMetas {
    align-items: center;
    color: #A6A6A6;
    display: flex;
    font-size: 0.8rem;
    gap: 0.3rem;
}

#amexProd .amexProdItem .amexProdContent h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

#amexProd .amexProdItem .amexProdContent .amexProdDesc {
    font-size: 0.8rem;
    margin-bottom: 0;
}

#amexProd .amexProdItem .amexProdContent .amexProdPrice {
    font-size: 0.8rem;
}

#amexProd .amexProdItem .amexProdContent .amexProdPrice span {
    font-size: 1.1rem;
    font-weight: 600;
}

#amexProd .amexProdItem .amexProdContent .amexProdPrice sup {
    font-size: 0.8rem;
}

#amexProd .amexProdNota {
    font-size: 0.8rem;
    font-style: italic;
}

#amexProd .amexProdCatTitle {
    color: #988363;
    font-size: 1.4rem;
    margin-top: 1.5rem;
}

#amexProd .amexProdCat {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: start;
    margin-top: 1.5rem;
}

#amexProd .amexProdCatLink {
    align-items: center;
    border: 1px solid rgba(152, 131, 99, 0.5);
    border-radius: 2rem;
    color: #988363;
    display: flex;
    gap: 0.5rem;
    justify-content: start;
    padding: 0.5rem 1rem;
    transition: transform 0.3s ease;
    width: fit-content;
}

#amexProd .amexProdCatLink:hover {
    background: rgba(152, 131, 99, 0.1);
    text-decoration: none;
}

#amexProd .amexProdCatLink h4 {
    color: #988363;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* =========================
   AMEX CORP
========================= */
#amexCorp {
    background-color: #4d4d4d;
    color: #FFF;
}

#amexCorp h2.amexTitle {
    color: #FFF;
}

#amexCorp .lienAmex {
    color: #ffffff;
}

#amexCorp .amexCorpImg {
    border-radius: 1rem;
    height: 300px;
    width: 100%;
}

#amexCorp .amexCorpLabels {
    align-items: center;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
    margin-top: 2rem;
}

#amexCorp .amexCorpLabels > div {
    text-align: center;
}

#amexCorp .amexCorpLabels > div img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
}

#amexCorp video {
    border-radius: 1rem;
}

/* =========================
   AMEX RELATED
========================= */
#amexRelated .listAmexRelated {
    margin-top: 1rem;
}

#amexRelated .listAmexRelated .listAmexRelatedItem {
    padding: 15px;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref {
    border-radius: 1rem;
    display: grid;
    gap: 0.5rem;
    height: 500px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref img {
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref:hover img {
    transform: scale(1.05);
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref .listAmexItemAhrefContent {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    bottom: 0;
    display: grid;
    gap: 1rem;
    height: 50%;
    inset-inline: 0;
    justify-content: space-between;
    min-height: fit-content;
    padding: 2rem;
    position: absolute;
    z-index: 10;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref .listAmexItemAhrefContent > div {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref .listAmexItemAhrefContent > div h3 {
    color: #4d4d4d;
    font-size: 1.5rem;
    margin-bottom: 0;
    width: 85%;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref .listAmexItemAhrefContent p {
    color: #4d4d4d;
    font-size: 14px;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref .listAmexItemAhrefContent svg {
    color: #4d4d4d;
    transition: transform 0.3s ease;
}

#amexRelated .listAmexRelated .listAmexRelatedItem .listAmexItemAhref:hover .listAmexItemAhrefContent svg {
    transform: translateX(4px);
}
