/* ===== Variables CSS ===== */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --header-bg: #ffffff;
    --nav-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mode Sombre */
body.dark-mode {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #f1f5f9;
    --text-light: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --header-bg: #1e293b;
    --nav-bg: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 155px; /* Espace pour header + nav-tabs fixes */
}

body::before {
    content: none;
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== Header ===== */
header {
    background: var(--header-bg);
    color: var(--text-color);
    padding: 1.25rem 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    transition: all 0.3s ease;
}

.logo svg path,
.logo svg circle {
    stroke: var(--primary-color);
    fill: var(--primary-color);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-info {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    width: 50px;
    height: 28px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.theme-toggle-slider {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    box-shadow: var(--shadow);
}

body.dark-mode .theme-toggle-slider {
    left: 26px;
}

/* ===== Navigation Tabs ===== */
.nav-tabs {
    background: var(--nav-bg);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 2px solid var(--border-color);
    transition: top 0.3s ease;
}

header.hidden ~ main .nav-tabs {
    top: 0;
}

.nav-tab {
    flex: 1;
    max-width: 250px;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.nav-tab::before {
    content: none;
}

.nav-tab::after {
    content: none;
}

.nav-tab:hover {
    background: var(--card-bg);
    color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

.nav-tab:hover::after {
    opacity: 0;
}

.nav-tab.active {
    color: var(--primary-color);
    background: var(--card-bg);
    border-bottom-color: var(--primary-color);
    box-shadow: none;
    transform: none;
}

.nav-tab.active::before {
    opacity: 0;
}

.nav-tab.active::after {
    opacity: 0;
}

.nav-tab span {
    position: relative;
    z-index: 1;
}

.nav-tab svg {
    width: 20px;
    height: 20px;
}

/* ===== Main Content ===== */
main {
    flex: 1;
    padding: 2rem 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Cards ===== */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.75rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.card::before {
    content: none;
}

.card:hover::before {
    left: 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.card-body {
    color: var(--text-light);
}

/* ===== Dashboard ===== */
.welcome-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: none;
}

.welcome-card::before {
    content: none;
}

.welcome-card::after {
    content: none;
}

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-15%, -15%) scale(1.15); opacity: 1; }
}

.welcome-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.welcome-card p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Status Badge */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.good {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.loading {
    background: #dbeafe;
    color: #1e40af;
}

.status-message {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Progress Circle */
.progress-circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    width: fit-content;
}

.progress-circle svg {
    transform: rotate(-90deg);
    display: block;
}

.progress-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.checklist-summary {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Info List */
.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-list li:last-child {
    border-bottom: none;
}

/* ===== Weather Section ===== */
.weather-header {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.location-search {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.location-search input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--card-bg);
    color: var(--text-color);
}

.location-search input::placeholder {
    color: var(--text-muted);
}

.location-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--card-bg);
}

.location-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--card-bg);
}

/* Autocomplétion des villes */
.city-suggestions {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 20px 20px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
    display: none;
}

.city-suggestions div {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.city-suggestions div:hover {
    background: var(--primary-color);
    color: white;
}

.city-suggestions div:last-child {
    border-bottom: none;
}

.weather-content-grid {
    display: grid;
    gap: 1.5rem;
}

.weather-main-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: none;
}

.weather-main-card::before {
    content: none;
}

.weather-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.weather-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
}

.weather-temp {
    font-size: 4rem;
    font-weight: 300;
}

.weather-icon {
    font-size: 5rem;
}

.weather-description {
    font-size: 1.2rem;
    text-transform: capitalize;
}

.weather-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.weather-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.weather-detail-item svg {
    width: 24px;
    height: 24px;
}

.weather-detail-info h4 {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.weather-detail-info p {
    font-size: 1.3rem;
    font-weight: 600;
}

.weather-detail-info small {
    font-size: 0.75rem;
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

.flight-conditions {
    margin-top: 2rem;
}

.flight-conditions h3 {
    margin-bottom: 1rem;
}

/* ===== Carte Recommandation de Vol ===== */
.flight-recommendation-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 3px solid;
    transition: all 0.3s ease;
}

.flight-good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-color: var(--success-color);
}

