/*
Theme Name: S-Live Centre France
Theme URI: https://s-live.serv00.net/
Author: S-Live
Description: Thème WordPress pour la webradio S-Live Centre France avec lecteur audio permanent, grille des programmes et historique des titres.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: slive
*/

/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --slive-primary: #F1E12F;
    --slive-secondary: #1E73BE;
    --slive-bg-paper: #1F2833;
    --slive-text: #FFFFFF;
    --slive-text-secondary: #C5C6C7;
    --slive-success: #10B981;
    --slive-error: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--slive-bg);
    color: var(--slive-text);
    line-height: 1.6;
    padding-bottom: 100px;
}

a {
    color: var(--slive-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--slive-primary);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--slive-primary), var(--slive-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    backdrop-filter: blur(12px);

}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--slive-primary), var(--slive-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    color: var(--slive-text);
    margin: 0;
}

.logo-text span {
    font-size: 0.65rem;
    color: var(--slive-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 0.5rem;
    }
}

.main-nav a {
    padding: 0.5rem 1rem;
    color: var(--slive-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--slive-primary);

}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--slive-text);
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--slive-text-secondary);
    border-radius: 4px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--slive-primary);
    background: rgba(241, 225, 47, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0) 0%, rgba(11, 12, 16, 1) 100%),
                radial-gradient(circle at 50% 0%, rgba(30, 115, 190, 0.15) 0%, transparent 60%);
}

@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slive-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--slive-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

.hero p {
    font-size: 1.125rem;
    color: var(--slive-text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .hero p {
        margin: 0 0 2rem;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-stats {
        justify-content: flex-start;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 115, 190, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slive-secondary);
}

.stat-item:nth-child(2) .stat-icon {
    background: rgba(241, 225, 47, 0.2);
    color: var(--slive-primary);
}

.stat-text strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

.stat-text span {
    font-size: 0.75rem;
    color: var(--slive-text-secondary);
}

/* Hero Image */
.hero-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.hero-image img {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(241, 225, 47, 0.2), rgba(30, 115, 190, 0.2));
    border-radius: 24px;
    filter: blur(40px);
    z-index: -1;
}

.on-air-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--slive-primary);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(241, 225, 47, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(241, 225, 47, 0.5); }
    50% { box-shadow: 0 0 25px rgba(241, 225, 47, 0.8); }
}

/* ============================================
   CARDS & SECTIONS
   ============================================ */
