/* =============================================
   INDEX.CSS - HOMEPAGE ULTRA MODERNE
   ============================================= */

/* Hero Section avec vagues */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    overflow: hidden;
    padding: 4rem 1.5rem 6rem;
    min-height: 60vh;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    animation: wave-animation 15s ease-in-out infinite;
}

.wave2 {
    animation: wave-animation 20s ease-in-out infinite reverse;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-5%) translateY(-10px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* =============================================
   SIDEBAR ARTICLES - DESIGN MAGNIFIQUE
   ============================================= */
.marees-articles-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.marees-main {
    min-width: 0;
}

.marees-sidebar {
    position: sticky;
    top: 2rem;
    z-index: 10;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.sidebar-header {
    background: #0ea5e9;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid #0284c7;
}

.sidebar-header i {
    font-size: 1.3rem;
    color: white;
}

.sidebar-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.articles-list {
    padding: 1rem;
    overflow-y: auto;
}

.article-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.article-item:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
}

.article-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item:hover .article-title {
    color: #0ea5e9;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: auto;
}

.article-meta i {
    font-size: 0.7rem;
}

/* Bouton "Toutes les actualités" */
.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    text-decoration: none;
    color: #0ea5e9;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-btn:hover {
    background: #0ea5e9;
    color: white;
}

/* Masquer les articles > 2 en mobile, > 5 en desktop */
@media (min-width: 1025px) {
    .article-item[data-index="5"],
    .article-item[data-index="6"],
    .article-item[data-index="7"],
    .article-item[data-index="8"],
    .article-item[data-index="9"] {
        display: none;
    }
}

/* Recherche */
.hero-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    z-index: 10000;
}

.hero-search i {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.2rem;
    z-index: 10;
}

