/* static/css/styles.css */

.section-title {
    text-transform: uppercase;
    font-weight: bold;
    color: #333; /* Ou la couleur que vous préférez pour le titre */
    margin-bottom: 30px; /* Espace sous le titre */
    padding-bottom: 10px; /* Espace pour la ligne en dessous */
    border-bottom: 1px solid #eee; /* Ligne fine sous le titre, comme sur l'image */
    display: inline-block; /* Pour que la bordure ne prenne pas toute la largeur */
}

.device-type-item {
    display: block; /* Pour que le clic fonctionne sur tout le bloc */
    text-decoration: none;
    color: #333; /* Couleur du texte du nom de l'appareil */
    transition: transform 0.2s ease-in-out; /* Petite animation au survol */
    background-color: transparent !important; /* Forcer un arrière-plan transparent */
}

.device-type-item:hover {
    transform: translateY(-5px); /* Effet de soulèvement au survol */
    text-decoration: none; /* S'assurer qu'il n'y a pas de soulignement au survol */
    color: #FFB359; /* Changer la couleur du texte au survol, si désiré */
}

.device-type-image {
    max-height: 120px; /* Hauteur maximale pour les images, ajustez au besoin */
    width: auto; /* Garder les proportions de l'image */
    object-fit: contain; /* S'assure que l'image est bien contenue sans être déformée */
    margin-left: auto;  /* Centrer l'image horizontalement */
    margin-right: auto; /* Centrer l'image horizontalement */
    background-color: transparent !important; /* Forcer un arrière-plan transparent */
}

/* Forcer l'arrière-plan transparent sur les conteneurs aussi */

.col-md-3 {
    background-color: transparent !important; /* Forcer un arrière-plan transparent sur les colonnes */
}

.device-type-no-image {
    height: 120px; /* Même hauteur que les images pour l'alignement */
    width: 100%;   /* Prendra la largeur de son conteneur col-*-* */
    background-color: #f8f9fa; /* Couleur de fond légère pour le placeholder */
    border: 1px dashed #ccc; /* Bordure pour indiquer que c'est un placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d; /* Couleur du texte "Image non disponible" */
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.device-type-no-image p {
    margin-bottom: 0;
}

.device-type-name {
    font-size: 1rem; /* Taille de la police pour le nom de l'appareil */
    font-weight: 500;
    margin-top: 0.5rem; /* Espace entre l'image et le nom */
}

/* Assurer que le lien dans device-type-item n'a pas de couleur par défaut de lien bleu si c'est hérité */
.device-type-item a, .device-type-item a:hover {
    color: inherit; /* Hérite de la couleur définie sur .device-type-item */
    text-decoration: none;
}

/* Styles pour price_list.html */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.price-table th, .price-table td {
    text-align: center;
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
}
.price-table th {
    font-weight: bold;
    color: #333;
    background-color: #fff;
}
.price-table td:first-child {
    font-weight: 500;
    text-align: left;
}
.price-table .price-value {
    text-align: center;
}
/* Lignes alternées - une ligne sur deux en gris */
.price-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}
.price-table tbody tr:nth-child(odd) {
    background-color: white;
}
.search-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}
.page-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}
.section-title-conditions {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #FFB359;
}
.condition-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #FFB359;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.condition-card h5 {
    margin-top: 0;
    font-size: 1.1em;
    color: #FFB359;
}
.condition-card p {
    font-size: 0.9em;
    margin-bottom: 10px;
}
.condition-card .info-link {
    font-size: 0.9em;
    text-align: right;
    display: block;
    color: #FFB359;
    text-decoration: none;
}
.condition-card .info-link:hover {
    text-decoration: underline;
}
.condition-card .icon {
    margin-right: 8px;
    color: #FFB359;
}

