/* SculptLab — styles communs (legal.css) extraits de cgv.html */
/* Reset et scrollbar */
        *, *::before, *::after {
            scrollbar-width: none;
            -ms-overflow-style: none;
            box-sizing: border-box;
        }

        *::-webkit-scrollbar {
            display: none;
        }

        html, body {
            margin: 0;
            padding: 0;
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }

        html::-webkit-scrollbar, body::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
        }

        body {
            font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
            color: #333;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            overflow-y: scroll;
            line-height: 1.6;
        }

        .content {
            flex: 1;
        }

        .section {
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            box-sizing: border-box;
            position: relative;
        }

        /* Header responsive */

        /* Menu hamburger pour mobile */

        /* Toggle langue */

        /* Contenu des CGV */
        .legal-text {
            max-width: 1100px;
            margin: auto;
            padding: 40px 20px;
            font-size: 1.1em;
            line-height: 1.6;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            margin-bottom: 20px;
        }

        .legal-text h2 {
            color: #1a1a1a;
            font-size: 1.4em;
            margin-top: 30px;
            margin-bottom: 15px;
            border-bottom: 2px solid #333;
            padding-bottom: 5px;
        }

        .legal-text h2:first-of-type {
            margin-top: 0;
        }

        .legal-text p {
            margin-bottom: 20px;
            text-align: justify;
        }

        /* Footer */
        footer {
            background-color: #333;
            color: #fff;
            padding: 20px 0;
            text-align: center;
            margin-top: 40px;
            box-sizing: border-box;
        }

        footer p {
            margin: 0;
            font-size: 1em;
        }

        footer a {
            color: #ffdd00;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: #ff6a00;
        }

        /* Media queries pour responsive */
        @media (max-width: 1024px) {
            
            .legal-text {
                max-width: 900px;
                padding: 35px 18px;
            }
            
            .legal-text h2 {
                font-size: 1.3em;
            }
            
            .legal-text p {
                font-size: 1.05em;
            }}

        @media (max-width: 768px) and (orientation: portrait) {
            /* Menu mobile */
            
            .legal-text {
                max-width: 100%;
                padding: 30px 15px;
                margin: 0 10px 15px 10px;
            }

            .legal-text h2 {
                font-size: 1.2em;
                margin-top: 25px;
            }
            
            .legal-text p {
                font-size: 1em;
                text-align: left;
            }}

        @media (max-width: 600px) and (orientation: portrait) {
            .legal-text {
                padding: 25px 12px;
                margin: 0 8px 12px 8px;
            }
            
            .legal-text h2 {
                font-size: 1.1em;
                margin-top: 20px;
            }
            
            .legal-text p {
                font-size: 0.95em;
                line-height: 1.5;
            }}

        @media (max-width: 480px) and (orientation: portrait) {
            
            .legal-text {
                padding: 20px 10px;
                margin: 0 5px 10px 5px;
                border-radius: 6px;
            }
            
            .legal-text h2 {
                font-size: 1.05em;
                margin-top: 18px;
                margin-bottom: 12px;
            }
            
            .legal-text p {
                font-size: 0.9em;
                line-height: 1.4;
                margin-bottom: 15px;
            }
            
            footer {
                padding: 20px 15px;
                margin-top: 30px;
            }
            
            footer p {
                font-size: 0.9em;
            }}

        @media (max-width: 320px) and (orientation: portrait) {
            
            .legal-text {
                padding: 15px 8px;
                margin: 0 3px 8px 3px;
            }
            
            .legal-text h2 {
                font-size: 1em;
                margin-top: 15px;
                margin-bottom: 10px;
            }
            
            .legal-text p {
                font-size: 0.85em;
                line-height: 1.3;
                margin-bottom: 12px;
            }
            
            footer {
                margin-top: 25px;
            }
            
            footer p {
                font-size: 0.85em;
            }}

        /* Mode paysage mobile */
        @media (max-width: 768px) and (orientation: landscape) {
            
            .legal-text {
                max-width: 100%;
                padding: 25px 15px;
                margin: 0 15px 15px 15px;
            }

            .legal-text h2 {
                font-size: 1.1em;
            }
            
            .legal-text p {
                font-size: 0.95em;
                text-align: justify;
            }}

        /* Optimisation pour tablettes en mode paysage */
        @media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
            .legal-text {
                max-width: 95%;
                padding: 35px 25px;
            }
            
            .legal-text h2 {
                font-size: 1.25em;
            }
            
            .legal-text p {
                font-size: 1em;
            }}

        /* Amélioration de l'accessibilité */
        @media (prefers-reduced-motion: reduce) {
            * {
                transition: none !important;
            }}

        /* Focus states pour l'accessibilité */

        /* Espacement amélioré pour très petits écrans */
        @media (max-width: 360px) and (orientation: portrait) {
            .legal-text {
                margin-bottom: 8px;
            }}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}

#cookie-banner.show {
  transform: translateY(0);
}

#cookie-banner p {
  margin: 0;
  flex: 1;
}

#cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

#cookie-banner button {
  background-color: #ffd700;
  color: #222;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.fr, .en {
  display: none;
}

body.lang-fr .fr { display: inline; }
body.lang-en .en { display: inline; }