:root {
    --primary-color: #d400aa;
    --secondary-color: #fbb605;
    --accent-color: #4267B2;
    --quaternary-color: #6CC24A;
    --text-color: #2c3e50;
    --white: #ffffff;
    --light-background: #f8f9fa;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

.modal-paragraph {
	text-align:center;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: justify; 
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.fluid-shape {
    position: absolute;
    pointer-events: auto;
    cursor: grab;
    will-change: transform;
    transition: transform 0.1s ease-out;
    z-index: 0;
    mix-blend-mode: multiply;
    filter: blur(0.2px);
    perspective: 1000px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.fluid-shape:active {
    cursor: grabbing;
    filter: blur(0);
}

/* Hero section shapes */
.shape1 {
    width: 35vw;
    height: 35vw;
    background: linear-gradient(45deg, rgba(154, 192, 0, 0.05) 0%, rgba(154, 192, 0, 0.12) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -10%;
    right: -5%;
}

.shape2 {
    width: 25vw;
    height: 25vw;
    background: linear-gradient(45deg, rgba(0, 136, 170, 0.05) 0%, rgba(0, 136, 170, 0.12) 100%);
    border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%;
    bottom: 20%;
    left: 10%;
}

.shape3 {
    width: 20vw;
    height: 20vw;
    background: linear-gradient(45deg, rgba(255, 99, 71, 0.05) 0%, rgba(255, 99, 71, 0.12) 100%);
    border-radius: 42% 58% 58% 42% / 42% 42% 58% 58%;
    top: 30%;
    right: 15%;
}

.shape4 {
    width: 15vw;
    height: 15vw;
    background: linear-gradient(45deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 165, 0, 0.12) 100%);
    border-radius: 62% 38% 46% 54% / 38% 62% 38% 62%;
    bottom: 35%;
    left: 25%;
}

.shape5 {
    width: 18vw;
    height: 18vw;
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.05) 0%, rgba(147, 112, 219, 0.12) 100%);
    border-radius: 40% 60% 54% 46% / 48% 52% 48% 52%;
    top: 40%;
    left: 5%;
}

.shape6 {
    width: 22vw;
    height: 22vw;
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.05) 0%, rgba(64, 224, 208, 0.12) 100%);
    border-radius: 54% 46% 38% 62% / 32% 68% 32% 68%;
    top: 15%;
    left: 35%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.pink-text,
.yellow-text {
    color: #2c3e50;
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.2px;
}

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

.hero-visual {
    position: relative;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    transform: translateX(2rem);
}

.hero-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    transform: translateY(calc(var(--delay) * 100));
    animation: slideIn 0.6s calc(var(--delay)) forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.card-icon.contribute {
    background-color: #9ac000;
}

.card-icon.progress {
    background-color: var(--secondary-color);
}

