/* ============================================================
   ADyCT — Header & Footer (PHP natif, sans Elementor Pro)
   ============================================================ */

/* Forcer le mode clair — override dark mode OS/navigateur/JS */
html { color-scheme: light; }
@media (prefers-color-scheme: dark) {
    html {
        background-color: #f8f7f5 !important;
        color: #1c1a17 !important;
        filter: none !important;
    }
    body {
        background-color: #f8f7f5 !important;
        color: #1c1a17 !important;
        filter: none !important;
    }
}

/* --- HEADER --- */
#adyct-header {
    background: #f8f7f5;
    border-bottom: 1px solid #e8e3dc;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.adyct-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
}
.adyct-header-logo { flex-shrink: 0; }
.adyct-header-logo a { display: block; }
.adyct-header-logo img { height: 50px; width: auto; display: block; }

/* Nav */
.adyct-header-nav { flex: 1; }
.adyct-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
}
.adyct-nav-list > li > a {
    display: block;
    padding: 8px 11px;
    color: #1c1a17;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.adyct-nav-list > li > a:hover,
.adyct-nav-list > li.current-menu-item > a {
    color: #c8852a;
    background: #f2ede7;
}
/* Sub-menus hidden (pas utilisés sur ce site) */
.adyct-nav-list .sub-menu { display: none; }

/* Search */
.adyct-header-search { position: relative; flex-shrink: 0; }
.adyct-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #1c1a17;
    padding: 6px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color .2s;
}
.adyct-search-toggle:hover { color: #c8852a; }
.adyct-search-form {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e8e3dc;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    z-index: 100;
}
.adyct-search-form.open { display: block; }
.adyct-search-form .search-form { display: flex; gap: 6px; }
.adyct-search-form input[type=search] {
    border: 1px solid #e8e3dc;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
    width: min(220px, 80vw);
    outline: none;
}
.adyct-search-form input[type=submit] {
    background: #c8852a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

/* Mobile nav toggle button */
.adyct-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}
.adyct-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1c1a17;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.adyct-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.adyct-nav-toggle.open span:nth-child(2) { opacity: 0; }
.adyct-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive header */
@media (max-width: 960px) {
    .adyct-header-inner { padding: 10px 16px; flex-wrap: wrap; }
    .adyct-header-logo img { height: 50px; }
    .adyct-nav-toggle { display: flex; }
    .adyct-header-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    .adyct-header-nav.open { display: block; }
    .adyct-nav-list { flex-direction: column; gap: 0; padding: 8px 0; }
    .adyct-nav-list > li > a { padding: 14px 8px; }
    .adyct-header-search { order: 2; }
    .adyct-search-form { right: auto; left: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#adyct-footer {
    font-family: 'Space Grotesk', sans-serif;
}

/* Section logos */
.adyct-footer-logos {
    background: #f8f7f5;
    padding: 28px 60px;
    text-align: center;
    border-top: 1px solid #e8e3dc;
}
.adyct-footer-logos-title {
    font: 700 10px/1 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9a9690;
    margin: 0 0 18px;
}
.adyct-footer-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 32px;
}
.adyct-footer-logos-grid img {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    filter: grayscale(20%);
    transition: opacity .2s, filter .2s;
}
.adyct-footer-logos-grid a:hover img,
.adyct-footer-logos-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Section info */
.adyct-footer-info {
    background: #3a2200;
    padding: 22px 60px;
}
.adyct-footer-info-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.adyct-footer-name {
    font-weight: 700;
    font-size: 15px;
    color: #e0c880;
}
.adyct-footer-desc {
    color: #c0a060;
    font-size: 12px;
}
.adyct-footer-address {
    color: #c0a060;
    font-size: 12px;
}
.adyct-footer-address a {
    color: #c0a060 !important;
    text-decoration: none;
}
.adyct-footer-address a:hover { color: #e0c880 !important; }

/* Social icons */
.adyct-footer-social {
    display: flex;
    gap: 2px;
    align-items: center;
}
.adyct-footer-social a {
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 7px;
    transition: opacity .2s;
}
.adyct-footer-social a svg {
    fill: #fff !important;
    color: #fff !important;
}
.adyct-footer-social a:hover { opacity: .8; }
.adyct-footer-social a[aria-label="YouTube"]  { background: #cc0000; }
.adyct-footer-social a[aria-label="Twitch"]   { background: #6441a5; }
.adyct-footer-social a[aria-label="Facebook"] { background: #1a5fac; }
.adyct-footer-social a[aria-label="Instagram"]{ background: #2a2a32; }

/* Bottom links */
.adyct-footer-bottom {
    background: #130c00;
    padding: 10px 60px;
    text-align: center;
    font-size: 12px;
}
.adyct-footer-bottom a,
.adyct-footer-bottom span {
    color: #9a9080 !important;
    text-decoration: none;
}
.adyct-footer-bottom a:hover { color: #e0c880 !important; }

@media (min-width: 769px) and (max-width: 1024px) {
    .adyct-footer-logos,
    .adyct-footer-info,
    .adyct-footer-bottom { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 768px) {
    .adyct-footer-logos,
    .adyct-footer-info,
    .adyct-footer-bottom { padding-left: 16px; padding-right: 16px; }
    .adyct-footer-info-inner { flex-direction: column; align-items: flex-start; }
    .adyct-footer-social { margin-top: 8px; }
}

/* ============================================================
   PAGE PARTENAIRES ET AMIS
   ============================================================ */

.adyct-partenaires-wrap {
    background: #f8f7f5;
    min-height: 60vh;
    padding: 48px 0 72px;
}
.adyct-partenaires-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}
.adyct-partenaires-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1c1a17;
    margin: 0 0 40px;
}
.adyct-partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Carte partenaire */
.adyct-partner-card {
    background: #fff;
    border: 1px solid #e8e3dc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
}
.adyct-partner-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border-color: #d0c8be;
}

/* Zone visuelle — logo ou initiales */
.adyct-partner-visual {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.adyct-partner-visual.has-logo {
    background: #f2ede7;
    border-bottom: 1px solid #e8e3dc;
}
.adyct-partner-visual.has-initials {
    background: var(--partner-color, #c8852a);
}
.adyct-partner-visual.has-logo img {
    max-height: 88px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}
/* Logos sur fond sombre (La Cure, La Caravane Filme, Pygmée, Save Studio…) */
.adyct-partner-visual.has-banner {
    background: var(--partner-color, #111);
    padding: 12px;
}
.adyct-partner-visual.has-banner img {
    max-height: 86px;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.adyct-partner-initials {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}

/* Corps de la carte */
.adyct-partner-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.adyct-partner-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.25;
}
.adyct-partner-name a {
    color: #1c1a17;
    text-decoration: none;
    transition: color .2s;
}
.adyct-partner-name a:hover { color: #c8852a; }
.adyct-partner-desc {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: .9rem;
    line-height: 1.62;
    color: #6b6560;
    margin: 0;
}

@media (max-width: 768px) {
    .adyct-partenaires-inner { padding: 0 16px; }
    .adyct-partenaires-page-title { font-size: 1.5rem; margin-bottom: 28px; }
    .adyct-partenaires-grid { grid-template-columns: 1fr; }
}
