/* =============================================
   MAREE FRANCE - CSS COMPLET
   ============================================= */

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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e0f2fe' fill-opacity='0.4' d='M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,197.3C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3Cpath fill='%23bfdbfe' fill-opacity='0.3' d='M0,160L48,170.7C96,181,192,203,288,213.3C384,224,480,224,576,213.3C672,203,768,181,864,170.7C960,160,1056,160,1152,165.3C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 1440px 320px;
    color: #1A202C;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =============================================
   FIL D'ARIANE (BREADCRUMB)
   ============================================= */

.breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb a:hover {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

.breadcrumb span {
    color: #CBD5E0;
    user-select: none;
}

/* Dernier élément (page actuelle) */
.breadcrumb span:last-child {
    color: #4A5568;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 6px;
}

/* Séparateurs */
.breadcrumb > .container > span:not(:last-child) {
    color: #CBD5E0;
    font-weight: 400;
    padding: 0;
    background: none;
}

@media (max-width: 768px) {
    /* Masque complètement le fil d’Ariane en mobile
       (reste présent dans le code → aucun impact SEO) */
    .breadcrumb {
        display: none !important;
    }
}


/* =============================================
   HEADER
   ============================================= */
.header {
    background: rgba(14, 165, 233, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 0.8;
}

/* =============================================
   HERO GRID
   ============================================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.hero-card p {
    color: #4A5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.badge {
    margin-top: 1.5rem;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0ea5e9;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* =============================================
   INFO CARDS
   ============================================= */
.info-cards {
    display: grid;
    gap: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-card-ephemeride {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-card-ephemeride-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-card-ephemeride-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-card-ephemeride-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-card-ephemeride-full {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

.info-card-ephemeride-full .info-card-ephemeride-label {
    flex-shrink: 0;
}

.info-card-ephemeride-full .info-card-ephemeride-value {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    align-items: start;
}

.info-item-small {
    display: grid;
    grid-template-rows: auto auto;
    gap: 0.35rem;
    align-content: start;
}

.info-label-small {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
    height: 18px;
}

.info-value-small {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    height: 27px;
    display: flex;
    align-items: center;
}

.info-item-fete {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-label-fete {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.info-value-fete {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-value-meteo {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.3;
}

/* =============================================
   NAVIGATION DES DATES
   ============================================= */

.date-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
   
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1rem;
}

.date-nav::-webkit-scrollbar {
    display: none;
}

.date-btn {
    flex: 0 0 auto;
    background: rgba(14, 165, 233, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 100px;
    text-align: center;
}

.date-btn:hover {
    background: rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.date-btn.active {
    background: #0ea5e9;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.date-btn span {
    display: block;
}

.date-btn .day {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.date-btn .date {
    font-size: 1rem;
    font-weight: 700;
}

/* =============================================
   LAYOUT 2 COLONNES
   ============================================= */
.layout-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

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

.main-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =============================================
   DAY CARD
   ============================================= */
.day-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: #1A202C;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.day-header {
    border: none;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #0ea5e9;
}

.day-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.day-subheader {
    color: #718096;
    font-size: 0.95rem;
    font-weight: 500;
}

.period-row {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1.25rem;
}

.period-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #4A5568;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.period-label i {
    color: #0ea5e9;
    font-size: 1rem;
}

.tides {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .tides {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.tide {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #F7FAFC;
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #48BB78;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    position: relative;
}

.tide:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
    background: white;
}

.tide.high {
    border-left-color: #10b981;
}

.tide.low {
    border-left-color: #ef4444;
}

.tide-weather {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

/* Ligne 1 : Icône météo + Température air */
.tide-weather-line1 {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tide-weather-icon {
    font-size: 1.4rem;
    color: #0ea5e9;
    opacity: 0.9;
}

.tide-weather-icon.sun {
    color: #f59e0b;
}

.tide-weather-icon.partly-cloudy {
    position: relative;
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
}

.tide-weather-icon.partly-cloudy .sun-icon {
    position: absolute;
    top: 0;
    left: -2px;
    font-size: 0.9rem;
    color: #f59e0b;
    z-index: 1;
}

.tide-weather-icon.partly-cloudy .cloud-icon {
    position: absolute;
    top: 5px;
    left: 3px;
    font-size: 1.1rem;
    color: #94a3b8;
    z-index: 2;
}

.tide-weather-icon.rain {
    color: #3b82f6;
}

.tide-weather-icon.cloud {
    color: #94a3b8;
}

.tide-weather-icon.storm {
    color: #8b5cf6;
}

.tide-temp-air {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2D3748;
}

/* Ligne 2 : Vent avec flèche */
.tide-weather-line2 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tide-wind-arrow {
    font-size: 0.85rem;
    color: #0ea5e9;
    transition: transform 0.3s ease;
    display: inline-block;
}

.tide-wind-speed {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4A5568;
}

/* Ligne 3 : Température eau */
.tide-weather-line3 {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tide-temp-eau {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0891b2;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tide-temp-eau i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.tide-time {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2D3748;
    line-height: 1;
    letter-spacing: -1px;
}

.tide-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4A5568;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tide-icon {
    font-size: 0.9rem;
}

.tide.high .tide-icon {
    color: #10b981;
}

.tide.low .tide-icon {
    color: #ef4444;
}

.tide-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.tide-height {
    font-weight: 700;
    color: #2D3748;
    font-size: 1.1rem;
}

.tide-coef {
    background: #0ea5e9;
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* =============================================
   TABLEAU DES MARÉES
   ============================================= */
/* =============================================
   NOUVEAU TABLEAU MARÉES SEMAINE
   ============================================= */
.tides-week-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.tides-week-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tides-week-day {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.tides-week-day:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.tides-week-date {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tides-week-day-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.tides-week-day-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.tides-week-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tides-week-period {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tides-week-period-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tides-week-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.tide-week-card {
    background: #F7FAFC;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    border-left: 3px solid;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tide-week-card.high {
    border-left-color: #10b981;
}

.tide-week-card.low {
    border-left-color: #f97316;
}

.tide-week-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tide-week-line1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.tide-week-line2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tide-week-time {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.tide-week-type {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tide-week-card.high .tide-arrow {
    color: #10b981;
}

.tide-week-card.low .tide-arrow {
    color: #ef4444;
}

.tide-week-height {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
}

.tide-week-coef {
    display: inline-block;
    background: #0ea5e9;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .tides-week-container {
        padding: 1rem;
    }
    
    .tides-week-title {
        font-size: 1.1rem;
    }
    
    .tides-week-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .tide-week-card {
        padding: 0.4rem 0.5rem;
    }
    
    .tide-week-line1 {
        gap: 0.3rem;
        margin-bottom: 0.25rem;
    }
    
    .tide-week-line2 {
        gap: 0.3rem;
    }
    
    .tide-week-time {
        font-size: 0.8rem;
    }
    
    .tide-week-height {
        font-size: 0.85rem;
    }
    
    .tide-week-type {
        font-size: 0.65rem;
        gap: 0.2rem;
    }
    
    .tide-week-coef {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }
}

/* =============================================
   SIDEBAR GRANDES MARÉES
   ============================================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gm-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.gm-title {
    margin-bottom: 1.25rem;
}

.gm-main-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0ea5e9;
    letter-spacing: -0.5px;
}

.gm-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gm-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.gm-item:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    border-color: #0ea5e9;
}

.gm-item-date {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.gm-item-tides {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gm-tide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
}

.gm-tide-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0ea5e9;
    font-family: 'Inter', monospace;
}

.gm-tide-coef {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

/* =============================================
   CONTENU / CITY DATA
   ============================================= */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.content-section h2 {
    color: #0ea5e9;
    font-weight: 800;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    color: #0ea5e9;
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2D3748;
}

.feature-list li::before {
    content: "\f773";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0ea5e9;
    position: absolute;
    left: 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.activity-card {
    background: #F7FAFC;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
}

.activity-name {
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.activity-desc {
    color: #4A5568;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.activity-tide {
    display: inline-block;
    background: #0ea5e9;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nearby-cities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.city-card {
    background: #F7FAFC;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.city-card i {
    color: #0ea5e9 !important;
}

.city-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
    border-color: #0ea5e9;
}

.city-name {
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 0.25rem;
}

.city-distance {
    font-size: 0.85rem;
    color: #64748b;
}

.info-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item-content {
    background: #F7FAFC;
    padding: 1rem;
    border-radius: 12px;
}

.info-label-content {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-value-content {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3748;
}

/* =========================================
   CSS ÉTAPE 7 - SECTIONS ENRICHIES
   MaréeFrance - Contenu enrichi 2350+ mots
   ========================================= */

/* ===== SECTION FAQ ===== */
.faq-container {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #2563eb;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.faq-answer {
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-answer strong {
    color: #1e293b;
    font-weight: 600;
}

/* ===== SECTION COMPRENDRE ===== */
.comprendre-content {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.comprendre-content p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.comprendre-content p:last-child {
    margin-bottom: 0;
}

.comprendre-content strong {
    color: #1e293b;
}

/* ===== SECTION SPÉCIFICITÉS NARRATIVE ===== */
.specificites-narrative {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #bfdbfe;
}

.specificites-narrative p {
    color: #475569;
    line-height: 1.7;
    text-align: justify;
}

.specificites-narrative strong {
    color: #1e40af;
    font-weight: 600;
}

/* ===== ACTIVITÉS ENRICHIES ===== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.activity-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
    transition: width 0.3s ease;
}

.activity-card:hover::before {
    width: 6px;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.activity-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-desc {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: justify;
    min-height: 120px;
}

.activity-desc strong {
    color: #1e40af;
}

.activity-tide {
    display: inline-block;
    background: #e0f2fe;
    color: #1e40af;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.activity-meteo {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.activity-tide i, .activity-meteo i {
    margin-right: 0.25rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item, .comprendre-content, .specificites-narrative {
        padding: 1.25rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer, .comprendre-content p {
        font-size: 0.9rem;
    }
    
    .activity-card {
        padding: 1.25rem;
    }
    
    .activity-desc {
        min-height: auto;
    }
}

/* ===== ANIMATIONS AU SCROLL ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.comprendre-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

/* ===== IMPRESSION ===== */
@media print {
    .faq-item, .activity-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card::before {
        display: none;
    }
}

/* ===== AMÉLIORATION ACCESSIBILITÉ ===== */
.faq-question:focus,
.activity-card:focus-within {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Mode sombre désactivé */
@media (prefers-color-scheme: dark) {
    .specificites-narrative {
        background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
        border-color: #bfdbfe !important;
    }
    
    .specificites-narrative p {
        color: #475569 !important;
    }
    
    .activity-tide {
        background: #1e3a8a;
        color: #bfdbfe;
    }
    
    .activity-meteo {
        background: #713f12;
        color: #fde68a;
    }
}

/* ===== BADGES ET INDICATEURS ===== */
.content-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.new-content-indicator {
    display: inline-block;
    background: #ef4444;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ===== OPTIMISATION PERFORMANCES ===== */
.activities-grid, .faq-container {
    will-change: transform;
}

.activity-card, .faq-item {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== ICÔNES AMÉLIORÉES ===== */
h2 i, h3 i {
    background: #0ea5e9;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== STYLE FINAL CONTENT SECTION ===== */
.content-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.content-section:first-of-type {
    border-top: none;
    margin-top: 2rem;
}

.content-section h2,
.content-section h3 {
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.content-section h2 {
    font-size: 1.5rem;
}

.content-section h3 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: rgba(14, 165, 233, 0.05);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    color: #64748b;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.footer p:last-child {
    opacity: 0.7;
    font-size: 0.85rem;
}

/* =============================================
   TITRE H1
   ============================================= */
.main-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0ea5e9;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    border-radius: 20px;
    padding: 0.5rem;
}

/* =============================================
   MOBILE - H1 → date-nav → layout-2col → hero-grid
   ============================================= */
@media (max-width: 1023px) {
    .main-title {
        font-size: 1.35rem;
        margin-top: 1rem;
    }
    
    .date-nav {	    
	margin-bottom: 0;
	
    }
    
    .date-btn {
	min-width: 0;
	
    }

    /* On force la structure mobile du container principal */
    .breadcrumb + .container {
        display: flex;
        flex-direction: column;
    }


    /* 2️⃣ date-nav immédiatement après le H1 */
    .breadcrumb + .container > .date-nav {
        order: 2;
    }

    /* 3️⃣ layout-2col (gm-card + day-card) juste après la date-nav */
    .breadcrumb + .container > .layout-2col {
        order: 3;
    }

    /* 4️⃣ hero-grid ensuite */
    .breadcrumb + .container > .hero-grid {
        order: 4;
    }

    /* 5️⃣ puis les autres sections */
    .breadcrumb + .container > .content-section,
    .breadcrumb + .container > .sidebar {
        order: 5;
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 100px 1fr 1fr;
    }
    
    .table-cell {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .table-title {
        font-size: 1.1rem;
    }
    
    .day-card {
        padding: 1rem;
    }
    
    .day-header h2 {
        font-size: 1.1rem;
    }
    
    .tide-time {
        font-size: 1.25rem;
    }
    
    .tide-height {
        font-size: 1rem;
    }
    
    .tide-coef {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.25rem;
    }
    
    .content-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .table-header,
    .table-row {
        grid-template-columns: 80px 1fr 1fr;
    }
    
    .table-cell {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .table-tide {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .tides {
        grid-template-columns: 1fr;
    }
}
/* =============================================
   BADGE INFO pour pages région/département
   ============================================= */
.badge-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0ea5e9;
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    margin-bottom: 1.5rem;
}

