/* =====================================================================
   Teral Travel — navigation commune (décembre 2026)
   EMPLACEMENT : public_html/assets/teral-nav.css
   Barre des espaces, en-tête et pied de page (inc/navigation.php), classes .tn-*.
   Les règles sont isolées : elles ne touchent pas le contenu des pages.
   ===================================================================== */
@font-face{font-family:"Inter";src:url(/assets/fonts/inter.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Montserrat";src:url(/assets/fonts/montserrat.woff2) format("woff2");font-weight:100 900;font-display:swap}

/* Remise à zéro dans les trois blocs, pour neutraliser les anciens styles des pages */
.tn-evite,.tn-espaces,.tn-espaces *,.tn-entete,.tn-entete *,.tn-pied,.tn-pied *{box-sizing:border-box;margin:0;padding:0;border:0;background:none;box-shadow:none;float:none;list-style:none;text-transform:none;letter-spacing:normal;text-decoration:none;text-align:left;text-shadow:none;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-style:normal;font-size:inherit;font-weight:inherit;line-height:1.5;color:inherit;min-width:0;max-width:none;width:auto;height:auto;opacity:1;transform:none;filter:none;border-radius:0}
.tn-espaces a:hover,.tn-entete a:hover,.tn-pied a:hover{text-decoration:none}
.tn-espaces a:focus-visible,.tn-entete a:focus-visible,.tn-entete button:focus-visible,.tn-pied a:focus-visible{outline:3px solid #C9982C;outline-offset:2px}
.tn-espaces .tn-wrap,.tn-entete .tn-wrap,.tn-pied .tn-wrap{display:block;max-width:1240px;margin:0 auto;padding:0 24px;position:relative}

/* Lien d'évitement */
a.tn-evite{position:absolute;left:-999px;top:8px;z-index:1000;background:#fff;color:#111;padding:8px 14px;font-size:15px}
a.tn-evite:focus{left:8px}
#apres-entete{display:block;height:0;scroll-margin-top:90px}

/* Barre des espaces */
div.tn-espaces{display:block;position:relative;z-index:31;background:#fff;border-bottom:1px solid #EEEEEE;color:#333;font-size:14px}
.tn-espaces .tn-wrap{display:flex;flex-wrap:wrap;gap:0 24px;align-items:stretch;justify-content:space-between}
.tn-espaces nav.tn-esp{display:flex;flex-direction:row;flex-wrap:nowrap;position:static;background:none;padding:0}
.tn-espaces .tn-esp a{display:flex;align-items:center;gap:8px;padding:10px 2px;margin-right:26px;color:#333;font-weight:600;border-bottom:2px solid transparent;white-space:nowrap}
.tn-espaces .tn-esp a[aria-current]{color:#111;font-weight:700;border-bottom-color:#C9982C}
.tn-espaces .tn-esp a:hover,.tn-espaces .tn-liens a:hover{color:#8A6508}
.tn-espaces .tn-liens{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;padding:8px 0}
.tn-espaces .tn-liens a{color:#333}
.tn-espaces .tn-liens b{color:#111;font-weight:700}

/* En-tête */
header.tn-entete{display:block;position:-webkit-sticky;position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 1px 0 #E8E8E8;color:#111;font-size:14.2px}
.tn-entete .tn-wrap{min-height:80px;display:flex;align-items:center;gap:12px 28px}
.tn-entete a.tn-logo{display:flex;flex-direction:column;line-height:1;flex:0 0 auto}
.tn-entete .tn-logo b{display:block;font:800 23px/1 Montserrat,Arial,sans-serif;font-family:Montserrat,Arial,sans-serif!important;color:#0B2545;letter-spacing:-.02em}
.tn-entete .tn-logo span{display:block;font-size:9px;line-height:1;font-weight:700;letter-spacing:.16em;color:#8A6508;margin-top:6px;white-space:nowrap}
.tn-entete .tn-zone{display:block;position:static}
.tn-entete ul.tn-nav{display:flex;flex-direction:row;align-items:center;gap:4px 22px;font-size:14.2px;font-weight:600;position:static}
.tn-entete li.tn-li{display:block;position:relative}
.tn-entete .tn-bt{display:block;padding:28px 0;color:#111;font-size:14.2px;font-weight:600;line-height:1.5;white-space:nowrap;cursor:pointer;background:none;border:0;-webkit-appearance:none;appearance:none}
.tn-entete .tn-bt span{font-size:11px;color:#555}
.tn-entete .tn-bt:hover{color:#8A6508}
.tn-entete .tn-on>.tn-bt{color:#0B2545;box-shadow:inset 0 -2px 0 #C9982C}
.tn-entete .tn-sous{display:none;position:absolute;left:-18px;top:100%;z-index:40;min-width:270px;background:#fff;border-radius:12px;box-shadow:0 0 0 1px #E8E8E8,0 16px 34px rgba(0,0,0,.08);padding:10px 0}
.tn-entete li.tn-li:hover>.tn-sous,.tn-entete li.tn-li:focus-within>.tn-sous,.tn-entete li.tn-ouvert>.tn-sous{display:block}
.tn-entete .tn-sous a{display:block;padding:9px 18px;color:#111;font-size:14.5px;font-weight:500;white-space:nowrap}
.tn-entete .tn-sous a:hover{background:#FAF7EE;color:#8A6508}
.tn-entete a.tn-cta,.tn-entete a.tn-cta-m{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:999px;background:#C9982C;color:#1E1E1E;font-size:14.5px;font-weight:700;line-height:1.2;white-space:nowrap}
.tn-entete a.tn-cta{margin-left:auto}
.tn-entete a.tn-cta:hover,.tn-entete a.tn-cta-m:hover{background:#B8871F;color:#1E1E1E}
.tn-entete a.tn-cta-m,.tn-entete .tn-esp-m{display:none}
.tn-entete button.tn-menu{display:none;margin-left:12px;padding:9px 16px;border:1.5px solid #111;border-radius:999px;background:#fff;color:#111;font-size:14px;font-weight:700;line-height:1.2;cursor:pointer;-webkit-appearance:none;appearance:none}

/* Pied de page */
footer.tn-pied{display:block;position:static;background:#fff;border-top:1px solid #E8E8E8;color:#222;font-size:16px;line-height:1.6;padding:0;margin:0}
.tn-pied .tn-wrap{padding-top:64px;padding-bottom:28px}
.tn-pied .tn-cols{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:32px}
.tn-pied .tn-marque{display:flex;flex-direction:column;gap:12px}
.tn-pied .tn-marque b{display:block;font:800 22px/1 Montserrat,Arial,sans-serif;font-family:Montserrat,Arial,sans-serif!important;color:#0B2545;letter-spacing:-.02em}
.tn-pied .tn-marque span{display:block;font-size:9.5px;line-height:1;font-weight:700;letter-spacing:.16em;color:#8A6508}
.tn-pied p{display:block;color:#222;font-size:15.5px;line-height:1.6}
.tn-pied p.tn-h{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#0B2545;margin-bottom:14px}
.tn-pied ul{display:flex;flex-direction:column;gap:8px}
.tn-pied li{display:block;font-size:15.5px;line-height:1.45;margin:0}
.tn-pied a{color:#222}
.tn-pied a:hover{color:#8A6508}
.tn-pied p.tn-identite{max-width:860px;margin:40px auto 0;text-align:center;font-size:13.5px;color:#444}
.tn-pied .tn-identite b{font-weight:700;color:#0B2545}
.tn-pied .tn-bas{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;border-top:1px solid #E8E8E8;margin-top:44px;padding-top:22px;font-size:14px;color:#333}

/* Anciennes pages : barre d'ancres collante sous le nouvel en-tête */
.v3-anchors{top:80px!important}

@media (max-width:1240px){
  .tn-entete ul.tn-nav{gap:4px 16px}
  .tn-entete .tn-bt{font-size:13.6px}
}
@media (max-width:1140px){
  .tn-entete .tn-zone{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 1px 0 #E8E8E8,0 18px 30px rgba(0,0,0,.08);padding:8px 24px 22px;max-height:calc(100vh - 80px);overflow:auto}
  .tn-entete.tn-ouvert .tn-zone{display:block}
  .tn-entete ul.tn-nav{flex-direction:column;align-items:stretch;gap:0}
  .tn-entete .tn-bt{width:100%;padding:14px 0;font-size:16.5px;text-align:left;border-bottom:1px solid #E8E8E8}
  .tn-entete .tn-on>.tn-bt{box-shadow:none}
  .tn-entete .tn-sous{position:static;display:none;box-shadow:none;border-radius:0;padding:0 0 8px 14px;min-width:0}
  .tn-entete li.tn-li:hover>.tn-sous{display:none}
  .tn-entete li.tn-li:focus-within>.tn-sous{display:none}
  .tn-entete li.tn-li.tn-ouvert>.tn-sous{display:block}
  .tn-entete .tn-sous a{padding:10px 0;font-size:16px;white-space:normal}
  .tn-entete .tn-sous a:hover{background:none}
  .tn-entete button.tn-menu{display:inline-flex}
  .tn-entete a.tn-cta-m{display:flex;margin-top:18px}
  .tn-entete .tn-esp-m{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:16px;font-size:15px}
  .tn-entete .tn-esp-m a{color:#333;text-decoration:underline}
  .tn-pied .tn-cols{grid-template-columns:repeat(3,1fr)}
  .tn-pied .tn-marque{grid-column:1/-1}
}
@media (max-width:820px){
  .tn-entete .tn-wrap{min-height:68px}
  .tn-entete a.tn-cta{display:none}
  .tn-entete button.tn-menu{margin-left:auto}
  .tn-entete .tn-logo b{font-size:21px}
  .tn-espaces .tn-liens{display:none}
  .tn-espaces .tn-esp a{margin-right:20px}
  .tn-pied .tn-wrap{padding-top:48px}
  .tn-pied .tn-cols{grid-template-columns:1fr 1fr;gap:28px 20px}
  .v3-anchors{top:68px!important}
}
@media (max-width:480px){
  .tn-espaces .tn-esp a{margin-right:14px;font-size:13.5px}
  .tn-pied .tn-cols{grid-template-columns:1fr}
}
