/*
Theme Name: FDay 2026
Theme URI: https://facilitationday.com
Author: Yoan LUREAULT & Marc BOUGERET
Author URI: https://facilitationday.com
Description: Thème WordPress pour Facilitation Day 2026 - Design moderne et épuré inspiré de DaisyDisk
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fday-2026
Tags: event, conference, facilitation, modern, minimal
*/

:root {
    --primary: #2DBCC6;
    --secondary: #FFD466;
    --accent: #1A9BA5;
    --light: #FFFFFF;
    --dark: #1a1a2e;
    --grey: #f8f9fa;
    --grey-medium: #e9ecef;
    --grey-dark: #6c757d;
    --text: #2d3748;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* Hero Section - Clean & Modern */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, var(--grey) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
    position: relative;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Badge - Flat Design */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: var(--light);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Title - Bold & Clean */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .emoji {
    font-size: 4rem;
    margin-right: 20px;
}

/* Subtitle - Simple */
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--grey-dark);
    font-weight: 400;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Info Cards Row */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.info-card {
    background: var(--light);
    border: 2px solid var(--grey-medium);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 188, 198, 0.15);
}

.info-card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.info-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--grey-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.info-card-detail {
    font-size: 0.9rem;
    color: var(--grey-dark);
}

.info-card.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.info-card.primary .info-card-label,
.info-card.primary .info-card-value,
.info-card.primary .info-card-detail {
    color: var(--light);
}

.info-card.secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}

.info-card.secondary .info-card-label,
.info-card.secondary .info-card-value,
.info-card.secondary .info-card-detail {
    color: var(--dark);
}

/* CTA Buttons - Clean */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(45, 188, 198, 0.25);
}

.btn-secondary {
    background: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.btn span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content Section */
.content {
    background: var(--light);
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--grey-dark);
    line-height: 1.8;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--light);
    border: 2px solid var(--grey-medium);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 188, 198, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

/* Highlight Box */
.highlight-section {
    background: var(--grey);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    margin: 80px 0;
}

.highlight-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.highlight-section p {
    font-size: 1.4rem;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    color: var(--light);
    padding: 100px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--light);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--grey);
    padding: 60px 20px 40px;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: var(--primary);
}

.footer-content {
    border-top: 1px solid var(--grey-medium);
    padding-top: 30px;
}

.footer-content p {
    color: var(--grey-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-hashtag {
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
    font-size: 1rem;
}

/* Blog & Post Styles */
.blog-posts {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background: var(--light);
    border: 2px solid var(--grey-medium);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 188, 198, 0.1);
}

.blog-post.has-post-thumbnail {
    display: grid;
    grid-template-columns: 320px 1fr;
}

.post-thumbnail {
    overflow: hidden;
    background: var(--grey);
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--grey-dark);
    font-weight: 500;
}

.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.post-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--primary);
}

.post-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* Pagination */
.pagination {
    margin: 60px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    display: inline-block;
    padding: 10px 16px;
    background: var(--light);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--grey-medium);
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

/* Single Post */
.single-post-page .section-header {
    margin-bottom: 60px;
}

.post-featured-image {
    margin-bottom: 60px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--grey-medium);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto 60px;
}

.post-entry-content h2,
.post-entry-content h3,
.post-entry-content h4 {
    color: var(--dark);
    font-weight: 700;
    margin: 40px 0 20px;
}

.post-entry-content h2 {
    font-size: 2rem;
}

.post-entry-content h3 {
    font-size: 1.5rem;
}

.post-entry-content p {
    margin-bottom: 24px;
}

.post-entry-content a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-entry-content a:hover {
    color: var(--accent);
}

.post-entry-content ul,
.post-entry-content ol {
    margin: 24px 0;
    padding-left: 40px;
}

.post-entry-content li {
    margin-bottom: 12px;
}

.post-entry-content blockquote {
    background: var(--grey);
    border-left: 4px solid var(--primary);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
}

.post-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 32px 0;
}

.post-tags {
    max-width: 800px;
    margin: 40px auto;
    padding: 24px;
    background: var(--grey);
    border-radius: 12px;
}

.post-tags a {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 6px 16px;
    margin: 4px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.post-tags a:hover {
    background: var(--accent);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 60px auto;
}

.post-navigation .feature-card {
    padding: 24px;
}

.post-navigation .nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--grey-dark);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-navigation a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: var(--primary);
}

.back-to-blog {
    text-align: center;
    margin: 60px 0;
}

/* Standard Page */
.standard-page .section-header {
    margin-bottom: 60px;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--dark);
    font-weight: 700;
    margin: 40px 0 20px;
}

.page-content p {
    margin-bottom: 24px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 40px;
    background: var(--grey);
    border-radius: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-title .emoji {
        font-size: 3rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .emoji {
        font-size: 2.5rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

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

    .blog-post.has-post-thumbnail {
        grid-template-columns: 1fr;
    }

    .post-thumbnail {
        max-height: 250px;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* =========================================
   Complexity Animation Canvas
   ========================================= */

.hero-animated {
    position: relative;
    overflow: hidden;
}

.complexity-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.hero-animated .hero-container {
    position: relative;
    z-index: 2;
}

/* =========================================
   Iframe Containers
   ========================================= */

.iframe-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--grey-medium);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.notion-iframe {
    width: 100%;
    min-height: 700px;
    height: 700px;
    border: none;
    display: block;
}

.eventbrite-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--grey-medium);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

#eventbrite-widget-container-1924249304469 {
    min-height: 650px;
}

/* Section Footer Styling */
.section-footer {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--grey-medium);
}

/* =========================================
   Responsive Iframes
   ========================================= */

@media (max-width: 768px) {
    .notion-iframe {
        min-height: 600px;
        height: 600px;
    }

    .iframe-container,
    .eventbrite-container {
        border-radius: 12px;
        margin: 0 10px;
    }

    .complexity-canvas {
        opacity: 0.2;
    }
}

/* =========================================
   Countdown Timer
   ========================================= */

.countdown-container {
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

.countdown-label {
    font-size: 1.1rem;
    color: var(--grey-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    background: var(--light);
    border-radius: 16px;
    border: 2px solid var(--primary);
    box-shadow: 0 8px 24px rgba(45, 188, 198, 0.15);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.9rem;
    color: var(--grey-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Countdown Responsive */
@media (max-width: 768px) {
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-unit {
        font-size: 0.8rem;
    }

    .countdown-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        padding: 15px;
        gap: 10px;
    }

    .countdown-value {
        font-size: 2rem;
    }
}
