/* =====================================================================
   Tonio Service – Thème 2026
   Style « paysage de nuit » : Léman et Alpes, titres fins, cartes douces.
   Chargé en dernier sur toutes les pages (après tailwind.css).
   ===================================================================== */

:root {
  --ts-accent: #2563eb;
  --ts-accent-dark: #1d4ed8;
  --ts-ink: #1f2937;
  --ts-muted: #4b5563;
  --ts-line: #e5e7eb;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ts-night: linear-gradient(180deg, #0b1437 0%, #1e2a6b 45%, #4b3f8f 72%, #b06aa8 100%);
  --ts-violet: linear-gradient(160deg, #2a2d4a 0%, #3b3a6e 50%, #5b4a9a 100%);
  --ts-sky: linear-gradient(180deg, #eaf4ff 0%, #d3e9ff 55%, #8fc5ff 100%);
  --ts-inset: max(16px, calc((100% - 1260px) / 2));
}

body {
  font-family: var(--font-body);
  color: var(--ts-ink);
}

/* ---------- Typographie : titres fins ---------- */
h1, h2 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}
h3, h4 {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}
h1 strong, h2 strong { font-weight: 500; }

/* ---------- Barre du haut : bleu clair ---------- */
.top-nav-bar {
  background: #dbeafe !important;
  border-bottom: none !important;
}
.top-nav-bar::before { display: none !important; }
.top-nav-item, .top-nav-item span, .top-nav-phone { color: var(--ts-ink) !important; }
.top-nav-icon, .top-nav-icon-phone {
  background: transparent !important;
  border: none !important;
  color: var(--ts-accent) !important;
  animation: none !important;
  box-shadow: none !important;
}
.top-nav-icon-whatsapp { color: #16a34a !important; }
.top-nav-separator { background: rgba(31, 41, 55, 0.15) !important; }
.top-nav-link:hover { color: var(--ts-accent) !important; }
.top-nav-cta {
  background: #ffffff !important;
  color: var(--ts-ink) !important;
  border: none !important;
  border-radius: 4px !important;
}
.top-nav-cta:hover { background: #f8fafc !important; color: var(--ts-accent) !important; }

/* ---------- En-tête ---------- */
.main-nav-bar {
  background: #ffffff !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--ts-line) !important;
}
.main-nav-bar::after { display: none !important; }
.main-nav-link, .nav-dropdown-btn {
  color: var(--ts-ink) !important;
  font-weight: 400 !important;
  font-size: 15px !important;
}
.main-nav-link::before, .nav-dropdown-btn::after { display: none !important; }
.main-nav-link:hover, .nav-dropdown-btn:hover, .nav-dropdown-btn.active {
  color: var(--ts-accent) !important;
  background: transparent !important;
}
.main-nav-cta, .mobile-cta-button {
  background: var(--ts-accent) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}
.main-nav-cta:hover, .mobile-cta-button:hover { background: var(--ts-accent-dark) !important; transform: none !important; }

/* Méga-menus */
.mega-menu-container {
  background: #ffffff !important;
  border-top: 1px solid var(--ts-line) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12) !important;
}
.mega-menu-header h3 {
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: #6b7280 !important;
}
.mega-menu-item { border-radius: 8px !important; }
.mega-menu-item:hover { background: #f8fafc !important; transform: none !important; }
.mega-menu-item .icon-wrapper { border-radius: 10px !important; box-shadow: none !important; }
.mega-menu-item .title { font-weight: 500 !important; color: var(--ts-ink) !important; }
.mega-menu-item:hover .title { color: var(--ts-accent) !important; }
.mega-menu-footer a { border-radius: 4px !important; }

/* Bande des chiffres clés : discrète */
#social-proof-bar {
  background: #f8fafc !important;
  color: var(--ts-ink) !important;
  border-bottom: 1px solid var(--ts-line);
}
#social-proof-bar .text-emerald-300 { color: #cbd5e1 !important; }
#social-proof-bar svg { color: var(--ts-accent); }
#social-proof-bar .text-yellow-400 svg { color: #f59e0b; }

/* ---------- Haut de page : paysage de nuit ---------- */
.ts-hero {
  position: relative;
  background-color: #0b1437 !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath d='M0 210 L120 150 L210 185 L330 95 L420 160 L540 70 L640 150 L760 110 L860 170 L980 60 L1090 150 L1200 105 L1320 165 L1440 120 L1440 320 L0 320 Z' fill='%232b2f6e' fill-opacity='0.85'/%3E%3Cpath d='M980 60 L1010 95 L995 92 L1020 120 L990 110 L960 90 Z M540 70 L566 102 L550 98 L570 125 L540 112 L515 95 Z' fill='%23e9e7ff' fill-opacity='0.8'/%3E%3Cpath d='M0 240 L160 200 L300 230 L470 185 L620 225 L800 195 L960 230 L1130 190 L1300 228 L1440 205 L1440 320 L0 320 Z' fill='%231b1f52'/%3E%3Crect x='0' y='262' width='1440' height='58' fill='%23141a45'/%3E%3Cpath d='M0 262 H1440' stroke='%238f7fd6' stroke-width='1' stroke-opacity='0.6'/%3E%3Cpath d='M200 278 H520 M760 290 H1180 M90 300 H300 M980 306 H1360' stroke='%23c9a6e0' stroke-width='1.5' stroke-opacity='0.35'/%3E%3C/svg%3E"),
    radial-gradient(1px 1px at 10% 12%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 25% 6%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1.5px 1.5px at 40% 18%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 55% 8%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1.5px 1.5px at 85% 6%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 92% 22%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 5% 26%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 33% 30%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 62% 27%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 78% 32%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 48% 3%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 16% 38%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 88% 40%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 20% 20%, rgba(255,255,255,.85) 50%, transparent 51%),radial-gradient(1px 1px at 67% 4%, rgba(255,255,255,.85) 50%, transparent 51%),
    var(--ts-night) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 200px, auto, auto !important;
  background-position: bottom center, 0 0, 0 0 !important;
  padding-bottom: 210px !important;
  color: #ffffff;
}
.ts-hero > img.absolute,
.ts-hero > div.absolute.inset-0,
.ts-hero > .hero-overlay,
.ts-hero > div > video { display: none !important; }
.ts-hero :is(h1, h2):not([class*="text-gray"]) { color: #ffffff !important; }
.ts-hero h1 span[class*="text-"] { color: #a5c8ff !important; font-style: italic; }
.ts-hero p { color: rgba(255, 255, 255, 0.86); }
.ts-hero a[class*="bg-white"],
.ts-hero a[class*="border-2"],
.ts-hero a[class*="rounded"] { border-radius: 4px !important; }
.ts-hero a[class*="border-2"] { border-width: 1px !important; border-color: rgba(255, 255, 255, 0.6) !important; }

/* ---------- Panneaux colorés (appels à l'action dans les pages) ---------- */
section[class*="bg-gradient-to"][class*="text-white"]:not(.ts-hero) {
  background: var(--ts-violet) !important;
  margin: 48px var(--ts-inset);
  border-radius: 12px;
}
section[class*="bg-gradient-to"][class*="text-white"]:not(.ts-hero) :is(h2, h3):not([class*="text-gray"]) { color: #ffffff; }

/* Bloc final « Prêt à transformer » : panneau bleu ciel */
#final-cta {
  background: var(--ts-sky) !important;
  margin: 80px var(--ts-inset);
  border-radius: 12px;
}

/* ---------- Cartes et boutons ---------- */
main div[class*="rounded"][class*="shadow"],
.min-h-screen div[class*="rounded"][class*="shadow"] {
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  border: 1px solid #eef2f7;
}
a[class*="rounded-lg"][class*="px-"][class*="py-"],
button[class*="rounded-lg"][class*="px-"][class*="py-"] {
  border-radius: 4px !important;
  font-weight: 500 !important;
}

/* ---------- Pied de page ---------- */
footer.bg-gray-800, footer[class*="bg-gray-8"], footer[class*="bg-gray-9"] {
  background: #111827 !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .ts-hero { padding-bottom: 150px !important; background-size: 100% 130px, auto, auto !important; }
  section[class*="bg-gradient-to"][class*="text-white"]:not(.ts-hero) { margin: 32px 12px; }
  #final-cta { margin: 48px 12px; }
}

/* Pied de page : titres sobres en blanc */
footer h3 {
  color: #ffffff !important;
  text-transform: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
footer h3::after, footer h3::before { display: none !important; }

footer::before { display: none !important; }

.mega-menu-footer a:first-child {
  background: var(--ts-accent) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.mega-menu-footer a:first-child svg { color: #ffffff !important; }

/* =====================================================================
   ACCUEIL (body.ts-home)
   ===================================================================== */
.ts-home #social-proof-bar { display: none !important; }
.th-wrap { max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.th-section { padding-top: 130px; }
.th-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 48px; }
.th-head h2, .th-h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem) !important; line-height: 1.2; color: var(--ts-ink); }
.th-head h2 em, .th-h2 em { font-weight: 500; }
.th-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ts-muted); max-width: 680px; }
.th-tag { display: inline-block; padding: 6px 14px; border-radius: 6px; background: #dbeafe; color: var(--ts-ink); font-size: 14px; }
.th-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 4px; font-size: 16px; text-decoration: none; transition: background .2s; }
.th-btn-primary { background: var(--ts-accent); color: #fff !important; }
.th-btn-primary:hover { background: var(--ts-accent-dark); }
.th-btn-white { background: #fff; color: var(--ts-ink) !important; }
.th-btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff !important; }
.th-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Hero */
.ts-home .ts-hero { padding: 96px 0 230px !important; text-align: center; }
.th-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.ts-home .ts-hero h1 { margin: 0; font-size: clamp(2.5rem, 5.5vw, 4.25rem) !important; line-height: 1.15; }
.ts-home .ts-hero .typewriter-line2 { color: #a5c8ff !important; font-style: italic; }
.ts-home .ts-hero .typewriter-line1, .ts-home .ts-hero .typewriter-line2 { display: block; }
.th-hero-text { margin: 0; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.86); max-width: 760px; }
.th-hero-text strong { color: #fff; font-weight: 600; }
.th-search { width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.th-search h2 { margin: 0; font-size: 16px !important; color: rgba(255,255,255,.9) !important; }
.th-search-pill { width: 100%; box-sizing: border-box; display: flex; gap: 8px; padding: 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.th-search-pill label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.10); }
.th-search-pill input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; color: #fff; font: inherit; font-size: 17px; }
.th-search-pill input::placeholder { color: rgba(255,255,255,.65); }
.th-search-pill button { flex: none; padding: 14px 26px; border: none; border-radius: 999px; background: var(--ts-accent); color: #fff; font: inherit; font-size: 16px; cursor: pointer; }
.th-search-pill button:disabled { background: rgba(255,255,255,.25); cursor: not-allowed; }
.th-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.th-trust span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-size: 14px; }

/* 3 services phares */
.th-featured { position: relative; margin-top: -150px; }
.th-featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(15,23,42,.14); }
.th-feat { display: flex; flex-direction: column; min-height: 500px; text-decoration: none; color: var(--ts-ink); border-right: 1px solid rgba(0,0,0,.05); }
.th-feat-body { padding: 40px 40px 0; display: flex; flex-direction: column; gap: 20px; }
.th-feat h3 { margin: 0; align-self: flex-start; padding: 6px 14px; border-radius: 6px; font-size: 14px !important; font-weight: 400 !important; }
.th-feat p { margin: 0; font-size: 21px; line-height: 1.45; }
.th-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.th-chips li { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); font-size: 13px; }
.th-feat .th-more { font-size: 16px; color: var(--ts-accent); }
.th-feat-art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px; }
.th-feat-art span { width: 96px; height: 96px; border-radius: 22px; background: #fff; border: 6px solid rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; }
.th-feat-1 { background: linear-gradient(180deg, #fff 0%, #fff 45%, #fde4f2 78%, #f0b8ff 100%); }
.th-feat-1 h3 { background: #fde7f3; }
.th-feat-1 .th-feat-art span { color: #db2777; box-shadow: 0 12px 30px rgba(219,39,119,.25); }
.th-feat-2 { background: linear-gradient(180deg, #e6f4ff 0%, #cfe9ff 55%, #9fd3ff 100%); }
.th-feat-2 h3 { background: var(--ts-accent); color: #fff !important; }
.th-feat-2 .th-feat-art span { color: var(--ts-accent); box-shadow: 0 12px 30px rgba(37,99,235,.25); }
.th-feat-3 { background: linear-gradient(160deg, #1e2a55 0%, #121a3d 60%, #0b1230 100%); color: #fff; }
.th-feat-3 h3 { background: #4f46e5; color: #fff !important; }
.th-feat-3 .th-chips li { border-color: rgba(255,255,255,.3); }
.th-feat-3 .th-more { color: #93c5fd; }
.th-feat-3 .th-feat-art span { color: #4f46e5; box-shadow: 0 12px 30px rgba(79,70,229,.45); }

/* Autres services */
.th-svc { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 12px; border: 1px solid #eef2f7; text-decoration: none; color: var(--ts-ink); }
.th-svc-icon { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.th-svc h3 { margin: 0; font-size: 22px !important; }
.th-svc p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ts-muted); }
.th-svc .th-chips li { background: rgba(255,255,255,.8); border-color: var(--ts-line); color: #374151; }
.th-svc .th-more { margin-top: auto; font-size: 15px; color: var(--ts-accent); }
.th-c-sky { background: linear-gradient(180deg, #fff 40%, #e0f2fe 100%); } .th-c-sky .th-svc-icon { color: #0369a1; box-shadow: 0 6px 18px rgba(3,105,161,.18); }
.th-c-orange { background: linear-gradient(180deg, #fff 40%, #ffedd5 100%); } .th-c-orange .th-svc-icon { color: #c2410c; box-shadow: 0 6px 18px rgba(194,65,12,.18); }
.th-c-blue { background: linear-gradient(180deg, #fff 40%, #dbeafe 100%); } .th-c-blue .th-svc-icon { color: #2563eb; box-shadow: 0 6px 18px rgba(37,99,235,.18); }
.th-c-teal { background: linear-gradient(180deg, #fff 40%, #ccfbf1 100%); } .th-c-teal .th-svc-icon { color: #0f766e; box-shadow: 0 6px 18px rgba(15,118,110,.18); }
.th-c-violet { background: linear-gradient(180deg, #fff 40%, #ede9fe 100%); } .th-c-violet .th-svc-icon { color: #6d28d9; box-shadow: 0 6px 18px rgba(109,40,217,.18); }
.th-c-pink { background: linear-gradient(180deg, #fff 40%, #fde7f3 100%); } .th-c-pink .th-svc-icon { color: #db2777; box-shadow: 0 6px 18px rgba(219,39,119,.18); }

/* Processus */
.th-steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.th-step { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 2px solid var(--c); }
.th-step span { font-size: 44px; font-weight: 300; color: var(--c); line-height: 1; }
.th-step h3 { margin: 0; font-size: 22px !important; }
.th-step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ts-muted); }

/* Témoignages écrits : panneau violet */
.th-violet { border-radius: 12px; background: var(--ts-violet); padding: 56px 48px; color: #fff; }
.th-violet h2 { color: #fff !important; margin: 0 0 14px; }
.th-violet > p { margin: 0 0 40px; font-size: 17px; color: rgba(255,255,255,.8); }
.th-quote { margin: 0; padding: 28px; border-radius: 10px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 18px; }
.th-quote .th-stars { color: #fbbf24; font-size: 18px; letter-spacing: 3px; }
.th-quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; color: #fff; }
.th-quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.th-quote figcaption span:first-child { font-weight: 500; }
.th-quote figcaption span:last-child { color: rgba(255,255,255,.7); font-size: 14px; }
.th-quote a { color: #c7d2fe; text-decoration: none; font-size: 15px; }

/* Réalisations */
.th-project { display: flex; flex-direction: column; gap: 18px; }
.th-project-img { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: #e5e7eb; }
.th-project-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.th-project:hover .th-project-img img { transform: scale(1.03); }
.th-project-img span { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(15,23,42,.6); color: #fff; font-size: 13px; }
.th-project h3 { margin: 0; font-size: 22px !important; }
.th-project p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ts-muted); }
.th-project .th-chips li { background: #f3f4f6; border: none; color: #374151; }
.th-sky { border-radius: 12px; background: var(--ts-sky); padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; }
.th-sky h3 { margin: 0 0 12px; font-size: 30px !important; font-weight: 400 !important; }
.th-sky p { margin: 0; font-size: 17px; color: #374151; }

/* Témoignages vidéo */
.th-dark { margin-top: 130px; background: #1f2a3d; }
.th-dark .th-wrap { padding-top: 100px; padding-bottom: 100px; }
.th-dark .th-head { align-items: flex-start; text-align: left; }
.th-dark .th-head h2 { color: #fff !important; }
.th-dark .th-head p { color: rgba(255,255,255,.75); }
.th-dark .th-tag { background: rgba(255,255,255,.12); color: #fff; }
.th-videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.th-video { all: unset; cursor: pointer; position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #0f172a; display: block; }
.th-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .3s; }
.th-video:hover img { opacity: 1; }
.th-video span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.th-video:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }

/* Canton de Vaud */
.th-city { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border-radius: 10px; border: 1px solid var(--ts-line); text-decoration: none; color: var(--ts-ink); }
.th-city:hover { border-color: #bfdbfe; background: #f8fbff; }
.th-city strong { display: block; font-weight: 500; font-size: 18px; }
.th-city small { font-size: 14px; color: #6b7280; }
.th-city em { color: var(--ts-accent); font-style: normal; font-size: 20px; }
.th-region { padding: 28px; border-radius: 12px; }
.th-region h3 { margin: 0 0 14px; font-size: 20px !important; }
.th-region ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.th-region a { color: #374151; text-decoration: none; font-size: 15px; }
.th-region a:hover { color: var(--ts-accent); }
.th-cities { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.th-cities a { padding: 7px 14px; border-radius: 999px; border: 1px solid #dbe3ef; font-size: 14px; color: var(--ts-ink); text-decoration: none; }
.th-cities a:hover { border-color: var(--ts-accent); color: var(--ts-accent); }

/* Partenaires */
.th-partners { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); align-items: center; }
.th-partners a { display: flex; align-items: center; justify-content: center; height: 72px; }
.th-partners img { max-height: 56px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .7; transition: all .3s; }
.th-partners a:hover img { filter: none; opacity: 1; }

/* Contact */
.th-contact { display: flex; flex-wrap: wrap; gap: 32px; }
.th-contact-card { flex: 1 1 380px; min-width: 0; border-radius: 12px; background: linear-gradient(160deg, #1e2a55 0%, #121a3d 70%); padding: 40px; display: flex; flex-direction: column; gap: 22px; color: #fff; }
.th-contact-card h3 { margin: 0; font-size: 28px !important; font-weight: 400 !important; color: #fff; }
.th-contact-card .th-tag { align-self: flex-start; background: #4f46e5; color: #fff; }
.th-contact-card > p { margin: 0; font-size: 16px; color: rgba(255,255,255,.8); }
.th-contact-info { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-top: 8px; }
.th-contact-info p { margin: 0; }
.th-contact-info p:first-child { font-size: 13px; color: #a5b4fc; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.th-contact-info a { color: #fff; text-decoration: none; }
.th-form { flex: 1 1 440px; min-width: 0; border-radius: 12px; border: 1px solid var(--ts-line); padding: 40px; }
.th-form form > div { margin-bottom: 18px; }
.th-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--ts-ink); }
.th-form input, .th-form select, .th-form textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #d1d5db !important; border-radius: 6px !important; font: inherit; background: #fff !important; color: var(--ts-ink) !important; }
.th-form button[type="submit"] { width: 100%; padding: 15px 22px; border: none; border-radius: 4px !important; background: var(--ts-accent); color: #fff; font: inherit; font-size: 16px; cursor: pointer; }

@media (max-width: 640px) {
  .th-section { padding-top: 88px; }
  .ts-home .ts-hero { padding: 64px 0 160px !important; }
  .th-featured { margin-top: -110px; }
  .th-feat { min-height: 0; }
  .th-feat-body { padding: 32px 24px 0; }
  .th-violet, .th-sky, .th-contact-card, .th-form { padding: 32px 20px; }
  .th-search-pill { flex-direction: column; border-radius: 20px; }
  .th-search-pill button { width: 100%; }
}

/* Accueil : neutralise les anciens styles de sections */
.ts-home .min-h-screen { background: #ffffff !important; }
.ts-home main section, .ts-home section#contact { padding: 0 !important; background: transparent !important; }
.ts-home section.th-section { padding-top: 130px !important; }
.ts-home section.th-dark { background: #1f2a3d !important; }
.ts-home #services::before, .ts-home #services::after { display: none !important; }
.ts-home section.th-featured { margin-top: -150px; position: relative; z-index: 2; }
.ts-home #contact, .ts-home #contact h2 { color: var(--ts-ink) !important; }
.ts-home #contact .th-head p { color: var(--ts-muted) !important; }
.ts-home #contact .th-contact-card, .ts-home #contact .th-contact-card h3 { color: #ffffff !important; }

/* Recherche de domaine : uniquement la pilule */
.ts-home .hero-search-box { background: none !important; border: none !important; padding: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ts-home .hero-search-box:hover { background: none !important; }
.ts-home .hero-search-box h2 { margin: 0 !important; font-size: 16px !important; color: rgba(255,255,255,.9) !important; }
.ts-home .hero-search-box input { background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important; color: #ffffff !important; border-radius: 0 !important; }
.ts-home .hero-search-box button { background: var(--ts-accent) !important; padding: 14px 26px !important; border-radius: 999px !important; box-shadow: none !important; }
.ts-home .hero-search-box button:disabled { background: rgba(255,255,255,.25) !important; }

@media (max-width: 640px) {
  .ts-home section.th-section { padding-top: 88px !important; }
  .ts-home section.th-featured { margin-top: -110px; }
}
.ts-home section#contact { padding-top: 130px !important; }
#final-cta a[class*="rounded"] { border-radius: 4px !important; box-shadow: none !important; transform: none !important; }
@media (max-width: 640px) { .ts-home section#contact { padding-top: 88px !important; } }
@media (max-width: 640px) { .ts-home .ts-hero h1 { font-size: 2.1rem !important; } }

/* Fond de page blanc (comme la maquette) */
div.min-h-screen.bg-gray-50 { background-color: #ffffff !important; }


/* =====================================================================
   ANIMATIONS
   (toutes désactivées si le visiteur préfère réduire les animations)
   ===================================================================== */

/* ---------- Étoiles qui scintillent + étoile filante ---------- */
.ts-hero { overflow: hidden; isolation: isolate; }
.ts-hero > *:not(.absolute):not(.ts-stars-b) { position: relative; z-index: 2; }
.ts-hero::before,
.ts-stars-b {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}
.ts-hero::before { box-shadow: 663px 154px 0 0.5px rgba(255,255,255,0.9), 148px 548px 0 0px rgba(255,255,255,0.7), 1193px 59px 0 1px rgba(255,255,255,0.8), 76px 88px 0 0.5px rgba(255,255,255,0.6), 143px 246px 0 0px rgba(255,255,255,0.6), 121px 126px 0 0px rgba(255,255,255,0.9), 1181px 406px 0 0px rgba(255,255,255,0.8), 95px 136px 0 0px rgba(255,255,255,0.6), 295px 553px 0 0px rgba(255,255,255,0.7), 1147px 185px 0 0px rgba(255,255,255,0.8), 762px 99px 0 1px rgba(255,255,255,0.9), 1155px 61px 0 1px rgba(255,255,255,0.8), 1016px 544px 0 0.5px rgba(255,255,255,0.7), 953px 464px 0 0px rgba(255,255,255,0.7), 508px 184px 0 0px rgba(255,255,255,0.9), 1176px 307px 0 1px rgba(255,255,255,0.6), 703px 459px 0 0px rgba(255,255,255,0.9), 241px 524px 0 0.5px rgba(255,255,255,0.8), 1550px 350px 0 0px rgba(255,255,255,0.6), 863px 40px 0 0px rgba(255,255,255,0.7), 696px 358px 0 1px rgba(255,255,255,0.6), 1187px 467px 0 0px rgba(255,255,255,0.9), 552px 485px 0 0px rgba(255,255,255,0.9), 1497px 317px 0 1px rgba(255,255,255,0.6), 582px 395px 0 0px rgba(255,255,255,0.9), 945px 363px 0 0px rgba(255,255,255,0.9), 1011px 60px 0 0px rgba(255,255,255,0.7), 264px 253px 0 0.5px rgba(255,255,255,0.6), 1016px 82px 0 0px rgba(255,255,255,0.6), 822px 284px 0 0px rgba(255,255,255,0.6), 1126px 285px 0 0.5px rgba(255,255,255,0.7), 1398px 389px 0 0px rgba(255,255,255,0.8), 169px 180px 0 0px rgba(255,255,255,0.8), 1348px 238px 0 0px rgba(255,255,255,0.6), 1206px 186px 0 0px rgba(255,255,255,0.7), 8px 149px 0 0.5px rgba(255,255,255,0.7), 1248px 326px 0 0px rgba(255,255,255,0.9), 935px 401px 0 0.5px rgba(255,255,255,0.6), 807px 106px 0 0.5px rgba(255,255,255,0.6), 127px 195px 0 0px rgba(255,255,255,0.8), 902px 166px 0 0px rgba(255,255,255,0.7), 1230px 53px 0 0px rgba(255,255,255,0.9), 1160px 154px 0 1px rgba(255,255,255,0.9), 744px 26px 0 0px rgba(255,255,255,0.8), 1257px 385px 0 0px rgba(255,255,255,0.7), 711px 372px 0 0.5px rgba(255,255,255,0.9), 236px 499px 0 0.5px rgba(255,255,255,0.6), 990px 319px 0 0px rgba(255,255,255,0.8), 209px 350px 0 0px rgba(255,255,255,0.6), 1417px 165px 0 1px rgba(255,255,255,0.9), 420px 540px 0 0px rgba(255,255,255,0.8), 1413px 556px 0 0px rgba(255,255,255,0.7), 1316px 93px 0 0px rgba(255,255,255,0.7), 342px 364px 0 0px rgba(255,255,255,0.7), 1303px 228px 0 1px rgba(255,255,255,0.8), 490px 410px 0 0px rgba(255,255,255,0.8), 1060px 504px 0 0px rgba(255,255,255,0.9), 57px 286px 0 0.5px rgba(255,255,255,0.7), 396px 352px 0 0.5px rgba(255,255,255,0.7), 746px 82px 0 0px rgba(255,255,255,0.9), 464px 481px 0 0px rgba(255,255,255,0.7), 418px 494px 0 1px rgba(255,255,255,0.9), 981px 352px 0 0px rgba(255,255,255,0.9), 795px 204px 0 0.5px rgba(255,255,255,0.8), 888px 340px 0 0px rgba(255,255,255,0.6), 948px 411px 0 0px rgba(255,255,255,0.8), 348px 130px 0 0px rgba(255,255,255,0.8), 1209px 476px 0 0px rgba(255,255,255,0.6), 1346px 358px 0 0px rgba(255,255,255,0.8), 43px 14px 0 0px rgba(255,255,255,0.8); animation: ts-twinkle 4s ease-in-out infinite alternate; }
.ts-stars-b { box-shadow: 888px 199px 0 0px rgba(255,255,255,0.9), 515px 217px 0 0px rgba(255,255,255,0.8), 1564px 333px 0 0px rgba(255,255,255,0.6), 268px 62px 0 0px rgba(255,255,255,0.6), 1356px 529px 0 0.5px rgba(255,255,255,0.8), 1089px 155px 0 1px rgba(255,255,255,0.9), 901px 187px 0 1px rgba(255,255,255,0.9), 1589px 153px 0 0px rgba(255,255,255,0.8), 969px 123px 0 1px rgba(255,255,255,0.9), 667px 530px 0 1px rgba(255,255,255,0.6), 1590px 108px 0 1px rgba(255,255,255,0.9), 508px 195px 0 0px rgba(255,255,255,0.9), 1581px 100px 0 1px rgba(255,255,255,0.6), 1150px 28px 0 0px rgba(255,255,255,0.6), 666px 517px 0 1px rgba(255,255,255,0.8), 1418px 283px 0 0.5px rgba(255,255,255,0.6), 1039px 253px 0 1px rgba(255,255,255,0.7), 1145px 207px 0 0.5px rgba(255,255,255,0.8), 853px 124px 0 0.5px rgba(255,255,255,0.6), 647px 74px 0 0px rgba(255,255,255,0.6), 149px 217px 0 0px rgba(255,255,255,0.9), 1591px 158px 0 0px rgba(255,255,255,0.8), 518px 140px 0 0.5px rgba(255,255,255,0.8), 1529px 96px 0 0.5px rgba(255,255,255,0.6), 333px 229px 0 0px rgba(255,255,255,0.6), 1055px 413px 0 0px rgba(255,255,255,0.6), 400px 365px 0 0px rgba(255,255,255,0.9), 1478px 374px 0 0px rgba(255,255,255,0.7), 1134px 469px 0 0.5px rgba(255,255,255,0.9), 787px 339px 0 1px rgba(255,255,255,0.7), 1049px 65px 0 0px rgba(255,255,255,0.8), 214px 86px 0 0px rgba(255,255,255,0.7), 81px 185px 0 0px rgba(255,255,255,0.8), 864px 264px 0 0.5px rgba(255,255,255,0.8), 1098px 527px 0 1px rgba(255,255,255,0.6), 1434px 334px 0 0px rgba(255,255,255,0.7), 117px 187px 0 0.5px rgba(255,255,255,0.9), 550px 17px 0 0px rgba(255,255,255,0.7), 171px 227px 0 0px rgba(255,255,255,0.7), 249px 464px 0 0px rgba(255,255,255,0.7), 1132px 427px 0 0px rgba(255,255,255,0.8), 88px 539px 0 0px rgba(255,255,255,0.9), 330px 268px 0 0px rgba(255,255,255,0.8), 413px 319px 0 0px rgba(255,255,255,0.8), 593px 456px 0 1px rgba(255,255,255,0.8); animation: ts-twinkle 6s ease-in-out infinite alternate-reverse, ts-drift 60s linear infinite; }
.ts-hero::after {
  content: '';
  position: absolute;
  top: 12%; left: 70%;
  width: 140px; height: 1.5px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95));
  border-radius: 999px;
  transform: rotate(-28deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation: ts-shooting 9s ease-in 3s infinite;
}
@keyframes ts-twinkle { 0% { opacity: .25; } 50% { opacity: 1; } 100% { opacity: .45; } }
@keyframes ts-drift { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes ts-shooting {
  0% { opacity: 0; transform: translate(0, 0) rotate(-28deg); }
  3% { opacity: 1; }
  9% { opacity: 0; transform: translate(-420px, 220px) rotate(-28deg); }
  100% { opacity: 0; transform: translate(-420px, 220px) rotate(-28deg); }
}

/* ---------- Entrée du haut de page ---------- */
.ts-hero h1, .ts-hero h1 + span, .ts-hero p, .ts-hero .hero-search-box, .ts-hero .th-trust, .ts-hero a[class*="bg-white"], .ts-hero nav {
  animation: ts-rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.ts-hero h1 { animation-delay: .05s; }
.ts-hero p { animation-delay: .2s; }
.ts-hero .hero-search-box { animation-delay: .32s; }
.ts-hero .th-trust, .ts-hero a[class*="bg-white"] { animation-delay: .44s; }
.ts-hero .th-trust + .th-trust { animation-delay: .56s; }
@keyframes ts-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Apparition au défilement ---------- */
.ts-anim .ts-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.ts-anim .ts-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cartes : se soulèvent au survol ---------- */
.th-svc, .th-feat, .th-quote, .th-city, .th-region, .th-project, .th-step,
main div[class*="rounded"][class*="shadow"], .min-h-screen div[class*="rounded"][class*="shadow"],
.min-h-screen a[class*="rounded"][class*="shadow"], .min-h-screen a[class*="rounded-lg"][class*="border"] {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s, background-color .35s;
}
.th-svc:hover, .th-quote:hover, .th-city:hover, .th-region:hover,
main div[class*="rounded"][class*="shadow"]:hover, .min-h-screen div[class*="rounded"][class*="shadow"]:hover,
.min-h-screen a[class*="rounded"][class*="shadow"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12) !important;
}
.th-feat:hover { transform: translateY(-4px); z-index: 1; }
.th-project:hover { transform: translateY(-6px); }
.th-project:hover .th-project-img { box-shadow: 0 18px 40px rgba(15, 23, 42, .18); }
.th-project-img { transition: box-shadow .35s; }
.th-step:hover span { transform: translateX(6px); }
.th-step span { display: inline-block; transition: transform .35s; }

/* Icônes : petit mouvement au survol */
.th-svc-icon, .mega-menu-item .icon-wrapper, .min-h-screen div[class*="rounded"][class*="shadow"] > div:first-child > div[class*="rounded"] {
  transition: transform .45s cubic-bezier(.3,1.6,.5,1);
}
.th-svc:hover .th-svc-icon, .mega-menu-item:hover .icon-wrapper,
.min-h-screen div[class*="rounded"][class*="shadow"]:hover > div:first-child > div[class*="rounded"] {
  transform: translateY(-3px) rotate(-6deg) scale(1.08);
}

/* Icônes des 3 services phares : flottent doucement */
.th-feat-art span { animation: ts-float 5s ease-in-out infinite; }
.th-feat-2 .th-feat-art span { animation-delay: -1.6s; }
.th-feat-3 .th-feat-art span { animation-delay: -3.2s; }
@keyframes ts-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Flèches « En savoir plus → » qui avancent */
.th-more, .th-city em { display: inline-block; transition: transform .3s; }
.th-svc:hover .th-more, .th-feat:hover .th-more, .th-city:hover em { transform: translateX(6px); }

/* Boutons */
.th-btn, .ts-hero a[class*="rounded"], #final-cta a, .main-nav-cta { transition: transform .25s, box-shadow .25s, background-color .25s; }
.th-btn:hover, .ts-hero a[class*="rounded"]:hover, #final-cta a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .18) !important; }

/* Vidéos : zoom doux + bouton lecture qui pulse */
.th-video img { transition: opacity .3s, transform .6s cubic-bezier(.2,.7,.2,1); }
.th-video:hover img { transform: scale(1.06); }
.th-video:hover span { animation: ts-pulse 1.4s ease-out infinite; }
@keyframes ts-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } }

/* Puces de confiance du haut de page */
.th-trust span { transition: background-color .3s, transform .3s; }
.th-trust span:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* ---------- Partenaires : défilement continu ---------- */
.th-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.th-marquee-track { display: flex; width: max-content; animation: ts-marquee 35s linear infinite; }
.th-marquee:hover .th-marquee-track { animation-play-state: paused; }
.th-marquee-track a { flex: none; display: flex; align-items: center; justify-content: center; width: 200px; height: 90px; margin: 0 20px; }
.th-marquee-track img { max-height: 60px; max-width: 160px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.th-marquee-track a:hover img { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes ts-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .ts-hero::before, .ts-hero::after, .ts-stars-b, .th-feat-art span, .th-marquee-track,
  .ts-hero h1, .ts-hero p, .ts-hero .hero-search-box, .ts-hero .th-trust, .ts-hero a, .ts-hero nav { animation: none !important; }
  .ts-hero::after { display: none; }
  .ts-anim .ts-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .th-marquee { -webkit-mask-image: none; mask-image: none; }
  .th-marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .th-marquee-track a[aria-hidden="true"] { display: none; }
  * { transition-duration: .01ms !important; }
}

/* Cartes repérées automatiquement (js/animations.js) */
.ts-card { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s, background-color .35s; }
.ts-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12) !important; }
.ts-card svg { transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.ts-card:hover svg:first-of-type { transform: translateY(-2px) rotate(-6deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .ts-card:hover { transform: none; } .ts-card:hover svg { transform: none; } }

/* =====================================================================
   PRISE DE RENDEZ-VOUS (bien visible)
   ===================================================================== */
/* En-tête : bouton principal */
.main-nav-rdv {
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  margin-right: 10px;
  border-radius: 4px;
  background: var(--ts-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s, transform .25s, box-shadow .25s;
}
.main-nav-rdv:hover { background: var(--ts-accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 99, 235, .3); }
/* Espace Client devient secondaire */
.main-nav-cta {
  background: #ffffff !important;
  color: var(--ts-ink) !important;
  border: 1px solid var(--ts-line) !important;
}
.main-nav-cta:hover { background: #f8fafc !important; color: var(--ts-accent) !important; }
.main-nav-cta svg { color: currentColor !important; }

/* Barre du haut */
.top-nav-rdv { background: var(--ts-accent) !important; color: #ffffff !important; margin-right: 8px; }
.top-nav-rdv:hover { background: var(--ts-accent-dark) !important; color: #ffffff !important; }

/* Menu mobile */
.mobile-cta-rdv { display: flex !important; align-items: center; justify-content: center; gap: 10px; }
.mobile-cta-rdv + .mobile-cta-button {
  background: #ffffff !important;
  color: var(--ts-ink) !important;
  border: 1px solid var(--ts-line) !important;
}

/* Bouton flottant */
.rdv-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ts-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 99, 235, .4);
  transition: transform .25s, background-color .25s;
  animation: ts-rdv-glow 2.6s ease-out infinite;
}
.rdv-float:hover { background: var(--ts-accent-dark); transform: translateY(-2px); }
@keyframes ts-rdv-glow {
  0% { box-shadow: 0 10px 28px rgba(37, 99, 235, .4), 0 0 0 0 rgba(37, 99, 235, .45); }
  70%, 100% { box-shadow: 0 10px 28px rgba(37, 99, 235, .4), 0 0 0 16px rgba(37, 99, 235, 0); }
}
@media (max-width: 1023px) {
  .rdv-float { right: 16px; bottom: 16px; padding: 13px 18px; font-size: 14px; }
  .wa-float { bottom: 84px !important; }
}
@media (max-width: 380px) {
  .rdv-float span { display: none; }
  .rdv-float { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { .rdv-float { animation: none; } }

/* En-tête : tient sur une ligne à toutes les largeurs */
.main-nav-logo { flex: none; }
.main-nav-link, .nav-dropdown-btn, .main-nav-rdv { white-space: nowrap; }
.main-nav-rdv .rdv-short { display: none; }
/* Espace Client : déplacé dans la barre du haut (reste dans le menu mobile) */
.main-nav-cta { display: none !important; }
@media (max-width: 1279px) {
  .main-nav-links { gap: 0 !important; }
  .main-nav-link, .nav-dropdown-btn { padding-left: 9px !important; padding-right: 9px !important; font-size: 14px !important; }
  .main-nav-logo img { height: 2.75rem !important; }
  .main-nav-rdv { padding: 10px 14px; margin-right: 0; font-size: 14px; }
  .main-nav-rdv .rdv-long { display: none; }
  .main-nav-rdv .rdv-short { display: inline; }
}
.top-nav-item span, .top-nav-cta { white-space: nowrap; }
@media (max-width: 1279px) {
  .top-nav-bar div.top-nav-item, .top-nav-bar div.top-nav-item + .top-nav-separator { display: none !important; }
  .top-nav-bar .lg\:gap-10 { gap: 22px !important; }
  .top-nav-item { font-size: 13px !important; }
}
@media (max-width: 1150px) {
  .main-nav-link, .nav-dropdown-btn { padding-left: 7px !important; padding-right: 7px !important; }
  .main-nav-logo img { height: 2.5rem !important; }
}
#final-cta a { white-space: nowrap; padding-left: 26px !important; padding-right: 26px !important; }
#final-cta .flex.flex-col { flex-wrap: wrap; }

/* =====================================================================
   RÉSULTAT DE LA RECHERCHE DE DOMAINE (accueil)
   ===================================================================== */
.ds-result { display: none; width: 100%; box-sizing: border-box; margin-top: 12px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ts-ink); text-align: left; font-size: 15px; box-shadow: 0 16px 40px rgba(15,23,42,.25); animation: ts-rise .35s ease both; }
.ds-result.is-loading, .ds-result.is-ok, .ds-result.is-ko, .ds-result.is-unknown, .ds-result.is-error { display: block; }
.ds-result strong { font-weight: 600; }
.ds-result a { color: var(--ts-accent); }
.ds-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ds-line > span:nth-child(2) { flex: 1 1 220px; }
.ds-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; }
.ds-ok { background: #16a34a; } .ds-ko { background: #dc2626; } .ds-unknown { background: #f59e0b; }
.ds-price { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #eff6ff; color: var(--ts-accent); font-weight: 600; font-size: 14px; white-space: nowrap; }
.ds-order, .ds-alts a { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 4px; background: var(--ts-accent); color: #fff !important; text-decoration: none; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.ds-order:hover, .ds-alts a:hover { background: var(--ts-accent-dark); }
.ds-note { margin: 8px 0 0 40px; font-size: 13px; color: #6b7280; }
.ds-alt-title { margin: 14px 0 6px; font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; }
.ds-alts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ds-alts li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid #f1f5f9; }
.ds-alts li > span:first-child { flex: 1 1 180px; font-weight: 500; }
.ds-alts a { padding: 7px 14px; font-size: 14px; }
.ds-spinner { display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -3px; border: 2px solid #bfdbfe; border-top-color: var(--ts-accent); border-radius: 50%; animation: ds-spin .8s linear infinite; }
@keyframes ds-spin { to { transform: rotate(360deg); } }
.ts-home .hero-search-box { position: relative; }
.ts-hero .ds-result p.ds-alt-title, .ts-hero .ds-result p.ds-note { color: #6b7280 !important; }
.ts-hero .ds-result { color: var(--ts-ink); }

/* Recherche de domaine : liste multi-extensions */
.ds-result.is-done { display: block; }
.ds-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 6px; }
.ds-main .ds-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.ds-main.is-ok .ds-icon { background: #16a34a; } .ds-main.is-ko .ds-icon { background: #dc2626; } .ds-main.is-unknown .ds-icon { background: #f59e0b; }
.ds-main-text { flex: 1 1 240px; font-size: 16px; }
.ds-list { list-style: none; margin: 0; padding: 0; }
.ds-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid #f1f5f9; }
.ds-list li.is-taken .ds-domain { color: #9ca3af; text-decoration: line-through; }
.ds-domain { flex: 1 1 170px; font-weight: 500; }
.ds-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ds-badge-ok { background: #dcfce7; color: #15803d; }
.ds-badge-ko { background: #f3f4f6; color: #6b7280; }
.ds-badge-unknown { background: #fef3c7; color: #b45309; }
.ds-list .ds-order { padding: 7px 14px; font-size: 14px; }
.ds-list li.ds-more { display: none; }
.ds-result.show-all .ds-list li.ds-more { display: flex; }
.ds-show-more { margin-top: 8px; padding: 8px 0; border: none; background: none; color: var(--ts-accent); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ds-show-more:hover { text-decoration: underline; }
.ds-result .ds-note { margin: 10px 0 0; }
.ds-result { max-height: none; }
.ts-home .hero-search-box .ds-show-more { background: none !important; padding: 8px 0 !important; border-radius: 0 !important; color: var(--ts-accent) !important; box-shadow: none !important; font-size: 14px !important; }

/* =====================================================================
   FORMULES ET PRIX (alignés sur la boutique WHMCS)
   ===================================================================== */
.ts-plans { display: grid; gap: 24px; align-items: stretch; }
.ts-plans-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.ts-plans-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; }
.ts-plans-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.ts-plans-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ts-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border-radius: 14px;
  border: 1px solid var(--ts-line);
  background: linear-gradient(180deg, #ffffff 55%, #f5f9ff 100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.ts-plan:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.ts-plan.is-featured { border: 2px solid var(--ts-accent); background: linear-gradient(180deg, #ffffff 40%, #e8f1ff 100%); box-shadow: 0 14px 34px rgba(37, 99, 235, .14); }
.ts-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: var(--ts-accent); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ts-plan-name { margin: 4px 0 0; font-size: 22px !important; font-weight: 500 !important; color: var(--ts-ink); }
.ts-plan-sub { margin: 0; font-size: 14px; color: var(--ts-muted); }
.ts-plan-price { margin-top: 6px; font-size: 38px; font-weight: 400; letter-spacing: -0.02em; color: var(--ts-ink); line-height: 1.1; }
.ts-plan-price small { font-size: 15px; color: var(--ts-muted); margin-right: 4px; }
.ts-plan-period { font-size: 16px; color: var(--ts-muted); margin-left: 4px; }
.ts-plan-setup { margin: -4px 0 0; font-size: 13px; color: #6b7280; }
.ts-plan-features { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ts-plan-features li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: #374151; }
.ts-plan-features li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.ts-plan-note { margin: 0; font-size: 13px; color: #15803d; font-weight: 500; }
.ts-plan-btn { margin-top: 8px; display: block; text-align: center; padding: 13px 18px; border-radius: 4px; border: 1px solid var(--ts-accent); color: var(--ts-accent) !important; font-weight: 500; text-decoration: none; transition: background-color .25s, color .25s; }
.ts-plan-btn:hover { background: var(--ts-accent); color: #fff !important; }
.ts-plan.is-featured .ts-plan-btn { background: var(--ts-accent); color: #fff !important; }
.ts-plan.is-featured .ts-plan-btn:hover { background: var(--ts-accent-dark); }
.ts-plans-foot { margin: 28px auto 0; max-width: 720px; text-align: center; font-size: 14px; color: #6b7280; }
.ts-plans-offer { padding: 80px 0; background: #f8fafc; }
@media (prefers-reduced-motion: reduce) { .ts-plan:hover { transform: none; } }
.ts-plans-4 .ts-plan-price { font-size: 32px; white-space: nowrap; }
.ts-plans-4 .ts-plan { padding: 30px 24px; }
