@media (max-width: 768px) {

    .header {
        flex-direction: column;
        padding: 15px;
    }

    .header nav {
        margin-top: 10px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }

}

/* =====================================================
   RESPONSIVE - TABLET & MOBILE
===================================================== */

@media (max-width: 1100px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 32px, var(--max-width));
    }

    /* HEADER */
    .header-container {
        position: relative;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: var(--shadow);
        display: none;
        padding: 20px 0;
        z-index: 1000;
    }

    .navbar.active {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 24px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .language-switch {
        margin-left: 16px;
        font-size: 0.85rem;
    }

    /* HERO */
    #hero {
        padding: 70px 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 45px;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
    }

    /* WHY */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .why-column p {
        text-align: left;
    }

    .why-column {
    margin-bottom: 35px;
}

    .logo-long {
        max-width: 300px;
    }

    /* SPLIT SECTIONS */
    .split-section {
        flex-direction: column;
        gap: 35px;
    }

    .split-image,
    .split-text {
        width: 100%;
        flex: none;
    }

    .split-text h2 {
        font-size: 2.4rem;
    }

    .split-text p {
        font-size: 1rem;
        line-height: 1.75;
    
    }

    /* DISCOVER */
    .discover-grid {
        grid-template-columns: 1fr;
        row-gap: 55px;
        justify-content: center;
    }

    .discover-item {
        grid-template-columns: 280px 220px;
        justify-content: center;
    }

    .discover-item img {
        width: 280px;
        height: 280px;
    }

    /* FEEDBACK */
    .feedback-content {
        grid-template-columns: 1fr;
        row-gap: 55px;
        justify-content: center;
    }

    .feedback-text {
        max-width: 100%;
    }

    .feedback-qr {
        justify-self: center;
    }

    /* SUPPORT */
    .support-content {
        flex-direction: column;
        gap: 45px;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 520px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }

    /* HERO */
    .hero-text h1 {
        font-size: 2.15rem;
    line-height: 1.08;
    }

    .hero-tag {
        font-size: 0.7rem;
    }

    .hero-text p {
    font-size: 1rem;
    line-height: 1.75;
}

    /* TITLES */
    .section-title h2,
    .split-text h2,
    .feedback-title h2,
    .support-text h2 {
        font-size: 2.1rem;
    }

    /* DISCOVER */
    .discover-item {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .discover-item img {
        width: 100%;
        height: auto;
    }

    .discover-text {
        width: 100%;
    }

    #discover {
    padding-bottom: 70px;
}

.discover-button {
    margin-top: 50px;
}

    /* FEEDBACK */
    .feedback-title {
        align-items: flex-start;
    }

    .speech-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .qr-box img {
        width: 230px;
    }

    .qr-inner,
    .feedback-qr {
        width: 260px;
    }

    .scan-me {
        font-size: 1.5rem;
    }

.support-text h2 {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    #support {
        padding: 75px 0;
    }

    /* FOOTER */
    .site-footer {
    padding-top: 0;
}

.footer-content {
    padding: 55px 0 35px;
    gap: 32px;
}

.footer-column h3 {
    margin-bottom: 12px;
}

.footer-brand {
    gap: 14px;
}

    .footer-newsletter form {
        flex-direction: column;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

#why {
        padding: 75px 0;
    }

    #why .section-title h2 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .why-column h3 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .why-column p {
        font-size: 1rem;
        line-height: 1.75;
        text-align: left;
    }

    .mobile-only {
        display: block;
    }

    #why .section-title h2 {
        font-size: 1.95rem;
        line-height: 1.18;
    }

    @media (max-width: 900px) {

    .page-hero {
        padding: 85px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.7rem;
    }

    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .page-section {
        padding: 75px 0;
    }

    .narrow-content h2 {
        font-size: 2.1rem;
    }

}

/* =====================================================
   PROJETS - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .project-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .project-card {
        width: 100%;
    }

    .project-highlight {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 520px) {

    .project-card {
        padding: 34px 28px;
    }

    .project-card h3 {
        font-size: 1.45rem;
    }

    .project-highlight-text h2 {
        font-size: 2.1rem;
    }

    .project-highlight-box {
        padding: 34px 28px;
    }

}

/* =====================================================
   NOUVELLES - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .news-feature {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

}

@media (max-width: 520px) {

    .news-feature-image {
        min-height: 260px;
    }

    .news-feature-content h2 {
        font-size: 2.1rem;
    }

    .news-card-content {
        padding: 28px 26px 32px;
    }

    .news-card-content h3 {
        font-size: 1.4rem;
    }

}

/* =====================================================
   INTERNAL PAGES - MOBILE OVERFLOW FIX
===================================================== */

