/* ============================================
   HALLEBARDE DYNAMICS — Style principal
   Thème : vert olive militaire / tactique
   Palette : #77866c, #364d26, #b8c0b3, #000
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #161616;
    --color-surface: #1c1c1c;
    --color-text: #d4d4d4;
    --color-text-muted: #8a8a8a;
    --color-olive: #77866c;
    --color-olive-light: #b8c0b3;
    --color-olive-dark: #364d26;
    --color-olive-hover: #8f9e83;
    --color-white: #ffffff;
    --color-border: rgba(119, 134, 108, 0.15);
    --color-border-hover: rgba(119, 134, 108, 0.4);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.7);
    --transition: 0.3s ease;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-olive-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-olive-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section --- */
.section {
    padding: 5rem 0;
}

.section--dark {
    background-color: var(--color-bg-alt);
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    color: var(--color-white);
}

.section__title--left {
    text-align: left;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--color-olive);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(54, 77, 38, 0.3);
}

.btn--primary:hover {
    background: var(--color-olive-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(54, 77, 38, 0.5);
}

.btn--outline {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid var(--color-olive);
    color: var(--color-olive-light);
}

.btn--outline:hover {
    background: var(--color-olive);
    color: var(--color-white);
}

.btn--full {
    width: 100%;
}

/* ============================
   HEADER
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.97);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.header__logo img {
    height: 44px;
    width: auto;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-olive);
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    position: relative;
    padding: 0.25rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-olive);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-white);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.header__burger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   HERO — YouTube Video BG
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero__video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.hero__video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 */
    transform: translate(-50%, -50%);
    border: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero__content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero__logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero__motto {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-olive-light);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.15em;
    line-height: 1.05;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   VALUES
   ============================ */
.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
    box-shadow: 0 8px 32px rgba(54, 77, 38, 0.15);
}

.value-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.value-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.value-card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ============================
   FORMATION CARDS
   ============================ */
.formations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.formations__grid--1 {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.formation-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.formation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-hover);
}

.formation-card__image {
    position: relative;
    overflow: hidden;
    background: var(--color-surface);
}

.formation-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.formation-card:hover .formation-card__image img {
    transform: scale(1.05);
}

.formation-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-olive);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius);
}

.formation-card__badge--dark {
    background: var(--color-olive-dark);
}

.formation-card__badge--special {
    background: var(--color-olive-light);
    color: #1a1a1a;
}

.formation-card__level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius);
}

.formation-card__body {
    padding: 1.5rem;
}

.formation-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.formation-card__desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.formation-card__features {
    margin-bottom: 1.5rem;
}

.formation-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.formation-card__features svg {
    color: var(--color-olive);
    flex-shrink: 0;
}

.formation-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.formation-card__price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-olive-light);
}

/* Horizontal card */
.formation-card--horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.formation-card--horizontal .formation-card__image img {
    height: 100%;
    min-height: 280px;
}

/* ============================
   PROMO
   ============================ */
.promo {
    background: linear-gradient(135deg, var(--color-olive-dark) 0%, #2a3a1e 100%);
    position: relative;
    overflow: hidden;
}

.promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero-bg.png') center/80px repeat;
    opacity: 0.03;
    pointer-events: none;
}

