/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #050214;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Stars background animation */
.stars-container {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#stars, #stars2, #stars3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
}

#stars {
    z-index: 1;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QYOBh0KVvJI+gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAACZElEQVR42u2bsW4TQRCGZ0wTpAQJUiAhQTokFxRXRuIVKFMl8AIUT0CRKlUQVZQ8AQ/gPg8QCYkqTZQmEo1BEDnhcpG4uwNv4vF4bffON//Ntyvfzs3P7nx7a4uiIAiCIAiCIAiCIAiCIAiCIAiCmDIIHGmxvZIkqRBCVJRS8UBGEAR0NBpRlmU0Ho/Pk2buTu3l5aXcbre7hCCk1PNWV1fp4eGBOI6p1+uxfHAURVSv17nf79Pz8zMppfj+q9WqbDQanQOf8dDJ1BQIpZSs1WrUbrep2+2yPvwwDKnZbNLu7i41Go3Jwl2aATudDs3Pz1On02GdQqUUCSFocXGRDg4OJgvnA6qAaZpONtg0TfkhpJSilZUVUkqNt7e3v65Wq3Mb9P3l5SV3Op3JubJ6JPlzYRiGtLGxQQsLC/T4+MjOQEJKSa1Wi46Pj+nl5YWdGZNS5kzc2NigXq/HLoXNz89TrVabvAYuTFxaWqLt7W2an51Un3/vYDAY0NHREbsm5BMqlQqtr6/TaDTiFjLMBFVKyfK5uSZqmX7TNOV6vS7Pzs5kGIasdzMZ95h5lq7rumP4Jfh/QjHxF9OY+BC5nnFf4BrGfYPXGHcYPmLcaXgeuWsQG3ffsQXiOgDjuMNlHgD8U9cLeD8HuLgQCK+vgPBWEohvpuX4wo6Abybm+OYuim+uJ/EtTiXxLR+q+BagUHyL6KgEFhLTEliKTUtgMQMtgeUedAksSDGKAYWNRQEoziULQIE4ViTQooFXsYCLZ9kILCDj2tAACyC5NobAIlquzTWwEJprAxQsZudKvIIgCIIgCIIgCIIgCIIgCIIgCIIo5BfLNEIoRkEUygAAAABJRU5ErkJggg==') repeat top center;
    animation: move-stars 200s linear infinite;
}

#stars2 {
    z-index: 2;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QYOBh0KVvJI+gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAACZElEQVR42u2bsW4TQRCGZ0wTpAQJUiAhQTokFxRXRuIVKFMl8AIUT0CRKlUQVZQ8AQ/gPg8QCYkqTZQmEo1BEDnhcpG4uwNv4vF4bffON//Ntyvfzs3P7nx7a4uiIAiCIAiCIAiCIAiCIAiCIAiCmDIIHGmxvZIkqRBCVJRS8UBGEAR0NBpRlmU0Ho/Pk2buTu3l5aXcbre7hCCk1PNWV1fp4eGBOI6p1+uxfHAURVSv17nf79Pz8zMppfj+q9WqbDQanQOf8dDJ1BQIpZSs1WrUbrep2+2yPvwwDKnZbNLu7i41Go3Jwl2aATudDs3Pz1On02GdQqUUCSFocXGRDg4OJgvnA6qAaZpONtg0TfkhpJSilZUVUkqNt7e3v65Wq3Mb9P3l5SV3Op3JubJ6JPlzYRiGtLGxQQsLC/T4+MjOQEJKSa1Wi46Pj+nl5YWdGZNS5kzc2NigXq/HLoXNz89TrVabvAYuTFxaWqLt7W2an51Un3/vYDAY0NHREbsm5BMqlQqtr6/TaDTiFjLMBFVKyfK5uSZqmX7TNOV6vS7Pzs5kGIasdzMZ95h5lq7rumP4Jfh/QjHxF9OY+BC5nnFf4BrGfYPXGHcYPmLcaXgeuWsQG3ffsQXiOgDjuMNlHgD8U9cLeD8HuLgQCK+vgPBWEohvpuX4wo6Abybm+OYuim+uJ/EtTiXxLR+q+BagUHyL6KgEFhLTEliKTUtgMQMtgeUedAksSDGKAYWNRQEoziULQIE4ViTQooFXsYCLZ9kILCDj2tAACyC5NobAIlquzTWwEJprAxQsZudKvIIgCIIgCIIgCIIgCIIgCIIgCIIo5BfLNEIoRkEUygAAAABJRU5ErkJggg==') repeat top center;
    animation: move-stars 150s linear infinite;
}

