/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Banner avec vidéo */
.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* SMS Templates */
.sms-template {
    margin: 2rem 0;
}

.phone-mockup {
    background: #000;
    border-radius: 25px;
    padding: 20px 15px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.message {
    background: #007BFF;
    color: white;
    padding: 12px 16px;
    border-radius: 18px;
    margin: 8px 0;
    max-width: 80%;
    position: relative;
    word-wrap: break-word;
}

.message.sent {
    margin-left: auto;
    background: #007BFF;
    border-bottom-right-radius: 4px;
}

.message.received {
    margin-right: auto;
    background: #E5E5EA;
    color: #000;
    border-bottom-left-radius: 4px;
}

.message p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.time {
    font-size: 10px;
    opacity: 0.7;
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Email Templates */
.email-template {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.email-header {
    background: #007BFF;
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    border-bottom: 1px solid #0056b3;
}

.email-body {
    padding: 20px;
    background: white;
}

.email-body p {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.email-body p:last-child {
    margin-bottom: 0;
}

/* Tips and Guidelines */
.tip-box {
    background: #e7f3ff;
    border-left: 4px solid #007BFF;
    padding: 15px;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

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

.situation-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.situation-card h4 {
    color: #007BFF;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.situation-card p {
    margin: 8px 0;
    font-style: italic;
    color: #495057;
}

/* Emoji Guide */
.emoji-guide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 2rem 0;
}

.emoji-guide h3 {
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.emoji-guide h3:first-child {
    margin-top: 0;
}

.emoji-guide p {
    font-size: 24px;
    line-height: 1.8;
    margin: 10px 0 20px 0;
}

/* Timing Tips */
.timing-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.time-slot {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.time-slot h4 {
    color: #007BFF;
    margin-bottom: 10px;
    font-size: 1rem;
}

.time-slot p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: #6c757d;
}

/* Golden Rules */
.golden-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.golden-rules h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.golden-rules ul {
    padding-left: 20px;
}

.golden-rules li {
    margin: 8px 0;
    line-height: 1.5;
}

/* Best Practices */
.best-practices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.best-practices h3 {
    color: #007BFF;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.best-practices ul {
    padding-left: 20px;
}

.best-practices li {
    margin: 10px 0;
    line-height: 1.5;
}

/* Formal Letters */
.formal-letter {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 30px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Times New Roman', serif;
}

.letter-header {
    margin-bottom: 30px;
    line-height: 1.8;
}

.letter-header p {
    margin: 5px 0;
    color: #333;
}

.letter-body {
    line-height: 1.8;
}

.letter-body p {
    margin: 15px 0;
    text-align: justify;
    color: #2c3e50;
}

/* Protocol Rules */
.protocol-rules {
    background: #F8F9FA;
    border-radius: 10px;
    padding: 30px;
    margin: 2rem 0;
}

.protocol-rules h3 {
    color: #007BFF;
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
}

.protocol-rules ul {
    padding-left: 20px;
}

.protocol-rules li {
    margin: 8px 0;
    line-height: 1.6;
}

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

.politesse-card {
    background: white;
    border: 1px solid #DEE2E6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.politesse-card h4 {
    color: #007BFF;
    margin-bottom: 10px;
    font-size: 1rem;
}

.politesse-card p {
    font-style: italic;
    margin: 0;
    color: #495057;
}

/* Timing Guidelines */
.timing-guidelines {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 2rem 0;
}

.timing-guidelines h3 {
    margin: 20px 0 15px 0;
    font-size: 1.2rem;
}

.timing-guidelines h3:first-child {
    margin-top: 0;
}

.timing-guidelines ul {
    padding-left: 20px;
}

.timing-guidelines li {
    margin: 10px 0;
    line-height: 1.6;
}

.timing-guidelines strong {
    color: #FFD700;
}

/* Social Media Posts */
.social-post {
    background: #FFFFFF;
    border: 1px solid #E1E8ED;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.platform-header {
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-header.linkedin { background: #0077B5; color: white; }
.platform-header.facebook { background: #1877F2; color: white; }
.platform-header.instagram { background: linear-gradient(45deg, #F56040, #C13584); color: white; }
.platform-header.twitter { background: #1DA1F2; color: white; }
.platform-header.tiktok { background: #000000; color: white; }
.platform-header.youtube { background: #FF0000; color: white; }
.platform-header.snapchat { background: #FFFC00; color: #000000; }
.platform-header.discord { background: #5865F2; color: white; }

.platform-icon {
    font-size: 16px;
}

.platform-name {
    font-size: 14px;
}

.post-content {
    padding: 16px;
    line-height: 1.5;
}

.post-content p {
    margin: 8px 0;
}

.post-content h4 {
    margin: 0 0 12px 0;
    color: #1D2129;
}

.post-stats {
    padding: 8px 16px;
    background: #F7F8FA;
    border-top: 1px solid #E4E6EA;
    font-size: 12px;
    color: #65676B;
}

/* Platform Strategies */
.platform-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.strategy-card {
    border-radius: 12px;
    padding: 20px;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.strategy-card.linkedin-card {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
}

.strategy-card.instagram-card {
    background: linear-gradient(135deg, #F56040 0%, #C13584 100%);
}

.strategy-card.facebook-card {
    background: linear-gradient(135deg, #1877F2 0%, #0C5CBF 100%);
}

.strategy-card.twitter-card {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D8BD9 100%);
}

.strategy-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strategy-card ul {
    padding-left: 0;
    list-style: none;
}

.strategy-card li {
    margin: 10px 0;
    line-height: 1.4;
    padding-left: 0;
}

.strategy-card strong {
    color: #FFD700;
}

/* Best Practices Social */
.best-practices-social {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
}

.best-practices-social h3 {
    color: #007BFF;
    margin: 20px 0 15px 0;
    font-size: 1.2rem;
}

.best-practices-social h3:first-child {
    margin-top: 0;
}

.best-practices-social ul {
    padding-left: 20px;
}

.best-practices-social li {
    margin: 10px 0;
    line-height: 1.6;
}

/* Metrics Guide */
.metrics-guide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 2rem 0;
}

.metrics-guide h3 {
    margin: 20px 0 15px 0;
    font-size: 1.2rem;
    color: #FFD700;
}

.metrics-guide h3:first-child {
    margin-top: 0;
}

.metrics-guide ul {
    padding-left: 20px;
}

.metrics-guide li {
    margin: 10px 0;
    line-height: 1.6;
}

.metrics-guide strong {
    color: #FFD700;
}

/* Creative Messages */
.creative-message {
    background: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 15px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creative-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.message-type {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border-radius: 0 0 15px 0;
}

.message-content {
    padding: 25px;
}

.message-content h4 {
    color: #2C3E50;
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.message-content p {
    margin: 10px 0;
    line-height: 1.6;
    color: #495057;
}

.signature {
    font-style: italic;
    color: #007BFF !important;
    font-weight: 600;
    margin-top: 20px !important;
    padding-top: 15px;
    border-top: 2px dashed #E9ECEF;
}

/* Creativity Guide */
.creativity-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.situation-creative {
    background: #F8F9FA;
    border: 1px solid #DEE2E6;
    border-radius: 12px;
    padding: 25px;
}

.situation-creative h3 {
    color: #007BFF;
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.situation-creative ul {
    padding-left: 0;
    list-style: none;
}

.situation-creative li {
    margin: 12px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #007BFF;
}

.situation-creative strong {
    color: #2C3E50;
}

/* Creative Tools */
.creative-tools {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 2rem 0;
}

.creative-tools h3 {
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
    color: #FFD700;
}

.creative-tools h3:first-child {
    margin-top: 0;
}

.creative-tools ul {
    padding-left: 20px;
}

.creative-tools li {
    margin: 10px 0;
    line-height: 1.6;
}

.creative-tools strong {
    color: #FFD700;
}

/* Creative Warnings */
.creative-warnings {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
}

.creative-warnings h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
}

.creative-warnings h3:first-child {
    margin-top: 0;
}

.creative-warnings h3:contains("❌") {
    color: #DC3545;
}

.creative-warnings h3:contains("✅") {
    color: #28A745;
}

.creative-warnings ul {
    padding-left: 20px;
}

.creative-warnings li {
    margin: 10px 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .golden-rules,
    .best-practices {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .phone-mockup {
        max-width: 250px;
    }

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

    .timing-tips {
        grid-template-columns: 1fr 1fr;
    }

    .formal-letter {
        padding: 20px;
    }

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
}

.tagline {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #3498db;
}

.breadcrumb span {
    color: #495057;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
.main {
    flex: 1;
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card h3 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
}

.category-card p {
    color: #7f8c8d;
    line-height: 1.5;
}

/* Zones publicitaires */
.ad-zone {
    background: #ecf0f1;
    border: 2px dashed #bdc3c7;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border-radius: 5px;
}

.ad-placeholder span {
    color: #7f8c8d;
    font-weight: bold;
}

.main-ad {
    max-width: 728px;
    height: 90px;
    margin: 3rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar supprimée - publicités intégrées dans le contenu uniquement */

/* Articles */
.latest-articles {
    margin: 3rem 0;
}

.latest-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

.article-image {
  /*  height: 200px;*/
    overflow: hidden;
    position: relative;
}

.article-card.featured .article-image {
    height: auto;
    min-height: 300px;
}

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

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

.article-content {
    padding: 1.5rem;
}

.article-card.featured .article-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article-card.featured .article-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.article-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: #3498db;
}

.article-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.read-time {
    background: #ecf0f1;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #3498db;
}

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

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

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-card.featured {
        grid-template-columns: 1fr;
    }

    .article-card.featured .article-image {
        min-height: 200px;
    }

    .main-ad {
        width: 100%;
        max-width: 320px;
        height: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* SEO et performance */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Amélioration de l'accessibilité */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Styles pour les expressions sans liens */
.expression {
    font-weight: bold;
    color: #2c3e50;
}

.expression-fr {
    font-weight: 600;
    color: #3498db;
}

.cultural-expressions li,
.popular-expressions li {
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 5px;
    line-height: 1.4;
}

.cultural-expressions em,
.popular-expressions em {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeInUp 0.6s ease forwards;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }