/* Reseau Tour — feuille de style des sites publics (mobile d'abord). La couleur --accent vient du site. */
@font-face { font-family: "Inter"; src: url("/fonts/site/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/site/bricolage-latin.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --ink: #0F2E44; --ink-2: #2D4252; --muted: #5A6B78; --line: #E6E1D6; --sand: #F7F1E6; --mist: #F2F6F8;
  --night: #0B2536; --sun: #F2B33D; --link: #1F5F78; --accent: #C8402F;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px; --wrap: 1280px; --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Barre reseau */
.netbar { background: #F4F1EA; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.netbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 34px; }
.netbar__label { display: none; }
.netbar__site { display: inline-flex; align-items: center; gap: 6px; color: #3E5160; text-decoration: none; }
.netbar__site--current { color: var(--ink); font-weight: 600; }
.netbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.netbar__langs { margin-left: auto; display: inline-flex; gap: 6px; }
.flag { display: inline-flex; padding: 4px; border-radius: 4px; opacity: .7; }
.flag.is-current { opacity: 1; box-shadow: 0 0 0 1.5px var(--ink); }

/* En-tete */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 22px/1 var(--display); }
.burger { margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 100px); overflow: auto; }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.nav__btn, .nav__link { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 4px; border: 0; background: none; font: 500 16px var(--text); color: var(--ink); text-decoration: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.nav__btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
.nav__btn[aria-expanded="true"] { color: var(--accent); }
.nav__btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.mega { padding: 8px 0 16px; }
.mega .wrap { padding-inline: 4px; }
.mega__grid { display: grid; gap: 16px; }
.mega__title { margin: 8px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 7px 0; color: var(--ink); text-decoration: none; }
.mega li a:hover { color: var(--accent); }
.mega__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.mega__tiles a { background: var(--mist); border-radius: 10px; padding: 12px 14px !important; font-weight: 500; }
.mini { display: flex; gap: 10px; align-items: center; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.35; }
.mini img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }

/* Hero */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.hero--img { min-height: 380px; display: flex; align-items: flex-end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,54,.92), rgba(11,37,54,.35) 60%, rgba(11,37,54,.1)); }
.hero__in { position: relative; z-index: 1; padding-block: 40px 32px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(32px, 6vw, 64px); margin: 10px 0 12px; max-width: 900px; }
.hero__lead { margin: 0; max-width: 720px; font-size: 18px; color: #E2EAF0; }
.hero--home { background: linear-gradient(135deg, var(--night), #16374C); }
.hero--home .hero__in { padding-block: 64px 48px; }
.badge { display: inline-block; background: var(--sun); color: var(--ink); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 4px; }
.tags, .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); font-size: 14px; }
.chips a { display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 8px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .7; }
.crumbs a { color: #D5E0E8; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Sous-navigation de ville */
.subnav { position: sticky; top: 64px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { flex: none; padding: 14px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; border-bottom: 3px solid transparent; }
.subnav a[aria-current="page"], .subnav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Mise en page et texte */
.layout { display: grid; gap: 32px; padding-block: 40px 56px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); min-width: 0; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose > :first-child { margin-top: 0; }
.facts, .booking, .sidenav { background: var(--sand); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.facts h2, .booking__title, .sidenav__title { font: 700 19px var(--display); margin: 0 0 10px; color: var(--ink); }
.facts dl, .booking dl { margin: 0; }
.facts dl > div, .booking dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd, .booking dd { margin: 0; font-weight: 600; text-align: right; }
.booking { background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(15,46,68,.08); }
.booking__note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav a { display: block; padding: 8px 0; text-decoration: none; color: var(--ink); }
.sidenav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; margin-top: 12px; }
.btn:hover { color: #fff; filter: brightness(.95); }
.routes { display: grid; gap: 16px; }
.route { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 12px; }
.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { padding: 10px 14px 10px 40px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231E7A54' stroke-width='2.6'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") 14px center no-repeat; border-radius: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 8px; }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; }

/* Formulaire de contact */
.contact { margin-top: 2em; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact h2 { margin-top: 0; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 6px; }
.form label { font-weight: 600; font-size: 15px; color: var(--ink); }
.form input[type=text], .form input[type=email], .form textarea { font: 400 16px var(--text); color: var(--ink); padding: 12px 14px; min-height: 48px; border: 1px solid #C9C2B3; border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--link); outline: 3px solid rgba(31,95,120,.2); }
.form [aria-invalid="true"] { border-color: #B42318; }
.form__error { margin: 0; font-size: 14px; color: #B42318; }
.form__row--check { grid-template-columns: 24px 1fr; align-items: start; }
.form__row--check input { width: 20px; height: 20px; margin-top: 3px; }
.form__row--check label { font-weight: 400; }
.form__row--check .form__error { grid-column: 2; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; border: 0; cursor: pointer; font: 600 16px var(--text); }
.notice { padding: 14px 16px; border-radius: 10px; margin: 0 0 16px; }
.notice--ok { background: #E7F5EC; color: #14532D; }
.notice--error { background: #FDECEA; color: #8A1C12; }

/* Cartes */
.section { padding-block: 40px; }
.section__title { font-size: clamp(26px, 4vw, 36px); margin: 0 0 20px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 30px rgba(15,46,68,.12); transform: translateY(-2px); color: var(--ink); }
.card__media { aspect-ratio: 3 / 2; background: linear-gradient(135deg, #9CC3D1, #CFE0D8); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }
.card__title { font: 600 19px/1.25 var(--display); }
.card__text { font-size: 14px; color: var(--muted); }

/* Reseau Tour */
.network { background: var(--night); color: #fff; }
.network__in { display: grid; gap: 24px; padding-block: 48px; }
.network__kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.network__text { margin: 8px 0 0; font: 700 24px/1.25 var(--display); }
.network__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.network__list a { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.network__list strong { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--link); }

/* Pied de page */
.footer { background: #071A27; color: #C9D6DF; font-size: 14px; }
.footer a { color: #C9D6DF; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 28px; padding-block: 48px 24px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__brand { font: 700 22px var(--display); color: #fff; margin: 0 0 8px; }
.footer__title { color: #fff; font-weight: 600; margin: 0 0 10px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 18px 28px; border-top: 1px solid #1E3A4F; font-size: 13px; }
.error { padding-block: 80px; text-align: center; }

/* Tablette et plus */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .netbar__label { display: inline; }
  .network__in { grid-template-columns: 1fr 2fr; align-items: center; }
  .network__list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .routes { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* Ordinateur : navigation horizontale et mega menus deroulants */
@media (min-width: 1024px) {
  .header__in { min-height: 76px; gap: 28px; }
  .burger { display: none; }
  .nav { display: block; position: static; border: 0; max-height: none; overflow: visible; }
  .nav__list { display: flex; gap: 4px; padding: 0; }
  .nav__btn, .nav__link { width: auto; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; gap: 8px; font-size: 15px; }
  .nav__btn[aria-expanded="true"] { background: #FBEDEA; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(15,46,68,.18); padding: 28px 0 32px; }
  .mega .wrap { padding-inline: var(--gutter); }
  .mega__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
  .mega__grid--cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega__col--wide { grid-column: 1 / -1; }
  .subnav { top: 76px; }
  .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
  .layout__side { position: sticky; top: 140px; }
  .hero--img { min-height: 480px; }
}