.section {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-header svg {
    color: var(--slive-secondary);
}

.section-header h2 {
    margin: 0;
}

.card {
    background: rgba(31, 40, 51, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(241, 225, 47, 0.3);
    transform: translateY(-4px);
}

.card-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header svg {
    color: var(--slive-primary);
}

.card-header h3 {
    margin: 0;
    font-size: 1rem;
}

.card-body {
    padding: 1rem;
}

/* ============================================
   TOP TRACKS
   ============================================ */
.top-tracks-list {
    list-style: none;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(241, 225, 47, 0.1);
}

.track-position {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 28px;
    text-align: center;
    color: var(--slive-text-secondary);
}

.track-item:nth-child(-n+3) .track-position {
    color: var(--slive-primary);
}

.track-cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.875rem;
    color: var(--slive-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   PROGRAMS
   ============================================ */
.day-selector {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.day-btn {
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: none;
    color: var(--slive-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.day-btn:hover,
.day-btn.active {
    background: var(--slive-secondary);
    color: var(--slive-text);
}

.program-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.program-item:hover {
    background: rgba(30, 115, 190, 0.1);
}

.program-time {
    flex-shrink: 0;
    text-align: center;
    font-family: monospace;
}

.program-time .start {
    color: var(--slive-secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

.program-time .end {
    color: var(--slive-text-secondary);
    font-size: 0.75rem;
}

.program-info h4 {
    margin: 0 0 0.25rem;
    font-size: 0.875rem;
    text-transform: none;
}

.program-host {
    font-size: 0.75rem;
    color: var(--slive-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Current Program Highlight */
.current-program {
    background: rgba(241, 225, 47, 0.1);
    border: 1px solid rgba(241, 225, 47, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.current-program .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--slive-primary);
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ============================================
   NEWS
   ============================================ */
.news-section {
    background: rgba(31, 40, 51, 0.3);
    padding: 3rem 0;
}

.news-card {
    background: rgba(31, 40, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    border-color: rgba(30, 115, 190, 0.5);
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content {
    padding: 1.25rem;
}

.news-content h3 {
    font-size: 1rem;
    text-transform: none;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover h3 {
    color: var(--slive-primary);
}

.news-content p {
    font-size: 0.875rem;
    color: var(--slive-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--slive-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.read-more:hover {
    color: var(--slive-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--slive-bg-paper);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-about h3 {
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--slive-text-secondary);
    font-size: 0.875rem;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--slive-text-secondary);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--slive-primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slive-text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--slive-secondary);
    color: var(--slive-text);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--slive-text-secondary);
    font-size: 0.75rem;
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-header {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 115, 190, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slive-secondary);
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
}

.page-header p {
    color: var(--slive-text-secondary);
    margin: 0;
}

/* Programs Page - Full Grid */
.programs-full .day-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.programs-full .day-tab {
    padding: 0.75rem 1.5rem;
    background: rgba(31, 40, 51, 0.5);
    border: none;
    color: var(--slive-text-secondary);
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.programs-full .day-tab:hover,
.programs-full .day-tab.active {
    background: var(--slive-secondary);
    color: var(--slive-text);
    box-shadow: 0 0 20px rgba(30, 115, 190, 0.3);
}

.programs-full .program-card {
    background: rgba(31, 40, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.programs-full .program-card:hover {
    border-color: rgba(30, 115, 190, 0.5);
}

.programs-full .time-block {
    flex-shrink: 0;
    background: rgba(30, 115, 190, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    min-width: 70px;
}

.programs-full .time-block .start {
    color: var(--slive-secondary);
    font-family: monospace;
    font-weight: 700;
}

.programs-full .time-block .end {
    color: var(--slive-text-secondary);
    font-size: 0.75rem;
}

/* History Page */
.history-list .date-group {
    margin-bottom: 2rem;
}

.history-list .date-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slive-text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(31, 40, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.history-item:hover {
    border-color: rgba(30, 115, 190, 0.3);
}

.history-item .cover {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.history-item .info {
    flex: 1;
    min-width: 0;
}

.history-item .title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item .artist {
    font-size: 0.875rem;
    color: var(--slive-text-secondary);
}

.history-item .time {
    color: var(--slive-secondary);
    font-family: monospace;
    font-size: 0.875rem;
}

/* About Page */
.about-hero {
    position: relative;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--slive-bg), transparent);
}

.about-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 1;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-card {
    background: rgba(31, 40, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.about-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(30, 115, 190, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slive-secondary);
    margin-bottom: 1rem;
}

.about-card:nth-child(2) .about-card-icon {
    background: rgba(241, 225, 47, 0.2);
    color: var(--slive-primary);
}

.about-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-card p {
    color: var(--slive-text-secondary);
    font-size: 0.875rem;
}

.mission-box {
    background: linear-gradient(135deg, rgba(241, 225, 47, 0.1), rgba(30, 115, 190, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.mission-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mission-box p {
    color: var(--slive-text-secondary);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-box {
    background: rgba(31, 40, 51, 0.5);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-box .number {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--slive-primary);
}

.stat-box:nth-child(even) .number {
    color: var(--slive-secondary);
}

.stat-box .label {
    font-size: 0.75rem;
    color: var(--slive-text-secondary);
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }





/* =========================
   MENU WORDPRESS – FIX FINAL
========================= */

/* Menu principal */
nav ul.menu,
nav ul.menu-primary,
nav ul#primary-menu {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Items principaux */
nav ul.menu > li,
nav ul#primary-menu > li {
  position: relative;
}

/* Liens */
nav ul.menu > li > a,
nav ul#primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  text-decoration: none;
}

/* =========================
   SOUS-MENUS
========================= */

nav ul.menu ul,
nav ul#primary-menu ul {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  flex-direction: column;
  min-width: 220px;
  background: #111;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  z-index: 9999;
}

nav ul.menu ul li,
nav ul#primary-menu ul li {
  width: 100%;
}

/* Hover sous-menu */
nav ul.menu li:hover > ul,
nav ul#primary-menu li:hover > ul {
  display: flex !important;
}






.hero-search-compact {
    max-width: 500px;      /* largeur compacte */
    margin: 2rem auto;      /* centré */
    text-align: center;
}

.search-form-compact {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-field-compact {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    font-size: 0.95rem;
}

.search-field-compact:focus {
    outline: none;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
}

.search-submit-compact {
    background: #ff4d4d;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.search-submit-compact:hover {
    background: #e03e3e;
    transform: scale(1.05);
}






/* Container principal du header */
.header-container {
    display: flex;
    justify-content: space-between; /* menu à gauche, recherche à droite */
    align-items: center;           /* centre verticalement */
    max-width: 1200px;             /* largeur maximale */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Menu */
.header-menu {
    display: flex;
    align-items: center;
}

/* Formulaire recherche */
.header-search {
    display: flex;
    align-items: center;
}

/* Formulaire compact */
.search-form-header {
    display: flex;
    align-items: center;
    height: 36px;       /* ajuster selon la hauteur du menu */
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.search-field-header {
    flex: 1;
    height: 100%;
    padding: 0 0.8rem;
    font-size: 0.9rem;
    border: none;
}

.search-field-header:focus {
    outline: none;
}

.search-submit-header {
    height: 100%;
    padding: 0 0.8rem;
    background: #1E73BE;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-submit-header:hover {
    background: #1F4D79;
}
