/* CSS ATAA - Corrections précises basées sur l'analyse du CSS officiel */

/* ===== NAVIGATION PRINCIPALE - STYLES EXACTS ATAA ===== */
.siteNav-primary__link {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #0b1116 !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    padding: 0.75rem 0 0.5rem !important;
    transition: all 0.3s ease !important;
}

.siteNav-primary__link:hover {
    color: #eb3b24 !important;
}

.siteNav-primary__link--is-active {
    color: #eb3b24 !important;
}

/* Responsive pour navigation */
@media screen and (min-width: 37.5em) {
    .siteNav-primary__link {
        font-size: 1rem !important;
        flex-direction: row !important;
        padding: 1rem 0 !important;
    }
}

/* Icônes de navigation */
.siteNav-primary__icon {
    width: 1em !important;
    height: 1em !important;
    margin-bottom: 0.25rem !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

@media screen and (min-width: 37.5em) {
    .siteNav-primary__icon {
        margin-bottom: 0 !important;
        margin-right: 0.5rem !important;
    }
}

.siteNav-primary__link:hover .siteNav-primary__icon {
    opacity: 1 !important;
}

/* Menu déroulant Articles */
.siteNav-primary__items {
    position: relative !important;
}

.siteNav-primary__sub {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
    min-width: 160px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
}

.siteNav-primary__items:hover .siteNav-primary__sub {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.siteNav-primary__sublink {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    color: #0b1116 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.siteNav-primary__sublink:hover {
    background: #f9f6f5 !important;
    color: #eb3b24 !important;
}

/* ===== BOUTONS DE NAVIGATION - STYLES EXACTS ATAA ===== */
.siteNav-secondary__link {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 1.5rem !important;
    text-decoration: none !important;
    color: #0b1116 !important;
    border: 2px solid #eb3b24 !important;
    transition: all 0.3s ease !important;
}

.siteNav-secondary__link--subscribe {
    border-radius: 12px 0 0 12px !important;
    background-color: #eb3b24 !important;
    color: #fff !important;
}

.siteNav-secondary__link--subscribe:hover {
    background-color: #fff !important;
    color: #eb3b24 !important;
}

.siteNav-secondary__link--login {
    border-radius: 0 12px 12px 0 !important;
    border-left: none !important;
}

.siteNav-secondary__link--login:hover {
    color: #eb3b24 !important;
}

.siteNav-secondary__link--login .svg-arrow {
    width: 0.75em !important;
    height: 0.75em !important;
    margin-left: 0.5em !important;
}

.siteNav-secondary__link--login .svg-arrow polyline {
    stroke: #eb3b24 !important;
}

/* ===== FOOTER - STYLES EXACTS ATAA ===== */
.siteFooter {
    position: relative !important;
    background: #960000 !important;
    background: linear-gradient(150deg, #c50007, #eb3b24) !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    z-index: 1000 !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media screen and (min-width: 48em) {
    .siteFooter {
        padding-top: 4rem !important;
    }
}

.siteFooter-social {
    font-family: ArialRounded, Helvetica, Arial, sans-serif !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    border: 2px solid #fff !important;
    border-radius: 12px !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-social {
        display: block !important;
        position: absolute !important;
        width: 220px !important;
        top: 0 !important;
        left: 2rem !important;
        margin: 0 !important;
        z-index: 1001 !important;
    }
}

.siteFooter-social__item {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
    width: 33% !important;
    border-bottom: none !important;
}

.siteFooter-social__item + .siteFooter-social__item {
    border-left: 2px solid #fff !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-social__item {
        border-bottom: 2px solid #fff !important;
        width: auto !important;
    }
    
    .siteFooter-social__item + .siteFooter-social__item {
        border-left: none !important;
        border-top: 2px solid #fff !important;
    }
}

.siteFooter-social__item a {
    display: block !important;
    padding: 0.75rem 1rem !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1.125rem !important;
}

.siteFooter-social__item img {
    width: 1em !important;
    height: 1em !important;
    margin-top: -2px !important;
    margin-right: 0.75rem !important;
}

.siteFooter-social__item .svg-arrow {
    position: absolute !important;
    right: 0.75rem !important;
    top: 50% !important;
    width: 0.8em !important;
    height: 0.8em !important;
    margin-top: -0.4em !important;
}

.siteFooter-nav {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-nav {
        margin-left: 30% !important;
        margin-right: 1.5rem !important;
        flex-flow: row !important;
        justify-content: flex-end !important;
    }
}

@media screen and (min-width: 48em) {
    .siteFooter-nav {
        margin-right: 0 !important;
    }
}

.siteFooter-links {
    padding: 1.5rem 0.75rem 0 0 !important;
    font-family: ArialRounded, Helvetica, Arial, sans-serif !important;
    color: #fff !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-links {
        flex: 1 1 auto !important;
        width: 50% !important;
        padding: 2.5rem 1.5rem 0 0 !important;
    }
}

@media screen and (min-width: 48em) {
    .siteFooter-links {
        width: inherit !important;
        padding: 0 !important;
    }
    
    .siteFooter-links + .siteFooter-links {
        padding-left: 1.5rem !important;
    }
}

.siteFooter-links__title {
    font-family: BrandonText, Helvetica, Arial, sans-serif !important;
    font-weight: 300 !important;
    text-transform: uppercase !important;
    font-size: 1rem !important;
    color: #fff !important;
}

.siteFooter-links__title:after {
    content: "" !important;
    display: block !important;
    width: 2.5rem !important;
    height: 2px !important;
    margin-top: 0.25rem !important;
    margin-bottom: 1rem !important;
    background-color: #fff !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-links__title {
        font-size: 1.125rem !important;
    }
    
    .siteFooter-links__title:after {
        margin-bottom: 1.5rem !important;
    }
}

