/* Tondraaga v8 — en-tête épuré, pied de page unifié, section colis illustrée (14 octobre 2026).
   Chargé après v7.css. Couleurs du logo (brun, ocre) et pagne aux hirondelles. */

/* ======================= En-tête ======================= */
.pagne-rang.ourlet { height: 17px; }
.pagne-rang.ourlet rect { fill: url(#tdg-pagne-mini); }
.hd-main { background: #fff; }
@media (min-width: 1001px) {
  .hd-main .cadre { min-height: 88px; gap: 28px; }
  .hd-logo { width: 176px; }
}
.hd-recherche { height: 52px; border: 0; border-radius: 999px; background: #F6EFE6; box-shadow: inset 0 0 0 1.5px #E9DCCB; padding: 5px 5px 5px 22px; overflow: visible; }
.hd-recherche:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--ocre), 0 0 0 5px rgba(200, 120, 23, .12); }
.hd-recherche input { background: transparent; }
.hd-recherche button { width: 44px; height: 42px; border-radius: 999px; background: var(--brun); color: #fff; }
.hd-recherche button:hover { background: var(--ocre); color: var(--brun-encre); }
.hd-pays { border-radius: 999px; background: #F6EFE6; border-color: transparent; }
.hd-action { border-radius: 14px; color: var(--brun); }
.hd-action .compteur { background: var(--ocre); color: #fff; box-shadow: 0 0 0 2px #fff; }

.hd-nav { background: var(--brun); border-bottom: 0; }
.hd-nav .cadre { min-height: 56px; gap: 4px; }
.hd-toutes { height: 38px; border: 0; border-radius: 999px; padding: 0 18px 0 14px; margin-right: 10px; background: var(--ocre); color: var(--brun-encre); font-weight: 600; }
.hd-toutes:hover, .hd-toutes[aria-expanded="true"] { background: var(--ocre-clair); }
.hd-menu { gap: 2px; }
.hd-menu a { padding: 8px 12px; border-radius: 999px; color: var(--creme-texte); font-weight: 500; transition: background .2s, color .2s; }
.hd-menu a::after { display: none; }
.hd-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hd-menu a[aria-current="page"] { background: #FFF8EF; color: var(--brun); font-weight: 600; }
.hd-menu .hd-offres { color: var(--ocre-clair); }
.hd-nav-droite { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hd-nav-droite a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px; border-radius: 999px; font-size: .83rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.hd-nav-droite svg { width: 16px; height: 16px; }
.hd-nav-droite .drapeau-svg { width: 18px; height: 12px; border-radius: 2px; }
.hd-nav-droite .hd-suivi { color: var(--creme-texte); border: 1.5px solid rgba(255, 255, 255, .22); margin: 0; }
.hd-nav-droite .hd-suivi svg { color: var(--ocre-clair); }
.hd-nav-droite .hd-suivi:hover { border-color: var(--ocre-clair); color: #fff; }
.hd-nav-droite .hd-vendre { background: rgba(255, 255, 255, .1); color: #fff; }
.hd-nav-droite .hd-vendre:hover { background: var(--ocre); color: var(--brun-encre); }
.boutique-fermee .hd-menu li:has(> a[href="#/vendeurs"]) { display: none; }
@media (max-width: 1240px) { .hd-nav-droite .hd-vendre span { display: none; } .hd-menu a { padding: 8px 11px; } }
@media (max-width: 1000px) {
  .hd-nav-droite { display: none; }
  .hd-nav .cadre { min-height: 0; }
  .hd-menu a[aria-current="page"] { background: var(--ocre); color: var(--brun-encre); }
}
@media (max-width: 720px) {
  .pagne-rang.ourlet { height: 12px; }
  .hd-recherche { height: 46px; padding-left: 16px; }
  .hd-recherche button { width: 38px; height: 36px; }
}

/* ======================= Pied de page ======================= */
#pied .pied8 { position: relative; background: var(--brun-fonce); color: #D9C6B2; }
#pied .pied8 > .pagne-rang { display: block; }
#pied .pied8-corps { background: var(--brun-fonce) var(--bogolan-sombre); padding: 52px 0 46px; }
#pied .pied8-garanties { list-style: none; margin: 0 0 40px; padding: 0 0 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#pied .pied8-garanties li { display: flex; align-items: center; gap: 14px; font-size: .82rem; line-height: 1.4; }
#pied .pied8-garanties i { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(200, 120, 23, .15); border: 1px solid rgba(242, 182, 97, .28); color: var(--ocre-clair); }
#pied .pied8-garanties i svg { width: 22px; height: 22px; }
#pied .pied8-garanties i .drapeau-svg { width: 24px; height: 16px; border-radius: 2px; }
#pied .pied8-garanties b { display: block; color: #fff; font-size: .93rem; font-weight: 600; }
#pied .pied8-grille { display: grid; grid-template-columns: 1.1fr 2.3fr 1.2fr; gap: 44px; align-items: start; }
#pied .pied8-marque .logo-pied { width: 200px; }
#pied .pied8-slogan { color: var(--ocre-clair); font-weight: 600; font-style: normal; margin: 16px 0 8px; }
#pied .pied8-marque p:not(.pied8-slogan) { font-size: .87rem; line-height: 1.65; margin: 0; }
#pied .pied8-liens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#pied .pied8 h4 { position: relative; color: #fff; font-size: .95rem; margin: 0 0 16px; padding-bottom: 10px; }
#pied .pied8 h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--ocre); }
#pied .pied8-liens ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#pied .pied8-liens ul a { color: #D9C6B2; text-decoration: none; font-size: .88rem; transition: color .2s, padding .2s; }
#pied .pied8-liens ul a:hover { color: #fff; padding-left: 4px; text-decoration: none; }
#pied .pied8-contact { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 22px; }
#pied .pied8-contact-titre { margin: 0 0 14px; color: #fff; font-weight: 700; font-size: 1.05rem; }
#pied .pied8-contact-titre span { display: block; font-weight: 400; font-size: .8rem; color: #CDBBA9; }
#pied .pied8-wa { display: flex; align-items: center; gap: 12px; background: #1F7A4D; color: #fff; border-radius: 12px; padding: 10px 14px; text-decoration: none; font-weight: 700; transition: background .2s; }
#pied .pied8-wa:hover { background: #196640; text-decoration: none; }
#pied .pied8-wa svg { width: 26px; height: 26px; flex: none; }
#pied .pied8-wa small { display: block; font-size: .72rem; font-weight: 500; opacity: .85; }
#pied .pied8-ligne { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: #D9C6B2; font-size: .85rem; text-decoration: none; }
#pied .pied8-ligne svg { width: 17px; height: 17px; flex: none; color: var(--ocre-clair); }
#pied a.pied8-ligne:hover { color: #fff; }
#pied .pied8-haut { background: none; border: 0; padding: 0; cursor: pointer; color: var(--brun-encre); font: 700 .78rem var(--police); }
#pied .pied8-haut:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  #pied .pied8-grille { grid-template-columns: 1fr 1fr; }
  #pied .pied8-liens { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 720px) {
  #pied .pied8-corps { padding: 34px 0 30px; }
  #pied .pied8-garanties { grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-bottom: 28px; padding-bottom: 24px; }
  #pied .pied8-garanties i { width: 40px; height: 40px; border-radius: 12px; }
  #pied .pied8-garanties li { font-size: .72rem; gap: 10px; }
  #pied .pied8-garanties b { font-size: .8rem; }
  #pied .pied8-grille { grid-template-columns: 1fr; gap: 28px; }
  #pied .pied8-liens { grid-template-columns: 1fr 1fr; order: 0; }
  #pied .pied8-liens > div:last-child { grid-column: 1 / -1; }
}

/* ======================= Accueil : expédier un colis ======================= */
.cadre.a-colis { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: stretch; padding: 30px 30px 30px 34px; }
.a-colis-texte { display: flex; flex-direction: column; justify-content: center; }
.a-colis h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; margin: 6px 0 20px; color: var(--brun); }
.a-colis-etapes { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.a-colis-etapes li { display: flex; gap: 14px; align-items: flex-start; }
.a-colis-etapes b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brun) var(--tressage); color: #fff; font-weight: 700; box-shadow: 0 0 0 4px var(--ocre-pale); }
.a-colis-etapes span { font-size: .87rem; line-height: 1.5; color: #6B5D52; }
.a-colis-etapes strong { display: block; color: var(--brun); font-size: .97rem; font-weight: 600; }
.a-colis-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.a-colis-actions .btn svg { width: 16px; height: 16px; }
.a-colis-suivi { display: flex; gap: 6px; flex: 1 1 260px; }
.a-colis-suivi input { flex: 1; min-width: 0; height: 54px; border: 1.5px solid var(--ligne); border-radius: 10px; padding: 0 16px; background: #FBF7F2; font: 500 .92rem var(--police); letter-spacing: .03em; }
.a-colis-suivi input:focus { outline: none; border-color: var(--ocre); background: #fff; }
.a-colis-suivi .btn { min-height: 54px; }
.a-colis-carte { position: relative; min-height: 360px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 70% 76%, rgba(200, 120, 23, .3), transparent 42%), radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px) 0 0 / 18px 18px, var(--brun-fonce); }
.a-trajets { display: block; width: 100%; height: 100%; }
.a-route { fill: none; stroke: var(--ocre-clair); stroke-width: 2.6; stroke-dasharray: 2 9; stroke-linecap: round; animation: flux-route 1.1s linear infinite; }
@keyframes flux-route { to { stroke-dashoffset: -11; } }
.a-avion path { fill: #FFF8EF; }
.a-ville-point { fill: var(--ocre); stroke: #FFF8EF; stroke-width: 3; }
.a-ville-onde { fill: none; stroke: var(--ocre-clair); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: onde-ville 2.4s ease-out infinite; }
@keyframes onde-ville { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.a-ville text { fill: #fff; font: 600 15px var(--police); }
.a-ville text.a-ville-pays { fill: #D9C6B2; font: 400 11.5px var(--police); }
.a-delai rect { fill: rgba(255, 248, 239, .1); stroke: rgba(242, 182, 97, .55); }
.a-delai text { fill: var(--ocre-clair); font: 600 12px var(--police); text-anchor: middle; }
.a-colis-tarif { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; background: #FFF8EF; border-radius: 14px; padding: 12px 18px; box-shadow: 0 12px 26px rgba(0, 0, 0, .28); }
.a-colis-tarif span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ocre-texte); }
.a-colis-tarif strong { font-size: 1.5rem; line-height: 1.15; color: var(--brun); }
.a-colis-tarif small { font-size: .72rem; color: #7A6D63; }
@media (max-width: 1000px) {
  .cadre.a-colis { grid-template-columns: 1fr; }
  .a-colis-carte { min-height: 0; }
}
@media (max-width: 720px) {
  .cadre.a-colis { padding: 18px 14px; gap: 18px; }
  .a-colis-tarif { position: static; margin: -6px 12px 12px; }
  .a-colis-suivi { flex-basis: 100%; }
  .a-colis-actions .btn-grand { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .a-route, .a-ville-onde { animation: none; }
  .a-avion { display: none; }
}

/* ======================= Suivi de livraison en direct ======================= */
.a-suivi { padding-top: 22px; padding-bottom: 56px; }
.a-suivi-tete h1 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); margin: 6px 0 4px; color: var(--brun); }
.a-suivi-tete .v6-surtitre svg { width: 16px; height: 16px; margin-right: 6px; }
.a-suivi-etapes { list-style: none; margin: 18px 0 16px; padding: 18px 16px 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon-a); }
.a-suivi-etapes li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8rem; color: #8C857F; font-weight: 500; }
.a-suivi-etapes li::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: var(--ligne); }
.a-suivi-etapes li:first-child::before { display: none; }
.a-suivi-etapes i { position: relative; z-index: 1; width: 29px; height: 29px; border-radius: 50%; background: #fff; border: 3px solid var(--ligne); }
.a-suivi-etapes li.fait, .a-suivi-etapes li.actif { color: var(--brun); }
.a-suivi-etapes li.fait i { background: var(--ocre) var(--tressage-brun); border-color: var(--ocre); }
.a-suivi-etapes li.fait::before, .a-suivi-etapes li.actif::before { background: var(--ocre); }
.a-suivi-etapes li.actif { font-weight: 700; }
.a-suivi-etapes li.actif i { border-color: var(--ocre); animation: etape-active 1.6s ease-out infinite; }
@keyframes etape-active { 0% { box-shadow: 0 0 0 0 rgba(200, 120, 23, .45); } 100% { box-shadow: 0 0 0 12px rgba(200, 120, 23, 0); } }
.a-suivi-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; }
.a-suivi-carte { height: 520px; border-radius: var(--rayon-a); overflow: hidden; border: 1px solid var(--ligne); background: #EFE6DA; z-index: 0; }
.a-suivi-infos { align-self: start; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon-a); padding: 22px; }
.a-suivi-infos p { margin: 0; }
.a-suivi-infos small { display: block; color: #8C857F; font-size: .75rem; }
.a-suivi-infos b { color: var(--brun); font-size: 1.05rem; }
.a-suivi-infos .btn svg { width: 18px; height: 18px; }
.a-suivi-livreur { display: flex; gap: 12px; align-items: center; }
.a-suivi-livreur i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ocre-pale); color: var(--ocre); }
.a-suivi-livreur i svg { width: 24px; height: 24px; }
.leaflet-div-icon.a-suivi-repere { background: none; border: 0; }
.a-suivi-repere span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.a-suivi-repere svg { width: 20px; height: 20px; }
.a-suivi-repere.agence span { background: var(--brun); color: #fff; }
.a-suivi-repere.dest span { background: var(--ocre); color: var(--brun-encre); }
.a-suivi-repere.livreur span { background: #1F7A4D; color: #fff; animation: pouls-livreur 1.8s ease-out infinite; }
@keyframes pouls-livreur { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, .55), 0 6px 14px rgba(0, 0, 0, .3); } 100% { box-shadow: 0 0 0 16px rgba(31, 122, 77, 0), 0 6px 14px rgba(0, 0, 0, .3); } }
@media (max-width: 900px) {
  .a-suivi-grille { grid-template-columns: 1fr; }
  .a-suivi-carte { height: 380px; }
}
@media (max-width: 560px) {
  .a-suivi-etapes { padding: 14px 6px 12px; }
  .a-suivi-etapes li { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  .a-suivi-etapes li.actif i, .a-suivi-repere.livreur span { animation: none; }
}
