:root {
    --primary: #3A7CA5;
    --dark: #2E2E2E;
    --light: #FFFFFF;
    --accent: #6B8F71;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    gap: 0.5rem;

}

.logo img{
    width: 5rem;
}

.logo p{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    margin-right: 2rem;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Section Styles */
section {
    padding: 100px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.text-highlight {
    color: var(--primary);
    position: relative;
}

.text-highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(58, 124, 165, 0.2);
    z-index: -1;
}

/* Hero Section */
.section-accueil {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--light);
    overflow: hidden;
    position: relative;
}

.hero-content {
    width: 50%;
    animation-duration: 1.2s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.btn-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(58, 124, 165, 0.3);
}

.btn-primary:hover {
    background-color: #326d91;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(58, 124, 165, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(58, 124, 165, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation-duration: 1.5s;
}

.shape-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(58, 124, 165, 0.8);
    top: 0;
    left: 0;
    z-index: 1;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(107, 143, 113, 0.8);
    top: 60px;
    left: 80px;
    z-index: 2;
    animation-delay: -3s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background-color: rgba(46, 46, 46, 0.8);
    top: 100px;
    left: 120px;
    z-index: 3;
    animation-delay: -6s;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Process Section */
.section-processus {
    background-color: #f8f9fa;
    position: relative;
}

.process-steps {
    margin-top: 4rem;
}

.step {
    display: flex;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(58, 124, 165, 0.15);
    margin-right: 2rem;
    line-height: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.infomaniak-ad {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder {
    text-align: center;
    padding: 40px 0;
    color: var(--accent);
    font-weight: 500;
}

/* Contact Section */
/* Section Contact Modifiée */
.contact-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 800px;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-header {
    background-color: var(--primary);
    color: var(--light);
    padding: 40px;
    text-align: center;
}

.contact-header h3 {
    font-size: 1.8rem;
    margin: 15px 0;
    color: var(--light);
}

.contact-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.contact-methods {
    padding: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    transition: var(--transition);
    padding: 20px;
    border-radius: 8px;
}

.contact-method:hover {
    background-color: rgba(58, 124, 165, 0.05);
}

.contact-method i {
    color: var(--primary);
    font-size: 2rem;
    margin-right: 25px;
    width: 60px;
    height: 60px;
    background-color: rgba(58, 124, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-method:hover i {
    background-color: var(--primary);
    color: var(--light);
}

.method-details h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.method-details a {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: var(--transition);
}

.method-details a:hover {
    color: #326d91;
}

.method-details p {
    color: #666;
}

.contact-cta {
    background-color: rgba(107, 143, 113, 0.1);
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(107, 143, 113, 0.2);
}

.contact-cta p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--accent);
}



/* Footer */
footer {
    background-color: var(--dark);
    color: #f8f9fa;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    margin-top: 1rem;
    color: #bbb;
}

.footer-links h4, .footer-social h4 {
    color: var(--light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4:after, .footer-social h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
}
/* Styles pour les pages légales */
.section-legal {
    padding-top: 150px;
    padding-bottom: 80px;
}

.section-legal h1 {
    text-align: center;
    margin-bottom: 50px;
}

.legal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p, .legal-content ul {
    margin-bottom: 15px;
    color: #555;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.legal-update {
    font-style: italic;
    color: #777;
    text-align: right;
    margin-top: 40px;
}

.legal-back {
    text-align: center;
}

/* Media queries pour les pages légales */
@media (max-width: 768px) {
    .legal-content {
        padding: 25px;
    }

    .section-legal h1 {
        font-size: 2.2rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method i {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
@media (max-width: 992px) {
    .hero-content, .hero-visual {
        width: 100%;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .btn-container {
        justify-content: center;
    }

    .section-accueil .container {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-accueil {
        padding-top: 120px;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Animation pour faire apparaître les étapes du processus */
@media (min-width: 768px) {
    .section-accueil .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}