body.dark-mode .flight-good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
}

.flight-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-color: var(--warning-color);
}

body.dark-mode .flight-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
}

.flight-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    border-color: var(--danger-color);
}

body.dark-mode .flight-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
}

.recommendation-icon {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.flight-good .recommendation-title {
    color: var(--success-color);
}

.flight-warning .recommendation-title {
    color: var(--warning-color);
}

.flight-danger .recommendation-title {
    color: var(--danger-color);
}

.recommendation-message {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recommendation-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.conditions-list {
    list-style: none;
}

.conditions-list li {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== Checklist Section ===== */
.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checklist-header h2 {
    font-size: 1.8rem;
}

.checklist-section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.checklist-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--card-bg);
}

.checklist-item:hover {
    border-color: var(--primary-color);
    background: var(--bg-color);
    transform: translateX(4px);
}

.checklist-item.checked {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.15);
}

body.dark-mode .checklist-item.checked {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--success-color);
}

.checklist-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--success-color);
}

.checklist-item label {
    flex: 1;
    cursor: pointer;
    font-size: 1rem;
}

.checklist-item.checked label {
    text-decoration: line-through;
    opacity: 0.6;
}

/* ===== Buttons ===== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn::before {
    content: none;
}

.btn:hover::before {
    width: 0;
    height: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Rose des vents =====  */
