* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    /*padding-top: 80px;*/
    background: radial-gradient(50% 50%, #ffffff, #eaddcf);
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px;
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.nav-links a:hover {
    color: #eaddcf;
}

section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 10px;
}

img {
    max-width: 100%;
    height: auto;
    max-height: 60vh;
}

.text {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: #333;
    padding: 0 20px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.footer-section h3,
.footer-section p,
.footer-section a {
    width: 100%;
    text-align: center;
}

.footer-section h3 {
    color: #eaddcf;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #eaddcf;
}

.footer-section p a {
    display: inline;
    width: auto;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.services-grid:last-child {
    margin-bottom: 0;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(234, 221, 207, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
    position: relative;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
}

.service-category {
    color: #333;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    text-align: center;
    width: 100%;
    position: relative;
}

.service-category:first-of-type {
    margin-top: 0;
}

.about-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    align-items: center;
}

.about-image {
    flex: 0 0 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.about-content h4 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.about-content > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #444;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h5 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
    padding: 30px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    /*margin-bottom: 30px;*/
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    /*gap: 15px;*/
}

.contact-item i {
    color: #333;
    font-size: 1.2rem;
}

.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Gérer à la fois le focus et quand l'input n'est pas vide */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.9rem;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #333;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-btn {
    background: #333;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #444;
    transform: translateY(-2px);
}

.tax-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

.legal-section {
    max-width: 800px;
    margin: 120px auto 40px;
    padding: 0 20px;
}

.legal-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.legal-content h1 {
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.legal-content h2 {
    color: #333;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.legal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 400px;
    z-index: 1000;
    display: none;
}

.cookie-consent.show {
    display: block;
    animation: slideIn 0.5s ease-out;
}

.cookie-consent p {
    margin-bottom: 15px;
    color: #333;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.accept-cookies {
    background-color: #333;
    color: white;
}

.reject-cookies {
    background-color: #eee;
    color: #333;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .services-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info, .contact-form {
        padding: 20px;
    }
}

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

.services-intro {
    max-width: 800px;
    text-align: center;
    margin-bottom: 60px;
}

.services-intro h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefits-list li {
    color: #666;
    padding: 10px 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.benefits-list li:before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.social-logo {
    width: 30px;
    
    transition: transform 0.3s ease;
}

.social-logo:hover {
    transform: scale(1.1);
}