.card-icon.enterprise {
    background-color: #0088aa;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 0.2px;
    line-height: 1.6;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-cards {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-text-container {
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Hero cards */
    .hero-cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .hero-card {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
    }

    .hero-card-content {
        text-align: center;
    }
}

.about {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
    overflow: hidden;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    background: var(--white);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

/* About section shapes */
.shape7 {
    width: 30vw;
    height: 30vw;
    background: linear-gradient(45deg, rgba(0, 136, 170, 0.05) 0%, rgba(0, 136, 170, 0.12) 100%);
    border-radius: 42% 58% 58% 42% / 42% 42% 58% 58%;
    top: -15%;
    left: -10%;
}

.shape8 {
    width: 28vw;
    height: 28vw;
    background: linear-gradient(45deg, rgba(154, 192, 0, 0.05) 0%, rgba(154, 192, 0, 0.12) 100%);
    border-radius: 62% 38% 46% 54% / 38% 62% 38% 62%;
    bottom: -10%;
    right: -5%;
}

.shape9 {
    width: 22vw;
    height: 22vw;
    background: linear-gradient(45deg, rgba(255, 99, 71, 0.05) 0%, rgba(255, 99, 71, 0.12) 100%);
    border-radius: 45% 55% 40% 60% / 45% 55% 45% 55%;
    top: 25%;
    right: 20%;
}

.shape10 {
    width: 16vw;
    height: 16vw;
    background: linear-gradient(45deg, rgba(255, 165, 0, 0.05) 0%, rgba(255, 165, 0, 0.12) 100%);
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    bottom: 30%;
    left: 15%;
}

.shape11 {
    width: 20vw;
    height: 20vw;
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.05) 0%, rgba(147, 112, 219, 0.12) 100%);
    border-radius: 48% 52% 45% 55% / 52% 48% 52% 48%;
    top: 35%;
    left: 25%;
}

.shape12 {
    width: 24vw;
    height: 24vw;
    background: linear-gradient(45deg, rgba(64, 224, 208, 0.05) 0%, rgba(64, 224, 208, 0.12) 100%);
    border-radius: 52% 48% 42% 58% / 48% 52% 48% 52%;
    bottom: 15%;
    right: 30%;
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-text {
        margin: 0 auto;
    }

    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

.maison {
    position: relative;
    padding: 8rem 0;
    background-color: #ff9933;
    color: var(--white);
}

.maison-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.maison .section-title {
    color: var(--white);
}

.maison-text {
    padding-right: 20px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: none;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    justify-self: end;
}

.maison-text p {
    color: var(--white);
    opacity: 0.9;
}

.maison-text h3 {
    color: var(--white);
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.maison-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.maison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.maison-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Maison Features */
.maison-features {
    margin-top: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #333333;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature-box:hover .feature-icon {
    transform: translateY(-5px);
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .maison-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .maison-text {
        padding-right: 0;
    }

    .carousel {
        max-width: 100%;
    }
}

.hub {
    padding: 8rem 0;
    background: var(--primary-color);
    color: var(--white);
}

.hub .section-title::after {
    background: var(--white);
}

.hub-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hub-features {
    list-style: none;
    margin-top: 2rem;
}

.hub-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hub-features i {
    color: var(--primary-color);
}

.hub-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services {
    background-color: #0088aa;
    color: white;
    padding: 120px 0 80px;
}

.services .section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 60px;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 0;
}

.service-item {
    text-align: center;
    padding: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.service-item p {
    color: #cccccc;
}

.service-icon {
    background-color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 32px;
    color: #0088aa;
}

@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .services .section-title {
        font-size: 3em;
    }
}

.contact {
    padding: 8rem 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.info-item.intro-text {
    text-align: left;
    margin-bottom: 2rem;
}

.info-item.intro-text p {
    margin: 0;
    line-height: 1.6;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.info-content p {
    margin: 0.5rem 0 0;
    color: #666;
}

.contact-form {
    background: var(--light-background);
    padding: 3rem;
    border-radius: 15px;
}

.contact-form-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-message {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

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

.form-group label .required {
    color: #dc3545;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

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

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

.info-item i {
    font-size: 1.5rem;
    color: #0088aa;
    margin-top: 0.2rem;
}

.info-item div {
    flex: 1;
}

.info-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.info-item p {
    margin: 0.5rem 0 0;
    color: #666;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0088aa;
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form message styles */
.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Disabled button state */
.cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-grow: 1;
    justify-content: flex-end;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li,
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #d400aa;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-bottom a,
.footer-bottom a:visited,
.footer-bottom a:hover,
.footer-bottom a:active {
    color: #d400aa;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-out;
}

.modal.show {
    display: flex;
    animation: modalBackgroundFadeIn 0.3s forwards;
}

.modal-content {
    background: white;
    border-radius: 15px;
    position: relative;
    width: 90%;
    max-width: 800px;
    padding: 40px;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.3s ease-out;
}

.modal.show .modal-content {
    animation: modalContentShow 0.3s 0.1s forwards;
}

@keyframes modalBackgroundFadeIn {
    from {
        background: rgba(0, 0, 0, 0);
    }
    to {
        background: rgba(0, 0, 0, 0.5);
    }
}

@keyframes modalContentShow {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation de fermeture */
.modal.hiding {
    animation: modalBackgroundFadeOut 0.3s forwards;
}

.modal.hiding .modal-content {
    animation: modalContentHide 0.3s forwards;
}

@keyframes modalBackgroundFadeOut {
    from {
        background: rgba(0, 0, 0, 0.5);
    }
    to {
        background: rgba(0, 0, 0, 0);
    }
}

@keyframes modalContentHide {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.7);
    }
}

/* Style pour le bouton de fermeture */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-button:hover {
    color: #333;
}

/* Style pour le logo du modal */
.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header .modal-logo {
    margin: 0 auto;
    display: block;
}

.modal-header .modal-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.modal-cta {
    text-align: center;
    margin-top: 40px;
}

.modal-cta .cta-button {
    display: inline-block;
}

/* Section Démarches */
#demarches {
    background-color: #333333;
    padding: 120px 0 80px;
    color: white;
}

.demarches .section-title {
    color: white;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.demarches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.demarche-card {
    background-color: #383838;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.demarche-card:hover {
    transform: translateY(-10px);
}

.demarche-card h3 {
    margin: 1rem 0;
    color: white;
    font-size: 1.5rem;
}

.demarche-card p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.demarche-logo {
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demarche-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.demarches::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: -20%;
    left: -20%;
    animation: float 15s infinite alternate ease-in-out;
}

.demarches::after {
    content: '';
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    bottom: -10%;
    right: -10%;
    animation: float 20s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(5%, 5%) rotate(5deg);
    }
}

/* Section Maison */
.maison {
    padding: 8rem 0;
    background-color: var(--light-background);
}

.maison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.maison-text h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.maison-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.maison-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.model-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.model-header h3 {
    margin: 0;
    flex: 1;
}

.ideavox-logo {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.ideavox-logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .model-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ideavox-logo {
        margin: 0 auto;
    }
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-header .section-title {
    margin: 0;
}

.ideavox-logo {
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
}

.ideavox-logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .ideavox-logo {
        margin-top: 1rem;
    }
}

@media (max-width: 1024px) {
    .demarches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .maison-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .maison-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .demarches-grid {
        grid-template-columns: 1fr;
    }

    .demarche-card {
        padding: 2rem;
    }

    .demarche-logo {
        width: 150px;
        height: 150px;
    }
}


/* Styles des boutons CTA */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button.primary {
    background-color: #333333;
    color: var(--white);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cta-button.secondary {
    background-color: #333333;
    border: 2px solid #ffffff;
    color: var(--white);

    cursor:pointer;
}

.cta-button.secondary:hover {
    background-color: #ffffff;
    color: var(--text-color);
}

/* Bouton de retour en haut */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #d400aa;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(212, 0, 170, 0.3);
    transition: transform 0.3s ease;
    z-index: 9999;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(212, 0, 170, 0.4);
}

.scroll-top-btn.visible {
    display: flex !important;
}

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

/* Carousel styles */
.carousel {
    position: relative;
    width: 100%;
    max-width: none;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide:first-child {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.carousel-slide:first-child img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(51, 51, 51, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: rgba(51, 51, 51, 0.9);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: white;
}

/* Style commun pour les titres de section */
.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 60px;
}

/* Styles spécifiques pour les titres selon le fond */
.services .section-title,
.demarches .section-title {
    color: white;
}

.maison .section-title {
    color: #333333;
}

.services-section .section-title {
    color: white;
}

/* Media queries pour les titres */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 3em;
    }
}

/* Section Citation */
.quote-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--bg-color) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 20rem;
    opacity: 0.03;
    font-family: Georgia, serif;
    line-height: 0;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-text {
    font-size: 2.5rem;
    line-height: 1.4;
    color: var(--text-color);
    font-weight: 300;
    position: relative;
    padding: 0 2rem;
}

.quote-highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.quote-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.quote-highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Section Services */
.services-section {
    background-color: #0088aa;
    padding: 120px 0 80px;
}

.services-section .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.services-section .section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--white);
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    flex: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.service-icon i {
    font-size: 2.5rem;
    color: #0088aa;
}

.service-card h3 {
    color: #0088aa;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .services-grid {
        flex-wrap: wrap;
    }
    
    .service-card {
        min-width: 250px;
    }
}

/* Notre mission */
.notre-mission {
    padding: 8rem 0;
    background-color: var(--white);
}

.notre-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.notre-mission-text {
    max-width: 600px;
}

.notre-mission-text h2 {
    font-size: 3rem;
    font-weight: 200;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.notre-mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.notre-mission-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    background: var(--white);
}

.notre-mission-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

.notre-mission-icons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.notre-mission-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notre-mission-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.notre-mission-icon i {
    font-size: 2.5rem;
    color: #0088aa;
}

@media (max-width: 1024px) {
    .notre-mission-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .notre-mission-text {
        margin: 0 auto;
    }

    .notre-mission-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

.notre-mission .service-item {
    background-color: #007694;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.notre-mission .service-item:hover {
    transform: translateY(-10px);
}

.notre-mission .service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.notre-mission .service-icon i {
    font-size: 2rem;
    color: white;
}

.notre-mission .service-item h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notre-mission .service-item p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.services {
    padding: 120px 0 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background-color: #007694;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-item h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Soutenir */
.soutenir {
    background-color: #b11893;
    padding: 120px 0 80px;
    color: var(--text-color);
}

.soutenir .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.soutenir .section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--white);
}

.soutenir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.soutenir-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
}

