body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: black;
}

.container {
    position: relative;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 50vh;
    background-image: url('images/main_banner_bg.png');
    background-size: auto 90%;
    background-repeat: no-repeat;
    background-position: center bottom;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.3);
    background-attachment: scroll;
}

.containerbg {
    background-image: url('images/main_bg.png');
    background-color: #fffafa;
}

.container2 {
    width: 1200px;
    margin: 0 auto;
}

/* En-tête */
.header {
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    width: 1200px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    height: 50px;
    margin-bottom: 20px;
}

.availability {
    max-width: 90%;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
    font-size: 20px;
}

.highlighted {
    color: #febe1c;
}

.card-info {
    font-size: 14px;
    float: right;
    color: #b9b7b8;
    margin-top: 5px;
}

/* Bannière principale */
.main-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: right;
    height: 50vh;
    text-align: left;
    padding: 0 20px;
    color: #fff;
    width: 1200px;
    margin: 0 auto;
}

/* Texte et contenu */
.banner-box {
    max-width: 500px;
    width: 100%;
    margin-top: -60px;
    position: relative;
}

.banner-content {
    flex-direction: column;
    align-items: flex-start;
}

/* Texte de la bannière */
.banner-text {
    text-align: justify;
    color: #b0b0b0;
    max-width: 600px;
}

.banner-title {
    font-size: 30px;
    font-style: normal;
    margin-top: 0;
}

.mobile-break {
    display: none;
}

.desktop-only {
    text-align: justify;
    color: #b0b0b0;
    margin-bottom: 20px;
}

/* Bouton d’appel */
@keyframes pulseEffect {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgb(241 49 108);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

.call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    padding: 14px 24px;
    border-radius: 5px;
    width: fit-content;
    border: 2px solid white;
    cursor: pointer;
    gap: 10px;
    transition: all 0.3s ease-in-out;
    animation: pulseEffect 1.9s infinite;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Ajout d'une animation pour l'icône */
.call-button i {
    animation: shake 0.8s infinite alternate;
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(10deg);
    }
}

/* Section modèles */
.models {
    text-align: center;
    padding: 20px;
}

h2 {
    font-size: 36px;
    letter-spacing: -2px;
}

.highlight {
    color: #f80e54;
    font-weight: bolder;
}

.model-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Cartes alignées sur 3 colonnes */
.model-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 29%;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contenu avec image à gauche et texte à droite */
.model-content {
    display: flex;
    align-items: center;
}

/* Image à gauche */
.model-img {
    width: 60%;
}

.model-img img {
    width: 100%;
    border-radius: 10px;
}

/* Texte à droite */
.model-info {
    width: 60%;
    padding-left: 15px;
    font-size: 15px;
}

.model-info h3 {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
}

.model-info p {
    margin: 3px 0;
}

/* Description et bouton en bas */
.description {
    font-size: 14px;
    color: #333;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    padding-top: 10px;
    padding-bottom: 10px;
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f80e54;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    width: fit-content;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.call-btn i {
    margin-right: 8px;
}

.red {
    color: red;
    font-weight: bold;
}

.footer {
    background-color: black;
    color: white;
    padding: 20px;
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left, .footer-right {
    width: 48%;
}

.footer h2 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

p {
    font-size: 14px;
    line-height: 1.5;
}

.footer .highlight {
    color: #FFC107;
    font-weight: bold;
}

.phone {
    font-size: 22px;
    font-weight: bold;
}

.partnership a {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    display: inline-block;
}

.heart {
    color: #FF007F;
}

.tagline {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5px;
}

.copyright a {
    color: white;
    text-decoration: underline;
}

/* Cache le bouton d'appel par défaut */
.numero-hidden {
    display: none;
}

/* Quand actif, il s'affiche */
.numero-visible {
    display: flex !important;
}

.numero-container {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 80px;
}

/* On s'assure que le bouton et le numéro ont une place réservée */
#numeroWrapper {
    height: 0;
    overflow: hidden;
}

/* Le numéro est caché au début */
#numeroDetails {
    opacity: 0;
    position: absolute;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

/* Le numéro s'affiche sans bouger les éléments */
#numeroDetails.active {
    opacity: 1;
    height: auto;
}

@media (max-width: 768px) {
    #btnVoirNumero {
        display: none;
    }
    #numeroWrapper {
        display: block !important;
        height: auto !important;
    }
    #numeroDetails {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto;
        width: 100%;
    }

    .container {
        background-position: 57px 111px;
    }

    .container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .container > * {
        position: relative;
        z-index: 2;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header {
        background-color: transparent;
        color: #fff;
        padding: 10px 20px;
        width: auto;
        margin: 0 auto;
    }

    .availability {
        margin-top: 10px;
        font-size: 16px;
        max-width: 100%;
    }

    .card-info {
        float: none;
    }

    .mobile-break {
        display: inline;
    }

    .desktop-only {
        display: none;
    }

    .main-banner {
        padding: 50px 10px;
        justify-content: center;
        width: auto;
    }

    .model-card {
        width: 90%;
    }

    .model-info {
        width: 42%;
    }

    .container2 {
        width: auto;
        margin: 0 auto;
    }

    .call-button {
        margin: 0 auto;
    }

    .mentions {
        margin: 0 auto;
    }

    .banner-box {
        flex-direction: column;
        width: 95%;
        padding: 15px;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .model-grid {
        flex-direction: column;
        align-items: center;
    }

    .call-btn {
        font-size: 20px;
        padding: 18px;
        display: block;
    }

    .voir-numero-btn {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 1257px) {
    .main-banner {
        width: auto;
    }

    .header {
        width: auto;
    }

    .container2 {
        width: auto;
    }
}

@media (max-width: 957px) {
    .availability {
        font-size: 14px;
    }
}
