html, body {
	height: 100%;
	margin: 0; padding: 0;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: #e0e1dd;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display : table;
	width: 100%;
}

.navbar {
    background-color: rgba(27, 38, 59, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* .logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 159, 0.5);
} */
.nav-title-logo {
    text-decoration: none;
    color: #00ff9f;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 159, 0.5);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: #00ff9f;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff006e;
}

.nav-links a.active {
    color: #ff006e;
    border-bottom: 2px solid #ff006e;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: static;
    left: 0;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    background: #00ff9f;
    color: #0d1b2a;
    z-index: 9999;
    border-radius: 4px;
}

/* Focus-visible styles for keyboard users */
a:focus, .cta-button:focus, .card-link:focus, .contact-link:focus {
    outline: 3px solid #ff006e;
    outline-offset: 3px;
    box-shadow: none;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, rgba(0, 255, 159, 0.1), rgba(255, 0, 110, 0.1));
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00ff9f;
    text-shadow: 0 0 10px rgba(0, 255, 159, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00ff9f;
    color: #0d1b2a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #ff006e;
    color: #e0e1dd;
    transform: translateY(-3px);
}

.fidelite-home {
    text-align: center;
    padding: 0.5rem;
    background-color: #310116;
    color: #e0e1dd;
}

.fidelite-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff006e;
    color: #e0e1dd;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
    margin: 1rem 0;
}

.fidelite-button:hover {
    background: #00ff9f;
    color: #0d1b2a;
    transform: translateY(-3px);
}

.section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    
}

.title2-page-hero {
    font-size: 2.2rem;
    text-shadow: 0 0 6px #00ff9f;
    margin-bottom: 2rem;
    text-align: center;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(27, 38, 59, 0.8);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 159, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 159, 0.4);
}

.card h3 {
    font-size: 1rem;
    color: #00ff9f;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.card-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #00ff9f;
    color: #0d1b2a;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.card-link:hover {
    background: #ff006e;
    color: #e0e1dd;
    transform: translateY(-3px);
}

.km-costs {
    font-size: 0.7rem;
    padding-inline-start: 0;
}
.km-costs-li {
    list-style: none;
    list-style-position: inside;
    padding: 0;
}

.img-container-boutique {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0;
}
.img-boutique {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.img-container-formations {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1rem 0;
}

.img-formations {
    width: 30%;
    border-radius: 10px;
}

/* Make formation logos scale nicely on small screens */
.img-formations {
    max-width: 100px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.img-container-pictures-works {
    display: flex;
    justify-content: center;
}

.picture-works {
    width: 58%;
    height: auto;
    border-radius: 10px;
}

.contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00ff9f;
    color: #0d1b2a;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-link:hover {
    background: #ff006e;
    color: #e0e1dd;
    transform: translateY(-3px);
}

.contact, .mentions-legales {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(27, 38, 59, 0.9);
    margin-top: 2rem;
    display : table-row;
	height: 100px; /* à titre d'exemple */
}

footer p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
    }
    .nav-links a {
        display: block;
        margin: 0.5rem 0;
    }
    .hero {
        padding: 2rem 1rem;
    }
    .hero h1 {
        font-size: 1.5rem;
    }

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

    .cta-button {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .title-page, .title2-page-hero {
        font-size: 1.6rem;
        text-align: center;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .title-page-hero {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

 