.hero-search input {
    width: 100%;
    padding: 1.25rem 1.5rem 1.25rem 4rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.hero-search input:focus {
    outline: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    z-index: 9999;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.5rem;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
    color: #0ea5e9;
}

.search-result-item i {
    color: #0ea5e9;
    margin-right: 1rem;
    flex-shrink: 0;
}

.search-no-result {
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
}

/* Hero Cities - Design moderne et fluide */
.hero-cities {
    margin-top: 3rem;
    padding: 0 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cities-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.cities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.city-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.city-pill:hover::before {
    left: 100%;
}

.city-pill i {
    font-size: 0.85rem;
    opacity: 0.9;
}

.city-pill span {
    font-size: 0.95rem;
}

.city-pill:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #0284c7;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.city-pill:hover i {
    color: #0ea5e9;
}

/* Effet de pulsation subtile sur quelques villes */
.city-pill[data-region="bretagne"] {
    animation: subtle-pulse 3s ease-in-out infinite;
    animation-delay: 0s;
}

.city-pill[data-region="normandie"]:first-of-type {
    animation: subtle-pulse 3s ease-in-out infinite;
    animation-delay: 1s;
}

.city-pill[data-region="loire"]:first-of-type {
    animation: subtle-pulse 3s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes subtle-pulse {
    0%, 100% {
        background: rgba(255, 255, 255, 0.15);
    }
    50% {
        background: rgba(255, 255, 255, 0.25);
    }
}

/* Sections */
.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 3rem;
}

.section-title i {
    color: #0ea5e9;
    margin-right: 0.75rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Rich Sections */
.content-rich {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.content-rich p {
    margin-bottom: 1.5rem;
}

.content-rich h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.content-rich h3 i {
    color: #0ea5e9;
    margin-right: 0.75rem;
    font-size: 1.6rem;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Understanding Section */
.understanding-section {
    max-width: 1000px;
    margin: 0 auto;
}

.understanding-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
    text-align: center;
}

/* Tide Cycle Diagram */
.tide-cycle-diagram {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tide-cycle-diagram h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.tide-cycle-diagram h3 i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

.cycle-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cycle-stage {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 2px solid #bae6fd;
    transition: all 0.3s ease;
}

.cycle-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.cycle-icon {
    font-size: 2rem;
    color: #0ea5e9;
    margin-bottom: 0.75rem;
}

.cycle-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cycle-label {
    font-size: 1rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 0.25rem;
}

.cycle-desc {
    font-size: 0.85rem;
    color: #64748b;
}

.cycle-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

.cycle-info {
    background: #fef3c7;
    border-left: 4px solid #fbbf24;
    padding: 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #78350f;
}

.cycle-info strong {
    color: #92400e;
}

/* Coefficient Scale */
.coef-scale {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.coef-scale h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.coef-scale h3 i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

.coef-intro {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coef-bars {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.coef-bar {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border-left: 6px solid;
    transition: all 0.3s ease;
    cursor: pointer;
}

.coef-bar:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.coef-morte {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #22c55e;
}

.coef-moyenne {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.coef-vive {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
}

.coef-grande {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
    border-color: #a855f7;
}

.coef-range {
    font-size: 1.3rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.coef-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.coef-detail {
    font-size: 0.95rem;
    color: #64748b;
}

/* Tide Factors */
.tide-factors {
    margin: 3rem 0;
}

.tide-factors h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.tide-factors h3 i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.factor-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.factor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

.factor-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.factor-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.factor-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tide Terms */
.tide-terms {
    margin: 3rem 0;
}

.tide-terms h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

.tide-terms h3 i {
    color: #0ea5e9;
    margin-right: 0.5rem;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.term-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 2rem;
    border-top: 4px solid #0ea5e9;
    transition: all 0.3s ease;
}

.term-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.term-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 1rem;
}

.term-definition {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Grandes Marées Grid */
.grandes-marees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.gm-card {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.gm-card-date {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.gm-card-coef {
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

.gm-card-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Régions Grid */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.region-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid transparent;
    cursor: pointer;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.region-card:hover::before {
    opacity: 0.08;
}

.region-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.25);
    border-color: #0ea5e9;
}

.region-card-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.region-card:hover .region-card-content {
    transform: translateX(5px);
}

.region-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.region-card:hover .region-card-title {
    color: #0ea5e9;
}

.region-card-desc {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.region-card-ports {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #0ea5e9;
    font-weight: 600;
}

.region-card-coming {
    opacity: 0.6;
    pointer-events: none;
}

.region-card-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
}

.activity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.activity-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.activity-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.activity-coef {
    display: inline-block;
    background: #f0f9ff;
    color: #0284c7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: #0ea5e9;
    background: #f8fafc;
}

.faq-question i {
    color: #0ea5e9;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 0 2rem 2rem 4rem;
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 5rem 1.5rem;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #0ea5e9;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .marees-articles-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .marees-sidebar {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
        position: static;
    }
    
    .marees-main {
        order: 1;
    }
    
    .articles-list {
        max-height: none;
    }
    
    .article-item {
        flex-direction: row;
    }
    
    .article-image {
        width: 80px;
        height: 80px;
    }
    
    .article-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .article-item[data-index="2"],
    .article-item[data-index="3"],
    .article-item[data-index="4"] {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 3rem 1rem 8rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cities {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }
    
    .cities-title {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .cities-grid {
        gap: 0.6rem;
    }
    
    .city-pill {
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }
    
    .city-pill i {
        font-size: 0.8rem;
    }
    
    .city-pill span {
        font-size: 0.9rem;
    }
    
    .sidebar-header {
        padding: 1.25rem 1.5rem;
    }
    
    .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    .article-item {
        padding: 0.75rem;
    }
    
    .article-image {
        width: 70px;
        height: 70px;
    }
    
    .article-title {
        font-size: 0.85rem;
    }
    
    .sidebar-btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .content-rich {
        font-size: 1rem;
    }
    
    .content-rich h3 {
        font-size: 1.5rem;
    }
    
    .lead-text {
        font-size: 1.15rem;
    }
    
    .cycle-visual {
        flex-direction: column;
    }
    
    .cycle-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .grandes-marees-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .gm-card {
        padding: 1.5rem 1rem;
    }
    
    .gm-card-coef {
        font-size: 2.5rem;
    }
    
    .region-grid,
    .activities-grid,
    .factors-grid,
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .tide-cycle-diagram,
    .coef-scale {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.5rem 3rem;
        font-size: 0.95rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 6rem;
    }
    
    .hero-cities {
        margin-top: 2rem;
        padding: 0 0.25rem;
    }
    
    .cities-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .city-pill {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .city-pill i {
        font-size: 0.75rem;
    }
    
    .city-pill span {
        font-size: 0.85rem;
    }
    
    /* Sur très petit écran, on peut masquer l'icône pour gagner de la place */
    @media (max-width: 360px) {
        .city-pill i {
            display: none;
        }
        
        .city-pill {
            padding: 0.5rem 0.9rem;
        }
    }
    
    .hero-search {
        padding: 0 0.5rem;
    }
    
    .hero-search input {
        font-size: 1rem;
        padding: 1rem 1rem 1rem 3.5rem;
    }
    
    .hero-search i {
        left: 1.5rem;
    }
    
    .search-results {
        left: 0.5rem;
        right: 0.5rem;
    }
}