/* toptrouver V30 : barre de recherche + bouton appli + pavés Lina */
#tt-barre{box-sizing:border-box;width:calc(100% - 24px);max-width:960px;margin:14px auto 18px;padding:16px 18px;background:#fff;border:2px solid #E8562F;border-radius:20px;box-shadow:0 6px 20px rgba(232,86,47,.15);font-family:Inter,Arial,sans-serif;color:#0F3D3E;text-align:left}
#tt-barre *{box-sizing:border-box}
#tt-barre .tt-b-label{display:block;font-weight:800;font-size:20px;line-height:1.25;margin:0 0 10px;color:#0F3D3E}
#tt-barre .tt-b-row{display:flex;gap:8px}
#tt-barre input[type=search]{flex:1 1 0;width:0;min-width:0;font:inherit;font-size:17px;padding:14px 18px;border:2px solid #E4DCC9;border-radius:999px;background:#FFFBF5;color:#0F3D3E}
#tt-barre input[type=search]:focus{outline:none;border-color:#E8562F;background:#fff}
#tt-barre .tt-b-row button{flex:0 0 auto;font:inherit;font-weight:800;font-size:17px;background:#E8562F;color:#fff;border:0;border-radius:999px;padding:0 22px;cursor:pointer}
#tt-barre .tt-b-photo{margin:10px 4px 0;font-size:15px;line-height:1.45;color:#3d4f4b}
#tt-barre .tt-b-photo a{color:#E8562F;font-weight:800}
#tt-barre .tt-b-install{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:14px 0 0;padding:13px 16px;font:inherit;font-weight:800;font-size:17px;line-height:1.3;color:#fff;background:#0F3D3E;border:0;border-radius:14px;cursor:pointer;text-decoration:none}
#tt-barre .tt-b-install img{width:34px;height:34px;border-radius:9px;flex:0 0 auto;background:#fff}
#tt-barre .tt-b-install small{display:block;font-weight:500;font-size:13px;opacity:.85}
#tt-barre .tt-b-install[hidden]{display:none}
#tt-barre #tt-search-res:not(:empty){margin-top:12px}
@media (max-width:520px){#tt-barre{padding:14px;width:calc(100% - 16px)}#tt-barre .tt-b-label{font-size:18px}#tt-barre .tt-b-row button{padding:0 16px}}

/* Pavés de l'accueil (carrousels) */
.v-card{width:178px!important;min-height:236px;justify-content:flex-end!important;padding:10px!important;background:#E8562F url(/img/pave-lina.jpg) center top/cover no-repeat!important;border:2px solid #E8562F!important;border-radius:18px!important;box-shadow:0 4px 14px rgba(15,61,62,.12)}
.v-card:hover{border-color:#0F3D3E!important}
.v-card .v-t{width:100%;justify-content:center;background:#fff;border-radius:12px;padding:10px 8px;font-size:16px!important;font-weight:800!important;line-height:1.25!important;color:#0F3D3E;min-height:66px!important;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.v-card .v-go{background:#0F3D3E!important;color:#fff!important}

/* Cartes des pages cadeau-… */
.idea{position:relative;overflow:hidden;padding-top:0!important}
.idea::before{content:"";order:-3;display:block;height:132px;margin:0 -18px;background:#E8562F url(/img/pave-lina-large.jpg) right center/cover no-repeat}
.idea h3{order:-2;position:relative;z-index:1;margin:-46px 0 4px!important;padding:12px 14px;background:#fff;border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.14);text-align:center;color:#0F3D3E;font-size:20px!important}
.idea .top{order:-1}
#tt-barre .tt-b-avis{margin:10px 0 0;text-align:center;font-size:14px}#tt-barre .tt-b-avis a{color:#0F3D3E;font-weight:700}
@media (max-width:560px){#tt-barre .lina-results{grid-template-columns:1fr!important}}

/* V31 correction de lisibilité : aucune nouvelle page ni fonctionnalité distante. */
.tt-precision{font:14px/1.6 Inter,system-ui,sans-serif;color:#52625d;max-width:760px;margin:12px auto;padding:10px 14px;background:#fff8e9;border:1px solid #e4dcc9;border-radius:10px}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #0f3d3e;outline-offset:4px}
#filters button,.lina-chip{min-height:44px}
img,video{max-width:100%}
@media(max-width:600px){table{display:block;max-width:100%;overflow-x:auto}.tt-b-row{min-width:0}.tt-b-row input{min-width:0}.lina-card h3,.idea h3{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Pages liées aux vidéos : cartes lisibles sans modifier les anciennes sélections. */
.tt-video-products .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.tt-video-products .card{min-width:0;padding:16px;border:1px solid #e4dcc9;border-radius:14px;background:#fbf6ec;overflow-wrap:anywhere}.tt-video-products .btn{display:inline-block;min-height:46px;padding:10px 14px;border-radius:10px;background:#e8562f;color:#fff;text-decoration:none;font-weight:700}.tt-topic-results a{overflow-wrap:anywhere}
/* V40 : résultats de recherche en blocs clairs */
#tt-search-res .tt-r-head{font-size:22px;margin:18px 0 6px;color:#0f3d3e}
#tt-search-res .tt-r-block{margin:14px 0;padding:14px 16px;background:#fff;border:1px solid #e4dcc9;border-radius:14px}
#tt-search-res .tt-r-block h3{margin:0 0 10px;font-size:17px;color:#16231f}
#tt-search-res .tt-r-none{margin:0;color:#4a5753}
#tt-search-res .tt-r-alt{background:#fbf8f1}
#tt-search-res .tt-r-chips{display:flex;flex-wrap:wrap;gap:8px}
#tt-search-res .tt-r-chips a{display:inline-block;padding:10px 14px;border-radius:999px;background:#0f3d3e;color:#fff;text-decoration:none;font-weight:600;font-size:15px;line-height:1.3}
#tt-search-res .tt-r-amazon{display:block;text-align:center;padding:14px 16px;border-radius:12px;background:#E8562F;color:#fff;text-decoration:none;font-weight:700;font-size:16px;overflow-wrap:anywhere}
#tt-search-res .tt-r-other{margin:10px 0 0;text-align:center}
#tt-search-res .tt-r-other a{color:#0f3d3e;font-weight:600}
#tt-search-res .tt-r-feedback{text-align:center;font-size:14px;margin:10px 0 24px}

/* V43 : aucun débordement horizontal sur téléphone */
body>*{min-width:0;max-width:100%}
.tt-theme-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:720px){.tt-theme-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
/* V43 : micro de recherche vocale */
.tt-b-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tt-b-row input{flex:1 1 160px;min-width:0}
.tt-mic{flex:0 0 auto;width:48px;height:48px;border-radius:50%;border:2px solid #E8562F;background:#fff;color:#E8562F;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.tt-mic:hover,.tt-mic:focus-visible{background:#fff1ec}
.tt-mic.is-on{background:#E8562F;color:#fff;animation:ttmic 1.2s ease-in-out infinite}
@keyframes ttmic{0%,100%{box-shadow:0 0 0 0 rgba(232,86,47,.45)}50%{box-shadow:0 0 0 10px rgba(232,86,47,0)}}
.tt-mic-status{margin:6px 0 0;font:500 14px/1.4 Inter,Arial,sans-serif;color:#0f3d3e}
.tt-b-row input{flex:1 1 calc(100% - 60px)!important;width:auto!important}
.tt-b-row button[type=submit]{flex:1 1 100%}
.tt-b-row{flex-wrap:wrap!important}
.tt-b-row #tt-q{flex:1 1 0%!important;width:auto!important;min-width:0!important}
.tt-b-row #tt-mic{flex:0 0 54px!important;width:54px!important;height:54px!important;min-height:54px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#E8562F!important;border:2px solid #E8562F!important;box-shadow:none}
.tt-b-row #tt-mic.is-on{background:#E8562F!important;color:#fff!important}
.tt-b-row button[type=submit]{flex:1 1 100%!important}
html,body{overflow-x:clip}
/* V44 : puces de rubriques disponibles sur toutes les pages */
.tt-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.tt-chip{display:inline-block;padding:9px 13px;border:1px solid #e4dcc9;border-radius:999px;background:#fff;color:#0f3d3e;text-decoration:none;font:600 15px/1.3 Inter,Arial,sans-serif}
.tt-chip:hover{border-color:#E8562F;color:#E8562F}
.tt-som{display:flex;flex-wrap:wrap;gap:8px 14px;margin:8px 0}
/* V44 : titres renumérotés pour la hiérarchie, apparence conservée */
.hl-4{font-size:1em}
.hl-3{font-size:1.17em}
/* V44 : dimensions d'images déclarées, proportions conservées */
img[src$="banniere.png"],img[src$="banniere.webp"],img[src*="img/guide-"],img[src$="logo-resultats.png"]{height:auto}
/* V44 : textes de conseil (après les outils) */
.tt-guide-texte-wrap{max-width:1100px;margin:20px auto;padding:0 16px}
.tt-guide-texte{background:#fff;border:1px solid #e4dcc9;border-radius:16px;padding:18px 20px;font:16px/1.65 Inter,Arial,sans-serif;color:#16231f}
.tt-guide-texte h2{color:#0f3d3e;font-size:1.3em;margin:18px 0 6px;line-height:1.3}
.tt-guide-texte h2:first-child{margin-top:0}
.tt-guide-texte p{margin:0 0 12px}
.tt-guide-texte ul{margin:0 0 12px;padding-left:20px}
.tt-guide-texte li{margin:0 0 6px}
