/* ============================================================
   ShowAurora Footer — Design Officiel & Haute Joaillerie
   Palette : Gradient #2c3e50 → #4a6491
   Typographie Luxury : Cinzel & Plus Jakarta Sans & Poppins
   Desktop (> 1024px) : 4 colonnes fidèle au design initial
   Responsive (<= 1024px) : 2 colonnes par ligne STRICTES
   (L1: Notre Entreprise | Services — L2: Contacts | Nous suivre sur)
   Typographie & espacements adaptatifs sur tous les écrans
   Zéro chevauchement, Zéro débordement horizontal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

.showaurora-footer {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: #e0e0e0;
    border-top: 3px solid #4a6491;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
    margin-bottom: 0 !important;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.showaurora-footer *,
.showaurora-footer *::before,
.showaurora-footer *::after {
    box-sizing: border-box;
}

.showaurora-footer .container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   1. BANDE SUPÉRIEURE : LOGO ET CATÉGORIES (Design Haute Joaillerie)
   ============================================================ */
.footer-top {
    padding: 36px 0 28px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-family: 'Cinzel', 'Poppins', serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, #bfdbfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    margin-bottom: 22px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-logo:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.footer-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 28px;
    width: 100%;
}

.footer-cat-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.footer-cat-title {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-cat-title a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.footer-cat-title a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.footer-cat-title a:hover {
    color: #93c5fd;
    transform: translateX(4px);
}

.footer-cat-title a:hover::after {
    width: 100%;
}

/* ============================================================
   2. BANDE NEWSLETTER (Laptop & Desktop >= 1024px : Moitié Gauche 50% / Moitié Droite 50%)
   ============================================================ */
.footer-newsletter {
    color: #fff;
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(0, 0, 0, 0.08);
}

.footer-newsletter-wrap {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 36px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.newsletter-text {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 16px 0 0 !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.newsletter-text h3 {
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.newsletter-text p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.92rem !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.newsletter-form-container {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

#newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    padding: 4px 6px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    margin: 0 !important;
}

#newsletter-email {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 10px 18px !important;
    border: none !important;
    outline: none !important;
    font-size: 0.90rem !important;
    color: #1e293b !important;
    background: transparent !important;
}

#newsletter-form button {
    background: #111 !important;
    color: #fff !important;
    padding: 10px 28px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.90rem !important;
    cursor: pointer !important;
    border-radius: 25px !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

#newsletter-form button:hover {
    background: #2563eb !important;
}

#newsletter-message {
    margin-top: 6px !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    text-align: right !important;
    width: 100% !important;
}

/* ============================================================
   3. BANDE MÉDIANE : INFOS + SERVICES + CONTACT (Grand Écran)
   ============================================================ */
.footer-middle {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, #34495e, #5d76a8);
}

.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.footer-info-col {
    min-width: 0;
}

.footer-info-col h4 {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.3;
}

/* Listes standards de liens (non-social) */
.footer-info-col ul:not(.footer-social-list) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-col ul:not(.footer-social-list) li {
    margin: 0;
    line-height: 1.4;
}

.footer-info-col ul:not(.footer-social-list) li a,
.footer-info-col ul:not(.footer-social-list) li span {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-info-col ul:not(.footer-social-list) li a:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Contact avec icônes */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-list ion-icon {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-list a,
.footer-contact-list span {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ============================================================
   RÉSEAUX SOCIAUX (ALIGNÉS HORIZONTALEMENT EN LIGNE)
   ============================================================ */
.footer-info-col ul.footer-social-list,
.footer-social-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.footer-social-list li {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    list-style: none !important;
}

.footer-info-col ul.footer-social-list li a,
.footer-social-list a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.footer-social-list a svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: block !important;
    fill: currentColor !important;
    margin: auto !important;
    pointer-events: none !important;
}

.footer-social-list a:hover {
    background: #ffffff !important;
    color: #2c3e50 !important;
    transform: translateY(-2px) scale(1.06) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

/* ============================================================
   4. BANDE INFÉRIEURE : COPYRIGHT + PAIEMENT (Grand Écran)
   ============================================================ */
.footer-bottom {
    padding: 18px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

.footer-affiliate-disclosure {
    font-size: 0.82rem !important;
    color: #a0aec0 !important;
    max-width: 850px;
    margin: 4px auto !important;
    line-height: 1.4;
}

.footer-payment-icons {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.footer-payment-icons img {
    height: 24px;
    opacity: 0.75;
    transition: opacity 0.2s;
    filter: grayscale(0.2);
}

.footer-payment-icons img:hover {
    opacity: 1;
    filter: none;
}

/* ============================================================
   5. RESPONSIVE DESIGN EN 2 COLONNES PAR LIGNE
   (Tablettes, Mobiles, Petits Écrans, Très Petits Écrans)
   ============================================================ */

/* Laptops légers (1024px à 1279.98px) */
@media (min-width: 1024px) and (max-width: 1279.98px) {
    .showaurora-footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .footer-cat-grid {
        gap: 16px 20px;
    }
    .footer-cat-title {
        font-size: 0.88rem;
    }
    .footer-info-grid {
        gap: 16px;
    }
    .footer-info-col h4 {
        font-size: 0.82rem;
    }
    .footer-info-col ul:not(.footer-social-list) li a,
    .footer-info-col ul:not(.footer-social-list) li span {
        font-size: 0.80rem;
    }
}

/* Tablettes (768px à 1023.98px) : Strictement 2 Colonnes par ligne */
@media (max-width: 1023.98px) {
    .footer-logo {
        font-size: 1.6rem;
    }
    .footer-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px 16px;
    }
    .footer-cat-title {
        font-size: 0.86rem;
        letter-spacing: 0.4px;
    }
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px 18px;
    }
    .footer-info-col h4 {
        font-size: 0.84rem;
        margin-bottom: 10px;
    }
    .footer-info-col ul:not(.footer-social-list) li a,
    .footer-info-col ul:not(.footer-social-list) li span {
        font-size: 0.80rem;
    }
    .footer-social-list a {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
    }
    .footer-social-list a svg {
        width: 18px !important;
        height: 18px !important;
    }
    .footer-newsletter {
        padding: 14px 0 !important;
    }
    .footer-newsletter-wrap {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 14px !important;
        max-width: 740px !important;
    }
    .newsletter-text {
        flex: 1 1 260px !important;
    }
    .newsletter-text h3 {
        font-size: 1.15rem !important;
        margin-bottom: 2px !important;
    }
    .newsletter-text p {
        font-size: 0.82rem !important;
    }
    .newsletter-form-container {
        flex: 1 1 260px !important;
        max-width: 380px !important;
    }
}

/* Mobiles Larges & Tablettes Portrait (481px à 767.98px) : Strictement 2 Colonnes par ligne */
@media (max-width: 767.98px) {
    .showaurora-footer .container {
        padding: 0 16px;
    }
    .footer-top {
        padding: 22px 0 16px;
    }
    .footer-logo {
        font-size: 1.45rem;
        margin-bottom: 14px;
    }
    .footer-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 12px;
    }
    .footer-cat-title {
        font-size: 0.82rem;
        letter-spacing: 0.3px;
    }
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px 14px;
    }
    .footer-info-col h4 {
        font-size: 0.82rem;
        margin-bottom: 8px;
    }
    .footer-info-col ul:not(.footer-social-list) {
        gap: 6px;
    }
    .footer-info-col ul:not(.footer-social-list) li a,
    .footer-info-col ul:not(.footer-social-list) li span {
        font-size: 0.78rem;
    }
    .footer-contact-list ion-icon {
        font-size: 0.95rem;
    }
    .footer-social-list {
        gap: 8px !important;
    }
    .footer-info-col ul.footer-social-list li a,
    .footer-social-list a {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }
    .footer-social-list a svg {
        width: 17px !important;
        height: 17px !important;
    }
    .footer-middle {
        padding: 18px 0;
    }
    .footer-newsletter {
        padding: 10px 0 !important;
    }
    .footer-newsletter-wrap {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
        max-width: 440px !important;
        margin: 0 auto !important;
    }
    .newsletter-text {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .newsletter-text h3 {
        font-size: 1.05rem !important;
        margin: 0 0 2px 0 !important;
        text-align: center !important;
    }
    .newsletter-text p {
        font-size: 0.8rem !important;
        text-align: center !important;
    }
    .newsletter-form-container {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #newsletter-form {
        margin: 0 !important;
        width: 100% !important;
    }
}

/* Petits Écrans & Mobiles Standard (361px à 480.98px) : Strictement 2 Colonnes par ligne */
@media (max-width: 480.98px) {
    .showaurora-footer .container {
        padding: 0 12px;
    }
    .footer-top {
        padding: 16px 0 12px;
    }
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .footer-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 8px;
    }
    .footer-cat-col {
        gap: 7px;
    }
    .footer-cat-title {
        font-size: 0.76rem;
        letter-spacing: 0.2px;
    }
    .footer-middle {
        padding: 14px 0;
    }
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px 10px;
    }
    .footer-info-col h4 {
        margin-bottom: 6px;
        font-size: 0.76rem;
        letter-spacing: 0.3px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding-bottom: 2px;
        display: inline-block;
    }
    .footer-info-col ul:not(.footer-social-list) {
        gap: 5px;
    }
    .footer-info-col ul:not(.footer-social-list) li a,
    .footer-info-col ul:not(.footer-social-list) li span {
        font-size: 0.72rem;
        line-height: 1.3;
    }
    .footer-contact-list {
        gap: 5px !important;
    }
    .footer-contact-list li {
        gap: 6px;
    }
    .footer-contact-list ion-icon {
        font-size: 0.85rem;
        margin-top: 2px;
    }
    .footer-contact-list a,
    .footer-contact-list span {
        font-size: 0.70rem;
    }
    .footer-social-list {
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    .footer-info-col ul.footer-social-list li a,
    .footer-social-list a {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
    }
    .footer-social-list a svg {
        width: 15px !important;
        height: 15px !important;
    }
    .footer-newsletter {
        padding: 8px 0 !important;
    }
    .footer-newsletter-wrap {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 4px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .newsletter-text {
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .newsletter-text h3 {
        font-size: 0.96rem !important;
        margin: 0 0 1px 0 !important;
    }
    .newsletter-text p {
        font-size: 0.76rem !important;
        margin: 0 !important;
        line-height: 1.25 !important;
    }
    .newsletter-form-container {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #newsletter-form {
        flex-direction: row !important;
        border-radius: 25px !important;
        padding: 2px 3px !important;
        margin: 0 !important;
    }
    #newsletter-email {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
    }
    #newsletter-form button {
        padding: 5px 12px !important;
        font-size: 0.76rem !important;
        border-radius: 20px !important;
    }
    .footer-payment-icons {
        gap: 8px;
    }
    .footer-payment-icons img {
        height: 18px;
    }
}

/* Très Petits Écrans (<= 360.98px, ex: iPhone SE, Galaxy Fold 320px) : Strictement 2 Colonnes par ligne */
@media (max-width: 360.98px) {
    .showaurora-footer .container {
        padding: 0 8px;
    }
    .footer-top {
        padding: 14px 0 10px;
    }
    .footer-logo {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    .footer-cat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px 6px;
    }
    .footer-cat-col {
        gap: 5px;
    }
    .footer-cat-title {
        font-size: 0.70rem;
        letter-spacing: 0.1px;
    }
    .footer-middle {
        padding: 12px 0;
    }
    .footer-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px 6px;
    }
    .footer-info-col h4 {
        font-size: 0.70rem;
        letter-spacing: 0.2px;
        margin-bottom: 4px;
        padding-bottom: 2px;
    }
    .footer-info-col ul:not(.footer-social-list) {
        gap: 4px;
    }
    .footer-info-col ul:not(.footer-social-list) li a,
    .footer-info-col ul:not(.footer-social-list) li span {
        font-size: 0.65rem;
        line-height: 1.25;
    }
    .footer-contact-list {
        gap: 4px !important;
    }
    .footer-contact-list li {
        gap: 4px;
    }
    .footer-contact-list ion-icon {
        font-size: 0.75rem;
        margin-top: 1px;
    }
    .footer-contact-list a,
    .footer-contact-list span {
        font-size: 0.64rem;
        line-height: 1.2;
    }
    .footer-social-list {
        gap: 5px !important;
    }
    .footer-info-col ul.footer-social-list li a,
    .footer-social-list a {
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;
    }
    .footer-social-list a svg {
        width: 13px !important;
        height: 13px !important;
    }
    .footer-newsletter {
        padding: 6px 0 !important;
    }
    .footer-newsletter-wrap {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 3px !important;
        margin: 0 auto !important;
    }
    .newsletter-text {
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .newsletter-text h3 {
        font-size: 0.90rem !important;
        margin: 0 0 1px 0 !important;
    }
    .newsletter-text p {
        font-size: 0.70rem !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    .newsletter-form-container {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #newsletter-form {
        flex-direction: row !important;
        border-radius: 25px !important;
        padding: 2px !important;
        margin: 0 !important;
    }
    #newsletter-email {
        padding: 4px 6px !important;
        font-size: 0.72rem !important;
    }
    #newsletter-form button {
        padding: 4px 8px !important;
        font-size: 0.70rem !important;
        border-radius: 20px !important;
    }
    .footer-bottom {
        padding: 10px 0;
    }
    .footer-bottom p {
        font-size: 0.68rem;
    }
    .footer-affiliate-disclosure {
        font-size: 0.68rem !important;
    }
    .footer-payment-icons {
        gap: 6px;
    }
    .footer-payment-icons img {
        height: 15px;
    }
}
