/*
Theme Name: Conference ESPPEC
Theme URI: https://www.esppec.com
Author: ESPPEC
Author URI: https://www.esppec.com
Description: Theme WordPress pour les conferences ESPPEC - Attachement Systemique avec Yves Wauthier-Freymann
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: conference-esppec
*/

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-pale: #ccfbf1;
    --primary-rgb: 13, 148, 136;
    --secondary: #134e4a;
    --secondary-light: #1a5f5a;
    --accent: #d97706;
    --accent-light: #f59e0b;
    --gradient-hero: linear-gradient(135deg, #134e4a 0%, #0d9488 50%, #14b8a6 100%);
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Instrument Serif', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: #1e293b;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar-conference {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(13,148,136,0.1);
    padding: 10px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.navbar-conference.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.navbar-logo {
    height: 92px;
    width: auto;
    transition: all 0.3s ease;
}
.navbar-conference.scrolled .navbar-logo {
    height: 42px;
}
.nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px;
    padding: 8px 24px !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,148,136,0.3);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatCircle 20s ease-in-out infinite;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217,119,6,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatCircle 15s ease-in-out infinite reverse;
}
@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    border-radius: 50px;
    padding: 6px 18px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
    from { box-shadow: 0 0 10px rgba(217,119,6,0.3); }
    to { box-shadow: 0 0 25px rgba(217,119,6,0.6); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 8px;
}
.hero-title .highlight {
    color: var(--accent-light);
    font-style: italic;
}
.hero-theme-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 520px;
}
.hero-speaker-name {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
}
.hero-speaker-role {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}
.hero-zoom-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
}
.hero-zoom-badge i { font-size: 1.3rem; }

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.btn-hero-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-hero-primary:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(217,119,6,0.4);
}
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}
.hero-image-frame {
    position: relative;
    width: 380px;
    height: 440px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19,78,74,0.3) 0%, transparent 40%);
}
.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
}
.hero-float-card.card-date {
    bottom: -20px;
    left: -30px;
}
.hero-float-card.card-topic {
    top: 20px;
    right: -40px;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.float-card-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.float-card-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
}

/* ===== SECTION STYLES ===== */
.section-padding { padding: 100px 0; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary);
    margin-bottom: 16px;
}
.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
}

/* ===== CONFERENCE CARDS ===== */
.conference-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.conference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.conference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(13,148,136,0.12);
    border-color: var(--primary-light);
}
.conference-card:hover::before {
    transform: scaleX(1);
}
.card-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-pale);
    color: var(--primary-dark);
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.card-date-badge i { font-size: 1rem; }
.conference-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}
.conference-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}
.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ===== SPEAKER SECTION ===== */
.speaker-section {
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}
.speaker-image-container { position: relative; }
.speaker-image {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(13,148,136,0.15);
}
.speaker-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border: 3px solid var(--primary-light);
    border-radius: 24px;
    z-index: -1;
    opacity: 0.3;
}
.speaker-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--secondary);
    margin-bottom: 8px;
}
.speaker-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.speaker-role::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.speaker-bio {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 32px;
}
.speaker-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}
.specialty-tag {
    background: var(--primary-pale);
    color: var(--primary-dark);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.speaker-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
}

/* ===== REGISTRATION FORM ===== */
.form-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.form-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}
.form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 8px;
}
.form-wrapper .form-subtitle {
    color: #64748b;
    margin-bottom: 32px;
    font-size: 1rem;
}
.form-floating > .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    height: auto;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
}
.form-floating > label {
    padding: 20px 16px;
    color: #94a3b8;
}
.btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.05rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(13,148,136,0.35);
    color: #fff;
}
.form-info-panel {
    color: #fff;
    position: relative;
    z-index: 2;
}
.form-info-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}
.form-info-panel p {
    font-size: 1.1rem;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 32px;
}
.info-feature {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.info-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.info-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.info-feature p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0;
}
.contact-info {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--accent-light);
}
.contact-item a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item a:hover { color: #fff; }

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary);
    padding: 48px 0 24px;
    color: rgba(255,255,255,0.7);
}
.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover { color: var(--primary-light); }
.footer-logo { height: 60px; width: auto; }
.footer-divider {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 32px 0 16px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(13,148,136,0.3);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-image-frame {
        width: 300px;
        height: 360px;
        margin: 40px auto 0;
    }
    .hero-float-card.card-topic { right: -10px; }
    .hero-float-card.card-date { left: -10px; }
    .form-wrapper { padding: 32px 24px; }
}
@media (max-width: 767px) {
    .section-padding { padding: 60px 0; }
    .hero-section { min-height: auto; padding: 120px 0 80px; }
    .hero-image-frame { width: 260px; height: 320px; }
    .hero-float-card { display: none; }
    .speaker-stats { gap: 20px; }
    .form-info-panel { margin-bottom: 40px; }
}
