/* ============================================================
   SITE.CSS - Charte graphique commune Gardez la pêche
   Chargé après le bloc <style> de chaque page : il harmonise
   et modernise l'apparence sans toucher aux contenus.
   ============================================================ */

/* Police Figtree (licence libre SIL OFL), hébergée sur le site : aucun appel externe */
@font-face {
    font-family: "Figtree";
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url("/fonts/figtree-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Figtree";
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
    src: url("/fonts/figtree-latin-italic.woff2") format("woff2");
}

:root {
    --primary-color: #2C5F7C;
    --primary-dark: #1F4559;
    --primary-soft: #E9F1F6;
    --secondary-color: #E8994E;
    --secondary-dark: #D2823A;
    --secondary-soft: #FDF1E6;
    --accent-color: #4A9D8F;
    --accent-soft: #E4F3F0;
    --text-dark: #1F2A37;
    --text-light: #5C6B7A;
    --bg-light: #F3F7FA;
    --white: #FFFFFF;
    --line: #E1E8EF;
    --footer-top: #1B3948;
    --footer-bottom: #10232D;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(31, 42, 55, 0.05), 0 2px 8px rgba(31, 42, 55, 0.05);
    --shadow: 0 10px 30px -12px rgba(44, 95, 124, 0.28), 0 2px 6px rgba(31, 42, 55, 0.05);
    --shadow-lg: 0 24px 50px -20px rgba(44, 95, 124, 0.4);

    --font: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --nav-h: 76px;
    --content-max: 1200px;
    --gutter: 1.5rem;
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[id] {
    scroll-margin-top: calc(var(--nav-h) + 1rem);
}

h1, h2, h3, h4 {
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 700;
    text-wrap: balance;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary-color);
    text-underline-offset: 0.15em;
}

::selection {
    background: var(--secondary-color);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

summary::marker {
    color: var(--secondary-color);
}

/* ---------- Navigation ---------- */
nav {
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(31, 42, 55, 0.25);
}

.nav-container {
    max-width: 1280px;
    padding: 0.65rem var(--gutter);
    min-height: var(--nav-h);
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 46px;
    width: 46px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--primary-soft);
}

.logo span {
    white-space: nowrap;
}

.nav-links {
    gap: 0.2rem;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    line-height: 1.2;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: var(--primary-soft);
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.55rem;
    line-height: 1;
    opacity: 0.7;
}

.dropdown-menu {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 0.4rem;
}

.dropdown-menu a {
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.93rem;
}

.dropdown-menu a:hover {
    padding-left: 1.1rem;
    background: var(--primary-soft);
}

.hamburger {
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: var(--primary-soft);
}

.menu-overlay {
    background: rgba(16, 35, 45, 0.5);
}

@media (min-width: 1025px) and (max-width: 1500px) {
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.45rem 0.6rem;
    }

    .nav-links .nav-cta a {
        padding: 0.5rem 0.9rem;
    }
}

@media (min-width: 1025px) and (max-width: 1240px) {
    .nav-links a {
        font-size: 0.86rem;
        padding: 0.4rem 0.45rem;
    }

    .logo span {
        display: none;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        width: min(86vw, 360px);
        max-width: none;
        padding: calc(var(--nav-h) + 0.5rem) 1rem 2rem;
        gap: 0.15rem;
        align-items: stretch;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
    }

    .nav-links li {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: none;
        text-align: left;
    }

    .dropdown-menu a {
        white-space: normal;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        font-size: 1.05rem;
        padding: 0.9rem 1rem;
        border-radius: var(--radius-sm);
        white-space: normal;
    }

    .nav-links .dropdown-toggle {
        justify-content: space-between;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: var(--bg-light);
        border-radius: var(--radius-sm);
        padding: 0;
        margin: 0.2rem 0 0.4rem;
    }

    .dropdown.active .dropdown-menu {
        padding: 0.35rem 0;
    }

    .dropdown-menu a {
        font-size: 0.98rem;
        padding: 0.7rem 1rem 0.7rem 1.5rem;
        border-radius: 0;
    }

    .dropdown-menu a:hover {
        padding-left: 1.5rem;
    }
}