.siteFooter-links__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.siteFooter-links__item {
    font-size: 0.875rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.siteFooter-links__item + .siteFooter-links__item {
    margin-top: 0.25rem !important;
}

@media screen and (min-width: 37.5em) {
    .siteFooter-links__item {
        font-size: 1rem !important;
    }
    
    .siteFooter-links__item + .siteFooter-links__item {
        margin-top: 0.5rem !important;
    }
}

.siteFooter-links__item a {
    color: #fff !important;
    text-decoration: none !important;
}

.siteFooter-links__item a:hover {
    text-decoration: underline !important;
}

/* ===== SECTION PARTENAIRES - STYLES EXACTS ATAA ===== */
.partners {
    position: relative !important;
}

.partners + .footer {
    border-top: 2px solid #f9f6f5 !important;
}

.partners__content {
    padding: 2rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

@media screen and (min-width: 37.5em) {
    .partners__content {
        flex-direction: row !important;
        padding: 2.5rem 0 !important;
    }
}

.partners__title {
    position: relative !important;
    margin-bottom: 1rem !important;
    font-family: BrandonText, Helvetica, Arial, sans-serif !important;
    font-weight: 300 !important;
    color: #eb3b24 !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
}

@media screen and (min-width: 37.5em) {
    .partners__title {
        margin-bottom: 0 !important;
        margin-right: 1rem !important;
        font-size: 1.125rem !important;
        margin-right: 1.25rem !important;
    }
}

@media screen and (min-width: 48em) {
    .partners__title {
        top: 0.25rem !important;
        font-size: 1.25rem !important;
        margin-right: 1.5rem !important;
        line-height: 1.3 !important;
    }
}

@media screen and (min-width: 75em) {
    .partners__title {
        font-size: 1.5rem !important;
    }
}

.partners__logo {
    width: 80px !important;
}

.partners__logo + .partners__logo {
    margin-top: 0.5rem !important;
}

@media screen and (min-width: 37.5em) {
    .partners__logo {
        width: 100px !important;
    }
    
    .partners__logo + .partners__logo {
        margin-top: 0 !important;
        margin-left: 1rem !important;
    }
}

@media screen and (min-width: 48em) {
    .partners__logo {
        width: 120px !important;
    }
    
    .partners__logo + .partners__logo {
        margin-left: 1.25rem !important;
    }
}

@media screen and (min-width: 75em) {
    .partners__logo + .partners__logo {
        margin-left: 1.5rem !important;
    }
}

.partners__sacem {
    position: relative !important;
}

@media screen and (min-width: 37.5em) {
    .partners__sacem {
        top: 0.2rem !important;
    }
}

@media screen and (min-width: 48em) {
    .partners__sacem {
        top: 0.125rem !important;
    }
}

@media screen and (min-width: 75em) {
    .partners__sacem {
        top: 0.5rem !important;
    }
}

.partners__scam {
    position: relative !important;
}

@media screen and (min-width: 37.5em) {
    .partners__scam {
        top: -0.35rem !important;
    }
}

@media screen and (min-width: 48em) {
    .partners__scam {
        top: -0.6rem !important;
    }
}

@media screen and (min-width: 75em) {
    .partners__scam {
        top: -0.4rem !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .siteNav-primary__link {
        font-size: 0.75rem !important;
        padding: 0.5rem 0 0.3125rem !important;
    }
    
    .siteNav-secondary__link {
        padding: 0 1rem !important;
    }
    
    .siteFooter-social {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .siteFooter-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .siteFooter-links {
        padding: 1rem 0 !important;
    }
    
    .partners__logo {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .siteFooter-nav {
        flex-direction: column !important;
    }
    
    .siteFooter-links {
        width: 100% !important;
        padding: 1rem 0 !important;
    }
    
    .siteFooter-links + .siteFooter-links {
        padding-left: 0 !important;
        padding-top: 0 !important;
    }
}

/* ===== AJUSTEMENTS GÉNÉRAUX ===== */
.siteNav__content {
    align-items: center !important;
    gap: 30px !important;
}

.siteNav-primary {
    gap: 8px !important;
}

.siteNav-secondary {
    gap: 0 !important;
}

/* ===== CALCULATEUR ===== */
.calculator {
    background: white !important;
    margin: 30px auto !important;
    max-width: 1000px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    position: relative !important;
}

.calculator::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #eb3b24, #c50007, #eb3b24) !important;
}