/* RESET */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* BODY = pousse le footer en bas */
body{
  font-family: 'Roboto', Arial, sans-serif;
  background: #EDEFF2;
  color:#111;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

/* HEADER FIXE */
.tm-header{
  position:fixed;
  top:0; left:0; right:0;
  height:80px;
  background:#222;
  color:#fff;
  z-index:1000;
  transition: box-shadow 0.25s ease, background 0.25s ease;
  }
  
.tm-header-inner{
  max-width:1200px;              /* ✅ largeur validée */
  margin:0 auto;
  height:100%;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.tm-header.is-scrolled{
  box-shadow: 0 5px 14px rgba(0,0,0,0.35);
}

/* LOGO */
.tm-logo img{
  height:50px;          /* max 60px */
  width:auto;
  display:block;
}

.tm-logo img{
  transition:opacity 0.2s ease;
}
.tm-logo img:hover{
  opacity:0.85;
}

/* NAV (desktop) */
.tm-nav{
  position: relative;
  display:flex;
  align-items:center;
}

.tm-menu{
  list-style:none;
  display:flex;
  gap:28px; /* ⬅️ avant 16px → plus aéré */
  margin:0;
  padding:0;
}

.tm-menu a{
  position:relative;
  color:#d1d5db;
  text-decoration:none;
  font-size:15px;
  padding:6px 0;
  transition:color 0.2s ease;
}

/* soulignement animé */
.tm-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:#FFC300; /* gris clair, cohérent avec le bandeau */
  transition:width 0.25s ease;
}

.tm-menu a:hover{
  color:#FFE08A;
}

.tm-menu a:hover::after{
  width:100%;
}

/* BURGER (caché desktop) */
.tm-burger{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:28px;
  cursor:pointer;
  padding:8px 10px;
  line-height:1;
}

/* PAGE */
.tm-page{
  flex:1;
  padding-top:80px;
  display:flex;
  flex-direction:column;
}

/* BANDEAU */
/* BANDEAU PAGE */
.tm-top-band{
  height:135px;
  background: linear-gradient(135deg,#FFC300 0%,#FFE08A 100%);
  display:flex;
  align-items:center;
}

.tm-top-band-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
  color:#fff;
  text-align:center;
}

.tm-top-band-inner h1{
  margin:0;
  font-size:30px;
  font-weight:700;
  color:#111;
}

.tm-top-band-inner p{
  margin:6px 0 0;
  font-size:20px;
  opacity:0.9;
  color:#111;
}

/* LAYOUT */
.tm-layout{
  flex:1;
  width:100%;
  max-width:1200px;              /* ✅ largeur validée */
  margin:0 auto 64px;
  padding:0 16px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:40px;
  align-items:start;
}

.tm-breadcrumb-row{
  width:100%;
  max-width:1200px;
  margin:20px auto 20px; /* ↑ ICI : espace avec le bandeau */
  padding:0 16px;
  display:flex;
  justify-content:flex-start;
}

.tm-breadcrumb{
  font-size:16px;
  font-weight:500;
  color:#444;
  margin-left:20px; /* ← ajuste ici : 6 / 8 / 10 px */
}

.tm-breadcrumb a{
  color:#222;
  text-decoration:none;
}

.tm-breadcrumb span{
  margin:0 6px;
}

/* CONTENU */
.tm-content{
  display:flex;
  flex-direction:column;
  gap:40px;
}

/* SIDEBAR */
.tm-sidebar{
  display:flex;
  flex-direction:column;
  gap:40px;
  position:sticky;
  top:104px; /* 80 header + marge */
}

/* CARDS */
.tm-card{
  background:#fff;
  padding:24px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* =========================
   VARIANTES DE BLOCS
   ========================= */

/* Bloc INFO (par défaut, léger) */
.tm-card-info h2,
.tm-card-faq h2{
  margin-top:0;
  margin-bottom:24px;
  font-size:25px;
  color: #111 !important;
}

.tm-card-info p{
  margin:0;
  line-height:1.7;
  font-size:16px;
  color: #333 !important;
}

/* Bloc LISTE */
.tm-card-list h2{
  margin:0 0 12px;
  margin-bottom:24px;
  font-size:22px;
}

.tm-card-list ul{
  margin:0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.tm-card-list li{
  line-height:1.5;
  color:#374151;
}

.tm-card-list li a{
  color:#374151;
  text-decoration:none;
}

.tm-card-list li a:hover{
  text-decoration:underline;
  color:#000;
}

.tm-card-list h3{
  margin:0 0 12px;
  margin-bottom:24px;
  font-size:20px;
}

/* Bloc CTA */
.tm-card-cta{
  background:linear-gradient(135deg,#111827,#1f2933);
  color:#fff;
}

.tm-card strong{
  display:block;
  margin-bottom:8px; /* ajuste : 6px, 8px ou 10px */
}

.tm-card-cta h2{
  margin:0 0 10px;
  font-size:20px;
}

.tm-card-cta p{
  margin:0 0 16px;
  opacity:0.9;
}

.tm-card-cta a,
.tm-card-cta button{
  align-self:flex-start;
  background:#FFE08A;
  color:#111;
  padding:10px 16px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:16px;
}

.tm-card-cta a:hover,
.tm-card-cta button:hover{
  opacity:0.9;
}

.tm-texte-ville p {
  margin-bottom: 1.5em;
}

.tm-taxi-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tm-taxi-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:6px 10px;
  border-radius:16px;

  background:#f3f3f3;
  color:#222;
  font-size:14px;
  text-decoration:none;
  border:1px solid #e0e0e0;

  transition:background .15s ease, border-color .15s ease;
}

.tm-taxi-badge:hover{
  background:#FDD022;
  border-color:#FDD022;
  color:#111;
}

/* FOOTER */
.tm-footer{
  background:#222;
  color:#fff;
  padding:32px 16px;
}

.tm-footer-inner{
  max-width:1140px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}

.tm-footer-col{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
}

.tm-footer-col p{
  color:#d1d5db;
  line-height:24px; /* ajuste : 22px / 24px / 26px */
}

.tm-footer-col strong{
  font-size:15px;
  color:#FFE08A;
  margin-bottom:6px; /* ajuste ici : 6px, 8px, 10px */
}

.tm-footer-col a{
  color:#d1d5db;
  text-decoration:none;
}

.tm-footer-col a:hover{
  text-decoration:underline;
  color:#FFE08A;
}

.tm-split-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 14px; /* pour garder le rythme des cards */
}

.tm-card-photo{
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
}

.tm-taxi-photo{
  margin: -28px;
}

.tm-taxi-photo img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

/* Liens dans les cards */
.tm-card a {
  color: #57007F !important;          /* couleur de base */
  text-decoration: none;  /* enlève le soulignement */
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Hover */
.tm-card a:hover {
  color: #000 !important;         /* couleur au survol */
}

.tm-card-map iframe {
  display: block;
}

/* FAQ accordéon */

.tm-card-faq details {
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
}

.tm-card-faq summary {
  cursor: pointer;
  font-weight: 400 !important;
  position: relative;
  padding-right: 30px;
  transition: color 0.2s ease;
  color: #57007F; /* ← couleur des questions */
}

.tm-card-faq summary:hover {
  color: #FF3B14;
}

.tm-card-faq summary::-webkit-details-marker {
  display: none;
}

/* icône */
.tm-card-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  font-weight: 700;
  color: #FFC300;
  transition: transform 0.2s ease;
}

.tm-card-faq details[open] summary::after {
  content: "–";
}

/* contenu */
.tm-card-faq p {
  margin: 10px 0 0;
  color: #444;
  line-height: 1.6;
}

.tm-btn {
    display:inline-block;
    margin:6px;
    padding:10px 18px;
    background:#FFF0BF;
    border-radius:8px;
    text-decoration:none;
    color:#333;
    font-size:16px;
    border:1px solid #FFDB70;
}

.tm-btn:hover {
    background:#FFE8BA;
    color:#000;
    border-color: #FFC62B;
}

/* =========================
   AVIS (DESKTOP + MOBILE)
   ========================= */

/* espace entre bouton et liste */
#recommandations .tm-btn{
  margin-bottom: 18px;
}

/* liste */
.tm-avis-list{
  margin-top: 10px;
}

/* item avis */
.tm-avis-item{
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7f7f7;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  margin-bottom: 12px;
}

/* nom */
.tm-avis-item strong{
  font-size: 14px;
}

/* étoiles jaunes */
.tm-avis-stars{
  color: #f6c400;
  font-size: 16px;
  letter-spacing: 2px;
  display: block;
  margin: 6px 0 8px;
}

/* commentaire en "bloc" interne */
.tm-avis-item p{
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.tm-avis-date{
  font-size:12px;
  color:#777;
  margin-top:2px;
}

.tm-card-pub-action .tm-btn {
    margin: 14px auto !important;
    display: table;
}

.tm-card-pub {
  background-color: #FFF !important;
}

.pub-texte-info {
  	text-align:center;
    color: #CC2320;
    font-size: 15px;
}

.date-texte-asterix {
    font-style: italic;
    color: #808080 !important;
    font-size: 15px !important;
}

/* MOBILE */
@media (max-width: 900px){
	
  /* Footer */
  .tm-footer-inner{
    grid-template-columns:repeat(2,1fr);
  }
  
  .tm-top-band{
    height:auto;
    min-height:160px;
  }
  
  /* Logo */
  .tm-header-inner{
    justify-content: center;
  }

  .tm-nav{
    position: absolute;
    right: 16px;
  }

  /* Layout */
  .tm-layout{
    grid-template-columns:1fr;
  }

  .tm-sidebar{
    position:static;
  }

  /* Burger visible */
  .tm-burger{
    display:block;
  }

  /* Menu mobile */
  .tm-menu{
    display:none;
    position:absolute;
    top:80px;
    right:0;
    width:220px;
    background:#222;
    flex-direction:column;
    gap:0;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.35);
  }

  .tm-menu.active{
    display:flex;
  }

  .tm-menu li{
    border-bottom:1px solid #222;
  }

  .tm-menu li:last-child{
    border-bottom:none;
  }

  .tm-menu a{
    display:block;
    padding:14px 16px;
  }
  
  .tm-split-2{
    grid-template-columns: 1fr;
  }
}