.promo__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.promo__text {
    color: var(--color-olive-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.promo .btn--primary {
    background: var(--color-white);
    color: var(--color-olive-dark);
}

.promo .btn--primary:hover {
    background: var(--color-olive-light);
    color: var(--color-olive-dark);
}

.promo__visual img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.testimonial-card__stars {
    display: flex;
    gap: 2px;
    color: var(--color-olive);
    margin-bottom: 1rem;
}

.testimonial-card__text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.testimonial-card__author {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-olive);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================
   NEWSLETTER
   ============================ */
.newsletter {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.newsletter__text {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.newsletter__form {
    display: flex;
    gap: 0.75rem;
}

.newsletter__input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color var(--transition);
}

.newsletter__input::placeholder {
    color: var(--color-text-muted);
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--color-olive);
}

/* ============================
   PAGE HEADER
   ============================ */
.page-header {
    padding: 8rem 0 3rem;
    background: var(--color-bg);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(119, 134, 108, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-header__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-header__breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.page-header__breadcrumb a {
    color: var(--color-text-muted);
}

.page-header__breadcrumb a:hover {
    color: var(--color-olive);
}

/* ============================
   ABOUT
   ============================ */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__content p {
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.8;
}

.about__content .section__title {
    margin-bottom: 1.5rem;
}

.about__cta {
    color: var(--color-olive-light) !important;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.about__image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ============================
   TEAM
   ============================ */
.team__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-hover);
}

.team-card__image {
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.team-card__image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
}

.team-card__body {
    padding: 1.5rem;
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.team-card__role {
    color: var(--color-olive);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.team-card__socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-card__socials a {
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.team-card__socials a:hover {
    color: var(--color-olive);
}

/* ============================
   CONTACT
   ============================ */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.contact-card:hover {
    border-color: var(--color-border-hover);
}

.contact-card__icon {
    color: var(--color-olive);
    margin-bottom: 1rem;
}

.contact-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.contact-card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact__form-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
}

.contact__form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form__group--full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--color-text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-olive);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

/* ============================
   COMING SOON
   ============================ */
.coming-soon {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.coming-soon__icon {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.coming-soon h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.coming-soon p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.coming-soon__product {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-surface);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: left;
}

.coming-soon__product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.coming-soon__product h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding-top: 4rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer__logo {
    height: 36px;
    width: auto;
    margin-bottom: 1rem;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.footer__text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-olive);
}

.footer__socials {
    display: flex;
    gap: 1rem;
}

.footer__socials a {
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.footer__socials a:hover {
    color: var(--color-olive);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    text-align: center;
}

.footer__bottom p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .formations__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header__burger {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100vh - 72px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .header__nav.open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__logo {
        width: 80px;
    }

    .section__title {
        font-size: 2rem;
    }

    .values__grid {
        grid-template-columns: 1fr;
    }

    .formations__grid {
        grid-template-columns: 1fr;
    }

    .formation-card--horizontal {
        grid-template-columns: 1fr;
    }

    .promo__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .promo__visual {
        order: -1;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .newsletter__form {
        flex-direction: column;
    }

    .about__inner {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }

    .team__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact__inner {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__socials {
        justify-content: center;
    }

    .page-header__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.2rem;
        letter-spacing: 0.1em;
    }

    .section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 6rem 0 2rem;
    }
}

/* --- Alerts --- */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert--success {
    background: rgba(68, 170, 119, 0.12);
    color: #4a7;
    border: 1px solid rgba(68, 170, 119, 0.25);
}
.alert--error {
    background: rgba(204, 68, 68, 0.12);
    color: #c44;
    border: 1px solid rgba(204, 68, 68, 0.25);
}
.alert--info {
    background: rgba(72, 136, 170, 0.12);
    color: #48a;
    border: 1px solid rgba(72, 136, 170, 0.25);
}
.alert a { color: inherit; text-decoration: underline; }

/* --- Promo Prices --- */
.formation-card__price--promo {
    color: var(--color-olive);
    font-weight: 700;
}
.formation-card__price--old {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 0.85em;
    margin-left: 0.5rem;
}

/* --- Cart Badge (Header) --- */
.nav__link--cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.cart-badge {
    background: var(--color-olive);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: absolute;
    top: -5px; right: -8px;
}

/* --- Cart Page --- */
.cart-empty {
    text-align: center;
    padding: 3rem 0;
}
.cart-empty p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}
.cart__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.cart__table th {
    background: var(--color-surface);
    text-align: left;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
}
.cart__table td {
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--color-border);
    vertical-align: middle;
}
.cart__product {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart__thumb {
    width: 50px; height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
}
.cart__product a {
    color: var(--color-text);
    text-decoration: none;
}
.cart__product a:hover { color: var(--color-olive); }
.cart__qty-form {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.cart__qty-input {
    width: 60px;
    padding: 0.4rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    text-align: center;
    font-family: inherit;
}
.cart__remove {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.3rem;
}
.cart__remove:hover { color: #c44; }
.cart__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.cart__total {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
}
.btn--small {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
}
.btn--lg {
    padding: 0.9rem 2.5rem;
    font-size: 1.05rem;
}

/* --- Checkout --- */
.checkout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}
.checkout__recap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.checkout__recap h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.checkout__item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.checkout__total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 1.1rem;
}
.checkout__form h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}
.checkout__form .contact-form__group {
    margin-bottom: 1rem;
}

/* --- Product Detail --- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.product-detail__image img {
    width: 100%;
    border-radius: var(--radius);
}
.product-detail__info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.product-detail__desc {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.product-detail__price {
    margin-bottom: 1.5rem;
}

/* --- Confirmation --- */
.confirmation {
    padding: 2rem 0;
}
.confirmation svg {
    margin-bottom: 1rem;
}
.confirmation h2 {
    font-family: var(--font-heading);
    margin-bottom: 0.8rem;
}
.confirmation p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

/* --- Newsletter message --- */
.newsletter__msg {
    color: var(--color-olive);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Newsletter toast */
.newsletter-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-family: var(--font-body);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}
.newsletter-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.newsletter-toast--success {
    background: linear-gradient(135deg, #1a3a1a, #223d22);
    border: 1px solid rgba(68, 170, 119, 0.3);
    color: #6fd89e;
}
.newsletter-toast--info {
    background: linear-gradient(135deg, #1a2a3a, #22333d);
    border: 1px solid rgba(100, 160, 220, 0.3);
    color: #7db8e0;
}
.newsletter-toast svg {
    flex-shrink: 0;
}

/* Newsletter form success pulse */
.newsletter-form--success {
    animation: successPulse 0.6s ease;
}
@keyframes successPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.02); }
    60% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* Button spinner */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Cours Page --- */
.cours__login-details {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
}
.cours__login-details summary {
    cursor: pointer;
    color: var(--color-olive);
    font-weight: 500;
}
.cours__login-form {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: flex-end;
}
.cours__login-form input {
    padding: 0.5rem 0.8rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: inherit;
}
.cours__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.cours-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cours-card__header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cours-card__header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.cours-card__date {
    color: var(--color-olive);
    font-size: 0.85rem;
    font-weight: 600;
}
.cours-card__body {
    padding: 1rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.cours-card__actions {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border);
}
.cours__guest-form summary {
    cursor: pointer;
}
.cours__guest-form input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.8rem;
    margin-bottom: 0.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: inherit;
}

/* --- Auth Pages (Connexion / Inscription) --- */
.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}
.auth-card__icon {
    margin-bottom: 1rem;
}
.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.auth-card__subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.auth-card__link {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.auth-card__link a {
    color: var(--color-olive);
    text-decoration: none;
    font-weight: 500;
}
.auth-card__link a:hover { text-decoration: underline; }

.auth-form {
    text-align: left;
}
.auth-form__group {
    margin-bottom: 1rem;
}
.auth-form__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.auth-form__group input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.auth-form__group input:focus {
    outline: none;
    border-color: var(--color-olive);
}
.auth-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* --- Account Page --- */
.account {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}
.account__profile-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}
.account__avatar {
    width: 64px; height: 64px;
    background: var(--color-olive);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0 auto 1rem;
}
.account__profile-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.account__profile-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.account__since {
    margin-top: 0.5rem;
    font-size: 0.8rem !important;
    color: var(--color-olive) !important;
}
.account__section {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}
.account__section h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
}
.account__empty {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Order cards */
.order-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}
.order-card__header {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    background: var(--color-surface);
    font-size: 0.85rem;
}
.order-card__ref { font-weight: 600; }
.order-card__date { color: var(--color-text-muted); }
.order-card__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
}
.order-card__total { font-weight: 600; }
.order-card__status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius);
}
.order-card__status--en_attente { background: rgba(240, 198, 116, 0.15); color: #f0c674; }
.order-card__status--payee { background: rgba(68, 170, 119, 0.15); color: #4a7; }
.order-card__status--annulee { background: rgba(204, 68, 68, 0.15); color: #c44; }

/* --- Checkout Redesign --- */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}
.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
}
.checkout-step__num {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid var(--color-border);
    font-family: var(--font-heading);
}
.checkout-step__label {
    font-size: 0.85rem;
    font-weight: 500;
}
.checkout-step--done .checkout-step__num {
    background: var(--color-olive);
    border-color: var(--color-olive);
    color: #fff;
}
.checkout-step--done .checkout-step__label { color: var(--color-olive); }
.checkout-step--active .checkout-step__num {
    border-color: var(--color-olive);
    color: var(--color-olive);
}
.checkout-step--active .checkout-step__label { color: var(--color-text); }
.checkout-step__line {
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin: 0 0.8rem;
}
.checkout-step__line--done { background: var(--color-olive); }

.checkout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
}
.checkout__form-wrap {
    order: 1;
}
.checkout__recap {
    order: 2;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.checkout__recap h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--color-border);
}

