/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Antigravity
 Author URI:   https://google.com
 Template:     astra
 Version:      1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

/* 🎨 CUSTOM ELEGANT SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2d2a26;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6F2E;
    /* Votre orange au survol */
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #2d2a26 #f1f1f1;
}

:root {
    --color-primary: #F97316;
    --color-primary-dark: #EA580C;
    --color-secondary: #111827;
    --color-accent: #FDBA74;
    --color-bg-body: #FFF7ED;
    --color-bg-surface: #FFFFFF;
    --color-text-main: #1F2937;
    --color-text-muted: #4B5563;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* =========================================
   GLOBAL STYLES
   ========================================= */
body {
    font-family: var(--font-body) !important;
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.widget-title,
.wp-block-heading {
    font-family: var(--font-heading) !important;
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

.wp-block-button__link,
.elementor-button,
button,
input[type="submit"] {
    background-color: var(--color-primary) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 600;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    padding: 14px 32px !important;
    transition: all 0.3s ease !important;
    border: none;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.wp-block-button__link:hover,
.elementor-button:hover {
    background-color: var(--color-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

.wp-block-column {
    background: var(--color-bg-surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    display: none !important;
}

.magnificent-footer {
    background-color: var(--color-secondary);
    color: #9CA3AF;
    padding: 100px 0 40px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.magnificent-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Column 1: Brand */
.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 90%;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding: 10px 0;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    transition: all 0.3s ease;
}

.social-button:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

/* Headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
}

/* Links Lists */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a:hover {
    color: #FFFFFF;
    padding-left: 8px;
    text-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -20px;
}

/* Contact Info */
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #9CA3AF;
    margin-bottom: 20px;
}

.contact-info .icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 2px;
    background: rgba(249, 115, 22, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info a {
    color: #9CA3AF;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #6B7280;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal-links a {
    color: #6B7280;
}

.legal-links a:hover {
    color: var(--color-primary);
}

.legal-links .separator {
    color: #374151;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-container {
        padding: 0 30px;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =========================================
   CUSTOM HEADER STYLES
   ========================================= */

/* Hide Default Header */
.site-header,
#masthead {
    display: none !important;
}

/* Custom Header Container */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 40px 40px 5px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

.custom-header.scrolled {
    padding: 25px 40px 5px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.4s ease;
}

/* Hide header logo/slogan when mobile menu is open to avoid double logo bug and overlap */
body.mobile-menu-open .custom-header .header-logo {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Logo */
.header-logo {
    transform: translateY(-5px);
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: var(--font-heading);
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-slogan {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .custom-header {
        padding: 5px 20px !important;
        /* Slimmer header */
        background: transparent !important;
        /* Transparent as requested */
        backdrop-filter: none !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* Keep background ONLY when scrolled to preserve readability over content */
    .custom-header.scrolled {
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px) !important;
        padding: 5px 20px !important;
    }

    .header-logo {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        /* Center vertically in the container */
        gap: 0px !important;
        transform: none;
        margin: 0;
        height: 100%;
        /* Take full container height for centering */
    }

    .header-slogan.mobile-slogan-visible {
        display: block !important;
        font-size: 0.6rem !important;
        line-height: 1;
        position: static !important;
        letter-spacing: 0.5px;
        color: #2d2a26;
        font-weight: 700;
        margin-top: 2px;
        opacity: 1;
    }

    .mobile-nav-slogan {
        display: block;
        font-family: var(--font-heading);
        font-size: 0.85rem;
        /* Augmentation de la taille pour une lecture facile */
        font-weight: 700;
        color: #2d2a26;
        /* Noir profond pour la lisibilité */
        text-transform: uppercase;
        letter-spacing: 1.2px;
        margin-top: 8px;
        text-align: left;
        line-height: 1.3;
    }
}

/* Desktop Navigation */
.desktop-nav {
    margin-top: 0;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

@media (min-width: 993px) and (max-width: 1250px) {
    .desktop-nav .nav-links {
        gap: 15px;
    }

    .desktop-nav a {
        font-size: 0.85rem;
    }

    .header-logo {
        gap: 10px;
    }

    .header-slogan {
        font-size: 0.8rem;
    }
}

.desktop-nav a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.desktop-nav a:not(.btn-cta):hover::after {
    width: 100%;
}

/* CTA Button */
.btn-cta {
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    color: #fff !important;
}

/* Mobile Menu Toggle - Refined & Fluid */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 50%;
}

.mobile-menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    background-color: var(--color-secondary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
    z-index: 1;
}

/* Artistic staggered lines */
.mobile-menu-toggle span:nth-child(1) {
    width: 22px;
    margin-bottom: 4px;
}

.mobile-menu-toggle span:nth-child(2) {
    width: 16px;
    margin-left: 6px;
    margin-bottom: 4px;
}

.mobile-menu-toggle span:nth-child(3) {
    width: 20px;
}

.mobile-menu-toggle.active::before {
    transform: scale(1);
}

.mobile-menu-toggle.active span {
    background-color: #fff;
    width: 22px !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-15px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px 30px calc(110px + env(safe-area-inset-bottom));
    /* Pousse les icônes au-dessus de la barre iPhone */
}

.mobile-nav-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav-drawer:not(.active) .mobile-nav-header {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-logo {
    max-width: 150px;
    height: auto;
}

.mobile-nav {
    flex-grow: 1;
}

.mobile-nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    opacity: 0;
    transform: translateX(20px);
}

.mobile-nav-drawer.active .mobile-nav a {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for links */
.mobile-nav-drawer.active .nav-links li:nth-child(1) a {
    transition-delay: 0.1s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(2) a {
    transition-delay: 0.2s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(3) a {
    transition-delay: 0.3s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(4) a {
    transition-delay: 0.4s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(5) a {
    transition-delay: 0.5s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(6) a {
    transition-delay: 0.6s;
}

.mobile-nav-drawer.active .nav-links li:nth-child(7) a {
    transition-delay: 0.7s;
}

.mobile-nav a:hover {
    color: var(--color-primary);
    padding-left: 10px;
}

.btn-cta-mobile {
    background-color: var(--color-primary);
    color: #fff !important;
    padding: 15px 25px !important;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
    margin-top: 10px;
}

.mobile-nav-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: all 0.5s ease 0.7s;
}

.mobile-nav-drawer:not(.active) .mobile-nav-footer {
    opacity: 0 !important;
    transition: opacity 0.2s ease;
}

.mobile-nav-drawer.active .mobile-nav-footer {
    opacity: 1;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-main);
    font-size: 1rem;
    font-weight: 500;
}

.contact-item .icon {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.mobile-social-links p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 15px;
}

.mobile-social-links .social-buttons {
    display: flex;
    gap: 15px;
}

.mobile-nav-drawer .social-button {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav-drawer .social-button svg {
    fill: var(--color-secondary);
}

.mobile-nav-drawer .social-button:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.mobile-nav-drawer .social-button:hover svg {
    fill: #ffffff;
}

.no-scroll {
    overflow: hidden;
}

/* Mobile-Only Enhancements */
@media (max-width: 992px) {

    /* Scroll Progress Indicator */
    .custom-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: var(--scroll-progress, 0%);
        height: 2px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
        transition: width 0.1s ease, opacity 0.3s ease;
        z-index: 10002;
    }

    /* Masquer la barre quand le menu est ouvert ou quand le header n'est pas scrollé */
    .mobile-menu-open .custom-header::after {
        opacity: 0;
        visibility: hidden;
    }

    /* Mesh Gradient for Drawer */
    .mobile-nav-drawer {
        background: radial-gradient(at 0% 0%, rgba(255, 247, 237, 1) 0, transparent 50%),
            radial-gradient(at 100% 0%, rgba(255, 255, 255, 1) 0, transparent 50%),
            radial-gradient(at 100% 100%, rgba(254, 215, 170, 0.2) 0, transparent 50%),
            radial-gradient(at 0% 100%, rgba(255, 255, 255, 1) 0, transparent 50%),
            rgba(255, 255, 255, 0.95);
    }

    .mobile-nav .nav-links li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        padding-bottom: 10px;
    }

    .mobile-nav .nav-links li:last-child {
        border-bottom: none;
    }

    .mobile-nav a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 1.5rem;
        /* Slightly more compact but readable */
        letter-spacing: -0.02em;
    }

    /* Small arrow indicator for links */
    .mobile-nav a::after {
        content: '→';
        font-size: 1.2rem;
        opacity: 0.3;
        transition: all 0.3s ease;
    }

    .mobile-nav a:hover::after {
        opacity: 1;
        transform: translateX(5px);
        color: var(--color-primary);
    }

    .contact-numbers {
        display: flex;
        align-items: center;
        gap: 15px;
        background: rgba(0, 0, 0, 0.03);
        padding: 12px 18px;
        border-radius: 15px;
        margin-bottom: 12px;
    }

    .numbers-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .numbers-list a {
        color: var(--color-secondary) !important;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
    }

    .email-item {
        padding-left: 18px;
        font-size: 0.9rem;
    }

    .mobile-nav-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
        opacity: 0.9;
    }

    .mobile-nav-tags .tag {
        font-size: 0.7rem;
        background: rgba(249, 115, 22, 0.1);
        color: var(--color-primary);
        padding: 5px 12px;
        border-radius: 50px;
        font-weight: 700;
        border: 1px solid rgba(249, 115, 22, 0.2);
        letter-spacing: 0.02em;
    }

    .btn-cta-mobile {
        justify-content: center !important;
        margin-top: 15px;
        font-size: 1.25rem !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
        animation: pulse-mobile 2s infinite;
        border: none !important;
    }

    @keyframes pulse-mobile {
        0% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        }

        50% {
            transform: scale(1.02);
            box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        }
    }

    .btn-cta-mobile::after {
        display: none !important;
    }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .custom-header {
        padding: 8px 20px;
        /* Slimmer */
        background: transparent;
        backdrop-filter: none;
    }

    /* Scrolled state for larger mobile screens */
    .custom-header.scrolled {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    /* Logo size optimization */
    .header-logo .custom-logo {
        height: 38px !important;
        /* Smaller logo for slimmer bar */
        width: auto !important;
        display: block;
    }
}

/* =========================================
   HIDE PAGE TITLES
   ========================================= */
.entry-title,
.page-header,
.ast-archive-description,
.ast-entry-header {
    display: none !important;
}

/* =========================================
   HOMEPAGE FULL WIDTH
   ========================================= */
.home .ast-container,
.home #content,
.home #primary,
.home #main,
.home .site-content,
.home .ast-row {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.home .entry-content {
    max-width: 100% !important;
    width: 100% !important;
}

.home #content {
    padding-top: 100px !important;
    /* Ajustement car header moins haut */
}

/* =========================================
   TARIFS PAGE FULL WIDTH
   ========================================= */
.page-template-page-tarifs .full-width-container,
.page-template-page-tarifs #content,
.page-template-page-tarifs #primary,
.page-template-page-tarifs #main,
.page-template-page-tarifs .site-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-template-page-tarifs .entry-content {
    max-width: 100% !important;
    width: 100% !important;
}

.page-template-page-tarifs #content {
    padding-top: 0 !important;
}

/* Footer Logo Image */
.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

/* Hide Old Ugly Cookie Banners */
.cookieadmin_law_container,
#cookieadmin_law_container,
.cookie-notice-container {
    display: none !important;
}

/* Hide Scroll to Top Button */
#ast-scroll-top {
    display: none !important;
}

/* Custom Cookie Banner - Premium Glassmorphism */
.custom-cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    z-index: 100000;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.custom-cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.cookie-text h3 {
    margin: 0 0 10px 0;
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    color: #2d2a26;
    font-weight: 900;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #5a544d;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 15px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    flex: 1;
    min-width: 80px;
    text-align: center;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #FF6F2E 0%, #FF8C42 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 111, 46, 0.25);
    flex: 2;
    /* Plus large pour l'action principale */
}

.cookie-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 111, 46, 0.35);
}

.cookie-btn-refuse {
    background: rgba(0, 0, 0, 0.05);
    color: #5a544d;
}

.cookie-btn-refuse:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.cookie-btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: #5a544d;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
    .custom-cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        max-width: none;
        padding: 25px;
    }
}

/* 🚀 ANIMATIONS DE RÉVÉLATION (SCROLL REVEAL) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délai progressif pour les listes de cartes ou éléments adjacents */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* 🌀 PREMIUM PRELOADER STYLES */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000000;
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.8s;
}

.site-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.preloader-logo {
    max-width: 280px;
    height: auto;
    animation: logoPulse 2.5s infinite ease-in-out;
}

.preloader-line {
    width: 100px;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FF6F2E, transparent);
    animation: lineLoad 2s infinite ease-in-out;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(0.98);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes lineLoad {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .preloader-logo {
        max-width: 180px;
    }
}