/* =========================================================
         Les Canalous + Bootstrap
         ---------------------------------------------------------
         Bootstrap gère : conteneurs, grilles, flex, espacements,
         boutons et responsive courant.
         CSS maison limité à l'identité Canalous et aux composants
         vraiment spécifiques : header, méga-menu, menu mobile,
         hero, footer.
      ========================================================= */
@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-v31-latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-v31-latin-600.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-v31-latin-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-v31-latin-800.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

:root {
    --lc-blue: #1f5b91;
    --lc-blue-dark: #154b7a;
    --lc-orange: #f45038;
    --lc-text: #2d2d2d;
    --lc-muted: #687985;
    --lc-border: #d8e1e8;
    --lc-light-bg: #f3f7f9;

    --bs-primary: var(--lc-blue);
    --bs-primary-rgb: 21, 75, 122;
    --bs-link-color-rgb: 21, 75, 122;
    --bs-secondary: var(--lc-blue-dark);
    --bs-body-font-family: Montserrat, Arial, Helvetica, sans-serif;
    --bs-body-color: var(--lc-text);
    --bs-link-color: var(--lc-blue-dark);
    --bs-link-hover-color: var(--lc-blue);
}

body { background: #fff; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

h2 {
    color: #123f68;
    font-size: clamp(31px, 3.5vw, 48px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

p {
    color: var(--lc-muted);
    font-size: 18px;
    line-height: 1.58;
}

.btn {
    --bs-btn-border-radius: 999px;
    --bs-btn-font-weight: 800;
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .7rem;
}

.btn-primary {
    --bs-btn-bg: var(--lc-orange);
    --bs-btn-border-color: var(--lc-orange);
    --bs-btn-hover-bg: #dd432e;
    --bs-btn-hover-border-color: #dd432e;
    --bs-btn-active-bg: #c83a28;
    --bs-btn-active-border-color: #c83a28;
}

.btn-outline-primary {
    --bs-btn-color: var(--lc-blue-dark);
    --bs-btn-border-color: #bdd0dc;
    --bs-btn-hover-bg: var(--lc-blue-dark);
    --bs-btn-hover-border-color: var(--lc-blue-dark);
}

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--lc-blue-dark);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .04em;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--lc-blue);
}

.site-header .container-fluid { max-width: 1738px; }
.site-header__inner {
    min-height: 88px;
    gap: clamp(16px, 1.6vw, 30px) !important;
}
.site-header a {
    text-decoration: none;
}

.header-actions {
    margin-left: auto;
}
.site-logo__img { width: clamp(240px, 22vw, 396px); display: block; }

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.main-menu {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: space-evenly;
    gap: 0 !important;
}

.main-menu > li {
    position: relative;
    min-width: max-content;
}

.main-menu > li.menu-item-has-megamenu { position: static; }