/* Auth box in checkout */
.checkout__auth-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
}
.checkout__auth-box p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-right: auto;
}
.checkout__auth-sep {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.checkout__divider {
    text-align: center;
    position: relative;
    margin-bottom: 1.5rem;
}
.checkout__divider::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--color-border);
}
.checkout__divider span {
    position: relative;
    background: var(--color-bg);
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.checkout__connected {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(119, 134, 108, 0.1);
    border: 1px solid var(--color-olive);
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.checkout__form h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
.checkout__form h2:first-of-type { margin-top: 0; }

/* Payment methods */
.checkout__methods {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.checkout__method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}
.checkout__method--twint {
    border-color: var(--color-olive);
    color: var(--color-text);
}
.checkout__methods-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.checkout__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    padding: 1rem 2rem;
    margin-top: 0.5rem;
}
.checkout__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Checkout recap items */
.checkout__items {
    margin-bottom: 1rem;
}
.checkout__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}
.checkout__item:last-child { border-bottom: none; }
.checkout__item-img {
    position: relative;
    width: 50px; height: 50px;
    flex-shrink: 0;
}
.checkout__item-img img {
    width: 50px; height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
}
.checkout__item-qty {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--color-olive);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.checkout__item-info {
    flex: 1;
}
.checkout__item-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}
.checkout__item-level {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.checkout__item-price {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}
.checkout__summary-lines {
    border-top: 1px solid var(--color-border);
    padding-top: 0.8rem;
    margin-bottom: 0.8rem;
}
.checkout__summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}
.checkout__free { color: var(--color-olive); }
.checkout__total {
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--color-border);
}

