/* PRASIDE Website Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Syne Regular */
@font-face {
  font-family: 'Syne';
  src: url('../fonts/static/Syne-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Syne Bold */
@font-face {
  font-family: 'Syne';
  src: url('../fonts/static/Syne-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


body {
    font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}


/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
	border-bottom: 1px solid #00d4ff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(10) hue-rotate(180deg);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn.active,
.lang-btn:hover {
    background: #00d4ff;
    color: #0f172a;
    border-color: #00d4ff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 50%);
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
	z-index: 1;
	pointer-events: auto;
	touch-action: pan-y; /* Allow vertical scrolling but capture horizontal swipes */
	user-select: none; /* Prevent text selection during swipe */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 80;
    z-index: 0;
	pointer-events: none;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.3;
    filter: brightness(0.7) contrast(1.1);
	z-index: 0;
	pointer-events: none;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  pointer-events: none; /* Prevent interference with background images */
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit; /* use same background image */
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.5); /* blur + darken */
  z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(51, 65, 85, 0.4) 100%);
    z-index: 1;
	pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300d4ff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    animation: gridMove 20s linear infinite;
    z-index: 0;
	pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-10px, -10px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    z-index: 5;
    position: relative;
	color: #fff;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: auto; /* Re-enable interactions for content */
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin: 0 auto 2.5rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* FLÈCHES */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 3;
}

.hero-arrow.left {
  left: 20px;
}

.hero-arrow.right {
  right: 20px;
}

.hero-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.cta-button {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
}

/* Sections */
.section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e293b, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

.about-text h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-visual {
	background: linear-gradient(135deg, #f8fafc, #e2e8f0);
	border-radius: 20px;
	padding: 3rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.about-visual::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
	animation: shimmer 3s infinite;
}

@keyframes shimmer {
	0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
	100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes heartbeat {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

/* Logo styles */
.logo-container {
	position: relative;
	display: inline-block;
	z-index: 2;
}

.logo-short {
	width: 100px;
	height: 100px;
	position: relative;
	z-index: 1;
	filter: brightness(0) saturate(100%) invert(64%) sepia(96%) saturate(3283%) hue-rotate(175deg) brightness(101%) contrast(101%);
	animation: heartbeat 5s ease-in-out infinite;
	cursor: pointer;
	transition: transform 0.1s ease;
	user-select: none;
	-webkit-user-select: none;
}

/* Growing animation when held */
.logo-short.growing {
	animation: grow 2s ease-out forwards;
}

@keyframes grow {
	0% { transform: scale(1); }
	80% { transform: scale(2.5); }
	100% { transform: scale(3); }
}

/* Explosion animation */
.explosion {
	position: absolute;
	top: 50%;
	left: 50%;
	/* transform: translate(-50%, -50%);*/
	pointer-events: none;
}

.explosion-particle {
	position: absolute;
	width: 8px;
	height: 8px;
	background: #00d4ff;
	border-radius: 50%;
	animation: explode 1s ease-out forwards;
}

@keyframes explode {
	0% {
		transform: scale(1) translate(0, 0);
		opacity: 1;
	}
	100% {
		transform: scale(0.5) translate(var(--dx), var(--dy));
		opacity: 0;
	}
}

/* Flash effect */
.flash-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.9);
	opacity: 0;
	pointer-events: none;
	z-index: 10;
}

.flash-overlay.active {
	animation: flash 0.3s ease-out;
}

@keyframes flash {
	0% { opacity: 0; }
	50% { opacity: 1; }
	100% { opacity: 0; }
}

/* Hidden state */
.logo-short.hidden {
	opacity: 0;
}


@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #00d4ff;
}

.mission-icon {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mission-card h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mission-card p {
    color: #64748b;
    position: relative;
    z-index: 1;
}

.mission_dot {
	margin-top: 2rem; 
	text-align: left;

}
.mission_dot p {
	font-style: italic; 
	color: #6b7280; 
	font-size: 0.9rem;
}

/* Solutions Section */
.solutions {
    background: #f8fafc;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    cursor: grab;
    border-radius: 20px;
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.carousel-container.grabbing {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    /* Remove the old animation property */
    will-change: transform;
}

.partner-item {
    flex: 0 0 200px;
    height: 100px;
    background: #f8fafc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    padding: 1rem;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-item:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Optional: Navigation dots styles */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #00d4ff;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
	position: relative;
	min-height: 400px;
}

.contact-info h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
}

.part-info {
	position: absolute; 
    bottom: 0; 
    left: 0; 
}

.part-info p {
	font-style: italic; 
	color: #6b7280; 
	font-size: 0.9rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.leak-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.leak-modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: slideDown 0.4s ease;
    border: 1px solid rgba(0, 212, 255, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.leak-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.leak-modal-close:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

.leak-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-align: center;
}

.leak-modal-content > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.leak-check-form {
    margin-bottom: 0.5rem;
}

.leak-form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.leak-form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.leak-form-group input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.leak-submit-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.leak-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.leak-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.leak-help-text {
    display: block;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.leak-rate-limit-info {
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.leak-rate-limit-info small {
    color: #64748b;
    font-size: 0.9rem;
}

#leakRemainingCount {
    font-weight: 600;
    color: #00d4ff;
}

.leak-result-container {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 15px;
    margin-top: 2rem;
    border: 2px solid #e2e8f0;
}

.leak-result-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.leak-result-icon.success {
    color: #10b981;
}

.leak-result-icon.warning {
    color: #f59e0b;
}

.leak-result-icon.error {
    color: #ef4444;
}

.leak-result-message h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.leak-result-message p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.leak-result-count {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
}

.leak-result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.leak-close-btn,
.leak-contact-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.leak-close-btn {
    background: #64748b;
    color: white;
}

.leak-close-btn:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leak-contact-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
}

.leak-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.leak-loading-container {
    text-align: center;
    padding: 2rem;
    margin-top: 1rem;
}

.leak-spinner {
    border: 4px solid #e2e8f0;
    border-top: 4px solid #00d4ff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.leak-loading-container p {
    color: #64748b;
    font-size: 1.1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Bouton CTA spécifique pour la détection */
.leak-check-btn {
    background: linear-gradient(135deg, #f59e0b, #ea580c) !important;
    margin-top: 1rem;
}

.leak-check-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c) !important;
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 3%;
    }
    
    .hero-content {
        padding: 0 3%;
    }
    
    .partner-item {
        flex: 0 0 150px;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
	
	.cta-button {
		padding: 0.8rem 1.5rem; /* bouton plus petit */
		font-size: 0.9rem;
	}
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Footer */
footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00d4ff;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom a {
    color: #00d4ff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Legal Page Styles */
.main-content {
    padding-top: 100px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 3rem;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    margin-bottom: 3rem;
    border-radius: 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

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

.legal-content p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content strong {
    color: #1e293b;
    font-weight: 600;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(-5px);
}

.back-link i {
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
	
	.lang-selector .lang-btn.active {
		display: none;
	}
    
    .nav-links.mobile-open {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
	
	.hero-arrow {
		padding: 0.8rem 0.8rem; /* bouton plus petit */
		font-size: 0.9rem;
		top: 80%;
	}
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
	.part-info {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .section {
        padding: 3rem 5%;
    }
    
    nav {
        padding: 1rem 5%;
        position: relative;
    }
    
    .header-right {
        gap: 1rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
	.logo-image {
		width: 180px !important; /* adjust to desired size */
		height: auto !important; /* keep aspect ratio */
		flex: 0 0 auto;
	}
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding-left: 3%;
        padding-right: 3%;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
	
    .leak-modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
    }
    
    .leak-form-group {
        flex-direction: column;
    }
    
    .leak-submit-btn {
        width: 100%;
    }
    
    .leak-modal-content h2 {
        font-size: 1.5rem;
    }
    
    .leak-result-actions {
        flex-direction: column;
    }
    
    .leak-close-btn,
    .leak-contact-btn {
        width: 100%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hidden class for language switching */
.hidden {
    display: none;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.opacity-0 {
    opacity: 0;
}

.transform-y-30 {
    transform: translateY(30px);
}

.transition-all {
    transition: all 0.6s ease-out;
}