/* ---------- Bandeaux d'en-tête ---------- */
.hero,
.hero-about,
.hero-contact,
.page-header {
    margin-top: var(--nav-h);
    padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
    text-align: center;
    color: var(--white);
}

.hero h1,
.hero-about h1,
.hero-contact h1,
.page-header h1 {
    font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 58rem;
    margin: 0 auto 1.25rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.hero p,
.hero-about p,
.hero-contact p,
.page-header p {
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    line-height: 1.7;
    max-width: 48rem;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.hero > p:last-child,
.hero-about > p:last-child,
.hero-contact > p:last-child,
.page-header > p:last-child {
    margin-bottom: 0;
}

.hero-stats {
    gap: 1rem;
    margin: 2.5rem auto;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    min-width: 150px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-stat strong {
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    line-height: 1.1;
}

.partner-logo {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- Boutons ---------- */
.btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.7rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.cta-button {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 8px 20px -8px rgba(232, 153, 78, 0.7);
}

.btn-primary:hover,
.cta-button:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(232, 153, 78, 0.75);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.96);
    color: var(--primary-color);
    border-color: rgba(44, 95, 124, 0.22);
    box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.35);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-buttons {
    gap: 0.75rem 1rem;
}

.cta-section .cta-buttons {
    margin-top: 1.75rem;
}

.links-grid a,
.social-btn,
.social-links a {
    border-radius: var(--radius-pill);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.back-button:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ---------- Sections et titres ---------- */
main > section {
    max-width: none;
    margin: 0;
    padding: clamp(3.5rem, 7vw, 5.5rem) max(var(--gutter), calc((100% - var(--content-max)) / 2));
}

main > section.hero {
    padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
}

.section-title {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    letter-spacing: -0.03em;
    color: var(--primary-color);
    text-align: center;
    max-width: 50rem;
    margin: 0 auto 1rem;
}

.section-title::after,
.contact-info-section h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.section-subtitle {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    color: var(--text-light);
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2.5rem;
}

.contact-info-section h2,
.social-section h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
    letter-spacing: -0.03em;
    color: var(--primary-color);
    text-align: center;
}

.content-block h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
    letter-spacing: -0.03em;
    color: var(--primary-color);
    display: inline-block;
    padding-bottom: 0.35rem;
    border-bottom: 3px solid var(--secondary-color);
    margin-bottom: 1.5rem;
}

.content-block h3,
.histoire-text h3 {
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.about-content h2 {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
    letter-spacing: -0.03em;
    color: var(--primary-color);
}

.article-container .article-title {
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.article-date {
    display: inline-block;
    background: var(--secondary-soft);
    color: var(--secondary-dark);
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
}

.article-body h2 {
    font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem);
}

.article-body h3 {
    font-size: 1.3rem;
}

/* ---------- Cartes ---------- */
.mission-card,
.value-card,
.benefit-card,
.contact-card,
.stat-card,
.partner-card,
.info-card,
.article-card,
.impact-stats .stat-item {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.mission-card:hover,
.value-card:hover,
.benefit-card:hover,
.contact-card:hover,
.stat-card:hover,
.partner-card:hover,
.article-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(44, 95, 124, 0.35);
}

.info-card,
.stat-card {
    border-top: 4px solid var(--secondary-color);
}

.mission-card h3,
.value-card h3,
.benefit-card h3,
.aide-card h3,
.contact-card h3 {
    font-size: 1.25rem;
}

.aide-card,
.contact-item,
.team-signature {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
}

.contact-item {
    padding: 1.5rem;
}

.faq-item h4 {
    font-size: 1.05rem;
}

.contact-icon {
    background: var(--primary-color);
}

.contact-box,
.info-card .contact-box {
    border-radius: var(--radius-sm);
}

.sidebar {
    top: calc(var(--nav-h) + 1.5rem);
}

/* ---------- Témoignages ---------- */
.testimonial,
.quote-block {
    background: var(--white);
    border: 2px solid var(--line);
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.page-main .testimonial {
    border-left: 2px solid var(--line);
    box-shadow: none;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.testimonial-text,
.quote-block p {
    font-size: 1.15rem;
}

/* ---------- Blocs d'appel à l'action ---------- */
.cta-section,
.cta-box,
.info-box,
.signature {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 28px;
    box-shadow: none;
}

.cta-section::before,
.cta-box::before,
.info-box::before,
.signature::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -45%;
    right: -12%;
    width: 55%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: none;
    pointer-events: none;
}

.cta-section h2,
.cta-box h3,
.info-box h3 {
    color: var(--secondary-color);
    letter-spacing: -0.03em;
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
}

/* ---------- Tableaux ---------- */
.info-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
}

.info-table th {
    background: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.info-table th,
.info-table td {
    border-bottom: 1px solid var(--line);
}

.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tbody tr:nth-child(even) td {
    background: rgba(243, 247, 250, 0.6);
}

.info-table tbody tr:hover td {
    background: var(--primary-soft);
}

.info-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
}

/* ---------- Images et médias ---------- */
.histoire-image,
.contact-image,
.featured-image,
.gallery-item,
.photo-box,
.video-inline,
.video-responsive,
.article-image {
    border-radius: var(--radius);
}

.gallery-item,
.photo-box {
    border: 2px solid var(--line);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover,
.photo-box:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.article-card .article-image {
    border-radius: 0;
}

.photo-jerome {
    border-radius: var(--radius);
}

.gallery-caption {
    font-size: 0.92rem;
    background: var(--white);
    border-top: 1px solid var(--line);
}

/* ---------- Chiffres ---------- */
.stat-number {
    font-size: clamp(2.25rem, 2rem + 1.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--primary-color);
}

.trust-badge strong {
    color: var(--primary-color);
    font-size: 1.6rem;
}

/* ---------- Pied de page ---------- */
footer {
    background:
        linear-gradient(90deg, var(--secondary-color), var(--accent-color)) top / 100% 4px no-repeat,
        linear-gradient(180deg, var(--footer-top), var(--footer-bottom));
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem;
    margin-top: 0;
    text-align: center;
    font-size: 0.95rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-content {
    display: grid;
    max-width: var(--content-max);
    margin: 0 auto 2.5rem;
    text-align: left;
    gap: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: var(--content-max);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

footer .social-section h4 {
    color: var(--white);
}

footer .social-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

footer .social-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Bouton Faire un don dans le menu ---------- */
.nav-links .nav-cta {
    margin-left: 0.35rem;
}

.nav-links .nav-cta a {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    box-shadow: 0 6px 16px -8px rgba(232, 153, 78, 0.8);
}

.nav-links .nav-cta a:hover {
    background: var(--secondary-dark);
    color: var(--white);
}

/* ---------- Sous-menu Notre engagement en trois thèmes ---------- */
.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
}

.dropdown-menu-groups {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem 1.5rem;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 1.1rem 1.25rem 1rem;
}

.dropdown-group {
    display: block;
    padding: 0;
}

.dropdown-group > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-group-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    padding: 0.3rem 0.9rem 0.45rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.35rem;
}

/* ---------- Texte d'introduction sous le bandeau ---------- */
.hero-lead {
    position: relative;
    z-index: 2;
    width: min(56rem, calc(100% - 2 * var(--gutter)));
    margin: -2.75rem auto 0;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px -24px rgba(44, 95, 124, 0.35);
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.75rem);
}

.hero-lead p {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0;
}

.hero-lead p + p {
    margin-top: 1rem;
}

.hero,
.hero-about,
.hero-contact,
.page-header {
    padding-bottom: clamp(5rem, 9vw, 7rem);
}

/* ---------- Icônes dessinées ---------- */
.ico {
    --ico-bg: transparent;
    --ico-fg: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5em;
    height: 1.5em;
    border-radius: 0;
    background: var(--ico-bg);
    vertical-align: middle;
    margin-right: 0.45em;
}

.ico::before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--ico-fg);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

.value-card h3 .ico,
.mission-card h3 .ico,
.aide-card h3 .ico,
.benefit-card h3 .ico,
.contact-item h4 .ico {
    display: flex;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0;
    margin: 0 0 0.9rem;
    font-size: 1rem;
}

.value-card h3 .ico::before,
.mission-card h3 .ico::before,
.aide-card h3 .ico::before,
.benefit-card h3 .ico::before,
.contact-item h4 .ico::before {
    width: 100%;
    height: 100%;
}

.contact-item h4 .ico {
    margin: 0 auto 0.75rem;
}

li .ico {
    width: 1.3em;
    height: 1.3em;
    margin-right: 0.45em;
    vertical-align: -0.3em;
}

.info-box .ico {
    --ico-fg: var(--secondary-color);
}

.ico-x {
    --ico-fg: #C53B2B;
}

.ico-heart {
    --ico-fg: var(--secondary-dark);
}

.ico-check,
.ico-shield {
    --ico-fg: var(--accent-color);
}

.ico-glasses { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.5' cy='15' r='3.5'/%3E%3Ccircle cx='17.5' cy='15' r='3.5'/%3E%3Cpath d='M10 15h4M3 15l2-7h2M21 15l-2-7h-2'/%3E%3C/svg%3E"); }
.ico-smartphone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.ico-pencil { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3l5 5L8 21H3v-5L16 3z'/%3E%3Cpath d='M14 5l5 5'/%3E%3C/svg%3E"); }
.ico-ball { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7l4 3-1.5 4.5h-5L8 10l4-3zM12 3v4M3.5 10l4.5 0M20.5 10l-4.5 0M7 20l2.5-5.5M17 20l-2.5-5.5'/%3E%3C/svg%3E"); }
.ico-euro { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6.5A7 7 0 1 0 18 17.5M4 10h9M4 14h9'/%3E%3C/svg%3E"); }
.ico-box { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l9-4 9 4v10l-9 4-9-4V7z'/%3E%3Cpath d='M3 7l9 4 9-4M12 11v10'/%3E%3C/svg%3E"); }
.ico-handshake { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8l3-2h4l3 2M22 8l-3-2h-4l-3 2'/%3E%3Cpath d='M12 8l-4 3.5a1.6 1.6 0 0 0 2.2 2.3L12 12l4 3.5a1.6 1.6 0 0 1-2.2 2.3L12 16'/%3E%3Cpath d='M5 6v8l5 4a1.6 1.6 0 0 0 2-2.5M19 6v8l-3 2.5'/%3E%3C/svg%3E"); }
.ico-megaphone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l8 5V5L6 10H3z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6M7 14l1 6'/%3E%3C/svg%3E"); }
.ico-phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ico-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.5 7-12a7 7 0 1 0-14 0c0 5.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.ico-building { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M8 7h2M14 7h2M8 11h2M14 11h2M8 15h2M14 15h2M10 21v-3h4v3'/%3E%3C/svg%3E"); }
.ico-home { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h5v-6h4v6h5V10'/%3E%3C/svg%3E"); }
.ico-suitcase { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='18' height='13' rx='2'/%3E%3Cpath d='M8 7V4h8v3M8 20V7M16 20V7'/%3E%3C/svg%3E"); }
.ico-calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ico-heart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7.5-4.6-9.5-9A5 5 0 0 1 12 6a5 5 0 0 1 9.5 6c-2 4.4-9.5 9-9.5 9z'/%3E%3C/svg%3E"); }
.ico-x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E"); }
.ico-shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6l8-3z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ico-waves { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8c2-2 4-2 6 0s4 2 6 0 4-2 6 0M2 13c2-2 4-2 6 0s4 2 6 0 4-2 6 0M2 18c2-2 4-2 6 0s4 2 6 0 4-2 6 0'/%3E%3C/svg%3E"); }
.ico-search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-4.3-4.3'/%3E%3C/svg%3E"); }
.ico-target { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.ico-zap { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/%3E%3C/svg%3E"); }
.ico-plane { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2L11 13'/%3E%3Cpath d='M22 2L15 22l-4-9-9-4 20-7z'/%3E%3C/svg%3E"); }
.ico-message { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 21l1.9-5.4A8 8 0 1 1 21 12z'/%3E%3C/svg%3E"); }
.ico-check { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E"); }

/* Puces de listes : poisson, ancre, coche */
.content-block li::before {
    content: "";
    width: 1.1em;
    height: 1.1em;
    top: 0.35em;
    background: var(--accent-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12c-3-4-6-6-10-6S4 9 3 12c1 3 4 6 8 6s7-2 10-6z'/%3E%3Cpath d='M3 12L1 8v8l2-4'/%3E%3Ccircle cx='16' cy='11' r='0.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12c-3-4-6-6-10-6S4 9 3 12c1 3 4 6 8 6s7-2 10-6z'/%3E%3Cpath d='M3 12L1 8v8l2-4'/%3E%3Ccircle cx='16' cy='11' r='0.8' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-block li:has(> .ico)::before,
.content-block li:has(> strong > .ico)::before {
    display: none;
}

li:has(> .ico),
li:has(> strong > .ico) {
    list-style: none;
}

.info-card li::before {
    content: "";
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.3em;
    background: var(--secondary-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V22M5 13H2a10 10 0 0 0 20 0h-3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V22M5 13H2a10 10 0 0 0 20 0h-3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.aide-card li::before {
    content: "";
    width: 1em;
    height: 1em;
    top: 0.85em;
    background: var(--accent-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Grands numéros d'étapes ---------- */
.etape-numero {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.etape-numero + h3 .ico {
    display: none;
}

.social-section {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
}

/* ---------- Pied de page unique ---------- */
.footer-content {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem 2rem;
    align-items: start;
}

.footer-section h3 {
    margin-top: 0;
}

.footer-about p {
    margin: 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.footer-logo:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-about p {
    max-width: 30rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
}

.footer-section p {
    margin: 0 0 0.45rem;
}

.footer-signature {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}

.footer-credit {
    margin-top: 0.75rem;
    font-size: 0.88rem;
}

/* ---------- Pagination des actualités ---------- */
nav.pagination {
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    z-index: auto;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: var(--content-max);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.pagination-info {
    color: var(--text-light);
    font-size: 0.95rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.pagination .pagination-spacer {
    flex: 1;
}

/* ---------- Galerie photo ---------- */
.galerie-filtres {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2rem;
}

.galerie-filtre {
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--line);
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.galerie-filtre:hover {
    border-color: var(--primary-color);
}

.galerie-filtre.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.galerie-compteur {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.galerie-grid {
    columns: 4 240px;
    column-gap: 1rem;
}

.galerie-item {
    display: block;
    break-inside: avoid;
    margin: 0 0 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--line);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.galerie-item[hidden] {
    display: none;
}

.galerie-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.galerie-item:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 95, 124, 0.35);
}

.galerie-item:hover img {
    transform: scale(1.04);
}

.galerie-item:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(12, 28, 38, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-figure {
    margin: 0;
    max-width: min(96vw, 1400px);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.lightbox-image {
    max-width: 96vw;
    max-height: calc(100vh - 7rem);
    width: auto;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    text-align: center;
}

.lightbox-counter {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary-color);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 600px) {
    .galerie-grid {
        columns: 2 150px;
        column-gap: 0.6rem;
    }

    .galerie-item {
        margin-bottom: 0.6rem;
        border-radius: var(--radius-sm);
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .lightbox-image {
        max-height: calc(100vh - 9rem);
    }
}

/* ---------- Apparition en douceur au défilement ---------- */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-ready [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Tablettes et mobiles : menu replié ---------- */
@media (max-width: 1024px) {
    .nav-links .nav-cta {
        margin: 1rem 0 0;
    }

    .nav-links .nav-cta a {
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 1.05rem;
    }

    .dropdown-menu-groups {
        display: block;
        min-width: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
    }

    .dropdown.active .dropdown-menu-groups {
        max-height: 1400px;
        padding: 0.35rem 0;
        overflow-y: auto;
    }

    .dropdown-group {
        border-bottom: none;
    }

    .dropdown-group-title {
        padding: 0.75rem 1rem 0.35rem;
        border-bottom: none;
        margin: 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
    :root {
        --nav-h: 68px;
        --gutter: 1.25rem;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonial,
    .quote-block {
        padding: 1.5rem;
    }

    .cta-section,
    .cta-box,
    .info-box {
        padding: 2rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
