/**
 * Site Isabelle Inchauspé - Styles
 */

:root {

    --color-warm-grey4 : #C8C3C0;
    --color-warm-grey3 : #D9D3D0;
    --color-warm-grey2 : #E6E0DC;

    --color-white: #ffffff;
    --color-taupe-dark: #cbc5c0;
    --color-beige: #dbd5d0;
    --color-rose-pale: #e9e1dd;
    --color-black: #1a1a1a;
    --color-dark-gray: #333333;
    --color-text-light: #ffffff;
    --color-text-dark: #1a1a1a;
    --font-title: 'DIN Schrift', Arial, sans-serif;
    --font-body: 'Roboto', Arial, sans-serif;
    --title-size: clamp(2.5rem, 6vw, 5rem);
    --section-padding: 80px;
    --section-padding-mobile: 40px;
    --container-max-width: 100%;
    --side-margin: 120px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    
    /* Variables pour l'overlay entreprises - alternance 2 couleurs */
    --entreprise-overlay-color-1: 203, 197, 192; /* RGB taupe */
    --entreprise-overlay-opacity-1: 0.4;
    --entreprise-overlay-color-2: 219, 213, 208; /* RGB beige */
    --entreprise-overlay-opacity-2: 0.5;
}

@font-face {
    font-family: 'DIN Schrift';
    src: url('../fonts/DIN Schrift 1451 Mittelschrift.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--color-text-light); background-color: var(--color-white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity var(--transition-fast); }
a:hover { opacity: 0.8; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); font-weight: bold; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-black); }

.container { 
    width: 100%; 
    max-width: var(--container-max-width); 
    margin: 0 auto; 
    padding: 0 var(--side-margin); 
}

.section { width: 100%; padding: var(--section-padding) 0; }
.section-fullheight { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

h2.section-title { 
    font-size: var(--title-size); 
    line-height: 1; 
    margin-bottom: 2rem; 
    white-space: nowrap;
}

.bg-white { background-color: var(--color-white); }
.bg-taupe { background-color: var(--color-taupe-dark); }
.bg-beige { background-color: var(--color-beige); }
.bg-rose { background-color: var(--color-rose-pale); }
.bg-black { background-color: var(--color-black); }
.text-light { color: var(--color-text-light); }
.text-dark { color: var(--color-text-dark); }

.bg-warm-grey4{ background-color: var(--color-warm-grey4); }
.bg-warm-grey3{ background-color: var(--color-warm-grey3); }
.bg-warm-grey2{ background-color: var(--color-warm-grey2); }

/* ==========================================================================
   Navigation - HORIZONTAL en ligne, aligné à gauche, NON FIXE
   ========================================================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 var(--side-margin);
}

.navbar-logo {
    width: 101px;
    height: 11px;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Menu horizontal en ligne */
.navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav li {
    position: relative;
}

.navbar-nav li::after {
    content: '|';
    color: var(--color-text-light);
    opacity: 0.5;
    margin: 0 8px;
    font-size: 0.7rem;
}

.navbar-nav li:last-child::after {
    display: none;
}

.navbar-nav a {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    text-decoration: none;
    transition: opacity var(--transition-fast);
    white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    opacity: 0.7;
}

/* Social icons */
.navbar-social {
    display: flex;
    margin-left: 20px;
}

.navbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.navbar-social img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    transition: opacity var(--transition-fast);
}

.navbar-social a:hover img {
    opacity: 0.7;
}

/* Menu toggle for mobile */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section avec Slider et pagination
   ========================================================================== */
#hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Pagination du slider */
.slider-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Bandeau Introduction
   ========================================================================== */
#introduction {
    padding: var(--section-padding) 0;
}

#introduction .intro-text {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-align: justify;
    text-transform: uppercase;
    color: var(--color-black);
}

/* ==========================================================================
   Gallery Section (Sportifs & Entreprises)
   ========================================================================== */
.gallery-section {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.gallery-section .section-title {
    margin-bottom: 2rem;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 var(--side-margin);
}

.gallery-scroll {
    display: flex;
    gap: 0;
    padding: 20px 0;
}

.gallery-scroll:active {
    cursor: grabbing;
}

/* Scrollbar styling */
.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-item {
    flex: 0 0 auto;
    width: calc(100% / 7);
    min-width: 180px;
    cursor: pointer;
}

.gallery-item-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all var(--transition-medium);
}

.gallery-item-image .img-gris {
    position: relative;
    z-index: 1;
}