/* --- Nav account icon --- */
.nav__link--account {
    position: relative;
}

/* --- Account Nav --- */
.account__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1rem;
}
.account__nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.account__nav-link:hover { background: var(--color-surface); color: var(--color-text); }
.account__nav-link.active { background: rgba(119, 134, 108, 0.15); color: var(--color-olive); font-weight: 500; }

/* --- Empty state --- */
.account__empty-state {
    text-align: center;
    padding: 2rem 0;
}
.account__empty-state svg { margin-bottom: 1rem; opacity: 0.5; }
.account__empty-state p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

/* --- Order card clickable --- */
.order-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), transform 0.15s;
    cursor: pointer;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}
.order-card--link:hover {
    border-color: var(--color-olive);
    transform: translateY(-1px);
}
.order-card__products {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.order-card__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* --- Order Detail (client side) --- */
.order-detail__back {
    margin-bottom: 1rem;
}
.order-detail__back a {
    color: var(--color-olive);
    text-decoration: none;
    font-size: 0.9rem;
}
.order-detail__back a:hover { text-decoration: underline; }

/* Timeline */
.order-timeline {
    position: relative;
    padding: 1rem 0 1.5rem;
    margin-bottom: 1.5rem;
}
.order-timeline__step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}
.order-timeline__step:last-child { padding-bottom: 0; }
.order-timeline__step::before {
    content: '';
    position: absolute;
    left: 9px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}
.order-timeline__step:last-child::before { display: none; }
.order-timeline__step--done::before { background: var(--color-olive); }
.order-timeline__dot {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
}
.order-timeline__step--done .order-timeline__dot {
    background: var(--color-olive);
    border-color: var(--color-olive);
}
.order-timeline__step--pending .order-timeline__dot {
    border-color: #f0c674;
    background: rgba(240, 198, 116, 0.3);
}
.order-timeline__step--cancelled .order-timeline__dot {
    border-color: #c44;
    background: rgba(204, 68, 68, 0.3);
}
.order-timeline__info strong {
    display: block;
    font-size: 0.95rem;
}
.order-timeline__info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Order detail grid */
.order-detail__grid {
    margin-bottom: 1.5rem;
}
.order-detail__info-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.2rem;
}
.order-detail__info-card h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}
.order-detail__row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}
.order-detail__row:last-child { border-bottom: none; }
.order-detail__subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Order items */
.order-detail__items {
    margin-bottom: 1rem;
}
.order-detail__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}
.order-detail__item-img img {
    width: 50px; height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
}
.order-detail__item-info { flex: 1; }
.order-detail__item-name {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}
.order-detail__item-name:hover { color: var(--color-olive); }
.order-detail__item-qty {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.order-detail__item-prices {
    text-align: right;
}
.order-detail__item-unit {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.order-detail__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1.1rem;
}

/* Responsive additions */
@media (max-width: 768px) {
    .checkout { grid-template-columns: 1fr; }
    .checkout__recap { order: -1; position: static; }
    .product-detail { grid-template-columns: 1fr; }
    .cart__table th:nth-child(2), .cart__table td:nth-child(2) { display: none; }
    .account { grid-template-columns: 1fr; }
    .auth-form__row { grid-template-columns: 1fr; }
    .checkout-steps { flex-wrap: wrap; gap: 0.3rem; }
    .checkout-step__line { width: 30px; }
    .checkout__auth-box { flex-direction: column; text-align: center; }
    .checkout__methods { flex-direction: column; }
}
