:root {
    --cyan: #00AEEF;
    --navy: #204866;
    --slate: #4F6782;
    --pink: #E2007A;
    --light-bg: #f8f9fa;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #444;
    line-height: 1.7;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 50px 0;
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--navy);
    text-align: left;
}

section h2 {
    margin-bottom: 11px;
}

a {
    color: inherit;
    text-decoration: none;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-left {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--navy);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-left-short {
    display: none;
}

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

.nav-center a {
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-center a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.nav-center a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-nav {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--navy);
    transition: fill 0.3s ease;
}

.social-icons a:hover svg {
    fill: var(--cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-social {
    display: none;
}

.hero {
    background: linear-gradient(135deg, rgba(32, 72, 102, 0.82) 0%, rgba(26, 80, 104, 0.75) 50%, rgba(26, 96, 128, 0.7) 100%), url('img/bulle-panorama.jpg');
    background-size: cover;
    background-position: center 40%;
    color: white;
    padding: 80px 0 0 0;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.hero-content {
    padding-bottom: 60px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero-bio {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--pink);
    border: 2px solid var(--pink);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    border-color: white;
    color: white;
}

.hero-portrait {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-portrait img {
    display: block;
    max-height: 580px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.35));
}

#pourquoi {
    background: white;
}

.section-content {
    margin-top: 0;
}

.intro-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    max-width: 100%;
}

#priorites {
    background: var(--light-bg);
}

.accordion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.25rem;
}

.accordion-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--cyan);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1rem;
}

.accordion-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    flex: 1;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-weight: 300;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding-top: 0.5rem;
}

.accordion-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.bio-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bio-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.bio-portrait {
    overflow: hidden;
}

.bio-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

#events-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
}

.testimonial {
    border: 1px solid var(--border);
    padding: 2rem;
    background: white;
}

.testimonial svg,
.testimonial-icon {
    display: block;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.event {
    border: 1px solid var(--border);
    border-top: 2px solid var(--cyan);
    padding: 1.5rem;
    background: white;
}

.event-date {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-location {
    color: var(--slate);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.event-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    padding: 1.5rem;
    color: inherit;
    background: white;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.news-card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.footer-section {
    background: var(--navy);
    color: white;
    padding: 50px 0 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.2rem;
}

.footer-section h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-section h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-email {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1.5rem;
}

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

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: white;
    transition: fill 0.3s ease;
}

.footer-social a:hover svg {
    fill: var(--cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 40px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.empty-message {
    text-align: center;
    color: var(--slate);
    font-style: italic;
    padding: 2rem 0;
}

.slider-wrapper {
    position: relative;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-track > * {
    min-width: 340px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--navy);
    font-size: 1.2rem;
}

.slider-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.hidden {
    display: none !important;
}

.bg-light {
    background: var(--light-bg);
}

.mt-1 {
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.testimonial-name {
    font-weight: 600;
    color: var(--navy);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--slate);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.news-date {
    color: var(--slate);
}

.news-platform {
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.news-read-more {
    color: var(--pink);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.event-title {
    font-size: 1.05rem;
    color: var(--navy);
    margin: 0.5rem 0 0.75rem;
}

@media (max-width: 1024px) {
    .nav-center {
        gap: 1.5rem;
    }
    .accordion-wrapper {
        grid-template-columns: 1fr;
    }
    .bio-section {
        grid-template-columns: 1fr;
    }
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-portrait img {
        max-height: 400px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    #events-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-left-full {
        display: none;
    }
    .nav-left-short {
        display: inline;
    }
    .nav-center {
        display: none !important;
    }
    .nav-center.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1.5rem 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0.75rem;
        z-index: 999;
    }
    .nav-center.mobile-open a {
        color: var(--navy);
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    .mobile-social {
        display: flex;
        gap: 1.2rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(32, 72, 102, 0.1);
        margin-top: 0.5rem;
    }
    .mobile-social svg {
        width: 22px;
        height: 22px;
        fill: var(--navy);
    }
    .social-icons {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    section {
        padding: 30px 0;
    }
    .container {
        padding: 0 20px;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero {
        padding: 100px 0 0 0;
        background-position: center center;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        padding-bottom: 2rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .hero-bio {
        text-align: center;
    }
    .hero-portrait img {
        max-height: 320px;
    }
    .accordion-wrapper {
        grid-template-columns: 1fr;
    }
    .bio-section {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    #events-container {
        grid-template-columns: 1fr;
    }
    .slider-track > * {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }
}
