/*=================================
    Style WeAreBrand.io
    Design minimaliste et moderne
==================================*/

:root {
    --brand-purple: #800080;
    --brand-dark: #1a1a1a;
    --brand-light: #f5f5f5;
    --brand-white: #ffffff;
    --brand-gray: #666666;
}

/* ===== TYPOGRAPHIE MODERNE ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* ===== HERO SECTION STYLE WEAREBRAND ===== */
.hero-style1 .sub-title.style1 {
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-style1 .hero-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 0;
    text-transform: none;
}

.hero-style1 .hero-title::first-line {
    font-weight: 300;
}

/* ===== SECTIONS MINIMALISTES ===== */
.space {
    padding: 120px 0;
}

.title-area {
    margin-bottom: 60px;
}

.sec-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.sub-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: currentColor;
}

/* ===== CARDS STYLE MODERNE ===== */
.course-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card_img {
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.course-card_img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-card:hover .course-card_img::before {
    opacity: 1;
}

.course-card_img img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover .course-card_img img {
    transform: scale(1.08);
}

.course-card_content {
    padding: 30px 0;
    background: transparent;
}

.course-card .box-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.course-card .box-title a {
    position: relative;
    display: inline-block;
}

.course-card .box-title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.course-card:hover .box-title a::after {
    width: 100%;
}

/* ===== LIGNE BOUTON STYLE WEAREBRAND ===== */
.line-btn {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 3px;
    border-bottom: 2px solid currentColor;
    transition: all 0.3s ease;
}

.line-btn:hover {
    gap: 15px;
    opacity: 0.8;
}

.line-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.line-btn:hover i {
    transform: translateX(3px);
}

/* ===== BOUTONS MINIMALISTES ===== */
.th-btn {
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 18px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.th-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
    z-index: -1;
}

.th-btn:hover::before {
    left: 100%;
}

/* ===== FOOTER STYLE WEAREBRAND ===== */
.footer-wrapper {
    padding: 80px 0 40px;
}

.info-box {
    padding: 0;
    background: transparent;
    border: none;
    margin-bottom: 30px;
}

.info-box_icon {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.info-box_subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.info-box_text {
    font-size: 15px;
    line-height: 1.8;
}

.info-box_link {
    display: block;
    margin: 5px 0;
    position: relative;
    width: fit-content;
}

.info-box_link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.info-box_link:hover::after {
    width: 100%;
}

/* ===== ESPACES ET MARGES ===== */
.container {
    max-width: 1400px;
}

section + section {
    margin-top: 0;
}

/* ===== ANIMATIONS TEXTE WEAREBRAND ===== */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textReveal 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délais pour animation en cascade */
.text-reveal span:nth-child(1) { animation-delay: 0.1s; }
.text-reveal span:nth-child(2) { animation-delay: 0.2s; }
.text-reveal span:nth-child(3) { animation-delay: 0.3s; }
.text-reveal span:nth-child(4) { animation-delay: 0.4s; }
.text-reveal span:nth-child(5) { animation-delay: 0.5s; }

/* ===== SLIDER ARROWS MINIMAL ===== */
.slider-arrow {
    width: 60px;
    height: 60px;
    border-radius: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 20px;
    transition: all 0.4s ease;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.05);
}

/* ===== SOCIAL LINKS STYLE ===== */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress-bar {
    height: 2px;
    background: linear-gradient(90deg, var(--brand-purple), rgba(255,255,255,0.8));
}

/* ===== CURSOR PERSONNALISÉ ===== */
.cursor,
.cursor2 {
    mix-blend-mode: difference;
}

/* ===== RESPONSIVE WEAREBRAND ===== */
@media (max-width: 1199px) {
    .hero-style1 .hero-title {
        font-size: 60px;
    }
    
    .sec-title {
        font-size: 42px;
    }
    
    .space {
        padding: 100px 0;
    }
}

@media (max-width: 991px) {
    .hero-style1 .hero-title {
        font-size: 48px;
    }
    
    .sec-title {
        font-size: 36px;
    }
    
    .space {
        padding: 80px 0;
    }
    
    .course-card_img {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .hero-style1 .hero-title {
        font-size: 36px;
    }
    
    .hero-style1 .sub-title.style1 {
        font-size: 16px;
    }
    
    .sec-title {
        font-size: 32px;
    }
    
    .space {
        padding: 60px 0;
    }
    
    .course-card_img {
        height: 280px;
    }
    
    .course-card .box-title {
        font-size: 24px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575px) {
    .hero-style1 .hero-title {
        font-size: 32px;
    }
    
    .sec-title {
        font-size: 28px;
    }
    
    .course-card_img {
        height: 240px;
    }
    
    .course-card .box-title {
        font-size: 22px;
    }
}

/* ===== MICRO-INTERACTIONS ===== */
* {
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

a, button {
    transition-duration: 0.3s;
}

img {
    transition-duration: 0.6s;
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ===== PERFORMANCE ===== */
.course-card_img,
.hero-bg,
img {
    will-change: transform;
    backface-visibility: hidden;
}

/* ===== FOCUS STATES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--brand-purple);
    outline-offset: 3px;
}

/* ===== SÉLECTION TEXTE ===== */
::selection {
    background: var(--brand-purple);
    color: white;
}

::-moz-selection {
    background: var(--brand-purple);
    color: white;
}
