:root {
    --primary: #00838F;
    --primary-dark: #005F68;
    --primary-light: #26A3AF;
    --secondary: #1D2D44;
    --accent: #E8AA14;
    --text: #1D2D44;
    --text-light: #6C7A89;
    --background: #F8FBFD;
    --surface: #FFFFFF;
}

/* ========================================
   HERO WAVE — Vagues mediterraneennes
   ======================================== */

.hero-wave {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.hero-wave .hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 3rem 0;
}

.hero-wave h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.15;
}

.hero-wave .hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-wave .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-wave .btn-primary {
    background: var(--accent);
    color: #FFFFFF;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-wave .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.4);
}

.hero-wave .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s;
}

.hero-wave .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-wave .wave-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave .wave-decoration svg {
    display: block;
    width: 100%;
    height: auto;
}

.hero-wave .hero-image-float {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.hero-wave .hero-image-float::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

/* ========================================
   ALTERNATING ROWS — Zigzag image/texte
   ======================================== */

.section-alternating {
    padding: 4rem 0;
    background: var(--surface);
}

.section-alternating h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--secondary);
    margin-bottom: 3rem;
}

.alternating-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}

.alternating-row:nth-child(even) {
    flex-direction: row-reverse;
}

.alternating-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.2);
}

.alternating-text {
    flex: 1;
}

.alternating-text h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.alternating-text p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .alternating-row,
    .alternating-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   STATS COUNTER — Chiffres cles
   ======================================== */

.section-stats {
    padding: 4rem 0;
    background: var(--background);
}

.section-stats h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--secondary);
    margin-bottom: 3rem;
}

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

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid rgba(0, 119, 182, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stat-value {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

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

/* ========================================
   ARTICLES GRID MOSAIC — Masonry-like
   ======================================== */

.section-articles-mosaic {
    padding: 4rem 0;
    background: var(--surface);
}

.section-articles-mosaic h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--secondary);
    margin-bottom: 3rem;
}

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

.mosaic-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--background);
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.mosaic-card:first-child {
    grid-row: 1 / 3;
}

.mosaic-card:first-child picture,
.mosaic-card:first-child img {
    height: 100%;
    min-height: 300px;
}

.mosaic-card picture {
    display: block;
    height: 180px;
    overflow: hidden;
}

.mosaic-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.mosaic-card:first-child .mosaic-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #FFFFFF;
}

.mosaic-card:first-child {
    position: relative;
}

.mosaic-card:first-child picture {
    height: 100%;
}

.mosaic-card:first-child img {
    height: 100%;
}

.mosaic-card:first-child h3 {
    color: #FFFFFF;
}

.mosaic-card:first-child p {
    color: rgba(255, 255, 255, 0.85);
}

.mosaic-body {
    padding: 1.2rem;
}

.mosaic-body h3 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.mosaic-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mosaic-tag {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .articles-mosaic-grid {
        grid-template-columns: 1fr;
    }
    .mosaic-card:first-child {
        grid-row: auto;
    }
}

/* ========================================
   CTA SPLIT DUAL — 2 boutons cote a cote
   ======================================== */

.section-cta-split {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    text-align: center;
}

.section-cta-split h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.section-cta-split .cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--accent);
    color: #FFFFFF;
    padding: 1rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.4);
}

.cta-btn-write {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 1rem 2.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.2s;
}

.cta-btn-write:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== EDITORIAL SEO LINKS ===== */
.section-editorial-seo a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.section-editorial-seo a:hover {
    color: var(--primary-dark);
}