.gallery-item-image .img-couleur {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.gallery-item:hover .img-couleur {
    opacity: 1;
}

.gallery-item:hover .img-gris {
    opacity: 0;
}

.gallery-item:hover .gallery-item-name,
.gallery-item:hover .gallery-item-sport {
    color: var(--color-black);
}

/* Texte des galeries */
.gallery-item-info {
    padding: 15px 10px;
    text-align: left;
}

.gallery-item-name {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 2px;
    line-height: 1.2;
    color: var(--color-white);
}

.gallery-item-sport {
    font-family: var(--font-body);
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    color: var(--color-white);
}

/* ==========================================================================
   Galerie Entreprises - Overlay couleur sur images grises (alternance)
   ========================================================================== */
.gallery-entreprises .gallery-item-image .img-gris {
    position: relative;
}

.gallery-entreprises .gallery-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    transition: none;
    opacity: var(--overlay-opacity, 1);
}

/* Couleur 1 - items impairs (1, 3, 5...) */
.gallery-entreprises .gallery-item:nth-child(odd) .gallery-item-image::before {
    background-color: rgba(var(--entreprise-overlay-color-1), var(--entreprise-overlay-opacity-1));
}

/* Couleur 2 - items pairs (2, 4, 6...) */
.gallery-entreprises .gallery-item:nth-child(even) .gallery-item-image::before {
    background-color: rgba(var(--entreprise-overlay-color-2), var(--entreprise-overlay-opacity-2));
}

.gallery-entreprises .gallery-item:hover .gallery-item-image::before {
    opacity: 0 !important;
}

.gallery-entreprises .gallery-item.active .gallery-item-image::before {
    opacity: 0;
}

.gallery-entreprises .gallery-item-image .img-gris {
    z-index: 0;
}

.gallery-entreprises .gallery-item-image .img-couleur {
    z-index: 2;
}

/* ==========================================================================
   Content Sections (Conférences, Vidéos, Podcasts)
   ========================================================================== */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.content-item {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.content-media {
    flex: 0 0 50%;
    max-width: 50%;
}

.content-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.content-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-thumbnail iframe {
    width: 100%;
    height: 100%;
}

.content-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.content-thumbnail .play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--color-dark-gray);
    margin-left: 5px;
}

.content-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lien externe podcast */
.podcast-external-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.podcast-external-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button-external {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.play-button-external::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent white;
}

.podcast-external-link:hover .play-button-external {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0, 0, 0, 0.9);
}

.content-text {
    flex: 0 0 50%;
    max-width: 50%;
}

.content-text h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    color: var(--color-black);
}

.content-text p,
.content-text .description {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
    color: var(--color-black);
    text-align: justify;
}

.content-text .description p {
    font-size: inherit;
    margin-bottom: 1em;
    color: var(--color-black);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-title);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    transition: all var(--transition-fast);
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn:hover {
    opacity: 1;
}

.btn-outline-light {
    color: var(--color-black);
    border-color: var(--color-text-light);
    background: var(--color-white);
}

.btn-outline-light:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn-outline-dark {
    color: var(--color-dark-gray);
    border-color: var(--color-dark-gray);
    background: var(--color-white);
}

.btn-outline-dark:hover {
    background-color: var(--color-dark-gray);
    color: var(--color-text-light);
}

/* ==========================================================================
   Publications Section - Grille 4 colonnes
   ========================================================================== */
.publications-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 2fr;
    gap: 30px 40px;
    align-items: start;
}

.publication-image {
    width: 100%;
}

.publication-image img {
    width: 100%;
    max-width: 150px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.publication-content {
    padding-top: 10px;
}

.publication-content h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    color: var(--color-white);
}

.publication-content p,
.publication-content .description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    color: var(--color-black);
}

.publication-content .description p {
    margin-bottom: 0.8em;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--color-black);
}

.form-control {
    width: 100%;
    padding: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-text-light);
    background-color: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 30px 0;
    background-color: var(--color-black);
}

