/*
Theme Name: Ts-Immo Vitrine
Theme URI: https://ts-immo.org/themes/vitrine
Author: TsImmo
Author URI: https://ts-immo.org
Description: Thème vitrine haut de gamme pour agences immobilières. 100 % conforme à la législation française (affichage des prix, honoraires, DPE/GES nouvelle réglementation, mentions légales auto-générées). Intégration native avec le backend Ts-Immo via le module Ts-Immo Sync et les addons (Insights, Mortgage, Favoris, Estimation). Compatible Polylang & WPML, Elementor & Divi. Sections activables/désactivables, layouts de fiche bien du plus sobre au plus luxueux, recherche IA ou filtres classiques, cartes de listing templatisables.
Version: 0.2.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ts-immo-theme
Domain Path: /languages
Tags: real-estate, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready, theme-options, threaded-comments, rtl-language-support
*/

/* ==========================================================================
   Ts-Immo Vitrine — Design tokens
   --------------------------------------------------------------------------
   Toutes les surcharges « client » passent par ces variables CSS, exposées
   et pilotées depuis le Customizer (voir inc/class-tsimmo-customizer.php).
   Le gros des styles vit dans assets/css/theme.css (enfilé séparément) afin
   de garder ce fichier — exigé par WordPress — lisible.
   ========================================================================== */

:root {
  /* Couleurs — surchargées par le Customizer via une feuille inline */
  --tsv-color-accent: #1d4ed8;
  --tsv-color-accent-hover: #1e40af;
  --tsv-color-accent-soft: rgba(29, 78, 216, .08);
  --tsv-color-ring: rgba(29, 78, 216, .22);
  --tsv-color-fg: #1f2933;
  --tsv-color-muted: #6b7280;
  --tsv-color-border: #e5e7eb;
  --tsv-color-bg: #ffffff;
  --tsv-color-bg-alt: #f8fafc;
  --tsv-color-dark: #0f172a;
  --tsv-color-gold: #b8995a; /* accent « luxe » pour le layout premium */
  --tsv-color-success: #16a34a;
  --tsv-color-danger: #dc2626;

  /* DPE / GES — couleurs réglementaires (arrêté du 8 octobre 2021) */
  --tsv-dpe-a: #319834;
  --tsv-dpe-b: #33cc31;
  --tsv-dpe-c: #cbfc34;
  --tsv-dpe-d: #fbfd05;
  --tsv-dpe-e: #fbcc05;
  --tsv-dpe-f: #fc9935;
  --tsv-dpe-g: #fc1d1d;
  --tsv-ges-a: #f4f4ff;
  --tsv-ges-b: #d6d6f5;
  --tsv-ges-c: #b1b1e3;
  --tsv-ges-d: #8d8dd1;
  --tsv-ges-e: #6a6abf;
  --tsv-ges-f: #4a4aad;
  --tsv-ges-g: #32327d;

  /* Typo & rythme
     Pile « éditoriale » sans dépendance externe (RGPD : aucun appel Google Fonts).
     Titres en serif raffiné, corps en sans system. */
  --tsv-font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tsv-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Hoefler Text", Garamond, Georgia, "Times New Roman", serif;
  --tsv-font-display: var(--tsv-font-head);
  --tsv-radius: 16px;
  --tsv-radius-sm: 10px;
  --tsv-radius-lg: 26px;
  --tsv-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px rgba(16, 24, 40, .06);
  --tsv-shadow-md: 0 8px 24px rgba(16, 24, 40, .10), 0 2px 6px rgba(16, 24, 40, .06);
  --tsv-shadow-lg: 0 24px 60px rgba(16, 24, 40, .18);
  --tsv-shadow-xl: 0 40px 90px -20px rgba(15, 23, 42, .35);
  --tsv-container: 1240px;
  --tsv-gap: 1.6rem;

  /* Dégradés & accents premium (dérivés de l'accent par le Customizer) */
  --tsv-gradient-accent: linear-gradient(135deg, var(--tsv-color-accent), var(--tsv-color-accent-hover));
  --tsv-gradient-ink: linear-gradient(160deg, var(--tsv-color-dark) 0%, #0b1220 70%);
  --tsv-gradient-gold: linear-gradient(135deg, #d9bd82, var(--tsv-color-gold));
  --tsv-scrim: linear-gradient(180deg, rgba(8,12,20,.10) 0%, rgba(8,12,20,.0) 28%, rgba(8,12,20,.55) 78%, rgba(8,12,20,.82) 100%);

  /* Mouvement */
  --tsv-ease: cubic-bezier(.2, .7, .2, 1);
  --tsv-ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Le détail des styles est enfilé via assets/css/theme.css */