.soutenir-card:hover {
    transform: translateY(-10px);
}

.soutenir-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.soutenir-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.soutenir-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .soutenir-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .soutenir {
        padding: 80px 0 60px;
    }
}

.services-section {
    background-color: #0088aa;
    padding: 120px 0 80px;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-section .section-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.services-section .section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--white);
}

.services-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: nowrap;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    flex: 1;
    max-width: 350px;
    min-width: 280px;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
}

.service-icon i {
    font-size: 2.5rem;
    color: #0088aa;
}

.service-card h3 {
    color: #0088aa;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .services-grid {
        flex-wrap: wrap;
    }
    
    .service-card {
        min-width: 250px;
    }
}

/* Section Mission */

.mission-section .section-title {
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
}

.mission-item:hover {
    transform: translateY(-10px);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0088aa;
    border-radius: 50%;
}

.mission-icon i {
    font-size: 2.5rem;
    color: white;
}

.mission-item h3 {
    color: #0088aa;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.2rem;
}

.mission-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

@media screen and (max-width: 992px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-section {
        padding: 80px 0 60px;
    }
}

@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-section {
        padding: 80px 0 60px;
    }
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 60px 0;
    }

    .contact-info,
    .contact-form {
        padding: 1rem;
    }

    .info-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        margin-bottom: 2rem;
    }

    .info-item i {
        margin: 0 auto;
        font-size: 2rem;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .info-item .info-content h3,
    .info-item .info-content p {
        text-align: center;
        margin: 0;
        width: 100%;
    }

    .info-item .info-content h3 {
        margin-bottom: 0.5rem;
    }
}