#stars3 {
    z-index: 3;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QYOBh0KVvJI+gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAACZElEQVR42u2bsW4TQRCGZ0wTpAQJUiAhQTokFxRXRuIVKFMl8AIUT0CRKlUQVZQ8AQ/gPg8QCYkqTZQmEo1BEDnhcpG4uwNv4vF4bffON//Ntyvfzs3P7nx7a4uiIAiCIAiCIAiCIAiCIAiCIAiCmDIIHGmxvZIkqRBCVJRS8UBGEAR0NBpRlmU0Ho/Pk2buTu3l5aXcbre7hCCk1PNWV1fp4eGBOI6p1+uxfHAURVSv17nf79Pz8zMppfj+q9WqbDQanQOf8dDJ1BQIpZSs1WrUbrep2+2yPvwwDKnZbNLu7i41Go3Jwl2aATudDs3Pz1On02GdQqUUCSFocXGRDg4OJgvnA6qAaZpONtg0TfkhpJSilZUVUkqNt7e3v65Wq3Mb9P3l5SV3Op3JubJ6JPlzYRiGtLGxQQsLC/T4+MjOQEJKSa1Wi46Pj+nl5YWdGZNS5kzc2NigXq/HLoXNz89TrVabvAYuTFxaWqLt7W2an51Un3/vYDAY0NHREbsm5BMqlQqtr6/TaDTiFjLMBFVKyfK5uSZqmX7TNOV6vS7Pzs5kGIasdzMZ95h5lq7rumP4Jfh/QjHxF9OY+BC5nnFf4BrGfYPXGHcYPmLcaXgeuWsQG3ffsQXiOgDjuMNlHgD8U9cLeD8HuLgQCK+vgPBWEohvpuX4wo6Abybm+OYuim+uJ/EtTiXxLR+q+BagUHyL6KgEFhLTEliKTUtgMQMtgeUedAksSDGKAYWNRQEoziULQIE4ViTQooFXsYCLZ9kILCDj2tAACyC5NobAIlquzTWwEJprAxQsZudKvIIgCIIgCIIgCIIgCIIgCIIgCIIo5BfLNEIoRkEUygAAAABJRU5ErkJggg==') repeat top center;
    animation: move-stars 100s linear infinite;
}

@keyframes move-stars {
    from {background-position: 0 0;}
    to {background-position: 10000px 0;}
}

/* Hero section */
.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

/* Illustration styles */
.illustration-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
}

.outer-circle {
    width: 450px;
    height: 450px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    animation: drawCircle 2s ease forwards, rotateCircle 30s linear infinite;
    animation-delay: 1s;
}

.middle-circle {
    width: 350px;
    height: 350px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    animation: drawCircle 2s ease forwards, rotateCircleReverse 25s linear infinite;
    animation-delay: 1.5s;
}

.spotlight {
    width: 300px;
    height: 300px;
    background: rgba(138, 43, 226, 0.2);
    filter: blur(60px);
    opacity: 0;
    animation: fadeIn 2s ease forwards;
    animation-delay: 2s;
}

.main-circle {
    width: 250px;
    height: 250px;
    background: rgba(28, 34, 89, 0.7);
    backdrop-filter: blur(10px);
    position: relative;
    transform: scale(0);
    animation: scaleIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 2.5s;
}

/* Bubbles inside the main circle */
.bubble {
    position: absolute;
    background-color: rgba(72, 97, 157, 0.6);
    border-radius: 20px;
}

.bubble-1 {
    width: 85px;
    height: 45px;
    left: 40px;
    top: 85px;
}

.bubble-2 {
    width: 110px;
    height: 45px;
    right: 35px;
    top: 100px;
}

.dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #b882ff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes drawCircle {
    from {
        clip-path: circle(0% at center);
        opacity: 0;
    }
    to {
        clip-path: circle(100% at center);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    80% {
        transform: scale(1.05);
    }
    to {
        transform: scale(1);
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCircleReverse {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}



/* Police de caractères */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Variables de couleurs */
:root {
    --background-dark: #050214;
    --card-background: #0A0627;
    --text-color: #FFFFFF;
    --accent-color: #8A2BE2;
    --accent-light: rgba(138, 43, 226, 0.3);
    --accent-glow: rgba(138, 43, 226, 0.6);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
}

/* Container principal */
.garanties-section {
    width: 100%;
    min-height: 100vh;
    background-color: var(--background-dark);
    padding: 2rem 0;
    overflow: hidden;
}

.garanties-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    position: relative;
}

/* Styles pour la sidebar de navigation */
.nav-sidebar {
    position: sticky;
    top: 2rem;
    height: calc(100vh - 4rem);
    padding: 1.5rem;
    background-color: rgba(10, 6, 39, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(138, 43, 226, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.nav-sidebar h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
}

.nav-item {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-item.active::before {
    background-color: var(--accent-color);
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.nav-item.active a {
    color: var(--accent-color);
    font-weight: 500;
}

.nav-item:hover a {
    color: var(--accent-color);
}

/* Styles pour la zone de contenu */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
    transition: all 0.3s ease;
    scroll-margin-top: 2rem;
}

/* Animation séquentielle pour les cartes de contenu */
.content-card:nth-child(1) { animation-delay: 0.2s; }
.content-card:nth-child(2) { animation-delay: 0.4s; }
.content-card:nth-child(3) { animation-delay: 0.6s; }
.content-card:nth-child(4) { animation-delay: 0.8s; }
.content-card:nth-child(5) { animation-delay: 1.0s; }
.content-card:nth-child(6) { animation-delay: 1.2s; }

h2 {
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-card p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.content-card ul {
    list-style-type: none;
    margin: 1.2rem 0;
    padding-left: 1.5rem;
}

.content-card ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.content-card ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* Styles pour le panneau de contrôle */
.control-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.control-card {
    background-color: rgba(15, 10, 50, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

.control-card:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
    border-color: var(--accent-color);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    animation: pulse 3s infinite;
    position: relative;
}

.control-card:hover .icon-circle {
    animation: pulse-hover 2s infinite;
}

.icon {
    width: 28px;
    height: 28px;
    color: white;
    transition: transform 0.3s ease;
}

.control-card:hover .icon {
    transform: rotate(-10deg);
}

.control-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.control-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Styles pour la note à propos des droits */
.droits-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    font-style: italic;
    text-align: center;
}

/* Styles pour la section sécurité */
.highlight {
    padding: 1rem;
    background-color: rgba(138, 43, 226, 0.1);
    border-left: 3px solid var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Styles pour la carte de contact */
.contact-card {
    display: flex;
    align-items: center;
    background-color: rgba(15, 10, 50, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.mail-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.mail-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent-color);
}

.contact-info h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.email {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.response-note {
    padding: 1rem;
    background-color: rgba(138, 43, 226, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.6);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

@keyframes pulse-hover {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.8);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(138, 43, 226, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

/* Responsivité */
@media screen and (max-width: 1200px) {
    .garanties-container {
        grid-template-columns: 220px 1fr;
        padding: 0 1rem;
    }
    
    .control-panel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .garanties-container {
        grid-template-columns: 1fr;
    }
    
    .nav-sidebar {
        display: none;
    }
    
    /* Menu alternatif pour mobile */
    .mobile-nav {
        position: sticky;
        top: 0;
        z-index: 100;
        background-color: var(--card-background);
        padding: 1rem;
        margin-bottom: 2rem;
        border-radius: 10px;
        border: 1px solid rgba(138, 43, 226, 0.2);
        display: block;
    }
    
    .mobile-nav select {
        width: 100%;
        padding: 0.8rem;
        background-color: rgba(15, 10, 50, 0.8);
        color: var(--text-color);
        border: 1px solid var(--accent-color);
        border-radius: 5px;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1rem;
        outline: none;
    }
}

@media screen and (max-width: 768px) {
    .control-panel {
        grid-template-columns: 1fr;
    }
    
    .content-card {
        padding: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mail-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}




/* Responsive styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .illustration-container {
        width: 400px;
        height: 400px;
    }
    
    .outer-circle {
        width: 360px;
        height: 360px;
    }
    
    .middle-circle {
        width: 280px;
        height: 280px;
    }
    
    .spotlight {
        width: 240px;
        height: 240px;
    }
    
    .main-circle {
        width: 200px;
        height: 200px;
    }
    
    .bubble-1 {
        width: 68px;
        height: 36px;
        left: 32px;
        top: 68px;
    }
    
    .bubble-2 {
        width: 88px;
        height: 36px;
        right: 28px;
        top: 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .illustration-container {
        width: 320px;
        height: 320px;
    }
    
    .outer-circle {
        width: 290px;
        height: 290px;
    }
    
    .middle-circle {
        width: 225px;
        height: 225px;
    }
    
    .spotlight {
        width: 190px;
        height: 190px;
        filter: blur(40px);
    }
    
    .main-circle {
        width: 160px;
        height: 160px;
    }
    
    .bubble-1 {
        width: 55px;
        height: 29px;
        left: 25px;
        top: 55px;
    }
    
    .bubble-2 {
        width: 70px;
        height: 29px;
        right: 22px;
        top: 64px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 3rem;
    }
    
    .illustration-container {
        width: 260px;
        height: 260px;
    }
    
    .outer-circle {
        width: 230px;
        height: 230px;
    }
    
    .middle-circle {
        width: 180px;
        height: 180px;
    }
    
    .spotlight {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }
    
    .main-circle {
        width: 130px;
        height: 130px;
    }
    
    .bubble-1 {
        width: 44px;
        height: 23px;
        left: 20px;
        top: 44px;
    }
    
    .bubble-2 {
        width: 57px;
        height: 23px;
        right: 18px;
        top: 52px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}