/* Styles pour top_banner dans base.html */
.top-banner-bar {
    display: block;
    background-color: #FFB359; /* Couleur orange Pumpkin */
    color: #666;
    text-align: center;
    padding: 0.5em 1em;
    font-weight: 600;
    text-decoration: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    font-size: 0.9rem;
    line-height: 1.3;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner-bar:hover {
    color: #333; /* Optionnel: assombrir un peu au survol si c'est un lien */
    text-decoration: none;
}

/* Styles pour lang-switcher dans base.html */
.lang-switcher-form {
    display: inline;
}

.lang-switcher-button {
    background: none;
    border: none;
    padding: 0;
    color: #FFB359; /* Couleur par défaut des liens Bootstrap, à ajuster si besoin */
    cursor: pointer;
}

.lang-switcher-button:hover {
    text-decoration: underline; /* Comportement de lien standard au survol */
}

/* Styles pour l'adresse dans le footer */
.footer-address {
    font-style: normal;
    line-height: 1.6;
    color: #bdc3c7; /* Couleur gris clair pour le texte de l'adresse */
}

/* Contenu fusionné depuis static/css/style.css */

html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

body { 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-top: 120px; /* Espace pour la top banner + header fixes */
}

/* Quand il n'y a pas de top banner, réduire l'espace */
body.no-top-banner {
    padding-top: 80px; /* Espace seulement pour le header */
}

.header { 
    background: #fff; 
    padding: 1em 0; /* padding vertical uniquement */
    position: fixed;
    top: 40px; /* Juste sous la top banner */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Quand il n'y a pas de top banner, le header remonte en haut */
body.no-top-banner .header {
    top: 0;
}
.logo {
    display: flex;
    align-items: center;
    height: 40px;
}
.logo img {
    height: 40px;
    width: auto;
    display: block;
}
.logo-text {
    font-size: 2em;
    font-weight: bold;
    color: #666;
    margin-left: 0.5em;
}
.logo-link, .logo-link:hover {
    text-decoration: none;
    color: inherit;
}
.menu { list-style: none; display: flex; gap: 2em; margin: 0; padding: 0; }
.menu li { display: inline; }
.menu a { text-decoration: none; color: #666; font-weight: 500; font-size: 1.1rem; transition: color 0.2s; }
.menu a.active, .menu a:hover { color: #FF9800; border-bottom: 3px solid #FF9800; }
.lang-switcher {
    margin-left: 2em;
    display: flex;
    align-items: center;
}
.lang-link {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    margin: 0 0.3em;
    font-size: 1em;
    transition: color 0.2s;
}
.lang-link.active {
    color: #FFB359;
    border-bottom: 2px solid #FFB359;
    cursor: default;
}
.lang-link:hover:not(.active) {
    color: #FF9800;
}
/* Bouton hamburger mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #666;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: white;
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-nav {
    transform: translateX(0);
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-menu-list li {
    margin-bottom: 20px;
}

.mobile-menu-list a {
    display: block;
    padding: 12px 0;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    color: #FFB359;
    border-bottom-color: #FFB359;
}

.mobile-lang-switcher {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.mobile-lang-switcher .lang-link {
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-lang-switcher .lang-link.active {
    background-color: #FFB359;
    color: white;
}

.mobile-lang-switcher .lang-link:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto;
        order: 1;
    }
    
    .logo { 
        margin-bottom: 0; 
    }
    
    .logo-text { 
        font-size: 1.5em; 
    }
    
    /* Ajuster le padding du body pour le menu mobile */
    body {
        padding-top: 80px;
    }
    
    body.no-top-banner {
        padding-top: 80px;
    }
}
.promo-banner {
    position: relative;
    height: 200px;
    background-image: url('../images/mac_zoom_optimized.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex; /* Pour centrer verticalement le container interne */
    align-items: center; /* Pour centrer verticalement le container interne */
    /* padding horizontal retiré pour que le fond soit pleine largeur */
}

@media (max-width: 767px) {
    .promo-banner {
        height: 220px;
        padding: 1rem 0;
    }
    
    .promo-banner-content {
        align-items: flex-start;
        padding-top: 1rem;
    }
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}
.promo-banner .container { /* Pour s'assurer que le container est au-dessus du ::before */
    position: relative;
    z-index: 2;
    width: 100%; /* Le container prendra la largeur max de Bootstrap */
}
.promo-banner-content { /* promo-banner-content est maintenant DANS le container */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    /* width: 100%; /* Plus besoin, géré par le container parent */
}
.promo-banner-img {
    flex-shrink: 1; /* Permettre à l'image de rétrécir */
}
.promo-banner-img img {
    max-width: 250px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
.promo-banner-text {
    margin-left: 2em;
    color: black;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 767px) {
    .promo-banner-text {
        margin-left: 1em;
        margin-right: 1em;
        text-align: center;
    }
    
    .promo-banner-text h4 {
        font-size: 10px;
        line-height: 1.0;
    }
    
    .promo-banner-text p {
        font-size: 8px;
        line-height: 1.1;
    }
}
.promo-banner-text h4 {
    margin: 0 0 0.2em 0;
    font-size: 22px;
    font-weight: 600;
}
.promo-banner-text p {
    margin: 0;
    font-size: 17px;
}

/* Styles pour le nouveau footer */
.site-footer {
    background-color: #3E4348;
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 1rem;
    font-size: 0.9rem;
}
.site-footer .footer-top {
    margin-bottom: 2rem;
}
.site-footer .apple-logo-footer {
    max-height: 50px; /* Ajustez si besoin */
    margin-right: 1rem;
}
.site-footer .service-agre-text {
    font-size: 1.5rem; /* Ajustez si besoin */
    font-weight: bold;
    line-height: 1.2;
}
.site-footer h5 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.site-footer ul {
    list-style: none;
    padding-left: 0;
}
.site-footer ul li {
    margin-bottom: 0.5rem;
}
.site-footer ul li a, .site-footer p {
    color: #bdc3c7; /* Gris clair pour le texte secondaire */
    text-decoration: none;
}
.site-footer ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.site-footer .footer-column {
    margin-bottom: 1.5rem;
}
.site-footer .footer-divider-wrapper { /* Wrapper pour le séparateur */
    display: flex;
    justify-content: center;
    align-items: stretch; /* Pour que le séparateur prenne toute la hauteur */
}
.site-footer .footer-divider {
    border-left: 1px solid #555c63; /* Couleur du séparateur vertical */
     /* Suppression de height: 100% pour que align-items: stretch fonctionne */
    min-height: 150px; /* Hauteur minimale pour visibilité */
}
.site-footer .footer-bottom {
    border-top: 1px solid #555c63; /* Couleur du séparateur horizontal */
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #bdc3c7;
}
.main-content-wrapper { /* Nouveau nom pour le conteneur du main content */
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem; /* Ajusté pour correspondre au padding Bootstrap typique */
    padding-right: 0.75rem; /* Ajusté pour correspondre au padding Bootstrap typique */
}

/* Forcer la max-width des conteneurs Bootstrap dans header, promo-banner et footer */
.header > .container,
.promo-banner > .container,
.site-footer > .container {
    max-width: 1280px;
    /* Le padding est géré par la classe .container de Bootstrap (via --bs-gutter-x) */
    /* Le margin: auto est aussi géré par .container */
}

/* Règles pour améliorer la responsivité des éléments de contenu */
img,
video,
iframe,
table {
    max-width: 100%;
}

img,
video {
    height: auto; /* Maintenir le ratio d'aspect */
}

:root {
    --bs-primary: #FFB359;
    --bs-primary-rgb: 255, 179, 89;
    --bs-link-color: #FFB359;
    --bs-link-hover-color: #cc8f47; /* Un orange un peu plus foncé pour le survol */
}

/* Changement de la couleur des boutons primaires */
.btn-primary {
    --bs-btn-color: #fff; /* Texte en blanc pour une bonne lisibilité sur orange */
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e6a150; /* Orange un peu plus foncé */
    --bs-btn-hover-border-color: #d9984c;
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d9984c;
    --bs-btn-active-border-color: #cc8f47;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* Changement de la couleur des boutons outline-primary */
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff; /* Texte en blanc au survol */
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* Styles spécifiques pour le nouveau footer professionnel */
.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.footer-subtitle {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-address {
    color: #bdc3c7;
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
    display: flex;
    align-items: center;
}

.footer-hours {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-hours p {
    margin-bottom: 0.3rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.facebook {
    background-color: #3b5998;
    color: #ffffff;
}

.social-link.facebook:hover {
    background-color: #2d4373;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #ffffff;
}

.social-link.instagram:hover {
    opacity: 0.8;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Bouton toggle pour navigation mobile */
.footer-nav-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    margin-left: 10px;
    padding: 0;
    transition: transform 0.3s ease;
}

.footer-nav-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.footer-nav-toggle i {
    transition: transform 0.3s ease;
}

/* Responsive footer */
@media (max-width: 991px) {
    .site-footer {
        padding-top: 2rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .site-footer {
        text-align: center;
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .site-footer .footer-top {
        margin-bottom: 1rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-nav,
    .footer-address,
    .footer-contact,
    .footer-hours {
        text-align: center;
    }
    
    .footer-link {
        justify-content: center;
    }
    
    .footer-nav li {
        margin-bottom: 0.3rem;
    }
    
    .footer-contact p {
        margin-bottom: 0.5rem;
    }
    
    .footer-hours p {
        margin-bottom: 0.3rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 0.8rem;
    }
    
    .site-footer .footer-bottom {
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    /* Réduire l'espacement entre les colonnes */
    .site-footer .row.gy-4 {
        --bs-gutter-y: 1rem;
    }
}

/* Styles pour les titres de section support */
.support-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #FFB359;
    padding-bottom: 0.5rem;
}

.support-app-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Optimisation pour iPad */
@media (min-width: 768px) and (max-width: 1024px) {
    .support-contact-info {
        margin-bottom: 2rem !important;
    }
    
    .support-contact-info .btn {
        margin-top: 1rem;
        width: 100%;
    }
    
    .support-hours-section {
        margin-top: 1rem;
    }
    
    .support-hours-section h5 {
        margin-bottom: 1rem;
    }
}

/* Optimisation mobile pour la page support */
@media (max-width: 767px) {
    .support-section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .support-contact-info p {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .support-contact-info .h5 {
        font-size: 1rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .support-contact-info .h5 i {
        margin-right: 0.5rem;
        flex-shrink: 0;
    }
    
    .support-contact-info .h5 a {
        word-break: break-all;
        font-size: 0.9rem;
    }
}

/* Styles pour la FAQ - Amélioration de l'affichage des accordéons */
.section-wrapper {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.faq-section .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Couleurs alternées pour les éléments fermés */
.faq-section .accordion-item:nth-child(odd) .accordion-button.collapsed {
    background-color: #e0e0e0 !important;
    border-color: #e9ecef;
    color: #212529;
}

.faq-section .accordion-item:nth-child(even) .accordion-button.collapsed {
    background-color: #e0e0e0 !important;
    border-color: #e9ecef;
    color: #212529;
}

/* Effet de survol pour les éléments fermés */
.faq-section .accordion-item .accordion-button.collapsed:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.faq-section .accordion-item:nth-child(odd) .accordion-button.collapsed:hover {
    background-color: #d0d0d0 !important;
}
.faq-section .accordion-item:nth-child(even) .accordion-button.collapsed:hover {
    background-color: #d0d0d0 !important;
}

/* Style pour les éléments ouverts (déjà défini mais on s'assure qu'il est prioritaire) */
.faq-section .accordion-button:not(.collapsed) {
    background-color: #ffb359 !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* Style spécifique pour les premiers éléments ouverts par défaut */
.faq-section .accordion-item:first-child .accordion-button:not(.collapsed) {
    background-color: #ffb359 !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* Amélioration du texte des boutons fermés */
.faq-section .accordion-button.collapsed {
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Style pour le corps de l'accordéon */
.faq-section .accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem;
    line-height: 1.6;
}

/* Amélioration de l'icône chevron */
.faq-section .accordion-button::after {
    transition: transform 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* Styles pour la section "Autres Informations & Tarifs" */
.autres-tarifs-section .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Couleurs alternées pour les éléments fermés - même style que la FAQ */
.autres-tarifs-section .accordion-item:nth-child(odd) .accordion-button.collapsed {
    background-color: #e0e0e0 !important;
    border-color: #e9ecef;
    color: #212529;
}

.autres-tarifs-section .accordion-item:nth-child(even) .accordion-button.collapsed {
    background-color: #e0e0e0 !important;
    border-color: #e9ecef;
    color: #212529;
}

/* Effet de survol pour les éléments fermés */
.autres-tarifs-section .accordion-item .accordion-button.collapsed:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.autres-tarifs-section .accordion-item:nth-child(odd) .accordion-button.collapsed:hover {
    background-color: #d0d0d0 !important;
}
.autres-tarifs-section .accordion-item:nth-child(even) .accordion-button.collapsed:hover {
    background-color: #d0d0d0 !important;
}

/* Style pour les éléments ouverts - même couleur orange que la FAQ */
.autres-tarifs-section .accordion-button:not(.collapsed) {
    background-color: #ffb359 !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* Style spécifique pour les premiers éléments ouverts par défaut */
.autres-tarifs-section .accordion-item:first-child .accordion-button:not(.collapsed) {
    background-color: #ffb359 !important;
    color: #212529 !important;
    box-shadow: none !important;
}

/* Amélioration du texte des boutons fermés */
.autres-tarifs-section .accordion-button.collapsed {
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Style pour le corps de l'accordéon */
.autres-tarifs-section .accordion-body {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 1.25rem;
    line-height: 1.6;
}

/* Amélioration de l'icône chevron */
.autres-tarifs-section .accordion-button::after {
    transition: transform 0.3s ease;
}

.autres-tarifs-section .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

/* Style pour le titre de la section */
.autres-tarifs-section h2 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 2rem;
}

/* Styles pour l'estimation de prix */
.price-estimation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #FFB359;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.price-estimation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #e6a150;
}

.price-estimation-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFB359;
}

.price-estimation-title {
    color: #495057;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-estimation-content {
    text-align: center;
}

.price-estimation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFB359;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.price-estimation-notes {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: #1565c0;
    font-style: italic;
}

.price-estimation-disclaimer {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #856404;
    line-height: 1.4;
}

/* Responsive pour l'estimation de prix */
@media (max-width: 768px) {
    .price-estimation-card {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    
    .price-estimation-title {
        font-size: 1.1rem;
    }
    
    .price-estimation-amount {
        font-size: 2rem;
        margin: 0.75rem 0;
    }
    
    .price-estimation-notes,
    .price-estimation-disclaimer {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .price-estimation-amount {
        font-size: 1.75rem;
    }
    
    .price-estimation-title {
        font-size: 1rem;
    }
}

