/* Variables */
:root {
    --primary: #fb6809;
    --primary-dark: #e55a00;
    --accent: #fb6809;
    --text: #2C1810;
    --text-light: #8B5E34;
    --background: #FFFBF7;
    --background-alt: #FDF6ED;
    --border: #fb6809;
    --shadow: 0 4px 6px -1px rgba(251, 104, 9, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(251, 104, 9, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Section Animations */
.hero, .services, .about, .team, .contact, .testimonials, .faq {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero.visible, .services.visible, .about.visible, .team.visible, .contact.visible, .testimonials.visible, .faq.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Animations */
.service-card, .team-card, .testimonial-card, .stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-card.visible, .team-card.visible, .testimonial-card.visible, .stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--background);
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand .logo {
    height: 40px;
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-contact {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

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

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 90%;
}

.hero-text .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 90%;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.03); /* Légèrement agrandir l'image au survol */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.3;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--border);
    position: relative;
    overflow: visible;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
    opacity: 0.1;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text);
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease forwards;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-alt);
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content {
    padding: 2rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stat-number.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team {
    padding: 6rem 0;
}

.team-card {
    background: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 50%;
    transition: var(--transition);
}

.img-artemis {
    object-position: 50% 55%;
}

.img-alvathor {
    object-position: 50% 60%;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    text-align: center;
    padding: 1rem;
}

.team-card:hover .team-overlay {
    opacity: 0.9;
}

.team-overlay h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.team-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-5px);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.role {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    display: none;
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--text);
}

.contact-item a {
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
    opacity: 0.05;
}

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

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    color: var(--text);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.footer::before {
    display: none;
}

.footer h4 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.footer p {
    color: var(--text-light);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--text);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(139, 94, 52, 0.1);
    color: var(--text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(139, 94, 52, 0.2);
}

.social-links a:hover {
    background: var(--text);
    color: white;
    transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 94, 52, 0.2);
    text-align: center;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

.btn-outline {
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
    color: var(--primary-dark);
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A373' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent, var(--accent));
    opacity: 0.1;
    transition: var(--transition);
}

.stat-card:hover::after {
    opacity: 0.2;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--text);
}

.stat-content p {
    margin: 0;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: var(--background);
}

.testimonial-card {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 2px solid var(--border);
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
    opacity: 0.05;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    padding: 1rem 0;
}

.testimonial-content i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.accordion-item {
    border: 2px solid rgba(251, 104, 9, 0.2);
    background: var(--background);
    margin-bottom: 1rem;
    border-radius: var(--radius);
}

.accordion-button {
    padding: 1.5rem;
    font-weight: 500;
    color: var(--text);
    background: var(--background);
}

.accordion-button:not(.collapsed) {
    background: rgba(251, 104, 9, 0.05);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(251, 104, 9, 0.2);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    background: var(--background);
}

/* Responsive Design */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background);
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text {
        text-align: center;
        margin: 0 auto 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .service-card,
    .team-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-bottom: 3rem;
    }
    
    .footer-brand,
    .footer-links,
    .footer-social {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 1;
}

.loader-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    animation: pulse 1.5s infinite;
    opacity: 1;
}

.loader-text {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: none;
}

.loader-progress {
    width: 300px;
    height: 6px;
    background: rgba(251, 104, 9, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    opacity: 1;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.3s ease-out;
    position: relative;
    opacity: 1;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

.contact-priority {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(212, 163, 115, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.contact-item.priority {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
    margin-bottom: 1.5rem;
}

.contact-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.contact-note {
    display: inline-block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.contact-item.priority i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item.priority h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item.priority a {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Styles pour les pages de présentation des membres */
.team-member {
    padding: 100px 0;
    background: var(--background-alt);
}

.team-member .container {
    max-width: 1200px;
}

.team-member h1 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: left;
}

.team-member .role {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: left;
}

.member-image {
    /* margin-bottom: 30px; */ /* Remove or adjust as needed */
    /* text-align: center; */ /* Remove or adjust as needed */
    display: none; /* Hide the old image container */
}

.member-avatar {
    width: 100px; /* Set desired size for the avatar */
    height: 100px;
    border-radius: 50%; /* Make it round */
    object-fit: cover; /* Ensure image covers the area without distortion */
    margin-right: 20px; /* Space between avatar and text */
    border: 3px solid var(--primary); /* Add a border */
    box-shadow: var(--shadow);
}

.member-header {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically center content */
    margin-bottom: 30px; /* Space below the header */
}

.member-header h1 {
    margin-bottom: 5px; /* Reduce space below name */
}

.team-member .role {
    margin-bottom: 0; /* Remove bottom margin as it's handled by member-header */
}

.member-content h3 {
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 5px;
}

.member-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.member-skills {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.member-skills li {
    background: rgba(251, 104, 9, 0.05);
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    font-weight: 400;
    display: flex;
    align-items: center;
}

.member-skills li i {
    color: var(--primary-dark);
    margin-right: 10px;
}

.member-contact h4 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 5px;
}

.member-contact .btn {
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .team-member .row {
        align-items: flex-start; /* Align items to the top */
    }
    .member-image {
        margin-bottom: 0;
        text-align: left;
    }
    .member-image img {
        /* Optional: Adjust image size specifically for larger screens if needed */
        /* max-width: 300px; */
    }
}

@media (max-width: 768px) {
    .team-member {
        padding: 80px 0;
    }
    .team-member h1,
    .team-member .role,
    .member-content h3,
    .member-contact h4 {
        text-align: center;
    }
     .member-image {
        margin-bottom: 20px;
     }
}

/* Styles pour la section Développeur Heaven */
/*
.developpeur-heaven {
    padding: 6rem 0;
    background: var(--background);
    text-align: center;
}

.developpeur-heaven .section-header {
    margin-bottom: 4rem;
}

.developpeur-heaven h2 {
    color: var(--text);
}

.developpeur-heaven p {
    color: var(--text-light);
    font-size: 1.1rem;
}
*/

/* Responsive Design */
@media (max-width: 991px) {
    .team-member {
        padding: 60px 0;
    }
    
    .member-content {
        margin-top: 30px;
        padding: 30px;
    }
    
    .member-content h1 {
        font-size: 2rem;
    }
} 