@media (max-width: 520px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .page-hero,
    .page-section,
    .soft-bg {
        width: 100%;
        overflow-x: hidden;
    }

    .page-hero-content,
    .narrow-content,
    .center-content {
        width: 100%;
        max-width: 100%;
    }

    .page-hero p,
    .center-content p,
    .narrow-content p,
    .section-title p {
        max-width: 100%;
        width: 100%;
    }

    .page-hero h1 {
        font-size: 2.25rem;
        line-height: 1.15;
    }

    .page-hero p {
        font-size: 1rem;
        line-height: 1.75;
    }

}

@media (max-width: 520px) {

    .news-feature,
    .news-grid,
    .news-card,
    .news-feature-image,
    .news-feature-content {
        width: 100%;
        max-width: 100%;
    }

}

/* =====================================================
   STRONG MOBILE FIX - INTERNAL PAGES
===================================================== */

@media (max-width: 520px) {

    * {
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .page-hero-content,
    .narrow-content,
    .center-content,
    .section-title {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-hero h1,
    .page-section h2,
    .section-title h2,
    .narrow-content h2,
    .news-feature-content h2 {
        max-width: 100%;
        font-size: 2rem;
        line-height: 1.18;
        overflow-wrap: break-word;
    }

    .page-hero p,
    .page-section p,
    .section-title p,
    .narrow-content p,
    .center-content p,
    .news-feature-content p {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.75;
        overflow-wrap: break-word;
    }

    .news-feature,
    .news-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr !important;
    }

    .news-feature-image,
    .news-feature-content,
    .news-card {
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================================
   NOUVELLES - MOBILE FIX
===================================================== */

@media (max-width: 520px) {

    body {
        overflow-x: hidden;
    }

    .page-hero,
    .page-section {
        overflow-x: hidden;
    }

    .page-hero .container,
    .page-section .container {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .narrow-content,
    .center-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .narrow-content h2,
    .center-content h2,
    .section-title h2 {
        font-size: 1.65rem !important;
        line-height: 1.2 !important;
        max-width: 100% !important;
        text-align: center;
    }

    .narrow-content p,
    .center-content p,
    .section-title p {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .news-feature,
    .news-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-feature-image,
    .news-feature-content,
    .news-card,
    .news-card-image,
    .news-card-content {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =====================================================
   NOUVELLES - MOBILE FINAL FIX
===================================================== */

@media (max-width: 520px) {

    .page-nouvelles .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 22px !important;
        padding-right: 22px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-nouvelles .page-hero-content,
    .page-nouvelles .narrow-content,
    .page-nouvelles .center-content,
    .page-nouvelles .section-title {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-nouvelles h1,
    .page-nouvelles h2,
    .page-nouvelles h3,
    .page-nouvelles p {
        max-width: 100% !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .page-nouvelles .narrow-content h2,
    .page-nouvelles .center-content h2,
    .page-nouvelles .section-title h2 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    .page-nouvelles .narrow-content p,
    .page-nouvelles .center-content p,
    .page-nouvelles .section-title p {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center;
    }

    .page-nouvelles .news-feature,
    .page-nouvelles .news-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-nouvelles .news-feature-image,
    .page-nouvelles .news-feature-content,
    .page-nouvelles .news-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =====================================================
   NOUVELLES - MOBILE TEXT WIDTH FIX
===================================================== */

@media (max-width: 520px) {

    .page-nouvelles main,
    .page-nouvelles section,
    .page-nouvelles .container,
    .page-nouvelles .page-hero-content,
    .page-nouvelles .narrow-content,
    .page-nouvelles .center-content,
    .page-nouvelles .section-title,
    .page-nouvelles .news-feature,
    .page-nouvelles .news-feature-content,
    .page-nouvelles .news-grid,
    .page-nouvelles .news-card,
    .page-nouvelles .news-card-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .page-nouvelles .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .page-nouvelles h1,
    .page-nouvelles h2,
    .page-nouvelles h3,
    .page-nouvelles p {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }

    .page-nouvelles .narrow-content p,
    .page-nouvelles .center-content p {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .page-nouvelles .narrow-content h2,
    .page-nouvelles .center-content h2 {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
    }

}

/* =====================================================
   FINAL MOBILE HEADER + FOOTER FIX
===================================================== */

@media (max-width: 520px) {

    /* Header */
    .site-header,
    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .language-switch {
        flex-shrink: 0;
    }

    .menu-toggle {
        flex-shrink: 0;
        margin-right: 12px;
    }

    /* Footer */
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 55px 24px 35px !important;
        gap: 32px !important;
        box-sizing: border-box;
    }

    .footer-brand,
    .footer-column,
    .footer-newsletter {
        width: 100%;
        max-width: 100%;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .footer-newsletter form {
        flex-direction: column;
        width: 100%;
    }

    .footer-newsletter input,
    .footer-newsletter button {
        width: 100%;
    }

    .footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 520px) {

    .footer-newsletter input {
        width: 100%;
    }

    .footer-newsletter button {
        width: auto;
        min-width: 170px;
        align-self: flex-start;
        padding: 14px 28px;
    }

}

/* =====================================================
   ÊTRE INSPIRÉ - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .inspiration-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .inspiration-feature {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 520px) {

    .inspiration-card {
        padding: 34px 28px;
    }

    .inspiration-card h3 {
        font-size: 1.45rem;
    }

    .inspiration-feature-text h2 {
        font-size: 2.1rem;
    }

    .inspiration-feature-box {
        min-height: 260px;
    }

}

/* =====================================================
   LE LIEU - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .place-feature,
    .place-video-section {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .place-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .place-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 520px) {

    .place-feature-text h2,
    .place-video-text h2 {
        font-size: 2.1rem;
    }

    .place-card {
        padding: 34px 28px;
    }

    .place-card h3 {
        font-size: 1.45rem;
    }

    .place-gallery {
        grid-template-columns: 1fr;
    }

    .video-placeholder {
        min-height: 260px;
    }

}

/* =====================================================
   SERVICES - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .services-approach {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 520px) {

    .service-card {
        padding: 34px 28px;
    }

    .service-card h3 {
        font-size: 1.45rem;
    }

    .services-approach-text h2 {
        font-size: 2.1rem;
    }

    .services-approach-box {
        padding: 34px 28px;
    }

}

/* =====================================================
   CONTACT - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .contact-grid,
    .contact-location {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 520px) {

    .contact-info h2,
    .contact-location-text h2 {
        font-size: 2.1rem;
    }

    .contact-form-card {
        padding: 34px 28px;
    }

    .contact-form-card h2 {
        font-size: 1.9rem;
    }

    .contact-info-item {
        gap: 14px;
    }

    .map-placeholder {
        min-height: 260px;
    }

}

/* =====================================================
   NOUS SOUTENIR - RESPONSIVE FIX
===================================================== */

@media (max-width: 1100px) {

    .support-options-grid,
    .support-trust {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .support-donation {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}

@media (max-width: 520px) {

    .support-option-card,
    .support-trust-card {
        padding: 34px 28px;
    }

    .support-option-card h3,
    .support-trust-card h3 {
        font-size: 1.45rem;
    }

    .support-donation-text h2 {
        font-size: 2.1rem;
    }

    .support-donation-box {
        padding: 34px 28px;
    }

}

/* =====================================================
   MOBILE MENU - FINAL FIX
===================================================== */

@media (max-width: 1100px) {

    .header-container {
        position: relative;
    }

    #menu-toggle {
        position: relative;
        z-index: 10001;
        cursor: pointer;
        pointer-events: auto;
        touch-action: manipulation;
    }

    #navbar {
        display: none;
    }

    #navbar.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 22px;
        right: 22px;
        z-index: 10000;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 22px;
    }

    #navbar.active ul {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #navbar.active a {
        display: block;
        padding: 10px 0;
    }

}

/* =====================================================
   MOBILE MENU - INDEPENDENT PHONE FIX
===================================================== */

@media (max-width: 1100px) {

    .site-header .container,
    .header-container {
        position: relative;
    }

    #menu-toggle,
    .menu-toggle {
        position: relative;
        z-index: 10001;
        cursor: pointer;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    #navbar,
    .nav-menu {
        display: none !important;
    }

    #navbar.active,
    #navbar.is-open,
    .nav-menu.active,
    .nav-menu.is-open {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 22px;
        right: 22px;
        z-index: 10000;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 22px;
    }

    #navbar.active ul,
    #navbar.is-open ul,
    .nav-menu.active ul,
    .nav-menu.is-open ul {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #navbar.active a,
    #navbar.is-open a,
    .nav-menu.active a,
    .nav-menu.is-open a {
        display: block;
        padding: 10px 0;
    }

}

/* =====================================================
   ABOUT PAGE V2 RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .about-intro-grid,
    .about-history-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-approach-grid,
    .about-team-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 700px) {

    .about-intro-text h1 {
        font-size: 2.7rem;
    }

    .about-history-text h2 {
        font-size: 2.3rem;
    }

    .about-history-images,
    .about-approach-grid,
    .about-team-grid,
    .about-small-team-grid,
    .about-board-grid {
        grid-template-columns: 1fr;
    }

    .about-board-grid {
        gap: 20px;
    }

    .about-quote-overlay p {
        font-size: 1.55rem;
    }

}