.footer .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 101px;
    height: 11px;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.footer-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    opacity: 0.7;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text a {
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-text a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    margin-left: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.footer-social img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-social a:hover img {
    opacity: 1;
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: var(--font-body);
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #4caf50;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: #f44336;
}

/* ==========================================================================
   Bouton retour en haut
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
    color: var(--color-white);
}

.scroll-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Modale Mentions Légales
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: rgba(255, 255, 255, 0.95);
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--color-black);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 60px 80px;
}

.modal-content h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--color-black);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.modal-content h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-black);
    margin: 30px 0 15px;
}

.modal-content p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.modal-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

.modal-footer {
    padding: 20px 80px;
    border-top: 1px solid #eee;
    text-align: center;
}

.modal-footer .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .modal-overlay {
        padding: 30px;
    }
    
    .modal-content {
        padding: 50px 30px;
    }
    
    .modal-footer {
        padding: 20px 30px;
    }
}

/* ==========================================================================
   Section Potentiel Performance - Quiz
   ========================================================================== */
.potentiel-section {
    padding: var(--section-padding) 0;
}

.potentiel-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.potentiel-intro {
    flex: 0 0 50%;
    max-width: 50%;
    background-color: #C8C3C0;
    border-radius: 4px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.potentiel-intro-text {
    font-family: var(--font-body);
    font-size: 2em;
    color: var(--color-black);
    line-height: 1.4;
}

.potentiel-intro .btn {
    align-self: flex-start;
    margin-top: 30px;
}

.potentiel-quiz {
    flex: 0 0 50%;
    max-width: 50%;
    background-color: #D9D3D0;
    border-radius: 4px;
    padding: 40px;
    display: none;
    min-height: 300px;
}

.potentiel-quiz.active {
    display: block;
}

.quiz-question-container {
    position: relative;
    min-height: 250px;
}

.quiz-quote {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.quiz-question {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.quiz-progress {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 20px;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-answer {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 15px;
}

.quiz-answer:hover:not(.disabled) {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.quiz-answer.disabled {
    cursor: default;
}

.quiz-answer-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--color-black);
    flex-shrink: 0;
}

.quiz-answer-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-black);
}

.quiz-answer.correct {
    background-color: rgba(76, 175, 80, 0.3);
    border-color: #4caf50;
}

.quiz-answer.correct .quiz-answer-letter {
    background-color: #4caf50;
}

.quiz-answer.incorrect {
    background-color: rgba(244, 67, 54, 0.3);
    border-color: #f44336;
}

.quiz-answer.incorrect .quiz-answer-letter {
    background-color: #f44336;
}

/* Résultat du quiz */
.quiz-result {
    text-align: center;
    display: none;
}

.quiz-result.active {
    display: block;
}

.quiz-result-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 30px;
}

.quiz-result-score {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 30px;
}

.quiz-gauge {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    position: relative;
}

.quiz-gauge svg {
    transform: rotate(-90deg);
}

.quiz-gauge-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 15;
}

.quiz-gauge-fill {
    fill: none;
    stroke: #4caf50;
    stroke-width: 15;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1s ease-out;
}

.quiz-gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--color-white);
}

.quiz-restart {
    margin-top: 20px;
}

/* Responsive quiz */
@media (max-width: 992px) {
    .potentiel-wrapper {
        flex-direction: column;
    }
    
    .potentiel-intro,
    .potentiel-quiz {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .potentiel-intro-text {
        font-size: 1.5em;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
    :root {
        --side-margin: 80px;
    }
    
    .gallery-item {
        width: calc(100% / 5);
        min-width: 200px;
    }
    
    .publications-grid {
        grid-template-columns: 1fr 2fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    :root {
        --side-margin: 40px;
    }
    
    .section {
        padding: var(--section-padding-mobile) 0;
    }
    
    /* Menu mobile vertical */
    .navbar .container {
        justify-content: flex-end;
        padding: 0 20px;
    }
    
    .navbar-logo {
        position: absolute;
        left: 20px;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav li::after {
        display: none !important;
    }
    
    .navbar-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .navbar-social {
        margin-left: auto;
        margin-right: 15px;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .gallery-item {
        width: calc(100% / 4);
        min-width: 180px;
    }
    
    .content-item {
        flex-direction: column;
    }
    
    .content-media,
    .content-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .content-text p,
    .content-text .description,
    .publication-content p,
    .publication-content .description {
        font-size: 1.125rem;
    }
    
    .publications-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --side-margin: 20px;
    }
    
    .gallery-item {
        width: calc(100% / 3);
        min-width: 160px;
    }
    
    .gallery-item-name {
        font-size: 1rem;
    }
    
    #introduction .intro-text {
        font-size: 0.8rem;
    }
    
    .publications-grid {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }
    
    .publication-image img {
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: calc(100% / 2);
        min-width: 150px;
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .publication-image {
        text-align: center;
    }
    
    .publication-image img {
        max-width: 120px;
        margin: 0 auto;
    }
    
    .content-text p,
    .content-text .description {
        font-size: 1rem;
    }
    
    .slider-pagination {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}