/* ==========================================================================
   30997 : TopAnnonces.fr > migration copix
   Feuille de style unique du front topannonces.fr

   Organisation (inspiree de communfo/web/www/style/commun/framework.css) :
     1. Normalisation
     2. Variables (charte TopAnnonces : rouge #ee1c24, vert #66cc91...)
     3. Icones (sous-ensemble IcoFont du front angular)
     4. Utilitaires facon tailwind, desktop-first comme framework.css :
          xl: <= 1280px, lg: <= 1024px, md: <= 768px, sm: <= 640px, xs: <= 420px
     5. Composants du site (prefixe ta-)

   Fichier en ASCII pur (encodage windows-1252 du depot).
   ========================================================================== */

/*** 1. NORMALISATION ***/
*, ::before, ::after { box-sizing: border-box; }
html { -moz-tab-size: 4; tab-size: 4; line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.smooth { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
hr { height: 0; color: inherit; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; }
::-moz-focus-inner { border-style: none; padding: 0; }
summary { display: list-item; }
img, svg { vertical-align: middle; }
img { border: 0; max-width: 100%; }
[hidden] { display: none !important; }
template { display: none; }
h1, h2, h3, h4 { margin: 0; padding: 0; }
ul, li { list-style-type: none; padding: 0; margin: 0; }
p { margin: 0 0 10px; }
a { color: #333331; text-decoration: none; cursor: pointer; }
button { cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
button:disabled { cursor: default; }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
:focus-visible { outline: 2px solid var(--ta-bleu); outline-offset: 2px; }

/*** 2. VARIABLES ***/
:root {
    --ta-rouge: #ee1c24;
    --ta-rouge-fonce: #c9141b;
    --ta-bleu: #4b9ad4;
    --ta-vert: #66cc91;
    --ta-vert-fonce: #4bb57a;
    --ta-blanc: #ffffff;
    --ta-fond: #f7f7f7;
    --ta-fond-2: #f1f1f1;
    --ta-gris: #e1e1e1;
    --ta-gris-texte: #757575;
    --ta-texte: #545454;
    --ta-texte-fonce: #333331;
    --ta-ombre: 0 0 3px rgba(0, 0, 0, .2);
    --ta-ombre-2: 0 2px 8px rgba(0, 0, 0, .18);
    --ta-rayon: 4px;
    --ta-header: 64px;
    --ta-largeur: 1520px;
    --ta-barre: 64px;
}
@media (max-width: 640px) {
    :root { --ta-header: 56px; }
}

body {
    background-color: var(--ta-fond);
    color: var(--ta-texte);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.ta-fige { overflow: hidden; }
.ta-main { flex: 1 0 auto; width: 100%; }

/*** 3. ICONES (IcoFont, sous-ensemble du front angular) ***/
@font-face {
    font-family: "IcoFont";
    font-weight: normal;
    font-style: normal;
    font-display: block;
    src: url("topannonces/fonts/icofont.woff2") format("woff2"), url("topannonces/fonts/icofont.woff") format("woff");
}
[class^="icofont-"], [class*=" icofont-"] {
    font-family: 'IcoFont' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}
.icofont-location-pin:before{content:"\ef79"} .icofont-heart:before{content:"\ef45"} .icofont-envelope:before{content:"\ef14"}
.icofont-facebook:before{content:"\ed37"} .icofont-twitter:before{content:"\ed7a"} .icofont-whatsapp:before{content:"\ed86"}
.icofont-facebook-messenger:before{content:"\ed36"} .icofont-telegram:before{content:"\ed75"} .icofont-email:before{content:"\ef12"}
.icofont-phone:before{content:"\efbb"} .icofont-long-arrow-left:before{content:"\ea93"} .icofont-caret-down:before{content:"\ea67"}
.icofont-camera:before{content:"\eecf"} .icofont-ui-love-add:before{content:"\ec62"} .icofont-maximize:before{content:"\ef8c"}
.icofont-search:before{content:"\ed1b"} .icofont-user:before{content:"\ed05"} .icofont-exit:before{content:"\ef1d"}
.icofont-ui-user:before{content:"\ec8e"} .icofont-ui-email:before{content:"\ec56"} .icofont-ui-cell-phone:before{content:"\ec49"}
.icofont-photobucket:before{content:"\ed5b"} .icofont-lightning-ray:before{content:"\ef6d"} .icofont-filter:before{content:"\ef29"}
.icofont-sort:before{content:"\efef"} .icofont-ui-settings:before{content:"\ec83"} .icofont-notification:before{content:"\efac"}
.icofont-arrow-left:before{content:"\ea5c"} .icofont-ui-delete:before{content:"\ec53"} .icofont-ui-pause:before{content:"\ec72"}
.icofont-eye-alt:before{content:"\ef21"} .icofont-bars:before{content:"\eeaf"} .icofont-history:before{content:"\ef46"}
.icofont-binoculars:before{content:"\eebd"} .icofont-ui-add:before{content:"\ec3e"} .icofont-building-alt:before{content:"\e98a"}
.icofont-car:before{content:"\ee1f"} .icofont-cat-dog:before{content:"\e83b"} .icofont-map:before{content:"\ef8b"}
.icofont-worker:before{content:"\e9c2"} .icofont-users-alt-4:before{content:"\ed09"} .icofont-box:before{content:"\eec1"}
.icofont-bell:before{content:"\eeb8"} .icofont-check-alt:before{content:"\eed6"} .icofont-hill-sunny:before{content:"\ee63"}
.icofont-ui-play:before{content:"\ec74"} .icofont-ui-messaging:before{content:"\ec68"} .icofont-thin-up:before{content:"\eacb"}
.icofont-ui-clip:before{content:"\ec4d"} .icofont-direction-sign:before{content:"\ee46"} .icofont-ui-edit:before{content:"\ec55"}
.icofont-shield:before{content:"\efe6"} .icofont-listing-box:before{content:"\ef75"} .icofont-exclamation-tringle:before{content:"\ef1b"}
.icofont-close-line:before{content:"\eee1"}
.icofont-rotate-90 { display: inline-block; transform: rotate(90deg); }

/*** 4. UTILITAIRES ***/
.block { display: block; } .inline-block { display: inline-block; } .inline { display: inline; }
.flex { display: flex; } .inline-flex { display: inline-flex; } .grid { display: grid; } .hidden { display: none; }
.flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; } .flex-auto { flex: 1 1 auto; } .flex-none { flex: none; } .shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; } .items-center { align-items: center; } .items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; } .justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-full { width: 100%; } .h-full { height: 100%; } .min-w-0 { min-width: 0; } .max-w-full { max-width: 100%; }
.m-0 { margin: 0; } .mx-auto { margin-left: auto; margin-right: auto; } .ml-auto { margin-left: auto; } .mr-auto { margin-right: auto; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.p-0 { padding: 0; } .p-2 { padding: 8px; } .p-3 { padding: 12px; } .p-4 { padding: 16px; } .px-4 { padding-left: 16px; padding-right: 16px; } .py-2 { padding-top: 8px; padding-bottom: 8px; }
.text-left { text-align: left; } .text-center, .center, .ta-centre { text-align: center; } .text-right, .right { text-align: right; }
.text-xs { font-size: 12px; } .text-sm { font-size: 13px; } .text-base { font-size: 14px; } .text-lg { font-size: 16px; } .text-xl { font-size: 19px; } .text-2xl { font-size: 24px; }
.font-normal { font-weight: 400; } .font-semibold { font-weight: 600; } .font-bold, .bold { font-weight: 700; }
.uppercase { text-transform: uppercase; } .italic { font-style: italic; }
.text-rouge { color: var(--ta-rouge); } .text-gris { color: var(--ta-gris-texte); } .text-blanc { color: #fff; }
.bg-blanc { background-color: #fff; } .bg-fond { background-color: var(--ta-fond); }
.rounded { border-radius: var(--ta-rayon); } .rounded-full { border-radius: 9999px; } .shadow { box-shadow: var(--ta-ombre); }
.relative { position: relative; } .absolute { position: absolute; } .fixed { position: fixed; } .sticky { position: sticky; }
.overflow-hidden { overflow: hidden; } .overflow-auto { overflow: auto; }
.ta-ellipsis, .ellipsis, .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-line { white-space: pre-line; } .break-words { overflow-wrap: anywhere; }
.cursor-pointer { cursor: pointer; } .select-none { user-select: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1280px) {
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:hidden { display: none; }
}
@media (max-width: 1024px) {
    .lg\:hidden { display: none; } .lg\:block { display: block; } .lg\:flex { display: flex; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lg\:flex-col { flex-direction: column; }
}
@media (max-width: 768px) {
    .md\:hidden { display: none !important; } .md\:block { display: block; } .md\:flex { display: flex; } .md\:inline-flex { display: inline-flex; } .md\:grid { display: grid; }
    .md\:flex-col { flex-direction: column; } .md\:flex-wrap { flex-wrap: wrap; } .md\:w-full { width: 100%; }
    .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:text-center { text-align: center; } .md\:px-4 { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 640px) {
    .sm\:hidden { display: none !important; } .sm\:block { display: block; } .sm\:flex { display: flex; }
    .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); } .sm\:flex-col { flex-direction: column; } .sm\:w-full { width: 100%; }
}
@media (min-width: 769px) {
    .desk\:hidden { display: none !important; }
}

/*** 5. COMPOSANTS ***/

/* --- Conteneur --- */
.ta-container { max-width: var(--ta-largeur); margin: 0 auto; padding: 0 20px; width: 100%; }
@media (max-width: 640px) { .ta-container { padding: 0 10px; } }

/* --- Boutons --- */
.ta-btn {
    align-items: center; border-radius: var(--ta-rayon); box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
    display: inline-flex; font-size: 14px; font-weight: 500; gap: 6px; justify-content: center; line-height: 20px; min-height: 36px;
    padding: 8px 16px; text-align: center; transition: background-color .2s ease, box-shadow .2s ease; user-select: none; white-space: nowrap;
}
.ta-btn:hover { box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12); }
.ta-btn:disabled { opacity: .55; box-shadow: none; }
.ta-btn-primaire { background-color: var(--ta-rouge); color: #fff; }
.ta-btn-primaire:hover { background-color: var(--ta-rouge-fonce); }
.ta-btn-blanc { background-color: #fff; color: rgba(0,0,0,.87); }
.ta-btn-blanc:hover { background-color: #fafafa; }
.ta-btn-accent { background-color: var(--ta-vert); color: #fff; }
.ta-btn-accent:hover { background-color: var(--ta-vert-fonce); }
.ta-btn-texte { align-items: center; border-radius: var(--ta-rayon); color: rgba(0,0,0,.87); display: inline-flex; gap: 4px; font-size: 14px; max-width: 100%; padding: 8px 10px; white-space: nowrap; }
.ta-btn-texte:hover { background-color: rgba(0,0,0,.04); }
.ta-btn-icone { align-items: center; border-radius: 50%; display: inline-flex; height: 36px; justify-content: center; min-width: 36px; width: 36px; }
.ta-btn-icone i { font-size: 20px; }
.ta-btn-icone:hover { background-color: rgba(0,0,0,.05); }
.ta-lien { align-items: center; color: var(--ta-texte-fonce); display: inline-flex; gap: 6px; padding: 6px 0; }
.ta-lien:hover span { text-decoration: underline; }
.ta-badge { background: var(--ta-rouge); border-radius: 10px; color: #fff; display: inline-block; font-size: 11px; line-height: 18px; min-width: 18px; padding: 0 5px; text-align: center; }
.ta-btn-favori.fav, .ta-btn-favori.fav i { color: var(--ta-rouge); }

/* --- Spinner --- */
.ta-spinner { animation: ta-rotation .8s linear infinite; border: 2px solid rgba(0,0,0,.15); border-radius: 50%; border-top-color: var(--ta-rouge); display: inline-block; height: 18px; vertical-align: middle; width: 18px; }
.ta-spinner-grand { height: 32px; margin: 20px auto; width: 32px; }
.ta-btn .ta-spinner { border-color: rgba(255,255,255,.35); border-top-color: #fff; height: 16px; width: 16px; }
@keyframes ta-rotation { to { transform: rotate(360deg); } }

/* --- Popover / menus (mat-menu) --- */
.ta-menu { position: relative; }
.ta-popover {
    background: #fff; border-radius: var(--ta-rayon); box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
    left: 0; max-width: calc(100vw - 20px); min-width: 180px; padding: 8px 0; position: absolute; top: calc(100% + 4px); z-index: 60;
}
.ta-popover-droite { left: auto; right: 0; }
.ta-popover-haut { bottom: calc(100% + 4px); top: auto; }
.ta-popover-scroll { max-height: 320px; overflow-y: auto; }
.ta-popover-item { align-items: center; color: rgba(0,0,0,.87); display: flex; font-size: 15px; gap: 12px; line-height: 20px; padding: 12px 16px; text-align: left; white-space: nowrap; width: 100%; }
.ta-popover-item i { color: rgba(0,0,0,.54); font-size: 18px; width: 20px; }
.ta-popover-item:hover, .ta-popover-item.selected { background: rgba(0,0,0,.04); }
.ta-popover-item.selected { color: var(--ta-rouge); font-weight: 600; }

/* --- Header --- */
.ta-header { background-color: var(--ta-rouge); box-shadow: 0 2px 4px rgba(0,0,0,.15); color: #fff; position: sticky; top: 0; z-index: 50; }
.ta-header-row { align-items: center; display: flex; gap: 12px; height: var(--ta-header); margin: 0 auto; max-width: var(--ta-largeur); padding: 0 16px; }
.ta-logo { align-items: flex-start; background: #fff; border-radius: var(--ta-rayon); display: flex; flex-direction: column; flex-shrink: 0; justify-content: center; padding: 4px 8px; }
.ta-logo-small { display: none; height: 32px; width: auto; }
.ta-logo-big { height: 20px; width: 130px; }
.ta-logo-baseline { color: #333; font-size: 10px; line-height: 11px; margin-top: 3px; white-space: nowrap; }
.ta-header-retour { color: #fff; display: none; }
.ta-header-retour:hover { background: rgba(255,255,255,.15); }
.ta-header-titre { display: none; flex: 1; font-size: 17px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-recherche { display: flex; flex: 1; max-width: 900px; min-width: 0; position: relative; }
.ta-recherche input[type=search] {
    -webkit-appearance: none; appearance: none; background: #fff; border: 0; border-radius: 20px 0 0 20px; color: #333; flex: 1; font-size: 16px; height: 40px; min-width: 0; outline: none; padding: 0 18px;
}
.ta-recherche-btn { align-items: center; background: var(--ta-vert); border-radius: 0 20px 20px 0; color: #fff; display: inline-flex; font-size: 14px; gap: 6px; height: 40px; padding: 0 18px; white-space: nowrap; }
.ta-recherche-btn:hover { background: var(--ta-vert-fonce); }
.ta-recherche-btn i { font-size: 16px; }
.ta-header-boutons { align-items: center; display: flex; flex-shrink: 0; gap: 10px; margin-left: auto; }
.ta-btn-depose { align-items: center; background: var(--ta-vert); border-radius: 20px; color: #fff; display: inline-flex; font-size: 14px; font-weight: 500; gap: 6px; height: 40px; padding: 0 16px; white-space: nowrap; }
.ta-btn-depose:hover { background: var(--ta-vert-fonce); }
.ta-btn-compte { align-items: center; background: #fff; border-radius: 50%; color: var(--ta-rouge); display: inline-flex; height: 40px; justify-content: center; overflow: hidden; width: 40px; }
.ta-btn-compte i { font-size: 20px; }
.ta-avatar { border-radius: 50%; height: 40px; object-fit: cover; width: 40px; }
.ta-menu-compte { position: relative; }

/* Aide a la saisie de la recherche */
.ta-histo { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre-2); color: #333; left: 0; max-height: calc(100vh - var(--ta-header) - 20px); overflow-y: auto; padding: 8px 0; position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; }
.ta-histo-titre { align-items: center; color: rgba(0,0,0,.87); display: flex; gap: 8px; padding: 8px 16px; }
.ta-histo li { align-items: center; display: flex; }
.ta-histo li a { align-items: center; color: #333; display: flex; flex: 1; gap: 12px; min-width: 0; padding: 8px 16px; }
.ta-histo li a:hover { background: rgba(0,0,0,.04); }
.ta-histo li a i { color: var(--ta-gris-texte); font-size: 18px; }
.ta-histo li a span { color: var(--ta-gris-texte); font-size: 12px; }
.ta-histo li a .value { color: #333; font-size: 14px; }
.ta-histo li a .value span { color: #333; font-size: 14px; font-weight: 600; }
.ta-histo li a .rub { color: var(--ta-rouge); font-size: 14px; }
.ta-histo li button { color: var(--ta-gris-texte); padding: 8px 12px; }
.ta-histo-zero { color: var(--ta-gris-texte); padding: 8px 16px; }
.ta-histo-actions { display: none; padding: 8px 16px 4px; }
.ta-recherche-voile { background: rgba(0,0,0,.32); inset: 0; position: fixed; z-index: 40; }

/* Header sur mobile */
@media (max-width: 1024px) {
    .ta-logo-baseline { display: none; }
}
@media (max-width: 768px) {
    .ta-header-row { gap: 8px; padding: 0 10px; }
    .ta-logo { height: 40px; justify-content: center; padding: 4px; width: 42px; }
    .ta-logo-big { display: none; }
    .ta-logo-small { display: block; }
    .ta-recherche-btn { padding: 0 14px; }
    .ta-btn-depose { border-radius: 50%; justify-content: center; padding: 0; width: 40px; }
    .ta-btn-depose i { font-size: 18px; }
    .ta-header-detail .ta-header-retour { display: inline-flex; }
    .ta-header-detail .ta-header-titre { display: block; }
    .ta-header-detail .ta-recherche, .ta-header-detail .ta-logo { display: none; }
    body.ta-recherche-active .ta-header .ta-logo, body.ta-recherche-active .ta-header-boutons { display: none; }
    body.ta-recherche-active .ta-histo { border-radius: 0; left: -10px; position: fixed; right: 0; top: var(--ta-header); bottom: 0; max-height: none; }
    body.ta-recherche-active .ta-histo-actions { display: flex; }
}

/* --- Pastilles / categories de la liste --- */
.ta-liste { padding-bottom: 10px; }
.ta-categories { align-items: center; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); display: flex; gap: 4px; padding: 4px 12px; }
.ta-categories > .ta-btn-texte { flex-shrink: 0; max-width: 45%; }
.ta-pills { display: flex; flex: 1; gap: 4px; margin-left: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ta-pills::-webkit-scrollbar { display: none; }
.ta-pill { border-radius: 18px; color: rgba(0,0,0,.6); display: inline-block; font-size: 13px; padding: 8px 12px; white-space: nowrap; }
.ta-pill:hover { background: var(--ta-fond-2); }
.ta-pill .nb { color: var(--ta-rouge); }
.ta-pill-retour .ta-pill { padding: 8px 10px; }
.ta-options { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 0 auto; max-width: var(--ta-largeur); padding: 12px 20px 4px; }
.ta-options-boutons { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 160px)); }
.ta-options-boutons .ta-btn { min-width: 0; width: 100%; }
.ta-options-boutons .ta-btn .ta-ellipsis { min-width: 0; }
.ta-options-boutons { grid-template-columns: minmax(0, 160px) minmax(0, 220px) minmax(0, 160px); }
.ta-h1 { align-items: baseline; color: rgba(0,0,0,.87); display: flex; flex-wrap: wrap; font-size: 22px; min-width: 0; }
.ta-h1 span { font-weight: 600; }
.ta-h1 h1 { font-size: 22px; font-weight: 400; }
@media (max-width: 768px) {
    .ta-categories { flex-wrap: wrap; padding: 4px 6px; }
    .ta-pills { flex-basis: 100%; margin-left: 0; order: 3; }
    .ta-options { padding: 10px 10px 0; }
    .ta-options-boutons { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .ta-options-boutons .ta-btn { padding: 8px 6px; }
    .ta-h1, .ta-h1 h1 { font-size: 17px; }
}

/* --- Grille et cartes annonces --- */
.ta-annonces { margin: 0 auto; max-width: var(--ta-largeur); padding: 0 10px; }
.ta-grille { display: grid; gap: 18px 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 9px 10px; }
@media (max-width: 1200px) { .ta-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ta-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 599px) { .ta-grille { grid-template-columns: repeat(1, minmax(0, 1fr)); padding: 9px 0; } }
.ta-carte { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); color: inherit; display: flex; flex-direction: column; height: 392px; overflow: hidden; position: relative; }
.ta-carte:hover .ta-carte-titre { color: var(--ta-rouge); }
.ta-carte:hover .ta-carte-image img { transform: scale(1.05) translateZ(0); }
.ta-carte-image { flex-shrink: 0; height: 216px; padding: 4px; position: relative; }
.ta-carte-image::before { background: var(--ta-gris); color: #d1d1d1; content: "\ed5b"; display: flex; align-items: center; justify-content: center; font-family: "IcoFont", sans-serif; font-size: 9rem; inset: 4px; position: absolute; }
.ta-carte-image > div { display: flex; height: 100%; justify-content: center; overflow: hidden; position: relative; width: 100%; }
.ta-carte-image img { display: block; height: 100%; object-fit: cover; position: relative; transition: transform .35s ease; width: 100%; z-index: 1; }
.ta-carte-image img.image-notfound { visibility: hidden; }
.ta-carte-image span { background-color: rgba(0,0,0,.6); border-radius: 5px; bottom: 6px; color: #fff; font-size: 14px; left: 6px; padding: 5px 10px; position: absolute; z-index: 2; }
.ta-carte-entete { align-items: center; display: flex; gap: 12px; padding: 10px 16px 6px; }
.ta-carte-avatar { border-radius: 50%; flex-shrink: 0; height: 40px; object-fit: cover; width: 40px; }
.ta-carte-titre { -webkit-box-orient: vertical; color: rgba(0,0,0,.87); display: -webkit-box; font-size: 17px; font-weight: 500; -webkit-line-clamp: 2; line-height: 22px; overflow: hidden; transition: color .2s; word-break: break-word; }
.ta-carte-commune { color: rgba(0,0,0,.54); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-carte-texte { -webkit-box-orient: vertical; display: -webkit-box; flex: 1; font-size: 14px; -webkit-line-clamp: 3; line-height: 1.2em; margin: 0 16px 8px; max-height: 3.6em; overflow: hidden; }
.ta-carte-actions { align-items: center; display: flex; padding: 0 8px 8px; }
.ta-carte-actions .ta-btn-icone { color: rgba(0,0,0,.54); }
.ta-carte-prix { color: var(--ta-rouge); flex: 1; font-size: 16px; font-weight: 600; text-align: center; }
.ta-pub { align-items: center; justify-content: center; }
.ta-pub > i { color: #aaa; font-size: 11px; left: 10px; position: absolute; top: 4px; }
.ta-pub-slot { max-width: 100%; text-align: center; }
.ta-annonces-suite, .ta-annonces-precedentes { padding: 16px 0; text-align: center; }
.ta-chargement { color: var(--ta-gris-texte); padding: 10px; }
.ta-card-erreur { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); margin: 20px auto; max-width: 600px; padding: 24px; text-align: center; }
.ta-card-erreur i { font-size: 5rem; }

/* --- Bouton retour en haut --- */
.ta-scroll-haut { align-items: center; background: var(--ta-rouge); border-radius: 50%; bottom: 20px; box-shadow: var(--ta-ombre-2); color: #fff; display: flex; height: 44px; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 20px; transition: opacity .3s; width: 44px; z-index: 30; }
.ta-scroll-haut.active { opacity: 1; pointer-events: auto; }
.ta-scroll-haut i { font-size: 22px; }

/* --- Rubriques (home, menu categories) --- */
.ta-rubriques { display: grid; gap: 4px 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.ta-rubrique { display: flex; flex-direction: column; min-width: 0; }
.ta-rubriques .level_1, .ta-categories-toutes .level_1 { align-items: center; color: rgba(0,0,0,.87); display: flex; font-size: 15px; font-weight: 600; gap: 8px; padding: 10px 12px; }
.ta-rubriques .level_1 i, .ta-categories-toutes .level_1 i { color: var(--ta-rouge); font-size: 20px; }
.ta-rubriques .level_2 { border-radius: var(--ta-rayon); color: rgba(0,0,0,.75); display: block; font-size: 14px; overflow: hidden; padding: 6px 12px 6px 40px; text-overflow: ellipsis; white-space: nowrap; }
.ta-rubriques .level_2 span { color: var(--ta-rouge); display: inline-block; font-size: 12px; font-variant-numeric: tabular-nums; margin-right: 8px; text-align: right; width: 3.8em; }
.ta-rubriques a:hover { background: var(--ta-fond-2); }
@media (max-width: 900px) { .ta-rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ta-rubriques { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

.ta-categories-panneau .ta-rubriques { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ta-categories-panneau .ta-rubriques { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .ta-categories-panneau .ta-rubriques { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
.ta-categories-toutes { border-top: 1px solid rgba(0,0,0,.08); margin-top: 8px; }
.ta-categories-toutes summary { cursor: pointer; list-style: none; }
.ta-categories-toutes summary::-webkit-details-marker { display: none; }
.ta-categories-toutes[open] summary .icofont-caret-down { transform: rotate(180deg); }
.ta-categories-toutes-liste { column-gap: 12px; columns: 3 220px; padding: 0 0 8px; }
.ta-categories-toutes-liste a { break-inside: avoid; color: rgba(0,0,0,.87); display: block; padding: 7px 12px; }
.ta-categories-toutes-liste a:hover { background: var(--ta-fond-2); }
.ta-categories-toutes-liste .level_1 { font-weight: 600; padding: 9px 12px; }
.ta-categories-toutes-liste .level_1 i { color: var(--ta-rouge); margin-right: 4px; }
.ta-categories-toutes-liste .level_2 { padding-left: 34px; }

/* --- Blocs de la home --- */
.ta-home { margin: 0 auto; max-width: var(--ta-largeur); padding: 10px 20px 0; }
.ta-home h2 { color: rgba(0,0,0,.87); font-size: 20px; font-weight: 500; margin: 20px 0 14px; text-align: center; }
.ta-home-carte { display: grid; gap: 24px; grid-template-columns: 360px minmax(0, 1fr); }
.ta-home-regions, .ta-home-categories { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); padding: 0 16px 20px; text-align: center; }
.ta-home-categories .ta-rubriques { margin-bottom: 16px; }
.ta-carte-france-conteneur { margin: 0 auto 12px; max-width: 320px; }
.ta-carte-france { height: auto; max-width: 100%; }
.ta-carte-france path { fill: #e5e5e5; stroke: #fff; stroke-width: 2; transition: fill .2s; }
.ta-carte-france a:hover path, .ta-carte-france a:focus path, .ta-carte-france a.actif path { fill: var(--ta-rouge); }
.ta-home-regions .ta-menu { display: inline-block; }
.ta-home-depose { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); margin-top: 24px; padding: 0 16px 16px; text-align: center; }
.ta-home-depose p { margin: 16px auto 0; max-width: 1000px; }
.ta-depose-bloc { align-items: center; background-color: #abe1fa; border-radius: var(--ta-rayon); display: flex; flex-direction: column; gap: 16px; padding: 20px 0; }
.ta-depose-bloc ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 20px; width: 100%; }
.ta-depose-bloc li { background: url("../images/topannonces/imgs/pictos_deposit.png") no-repeat scroll 0 0 transparent; color: rgba(0,0,0,.87); display: flex; flex-direction: column; font-size: 18px; font-weight: 600; justify-content: center; min-height: 90px; padding-left: 130px; text-align: left; }
#deposit_part { background-position: 0 10px; }
#deposit_free { background-position: 0 -134px; }
#deposit_chrono { background-position: 0 -298px; }
.ta-btn-depose-home { background-color: var(--ta-vert); border-radius: 20px; color: #fff; display: inline-block; font-weight: 500; height: 40px; line-height: 40px; width: 184px; }
.ta-btn-depose-home:hover { background-color: var(--ta-vert-fonce); }
.ta-home-localisations { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.ta-home-localisations ul { column-gap: 12px; columns: 3 160px; }
.ta-home-localisations li { break-inside: avoid; padding: 4px 0; }
.ta-home-localisations a { color: var(--ta-texte); }
.ta-home-localisations a:hover { color: var(--ta-rouge); text-decoration: underline; }
@media (max-width: 1024px) {
    .ta-home-carte { grid-template-columns: minmax(0, 1fr); }
    .ta-depose-bloc ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .ta-home { padding: 10px 10px 0; }
    .ta-home-localisations { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ta-depose-bloc li { font-size: 16px; }
}

/* --- Fil d'ariane --- */
.ta-breadcrumbs { align-items: center; display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 14px; padding-top: 14px; }
.ta-breadcrumbs li { align-items: center; color: var(--ta-gris-texte); display: inline-flex; font-size: 13px; }
.ta-breadcrumbs li + li::before { color: #bbb; content: ">"; margin-right: 4px; }
.ta-breadcrumbs a { color: var(--ta-texte); }
.ta-breadcrumbs a:hover { color: var(--ta-rouge); text-decoration: underline; }

/* --- Footer --- */
.ta-footer { background: #fff; border-top: 1px solid rgba(0,0,0,.08); color: var(--ta-texte); flex-shrink: 0; font-size: 13px; }
.ta-footer-groupes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 0 auto; max-width: var(--ta-largeur); padding: 24px 20px 10px; }
.ta-footer-titre { color: rgba(0,0,0,.87); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.ta-footer-groupe li { padding: 3px 0; }
.ta-footer-groupe a { color: var(--ta-texte); }
.ta-footer-groupe a:hover { color: var(--ta-rouge); text-decoration: underline; }
.ta-copyright { align-items: center; border-top: 1px solid rgba(0,0,0,.06); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding: 14px 20px; text-align: center; }
.ta-copyright a { color: var(--ta-texte); }
.ta-copyright a:hover { text-decoration: underline; }
.ta-copyright-texte { align-items: center; display: inline-flex; gap: 8px; }
.ta-arche img { display: block; height: 30px; width: auto; }
.ta-version { color: #bbb; font-size: 11px; }
.ta-footer-detail { padding-bottom: var(--ta-barre); }

/* --- Modales (mat-dialog / bottom-sheet) --- */
.ta-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 1000; }
.ta-modal-voile { animation: ta-apparition .15s ease; background: rgba(0,0,0,.32); inset: 0; position: absolute; }
.ta-modal-boite {
    animation: ta-montee .2s ease; background: #fff; border-radius: var(--ta-rayon); box-shadow: 0 11px 15px -7px rgba(0,0,0,.2), 0 24px 38px 3px rgba(0,0,0,.14), 0 9px 46px 8px rgba(0,0,0,.12);
    display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-width: 100%; position: relative; width: 560px;
}
.ta-modal-petite .ta-modal-boite { width: 360px; }
.ta-modal-large .ta-modal-boite { width: 800px; }
.ta-modal-geante .ta-modal-boite { height: 80vh; width: 90vw; }
.ta-modal-entete { align-items: center; background-color: var(--ta-fond-2); border-radius: var(--ta-rayon) var(--ta-rayon) 0 0; display: flex; flex-shrink: 0; gap: 8px; min-height: 48px; padding: 0 4px 0 16px; }
.ta-modal-titre { color: rgba(0,0,0,.87); flex: 1; font-size: 19px; font-variant: small-caps; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-modal-titre i { margin-right: 6px; }
.ta-modal-fermer { align-items: center; border-radius: 50%; display: inline-flex; height: 40px; justify-content: center; width: 40px; }
.ta-modal-fermer:hover { background: rgba(0,0,0,.06); }
.ta-modal-fermer i { font-size: 20px; }
.ta-modal-corps { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px 24px; }
.ta-modal-pied { align-items: center; border-top: 1px solid rgba(0,0,0,.06); display: flex; flex-shrink: 0; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 10px 16px; }
.ta-modal-pied-centre { justify-content: center; }
/* Tiroir lateral (filtres sur desktop) */
.ta-modal-tiroir { justify-content: flex-end; padding: 0; }
.ta-modal-tiroir .ta-modal-boite { animation: ta-glisse .2s ease; border-radius: 0; height: 100%; max-height: 100%; width: 380px; }
.ta-modal-tiroir .ta-modal-entete { border-radius: 0; }
/* Feuille basse (contact) */
.ta-modal-feuille { align-items: flex-end; padding: 0; }
.ta-modal-feuille .ta-modal-boite { border-radius: 8px 8px 0 0; max-height: 90vh; width: 720px; }
@media (max-width: 640px) {
    .ta-modal { padding: 0; }
    .ta-modal-boite { border-radius: 0; height: 100%; max-height: 100%; width: 100% !important; }
    .ta-modal-entete { border-radius: 0; }
    .ta-modal-petite .ta-modal-boite, .ta-modal-centree .ta-modal-boite { border-radius: var(--ta-rayon); height: auto; max-height: calc(100% - 20px); width: calc(100% - 20px) !important; }
    .ta-modal-petite, .ta-modal-centree { padding: 10px; }
    .ta-modal-geante .ta-modal-boite { height: 100%; }
    .ta-modal-corps { padding: 16px; }
    .ta-modal-feuille .ta-modal-boite { height: auto; max-height: 92vh; border-radius: 8px 8px 0 0; }
}
@keyframes ta-apparition { from { opacity: 0; } to { opacity: 1; } }
@keyframes ta-montee { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ta-glisse { from { transform: translateX(100%); } to { transform: none; } }

/* --- Formulaires --- */
.ta-form { display: flex; flex-direction: column; gap: 14px; }
.ta-champ { border: 0; display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; padding: 0; }
.ta-champ-libelle { color: rgba(0,0,0,.6); font-size: 13px; }
.ta-champ-aide { color: rgba(0,0,0,.54); font-size: 12px; }
.ta-champ-erreur, .ta-erreur { color: #f44336; font-size: 13px; }
.ta-champ-compteur { color: rgba(0,0,0,.54); font-size: 12px; text-align: right; }
.ta-input, .ta-select, .ta-textarea {
    background: #fff; border: 1px solid #c9c9c9; border-radius: var(--ta-rayon); color: rgba(0,0,0,.87); font-size: 16px; min-height: 42px; outline: none; padding: 8px 12px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.ta-input:focus, .ta-select:focus, .ta-textarea:focus { border-color: var(--ta-bleu); box-shadow: 0 0 0 3px rgba(75,154,212,.18); }
.ta-input.ta-invalide, .ta-select.ta-invalide, .ta-textarea.ta-invalide { border-color: #f44336; }
.ta-textarea { line-height: 1.4; min-height: 90px; resize: vertical; }
.ta-select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23757575'/%3E%3C/svg%3E"); background-position: right 12px center; background-repeat: no-repeat; padding-right: 32px; }
.ta-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ta-radios label, .ta-case { align-items: center; cursor: pointer; display: inline-flex; gap: 8px; }
.ta-case input, .ta-radios input { accent-color: var(--ta-rouge); height: 18px; width: 18px; }
.ta-champ-unite { align-items: center; display: flex; position: relative; }
.ta-champ-unite span { color: rgba(0,0,0,.54); pointer-events: none; position: absolute; right: 12px; }
.ta-champ-unite .ta-input { padding-right: 34px; }
.ta-minmax { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.ta-cases { display: flex; flex-direction: column; gap: 10px; }
.ta-champ-icone { position: relative; }
.ta-champ-icone > i { color: rgba(0,0,0,.4); position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.ta-texte-legal { color: rgba(0,0,0,.6); font-size: 12px; }
.ta-texte-legal a { color: var(--ta-bleu); text-decoration: underline; }
.ta-retour { color: var(--ta-bleu); cursor: pointer; font-size: 14px; }
.ta-menu-lien { color: var(--ta-bleu); cursor: pointer; display: block; padding: 6px 0; text-align: center; }
.ta-menu-lien:hover { text-decoration: underline; }
.ta-separateur { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 12px 0; }

/* Interrupteur (mat-slide-toggle) */
.ta-interrupteur { align-items: center; cursor: pointer; display: flex; gap: 12px; justify-content: space-between; padding: 8px 0; }
.ta-interrupteur input { -webkit-appearance: none; appearance: none; background: #bdbdbd; border-radius: 10px; cursor: pointer; flex-shrink: 0; height: 20px; position: relative; transition: background .2s; width: 36px; }
.ta-interrupteur input::after { background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.4); content: ""; height: 16px; left: 2px; position: absolute; top: 2px; transition: transform .2s; width: 16px; }
.ta-interrupteur input:checked { background: var(--ta-rouge); }
.ta-interrupteur input:checked::after { transform: translateX(16px); }

/* Autocompletion */
.ta-auto { position: relative; }
.ta-auto-liste { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre-2); left: 0; max-height: 260px; overflow-y: auto; position: absolute; right: 0; top: calc(100% + 2px); z-index: 1100; }
.ta-auto-liste button { display: block; padding: 10px 14px; text-align: left; width: 100%; }
.ta-auto-liste button:hover, .ta-auto-liste button.actif { background: rgba(0,0,0,.05); }
.ta-auto-vide { color: var(--ta-gris-texte); padding: 10px 14px; }

/* Curseur (mat-slider) */
.ta-slider input[type=range] { accent-color: var(--ta-rouge); width: 100%; }
.ta-slider-valeur { color: rgba(0,0,0,.87); font-weight: 600; text-align: center; }
.ta-slider-graduations { color: var(--ta-gris-texte); display: flex; font-size: 12px; justify-content: space-between; }

/* --- Modale de filtres --- */
.ta-filtres { display: flex; flex-direction: column; gap: 18px; }
.ta-filtre-nom { color: rgba(0,0,0,.87); font-size: 14px; font-weight: 600; margin-bottom: 6px; }

/* --- Modale de localisation --- */
.ta-localisation { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 160px); align-items: center; }
.ta-localisation-ou { color: var(--ta-gris-texte); text-align: center; }
.ta-btn-france { align-items: center; background: var(--ta-fond-2); border-radius: var(--ta-rayon); display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.ta-btn-france:hover { background: var(--ta-gris); }
.ta-btn-france img { height: auto; width: 90px; }
.ta-villes { margin-top: 16px; }
.ta-villes-titre { color: rgba(0,0,0,.87); font-weight: 600; margin-bottom: 8px; }
.ta-villes-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.ta-villes-liste button { background: var(--ta-fond-2); border-radius: 16px; padding: 6px 12px; }
.ta-villes-liste button:hover { background: var(--ta-gris); color: var(--ta-rouge); }
@media (max-width: 640px) {
    .ta-localisation { grid-template-columns: minmax(0, 1fr); }
}

/* --- Toast (mat-snack-bar) --- */
.ta-toasts { bottom: 20px; display: flex; flex-direction: column; gap: 8px; left: 50%; position: fixed; transform: translateX(-50%); z-index: 2000; width: max-content; max-width: calc(100vw - 20px); }
.ta-toast { align-items: center; animation: ta-montee .2s ease; background: #323232; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre-2); color: #fff; display: flex; gap: 16px; padding: 12px 16px; white-space: pre-line; }
.ta-toast button { color: var(--ta-vert); font-weight: 600; }
.ta-page-detail .ta-toasts { bottom: calc(var(--ta-barre) + 16px); }

/* --- Detail d'une annonce --- */
.ta-detail { padding-bottom: 10px; }
.ta-detail-haut { display: grid; gap: 24px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); padding-top: 20px; }
.ta-detail-haut > .ta-detail-desc:only-child { grid-column: 1 / -1; }
.ta-galerie { background: #222; border-radius: var(--ta-rayon); overflow: hidden; position: relative; }
.ta-galerie-piste { display: flex; height: 460px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ta-galerie-piste::-webkit-scrollbar { display: none; }
.ta-galerie-item { cursor: zoom-in; flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.ta-galerie-item img { height: 100%; object-fit: contain; width: 100%; }
.ta-galerie-nav { align-items: center; background: rgba(0,0,0,.45); border-radius: 50%; color: #fff; display: flex; font-size: 30px; height: 44px; justify-content: center; line-height: 1; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; z-index: 2; }
.ta-galerie-nav:hover { background: rgba(0,0,0,.7); }
.ta-galerie-prec { left: 10px; }
.ta-galerie-suiv { right: 10px; }
.ta-galerie-compteur { background: rgba(0,0,0,.6); border-radius: 12px; bottom: 10px; color: #fff; font-size: 13px; padding: 4px 10px; position: absolute; right: 10px; }
.ta-detail-desc { min-width: 0; }
.ta-detail-date { color: var(--ta-gris-texte); font-size: 12px; margin-bottom: 6px; }
.ta-detail-desc h1 { color: rgba(0,0,0,.87); font-size: 24px; font-weight: 500; line-height: 1.25; margin-bottom: 8px; }
.ta-detail-lieu { color: rgba(0,0,0,.6); margin-bottom: 14px; }
.ta-detail-lieu i { color: var(--ta-rouge); }
.ta-detail-texte { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.ta-detail-texte a { color: var(--ta-bleu); }
.ta-detail-prix { color: var(--ta-rouge); font-size: 24px; font-weight: 700; margin-top: 10px; }
.ta-detail-caract, .ta-detail-vendeur { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); margin-top: 20px; padding-bottom: 16px; padding-top: 16px; }
.ta-detail-section { color: rgba(0,0,0,.87); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.ta-detail-caract ul { display: grid; gap: 14px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ta-detail-caract li > div:first-child { color: rgba(0,0,0,.54); font-size: 13px; }
.ta-detail-valeur { color: rgba(0,0,0,.87); font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.ta-lom { color: var(--ta-gris-texte); font-style: italic; margin: 14px 0 0; }
.ta-dpe { display: flex; flex-wrap: nowrap; margin-top: 9px; }
.ta-dpe span { align-items: center; display: inline-flex; font-size: .8rem; justify-content: center; min-width: 24px; padding: .2rem; }
.ta-dpe span.active { border: 2px solid #fff; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,.25); font-weight: 700; padding: .5rem; transform: scale(1.15); }
.ta-dpe-GES span:nth-child(1) { background: #f6edfe; } .ta-dpe-GES span:nth-child(2) { background: #e4c7fb; } .ta-dpe-GES span:nth-child(3) { background: #d2adf1; }
.ta-dpe-GES span:nth-child(4) { background: #c99aef; } .ta-dpe-GES span:nth-child(5) { background: #b77ae9; color: #fff; } .ta-dpe-GES span:nth-child(6) { background: #a659e9; color: #fff; } .ta-dpe-GES span:nth-child(7) { background: #8835d9; color: #fff; }
.ta-dpe-GES2022 span:nth-child(1) { background: #a4dcf5; } .ta-dpe-GES2022 span:nth-child(2) { background: #89b6d7; } .ta-dpe-GES2022 span:nth-child(3) { background: #7792af; }
.ta-dpe-GES2022 span:nth-child(4) { background: #606f8e; color: #fff; } .ta-dpe-GES2022 span:nth-child(5) { background: #4d5270; color: #fff; } .ta-dpe-GES2022 span:nth-child(6) { background: #38344d; color: #fff; } .ta-dpe-GES2022 span:nth-child(7) { background: #261c34; color: #fff; }
.ta-dpe-CEL span:nth-child(1), .ta-dpe-CO2 span:nth-child(1) { background: #379932; color: #fff; } .ta-dpe-CEL span:nth-child(2), .ta-dpe-CO2 span:nth-child(2) { background: #3acc31; color: #fff; }
.ta-dpe-CEL span:nth-child(3), .ta-dpe-CO2 span:nth-child(3) { background: #cdfd33; } .ta-dpe-CEL span:nth-child(4), .ta-dpe-CO2 span:nth-child(4) { background: #fbea49; }
.ta-dpe-CEL span:nth-child(5), .ta-dpe-CO2 span:nth-child(5) { background: #fccc2f; } .ta-dpe-CEL span:nth-child(6), .ta-dpe-CO2 span:nth-child(6) { background: #fb9c34; color: #fff; }
.ta-dpe-CEL span:nth-child(7), .ta-dpe-CO2 span:nth-child(7) { background: #fa1c1f; color: #fff; }
.ta-dpe-aide { background: var(--ta-bleu); border-radius: 50%; color: #fff; display: inline-flex; font-size: 11px; font-weight: 700; height: 16px; justify-content: center; line-height: 16px; margin-left: 4px; width: 16px; }
.ta-mention-exces { color: #fa1c1f; font-size: 12px; margin-top: 6px; }
.ta-detail-vendeur { align-items: center; display: flex; gap: 16px; }
.ta-detail-vendeur img { border-radius: 50%; flex-shrink: 0; height: 60px; object-fit: cover; width: 60px; }
.ta-detail-vendeur-nom { color: rgba(0,0,0,.87); font-size: 16px; font-weight: 600; }
.ta-detail-autres { align-items: center; display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 20px; }
.ta-detail-carte { border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); height: 110px; overflow: hidden; position: relative; width: 300px; max-width: 100%; }
.ta-detail-carte img { height: 100%; object-fit: cover; width: 100%; }
.ta-detail-carte span { background: rgba(255,255,255,.92); border-radius: 18px; color: rgba(0,0,0,.87); font-weight: 500; left: 50%; padding: 8px 14px; position: absolute; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.ta-detail-liens { display: flex; flex-direction: column; gap: 4px; }
.ta-detail-liens i { color: var(--ta-rouge); font-size: 18px; }
@media (max-width: 1024px) { .ta-detail-caract ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .ta-detail-haut { gap: 14px; grid-template-columns: minmax(0, 1fr); padding: 0; }
    .ta-galerie { border-radius: 0; margin: 0 -10px; }
    .ta-galerie-piste { height: 300px; }
    .ta-detail-desc { padding: 0 6px; }
    .ta-detail-desc h1 { font-size: 20px; }
    .ta-detail-caract ul { grid-template-columns: minmax(0, 1fr); }
    .ta-detail-carte { width: 100%; }
}
@media (max-width: 640px) { .ta-detail-haut.ta-container { padding: 0 10px; } }

/* Barre d'actions basse du detail */
.ta-barre-actions { background: #fff; bottom: 0; box-shadow: 0 -2px 6px rgba(0,0,0,.12); left: 0; position: fixed; right: 0; z-index: 45; }
.ta-barre-actions-contenu { align-items: center; display: flex; gap: 8px; height: var(--ta-barre); margin: 0 auto; max-width: var(--ta-largeur); padding: 0 20px; }
.ta-barre-titre { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.ta-barre-titre span { color: rgba(0,0,0,.87); }
.ta-barre-titre strong { color: var(--ta-rouge); font-size: 16px; }
.ta-btn-barre { align-items: center; border-radius: var(--ta-rayon); color: rgba(0,0,0,.7); display: inline-flex; flex-direction: column; font-size: 12px; gap: 2px; justify-content: center; min-width: 64px; padding: 6px 8px; }
.ta-btn-barre i { font-size: 20px; }
.ta-btn-barre:hover { background: rgba(0,0,0,.04); }
.ta-btn-tel, .ta-btn-message { background: var(--ta-rouge); color: #fff; flex-direction: row; font-size: 15px; gap: 8px; height: 44px; padding: 0 20px; }
.ta-btn-message { background: var(--ta-vert); }
.ta-btn-tel:hover { background: var(--ta-rouge-fonce); }
.ta-btn-message:hover { background: var(--ta-vert-fonce); }
.ta-btn-tel i, .ta-btn-message i { font-size: 18px; }
@media (max-width: 768px) {
    .ta-barre-actions-contenu { gap: 4px; padding: 0 8px; }
    .ta-barre-titre { display: none; }
    .ta-btn-barre { min-width: 56px; }
    .ta-btn-tel, .ta-btn-message { flex: 1; font-size: 14px; padding: 0 10px; }
}

/* Visionneuse plein ecran */
.ta-visionneuse { background: #000; inset: 0; position: fixed; z-index: 1500; }
.ta-visionneuse-piste { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ta-visionneuse-piste::-webkit-scrollbar { display: none; }
.ta-visionneuse-item { align-items: center; display: flex; flex: 0 0 100%; justify-content: center; scroll-snap-align: center; }
.ta-visionneuse-item img { max-height: 100%; max-width: 100%; object-fit: contain; }
.ta-visionneuse-fermer { align-items: center; background: rgba(255,255,255,.15); border-radius: 50%; color: #fff; display: flex; height: 44px; justify-content: center; position: absolute; right: 14px; top: 14px; width: 44px; z-index: 3; }
.ta-visionneuse-fermer i { font-size: 22px; }

/* Partage, conseils, dpe */
.ta-conseils h2 { color: rgba(0,0,0,.87); font-size: 17px; margin-bottom: 14px; }
.ta-conseils li { display: flex; gap: 14px; margin-bottom: 14px; }
.ta-conseils li i { color: var(--ta-rouge); font-size: 26px; }
.ta-conseils strong { color: rgba(0,0,0,.87); display: block; }
.ta-diagnostics { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.ta-diagnostics img { display: block; height: auto; margin: 0 auto; max-width: 100%; }
@media (max-width: 640px) { .ta-diagnostics { grid-template-columns: minmax(0, 1fr); } }
.ta-carte-map { height: 100%; min-height: 300px; width: 100%; }
.ta-modal-geante .ta-modal-corps { padding: 0; }

/* --- Messagerie (MessageComponent / commentaires) --- */
.ta-conversation { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ta-conversation-annonce { align-items: center; border-bottom: 1px solid rgba(0,0,0,.08); color: inherit; display: flex; flex-shrink: 0; gap: 12px; padding: 10px 0; }
.ta-conversation-annonce img { border-radius: var(--ta-rayon); flex-shrink: 0; height: 56px; object-fit: cover; width: 72px; }
.ta-conversation-annonce h2 { color: rgba(0,0,0,.87); font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-conversation-messages { display: flex; flex: 1; flex-direction: column; gap: 4px; min-height: 160px; overflow-y: auto; padding: 12px 0; }
.ta-message { align-items: flex-end; display: flex; gap: 8px; max-width: 85%; }
.ta-message.moi { align-self: flex-end; flex-direction: row-reverse; }
.ta-message-avatar { flex-shrink: 0; height: 32px; width: 32px; }
.ta-message-avatar img { border-radius: 50%; height: 32px; object-fit: cover; width: 32px; }
.ta-message p { background: var(--ta-fond-2); border-radius: 16px 16px 16px 4px; margin: 0; padding: 8px 12px; }
.ta-message.moi p { background: #fde4e5; border-radius: 16px 16px 4px 16px; }
.ta-message em { display: block; font-style: normal; overflow-wrap: anywhere; white-space: pre-line; }
.ta-message p > span { color: rgba(0,0,0,.45); display: block; font-size: 11px; margin-top: 4px; text-align: right; }
.ta-message p img { border-radius: 8px; display: block; max-height: 280px; }
.ta-message.envoi { opacity: .6; }
.ta-message strong { color: rgba(0,0,0,.7); margin-right: 6px; }
.ta-conversation-pied { align-items: flex-end; border-top: 1px solid rgba(0,0,0,.08); display: flex; flex-shrink: 0; gap: 8px; padding-top: 10px; }
.ta-conversation-pied textarea { flex: 1; max-height: 160px; min-height: 42px; resize: none; }
.ta-btn-rond { align-items: center; background: var(--ta-rouge); border-radius: 50%; color: #fff; display: inline-flex; flex-shrink: 0; height: 42px; justify-content: center; width: 42px; }
.ta-btn-rond.gris { background: var(--ta-fond-2); color: rgba(0,0,0,.7); }
.ta-btn-rond i { font-size: 18px; }
.ta-btn-rond input { display: none; }

/* --- Espace connecte --- */
.ta-compte { padding-bottom: 30px; }
.ta-compte-accueil { padding-top: 20px; }
.ta-compte-profil { align-items: center; display: flex; gap: 16px; justify-content: center; margin: 10px 0 24px; }
.ta-compte-profil img { border-radius: 50%; height: 80px; object-fit: cover; width: 80px; }
.ta-compte-profil span { font-size: 18px; }
.ta-compte-boutons { display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 auto; max-width: 1100px; }
.ta-compte-bouton { align-items: center; background: var(--ta-rouge); border-radius: 8px; box-shadow: var(--ta-ombre-2); color: #fff; display: flex; flex-direction: column; font-size: 15px; gap: 8px; justify-content: center; min-height: 120px; padding: 16px; text-align: center; transition: transform .15s, background .2s; }
.ta-compte-bouton:hover { background: var(--ta-rouge-fonce); transform: translateY(-2px); }
.ta-compte-bouton i { font-size: 34px; }
.ta-compte-bouton em { font-size: 34px; font-style: normal; font-weight: 700; line-height: 1; }
@media (max-width: 1024px) { .ta-compte-boutons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ta-compte-boutons { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ta-compte-bouton-annonces { grid-column: 1 / -1; } }
.ta-compte-filtres { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 260px)); margin: 0 0 16px; }
@media (max-width: 640px) { .ta-compte-filtres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ta-compte-liste { display: flex; flex-direction: column; gap: 14px; }
.ta-ligne { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); display: flex; gap: 16px; padding: 12px; position: relative; }
.ta-ligne-image { background: var(--ta-gris); border-radius: var(--ta-rayon); flex-shrink: 0; height: 110px; overflow: hidden; position: relative; width: 150px; }
.ta-ligne-image img { height: 100%; object-fit: cover; width: 100%; }
.ta-ligne-image span { background: rgba(0,0,0,.6); border-radius: 4px; bottom: 6px; color: #fff; font-size: 12px; left: 6px; padding: 2px 6px; position: absolute; }
.ta-ligne-corps { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.ta-ligne-titre { color: rgba(0,0,0,.87); font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-ligne-sous-titre { color: rgba(0,0,0,.54); font-size: 13px; }
.ta-ligne-texte { -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 2; overflow: hidden; }
.ta-ligne-pied { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: auto; }
.ta-ligne-prix { color: var(--ta-rouge); font-weight: 700; }
.ta-ligne-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-left: auto; }
.ta-ligne-actions button, .ta-ligne-actions a { align-items: center; border-radius: var(--ta-rayon); color: rgba(0,0,0,.7); display: inline-flex; font-size: 13px; gap: 6px; padding: 6px 10px; }
.ta-ligne-actions button:hover, .ta-ligne-actions a:hover { background: rgba(0,0,0,.05); }
.ta-ligne-actions .danger { color: var(--ta-rouge); }
.ta-etat { border-radius: 12px; display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; }
.ta-etat-VA { background: #e3f6ea; color: #2e8b57; } .ta-etat-BR { background: #eceff1; color: #546e7a; }
.ta-etat-RH { background: #fde4e5; color: var(--ta-rouge); } .ta-etat-DE, .ta-etat-EX { background: #fff3e0; color: #ef6c00; }
.ta-etat-AV, .ta-etat-AC, .ta-etat-AF, .ta-etat-AT { background: #e3f2fd; color: #1565c0; }
.ta-ligne.suppr { opacity: .55; }
@media (max-width: 640px) {
    .ta-ligne { flex-direction: column; }
    .ta-ligne-image { height: 180px; width: 100%; }
    .ta-ligne-actions { margin-left: 0; }
}
.ta-titre-page { color: rgba(0,0,0,.87); font-size: 22px; font-weight: 500; margin: 6px 0 16px; }
.ta-titre-page i { color: var(--ta-rouge); margin-right: 8px; }
.ta-sous-titre-page { color: rgba(0,0,0,.6); font-size: 15px; font-weight: 400; margin: -8px 0 16px; }
.ta-listes-favoris { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ta-liste-favoris { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); color: inherit; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.ta-liste-favoris:hover .ta-ligne-titre { color: var(--ta-rouge); }
.ta-participants { align-items: center; display: flex; flex-wrap: wrap; gap: 4px; }
.ta-participants img { border: 2px solid #fff; border-radius: 50%; height: 32px; object-fit: cover; width: 32px; }
.ta-participants button { align-items: center; background: var(--ta-fond-2); border-radius: 16px; display: inline-flex; gap: 4px; height: 32px; padding: 0 10px; }
.ta-accordeon { display: flex; flex-direction: column; gap: 10px; }
.ta-accordeon details { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); }
.ta-accordeon summary { align-items: center; color: rgba(0,0,0,.87); cursor: pointer; display: flex; font-size: 16px; font-weight: 500; gap: 10px; list-style: none; padding: 16px 20px; }
.ta-accordeon summary::-webkit-details-marker { display: none; }
.ta-accordeon summary::after { color: var(--ta-gris-texte); content: "\ea67"; font-family: "IcoFont"; margin-left: auto; transition: transform .2s; }
.ta-accordeon details[open] summary::after { transform: rotate(180deg); }
.ta-accordeon summary i { color: var(--ta-rouge); font-size: 20px; }
.ta-accordeon-corps { padding: 0 20px 20px; }
.ta-accordeon-corps h3 { color: rgba(0,0,0,.87); font-size: 15px; font-weight: 600; margin: 10px 0 8px; }
.ta-fermeture > li { border-bottom: 1px solid rgba(0,0,0,.06); padding: 10px 0 16px; }
.ta-fermeture > li:last-child { border-bottom: 0; }
.ta-telechargements li { align-items: center; display: flex; gap: 12px; justify-content: space-between; padding: 6px 0; }
.ta-telechargements a { color: var(--ta-bleu); text-decoration: underline; }
.ta-messagerie { display: grid; gap: 16px; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); height: calc(100vh - var(--ta-header) - 90px); min-height: 420px; }
.ta-messagerie-contacts { overflow-y: auto; }
.ta-contact { align-items: center; background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); color: inherit; display: flex; gap: 10px; margin-bottom: 8px; padding: 10px; }
.ta-contact.selected { box-shadow: 0 0 0 2px var(--ta-rouge); }
.ta-contact img { border-radius: 50%; flex-shrink: 0; height: 40px; object-fit: cover; width: 40px; }
.ta-contact-corps { flex: 1; min-width: 0; }
.ta-contact-nom { align-items: center; color: rgba(0,0,0,.87); display: flex; font-weight: 600; gap: 8px; justify-content: space-between; }
.ta-contact-nom span { color: var(--ta-gris-texte); flex-shrink: 0; font-size: 11px; font-weight: 400; }
.ta-contact-dernier, .ta-contact-annonce { color: rgba(0,0,0,.54); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-contact-annonce i { margin-right: 4px; }
.ta-messagerie-conversation { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); display: flex; flex-direction: column; min-height: 0; padding: 0 14px 14px; }
.ta-messagerie-cookies { color: var(--ta-gris-texte); display: inline-block; font-size: 12px; margin: 12px 0 4px; }
.ta-messagerie-cookies:hover { text-decoration: underline; }
.ta-messagerie-retour { display: none; justify-self: start; padding: 0 0 4px; text-align: left; }
.ta-conversation-annonce-vide { align-items: center; background: #eee; border-radius: var(--ta-rayon); color: #bbb; display: flex; flex-shrink: 0; font-size: 28px; height: 56px; justify-content: center; width: 72px; }
.ta-messagerie-vide { align-items: center; color: var(--ta-gris-texte); display: flex; flex: 1; justify-content: center; }
@media (max-width: 768px) {
    .ta-messagerie { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
    .ta-messagerie.active .ta-messagerie-contacts { display: none; }
    .ta-messagerie:not(.active) .ta-messagerie-conversation { display: none; }
    .ta-messagerie.active { gap: 6px; }
    .ta-messagerie.active .ta-messagerie-retour { display: block; }
    .ta-messagerie.active .ta-messagerie-conversation { height: calc(100vh - var(--ta-header) - 100px); }
}
.ta-fiche-alerte { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); margin: 0 auto; max-width: 720px; padding: 20px; }

/* --- Authentification --- */
.ta-auth p { margin-bottom: 12px; }
.ta-auth .ta-btn { width: 100%; }
.ta-code-secret { font-size: 22px; letter-spacing: 8px; text-align: center; }

/* --- Alerte --- */
.ta-alerte-ok { text-align: center; }
.ta-alerte-ok i { color: var(--ta-vert); font-size: 40px; }

/* --- Depot d'annonce --- */
.ta-depose { margin: 0 auto; max-width: 900px; padding: 20px 20px 40px; }
.ta-depose h1 { color: rgba(0,0,0,.87); font-size: 26px; font-weight: 500; margin-bottom: 16px; text-align: center; }
.ta-depose-etape { background: #fff; border-radius: var(--ta-rayon); box-shadow: var(--ta-ombre); margin-bottom: 16px; opacity: .55; padding: 20px; transition: opacity .2s; scroll-margin-top: calc(var(--ta-header) + 10px); }
.ta-depose-etape.active { opacity: 1; }
/* Etapes : seule l'etape courante est affichee (comme en prod), le bouton
   "Retour" reaffiche l'etape precedente */
.ta-depose-etape.ta-depose-a-venir, .ta-depose-etape.ta-depose-passee { display: none; }
/* Champs obligatoires non renseignes */
.ta-champ.ta-champ-requis > .ta-champ-libelle,
.ta-champ.ta-champ-requis > label > .ta-champ-libelle,
.ta-champ.ta-champ-requis legend { color: #f44336; }
/* Attente pendant les appels a l'api */
.ta-attente { align-items: center; background: rgba(0,0,0,.32); display: flex; inset: 0; justify-content: center; position: fixed; z-index: 1200; animation: ta-apparition .15s ease; }
.ta-attente-boite { align-items: center; background: #fff; border-radius: 8px; box-shadow: var(--ta-ombre-2); color: rgba(0,0,0,.87); display: flex; flex-direction: column; font-size: 15px; gap: 4px; padding: 20px 32px; }
.ta-attente-boite .ta-spinner-grand { margin: 0 0 6px; }
.ta-depose-etape h2 { color: rgba(0,0,0,.87); font-size: 19px; font-weight: 500; margin-bottom: 16px; }
.ta-depose-choix { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.ta-depose-chaines { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ta-btn-choix { align-items: center; background: #fff; border: 1px solid #ddd; border-radius: var(--ta-rayon); color: rgba(0,0,0,.87); display: flex; justify-content: center; min-height: 48px; padding: 10px; text-align: center; transition: border-color .2s, background .2s; }
.ta-btn-choix:hover { border-color: var(--ta-rouge); }
.ta-btn-choix.active { background: var(--ta-rouge); border-color: var(--ta-rouge); color: #fff; }
.ta-btn-choix.icone { flex-direction: column; gap: 8px; min-height: 100px; }
.ta-btn-choix.icone i { font-size: 34px; }
.ta-depose-groupe { color: var(--ta-rouge); font-weight: 600; grid-column: 1 / -1; margin-top: 8px; }
.ta-depose-boutons { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 20px; }
.ta-depose-progression { color: var(--ta-gris-texte); }
.ta-depose-form { display: flex; flex-direction: column; gap: 16px; }
.ta-depose-alerte { background: #fff8e1; border-left: 4px solid #ffb300; border-radius: var(--ta-rayon); padding: 10px 14px; }
.ta-depose-dpe { align-items: flex-end; display: flex; gap: 10px; }
.ta-depose-dpe .ta-champ { flex: 1; }
.ta-depose-ajout-photos { align-items: center; border: 2px dashed #ccc; border-radius: 8px; color: rgba(0,0,0,.6); display: flex; font-size: 16px; height: 140px; justify-content: center; width: 100%; }
.ta-depose-ajout-photos:hover { border-color: var(--ta-rouge); color: var(--ta-rouge); }
.ta-depose-ajout-photos i { font-size: 26px; margin-right: 6px; }
.ta-photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 12px; }
.ta-photo { border: 1px solid #eee; border-radius: var(--ta-rayon); overflow: hidden; position: relative; }
.ta-photo-img { background: var(--ta-gris); height: 130px; position: relative; }
.ta-photo-img img { height: 100%; object-fit: cover; width: 100%; }
.ta-photo-img .ta-spinner { left: 50%; margin: -9px 0 0 -9px; position: absolute; top: 50%; }
.ta-photo-suppr { align-items: center; background: var(--ta-rouge); border-radius: 50%; color: #fff; display: flex; height: 32px; justify-content: center; position: absolute; right: 6px; top: 6px; width: 32px; }
.ta-photo-info { color: rgba(0,0,0,.6); display: flex; font-size: 12px; justify-content: space-between; padding: 6px 8px; gap: 6px; }
.ta-photo-info span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-photo.desactive { opacity: .4; }
.ta-photo.erreur .ta-photo-img::after { color: var(--ta-rouge); content: "Echec"; font-weight: 600; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ta-photo-ajout { align-items: center; border: 2px dashed #ccc; border-radius: var(--ta-rayon); color: rgba(0,0,0,.6); display: flex; flex-direction: column; justify-content: center; min-height: 160px; }
.ta-photo-ajout:hover { border-color: var(--ta-rouge); color: var(--ta-rouge); }
.ta-photo-ajout i { font-size: 30px; }
.ta-depose-telephone .ta-btn { align-self: flex-start; margin-top: 6px; }
.ta-depose-cgu { color: rgba(0,0,0,.6); font-size: 13px; margin-top: 16px; }
.ta-depose-cgu a { color: var(--ta-bleu); text-decoration: underline; }
.ta-depose-erreur { align-items: center; background: #fdecea; border-left: 4px solid #f44336; border-radius: var(--ta-rayon); color: #b71c1c; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 16px; padding: 12px 16px; }
.ta-depose-ok { opacity: 1; text-align: center; }
#ta-depose-utilisateur { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 768px) {
    .ta-depose { padding: 12px 10px 30px; }
    .ta-depose-chaines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ta-depose-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ta-depose-etape { padding: 16px; }
}

/* --- 404 et captcha --- */
.ta-404, .ta-humain { padding-bottom: 40px; padding-top: 40px; text-align: center; }
.ta-404 p { color: rgba(0,0,0,.87); font-size: 18px; margin-bottom: 20px; }
.ta-404 p span { color: var(--ta-rouge); display: block; font-size: 40px; font-weight: 700; }
.ta-404 ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.ta-404 a { align-items: center; background: #fff; border-radius: 20px; box-shadow: var(--ta-ombre); display: inline-flex; gap: 8px; padding: 10px 18px; }
.ta-404 a:hover { color: var(--ta-rouge); }
.ta-form-humain { align-items: center; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.ta-recaptcha { min-height: 78px; }
.ta-resume-alerte { background: var(--ta-fond-2); border-radius: var(--ta-rayon); color: rgba(0,0,0,.75); margin: -4px 0 18px; padding: 10px 14px; }
.ta-resume-alerte i { color: var(--ta-rouge); margin-right: 4px; }