.main-menu > li > a {
    min-height: 88px;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-menu > li > a:hover,
.header-phone:hover,
.header-mobile-phone:hover,
.header-account:hover { color: #fff; opacity: .92; }

.menu-item-has-megamenu > a::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transform: translateY(1px);
}

.reserve-link { position: relative; }
.reserve-badge {
    position: absolute;
    top: 13px;
    right: -8px;
    min-width: 42px;
    height: 20px;
    padding: 0 6px;
    background: var(--lc-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

.header-phone,
.header-mobile-phone {
    border: 2px solid rgba(255,255,255,.82);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.header-phone {
    min-height: 66px;
    padding: 0 18px 0 16px;
    font-size: clamp(15px, 1.05vw, 18px);
}

.header-mobile-phone {
    min-height: 46px;
    margin-left: auto;
    padding: 0 14px;
    font-size: .86rem;
}

.header-mobile-reserve {
    min-height: 42px;
    padding-inline: 18px;
    border-radius: 0;
    font-size: .82rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-phone__icon { width: 25px; height: 25px; display: block; }
.header-account {
    color: #fff;
    line-height: 1;
}
.header-account svg { width: 25px; height: 25px; display: block; }

.menu-toggle {
    margin-left: 10px;
    width: 42px;
    height: 42px;
    border: 0;
    color: #fff;
    background: transparent;
    position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    content: "";
}

.menu-toggle span { top: 20px; }
.menu-toggle span::before { top: -8px; left: 0; right: 0; }
.menu-toggle span::after { top: 8px; left: 0; right: 0; }

/* Méga-menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    width: 1000px;
    max-width: calc(100vw - 104px);
    padding: 29px 29px 33px;
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 8px 8px 0 rgba(0,0,0,.18);
    color: var(--lc-text);
}

.menu-item-has-megamenu:hover .mega-menu,
.menu-item-has-megamenu:focus-within .mega-menu { display: block; }

.mega-menu__title {
    margin: 0 0 7px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--lc-border);
    color: var(--lc-blue-dark);
    font-size: 17px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
}

.mega-menu ul { list-style: none; padding: 0; margin: 0; }
.mega-menu li a {
    display: block;
    color: #2c2c2c;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.35;
    padding: .28em 0;
}

.mega-menu li a:hover { color: var(--lc-blue-dark); }

.mega-menu__banner {
    min-height: 96px;
    border-radius: 4px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.08)), url("https://cdn.lescanalous.com/uploads/2025/05/bretagne2024-scaled.webp") center/cover no-repeat;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
}

/* Menu mobile */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.32);
}

.mobile-nav.is-open { display: block; }
.mobile-panel {
    width: min(312px, calc(100vw - 10px));
    height: 100vh;
    background: #efefef;
    overflow: auto;
    border-right: 1px solid #c9d0d6;
}

.mobile-panel__head {
    height: 80px;
    background: var(--lc-blue);
    padding: 8px 14px 0 22px;
}

.mobile-panel__logo-img {
    width: 232px;
    max-width: calc(100vw - 100px);
}

.mobile-panel__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.72);
    color: #fff;
    background: transparent;
    font-size: 0;
    position: relative;
}

.mobile-panel__close::before,
.mobile-panel__close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.mobile-panel__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-panel__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-panel__nav-title {
    margin: 0 0 20px;
    padding: 16px 18px 0;
}

.mobile-panel__nav-title button,
.mobile-panel li a,
.mobile-panel__main-link,
.mobile-panel__phone {
    color: var(--lc-blue-dark);
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.mobile-panel__nav-title button {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-panel__nav-title button::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .2s ease;
}

.mobile-nav.destinations-open .mobile-panel__nav-title button::after { transform: rotate(180deg); }
.mobile-panel__body { display: none; padding: 16px 18px 28px; }
.mobile-nav.destinations-open .mobile-panel__body { display: block; }
.mobile-panel__main-links { padding: 16px 18px 28px; }

.mobile-panel li a,
.mobile-panel__main-link,
.mobile-panel__phone { display: block; padding: .28em 0; }

.mobile-panel__main-link { margin-bottom: 20px; }
.mobile-panel__phone span { font-weight: 400; text-transform: none; }
.mobile-panel__title {
    margin: 0 0 8px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--lc-border);
    color: var(--lc-blue-dark);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-reserve-badge {
    min-width: 26px;
    height: 13px;
    margin-left: 4px;
    padding: 0 3px;
    background: var(--lc-orange);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 13px;
    vertical-align: middle;
}

.mobile-panel__cta {
    margin: 20px 10px;
    min-height: 52px;
    border-radius: 4px;
    background: var(--lc-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Heroes */
.hero-light {
    padding: 54px 0 42px;
    background: #fff;
    border-bottom: 1px solid #e2e8ed;
}

.hero-light__inner,
.page-content__inner { max-width: 980px; }
.hero-light__breadcrumb { color: #6a7b86; font-size: .88rem; font-weight: 600; }
.hero-light h1 {
    color: #123f68;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.hero-light__intro {
    max-width: 780px;
    color: #5f707a;
    font-size: clamp(18px, 1.45vw, 22px);
    line-height: 1.55;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-cover {
    position: relative;
    min-height: clamp(320px, 42vw, 560px);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #123f68;
}

.hero-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,35,64,.42), rgba(0,35,64,.16));
    z-index: 1;
}

.hero-cover__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-cover__inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 70px 0;
}

.hero-cover h1 {
    color: #fff;
    font-size: clamp(42px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.04em;
}

.hero-cover__intro {
    max-width: 720px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* Contenu */
.site-main--soft {
    background: var(--lc-light-bg);
    padding: 56px 0 72px;
}

.page-content { padding: 54px 0 72px; }
.page-panel {
    background: #fff;
    border: 1px solid rgba(0,70,118,.08);
    border-radius: 28px;
    box-shadow: 0 16px 38px rgba(0,35,64,.08);
    overflow: hidden;
    padding: 52px 58px 62px;
}

/* page itinéraire */
.base-card-img {
    min-height: 230px;
    background: center / cover no-repeat;
}


.reassurance-item {
    min-height: 88px;
    border-color: rgba(0, 70, 118, .12) !important;
    box-shadow: 0 6px 18px rgba(0, 35, 64, .04);
}

.reassurance-item__icon {
    width: 42px;
    height: 42px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.reassurance-item__icon--license,
.reassurance-item__icon--family,
.reassurance-item__icon--help {
    filter: brightness(0) saturate(100%) invert(18%) sepia(75%) saturate(2114%) hue-rotate(188deg) brightness(95%) contrast(102%);
}

.reassurance-item__icon--family {
    background-image: url("https://www.lescanalous.com/assets/icons/anchor.svg");
}

.reassurance-item__icon--help {
    background-image: url("https://www.lescanalous.com/assets/icons/bottleHelp.svg");
}

.reassurance-item__icon--fleet {
    background-image: url("https://www.lescanalous.com/assets/icons/france.svg");
}

.reassurance-item__icon--floa {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='10' y='18' width='44' height='28' rx='4' fill='none' stroke='%23004676' stroke-width='3'/%3E%3Cpath d='M10 26h44' fill='none' stroke='%23004676' stroke-width='2' opacity='0.55'/%3E%3Ctext x='32' y='42' text-anchor='middle' font-family='Arial, Helvetica, sans-serif' font-size='20' font-weight='700' fill='%23004676'%3E4x%3C/text%3E%3C/svg%3E");
}

.reassurance-item__icon--license {
    background-image: url("https://www.lescanalous.com/assets/icons/ship-wheel.svg");
}

/* Footer */
.site-footer { background: #fff; color: #333; border-top: 1px solid #ddd; }
.site-footer a {
    text-decoration: none;
}
.footer-advisor { border-top: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; }
.footer-advisor__inner { min-height: 98px; }
.footer-phone { color: var(--lc-blue-dark); font-weight: 800; line-height: 1.12; text-transform: uppercase; }
.footer-phone:hover { color: var(--lc-blue-dark); }
.footer-phone__icon {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(49%) sepia(98%) saturate(2771%) hue-rotate(340deg) brightness(100%) contrast(92%);
}

.footer-phone strong { color: var(--lc-orange); font-weight: 800; }
.footer-faq,
.footer-social,
.footer-title { color: var(--lc-blue-dark); font-weight: 800; }
.footer-faq,
.footer-social { text-transform: uppercase; }
.footer-social-link {
    width: 37px;
    height: 37px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--lc-blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.footer-social-link svg { width: 15px; height: 15px; fill: currentColor; }
.footer-social-link--x { font-size: 14px; font-weight: 500; line-height: 1; text-transform: none; }
.footer-trust { border-top: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; }
.footer-trust__inner { min-height: 150px; }
.footer-trust__item span {
    color: var(--lc-blue-dark);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}

.footer-trust__item img { width: auto; height: 35px; }
.footer-title { font-size: 18px; line-height: 1.25; text-transform: none; }
.footer-nav a { display: block; color: gray; font-weight: 600; font-size: .9rem; padding: .25em 0; }
.footer-nav a:hover,
.footer-bottom a:hover { color: var(--lc-blue-dark); }
.footer-bottom { border-top: 1px solid #ddd; color: #555; font-size: 14px; }

/* Actions rapides mobile */
.mobile-quick-actions {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 8px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid #ddd;
    gap: 8px;
}

.mobile-quick-actions a {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 800;
    background: var(--lc-blue);
    color: #fff;
}

.mobile-quick-actions a:last-child { background: var(--lc-orange); }

/* Responsive spécifique */
@media (max-width: 1385px) {
    .site-header__inner { min-height: 74px; gap: 16px !important; }
    .main-menu { gap: 0 !important; }
    .site-logo__img { width: clamp(170px, 15vw, 240px); }
    .main-menu > li > a {
        min-height: 74px;
        font-size: .82rem;
        letter-spacing: -.01em;
    }
    .header-account svg { width: 22px; height: 22px; }
    .header-phone { min-height: 48px; padding-inline: 12px; font-size: .78rem; }
    .header-phone__icon { width: 20px; height: 20px; }
    .reserve-badge { top: 12px; right: -6px; min-width: 32px; height: 16px; font-size: 9px; line-height: 16px; }
    .mega-menu { top: 74px; }
}

@media (max-width: 1280px) {
    .site-header__inner { gap: 12px !important; }
    .main-menu { gap: 0 !important; }
    .site-logo__img { width: clamp(150px, 14vw, 190px); }
    .main-menu > li > a { font-size: .78rem; }
    .header-phone { padding-inline: 10px; font-size: .74rem; }
    .header-account svg { width: 20px; height: 20px; }
}

@media (max-width: 1160px) {
    .site-header__inner { gap: 10px !important; }
    .main-menu { gap: 0 !important; }
    .site-logo__img { width: 165px; }
    .main-menu > li > a {
        font-size: .74rem;
        letter-spacing: -.015em;
    }
    .header-phone { min-height: 44px; padding-inline: 8px; font-size: .7rem; }
}

@media (max-width: 1024px) {
    .site-header__inner {
        min-height: 60px;
        justify-content: space-between;
    }

    .site-logo {
        margin-right: auto;
    }

    .header-mobile-reserve,
    .header-mobile-phone,
    .menu-toggle {
        flex-shrink: 0;
    }
    .site-logo__img { width: 230px; }
    .site-nav,
    .header-account,
    .header-phone { display: none !important; }
    .menu-toggle { display: block !important; }
    .mobile-quick-actions { display: flex; }
    .site-footer { padding-bottom: 64px; }
}

@media (max-width: 760px) {
    .header-mobile-reserve { display: none !important; }
    .header-mobile-phone { min-height: 42px; padding-inline: 10px; font-size: .78rem; }
    .header-mobile-phone .header-phone__icon { width: 18px; height: 18px; }
    .footer-advisor__inner,
    .footer-trust__inner { min-height: auto; }
    .footer-social { white-space: normal; }
}

@media (max-width: 560px) {
    .mobile-panel { width: min(312px, calc(100vw - 10px)); }
    .mobile-panel__logo-img { width: min(232px, calc(100vw - 100px)); }
    .page-panel { padding: 26px 20px 34px; border-radius: 18px; }
    .site-main--soft { padding: 28px 0 48px; }
}