.mission-section {
    background-color: #9ac000;
    padding: 120px 0 80px;
    color: var(--white);
}


.mission-section h2,
.mission-section h3 {
    color: #9ac000;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9ac000;
    border-radius: 50%;
}

.mission-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Media Queries */
@media screen and (max-width: 1420px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .services-grid,
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-column {
        width: 100%;
        text-align: center;
    }
}

/* Styles spécifiques pour mobile */
@media screen and (max-width: 768px) {
    /* Ajustement des titres */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Hero section */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
    }

    /* Hero cards */
    .hero-cards {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .hero-card {
        width: 100%;
        margin: 0;
        padding: 1.5rem;
    }

    .hero-card-content {
        text-align: center;
    }

    /* About section */
    .about-content {
        flex-direction: column;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    /* Services et Mission */
    .services-grid,
    .mission-grid {
        gap: 1.5rem;
    }

    .service-card,
    .mission-card {
        padding: 1.5rem;
    }

    .service-icon,
    .mission-icon {
        margin-bottom: 1rem;
    }

    /* Contact section */
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

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

    /* Soutenir section */
    .soutenir .container {
        padding: 0 1rem;
    }

    .soutenir-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Notre mission */
    .mission-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-feature {
        text-align: center;
    }

    /* Boutons et CTA */
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    /* Grilles et cards */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    /* Spacing général */
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Textes */
    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Sections spacing */
section {
    min-height: calc(100vh - 4rem);
    padding: 8rem 0 6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section#ensemble {
    min-height: auto;
    padding: 6rem 0;
}

@media screen and (max-width: 1420px) {
    section {
        scroll-margin-top: 64px; /* 4rem pour correspondre à la hauteur du header mobile */
    }
}

@media screen and (min-width: 1421px) {
    section {
        scroll-margin-top: 100px;
    }
}

main {
    width: 100%;
    overflow-x: hidden;
}

@media screen and (max-width: 1420px) {
    main {
        padding-top: 4rem; /* Hauteur du header fixe */
    }

    section {
        scroll-margin-top: 64px;
        padding-top: 4rem;
    }

    .section-title {
        margin-top: 1rem;
    }
}

@media screen and (min-width: 1421px) {
    section {
        scroll-margin-top: 100px;
        padding-top: 6rem;
    }
}

.mission-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.soutenir-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .maison {
        padding: 8rem 1rem;
    }

    .maison-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .maison-text {
        padding: 0 1rem;
    }

    .carousel-container {
        width: 100%;
        overflow: hidden;
    }
    
    .carousel-slide img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-box {
        width: 100%;
        margin: 0;
    }

    .maison-content {
        gap: 2rem;
    }
}

.animated-word {
    display: inline-block;
    clip-path: inset(0 0 0 0);
    min-width: 200px;
}