.wind-compass {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-rose {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.compass-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 50%;
    transform-origin: center top;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: windPulse 2s ease-in-out infinite;
}

.arrow-head {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.compass-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
}

.compass-n, .compass-e, .compass-s, .compass-w {
    position: absolute;
}

.compass-n {
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.compass-e {
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
}

.compass-s {
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.compass-w {
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes windPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===== Zones NOTAM ===== */
.notam-zones {
    margin-top: 1.5rem;
}

.zones-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.zone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    background: var(--card-bg);
}

.zone-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.zone-info-item {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

body.dark-mode .zone-info-item {
    background: rgba(59, 130, 246, 0.1);
}

.zone-military {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

body.dark-mode .zone-military {
    background: rgba(239, 68, 68, 0.15);
    border-color: #f87171;
}

.zone-airport {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

body.dark-mode .zone-airport {
    background: rgba(245, 158, 11, 0.15);
    border-color: #fbbf24;
}

.zone-protected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

body.dark-mode .zone-protected {
    background: rgba(16, 185, 129, 0.15);
    border-color: #34d399;
}

.zone-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.zone-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.zone-info strong {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.zone-info span {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 4px;
}

.zone-info-item .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ===== Grille secondaire météo ===== */
.weather-secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* ===== Carte Rafales de vent ===== */
.wind-gusts-card .gust-display {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
}

.gust-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gust-comparison {
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.gust-warning {
    color: var(--warning-color);
    font-weight: 600;
}

.gust-ok {
    color: var(--success-color);
    font-weight: 600;
}

.gust-info {
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* ===== Carte Satellites GPS ===== */
.satellites-card .satellites-display {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    margin-bottom: 1rem;
}

.satellites-count {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.25rem;
}

.satellites-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.satellites-status {
    text-align: center;
    margin: 1rem 0;
}

.status-indicator {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

.status-excellent {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.status-bon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

.status-moyen {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
}

.satellites-info {
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-tabs {
        padding: 0 10px;
    }
    
    .nav-tab {
        padding: 1rem 1.25rem;
    }
    
    .weather-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .weather-secondary-grid {
        grid-template-columns: 1fr;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .weather-main-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 135px;
    }
    
    header {
        padding: 1rem 0;
    }
    
    .nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.5rem 10px;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tab {
        flex-direction: row;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        min-width: 110px;
        border-radius: 12px;
        white-space: nowrap;
    }
    
    .nav-tab svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-tab span {
        font-size: 0.9rem;
    }
    
    .nav-tab.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border-bottom-color: transparent;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .weather-main-card {
        padding: 2rem 1.5rem;
    }
    
    .weather-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .weather-detail-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .weather-detail-item svg {
        margin: 0 auto;
    }
    
    .wind-compass {
        margin: 0 auto;
    }
    
    .location-search {
        flex-direction: column;
        max-width: 100%;
    }
    
    .weather-current {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .weather-temp {
        font-size: 4rem;
        line-height: 1;
    }
    
    .weather-icon {
        font-size: 5rem;
    }
    
    .weather-description {
        font-size: 1.1rem;
        margin-top: 0.5rem;
    }
    
    .checklist-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .checklist-section {
        padding: 1.25rem;
    }
    
    .checklist-item {
        padding: 1rem;
    }
    
    .checklist-item label {
        font-size: 0.95rem;
    }
    
    .flight-recommendation-card {
        flex-direction: row;
        text-align: left;
        gap: 1.25rem;
        padding: 1.5rem;
        align-items: center;
    }
    
    .recommendation-icon {
        font-size: 3.5rem;
        flex-shrink: 0;
    }
    
    .recommendation-title {
        font-size: 1.4rem;
    }
    
    .recommendation-message {
        font-size: 0.95rem;
    }
    
    .recommendation-details {
        justify-content: flex-start;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .header-info {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 26px;
    }
    
    .theme-toggle-slider {
        width: 18px;
        height: 18px;
    }
    
    .zones-list {
        gap: 0.5rem;
    }
    
    .zone-item {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    .zone-info-item {
        align-items: center;
    }
    
    .zone-info-item .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 125px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    main {
        padding: 1rem 0;
    }
    
    header {
        padding: 0.875rem 0;
    }
    
    .logo h1 {
        font-size: 1.15rem;
    }
    
    .logo svg {
        width: 26px;
        height: 26px;
    }
    
    .header-info {
        font-size: 0.8rem;
        gap: 10px;
    }
    
    #weather-icon-header {
        font-size: 1.3rem;
    }
    
    .nav-tabs {
        padding: 0.5rem 8px;
    }
    
    .nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .nav-tab svg {
        width: 18px;
        height: 18px;
    }
    
    .welcome-card {
        padding: 2rem 1.5rem;
    }
    
    .welcome-card h2 {
        font-size: 1.4rem;
    }
    
    .welcome-card p {
        font-size: 1rem;
    }
    
    .card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .weather-main-card {
        padding: 1.75rem 1.25rem;
    }
    
    .weather-location {
        font-size: 1rem;
    }
    
    .weather-temp {
        font-size: 3rem;
    }
    
    .weather-icon {
        font-size: 4rem;
    }
    
    .weather-description {
        font-size: 1rem;
    }
    
    .weather-details-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .weather-detail-item {
        padding: 1rem 0.875rem;
    }
    
    .weather-detail-info h4 {
        font-size: 0.8rem;
    }
    
    .weather-detail-info p {
        font-size: 1.15rem;
    }
    
    .wind-compass {
        width: 50px;
        height: 50px;
    }
    
    .compass-labels {
        font-size: 0.65rem;
    }
    
    .flight-recommendation-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
    
    .recommendation-icon {
        font-size: 3rem;
    }
    
    .recommendation-title {
        font-size: 1.25rem;
    }
    
    .recommendation-message {
        font-size: 0.9rem;
    }
    
    .recommendation-details {
        justify-content: center;
    }
    
    .detail-badge {
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .checklist-section {
        padding: 1rem;
    }
    
    .checklist-item {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .checklist-item input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }
    
    .checklist-item label {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .progress-circle svg {
        width: 80px;
        height: 80px;
    }
    
    .progress-circle span {
        font-size: 1.2rem;
    }
}

/* Petits smartphones */
@media (max-width: 360px) {
    body {
        padding-top: 110px;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .nav-tab {
        min-width: 80px;
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .nav-tab svg {
        width: 16px;
        height: 16px;
    }
    
    .weather-temp {
        font-size: 2rem;
    }
    
    .recommendation-icon {
        font-size: 2rem;
    }
}