/* ============================================
   TIDYCABIN – STYLE PRINCIPAL (Option 1)
   Bleu pâle + Boutons verts + Cards blanches
   Header 2026 + Footer 2026 intégrés
   ============================================ */

:root {
  --bg: #f5f7fb;
  --bg-soft: #eef5ff;
  --bg-card: #ffffff;
  --text-main: #071529;
  --text-muted: #6b7280;
  --accent: #09b96b;          /* Vert TidyCabin */
  --accent-dark: #059157;
  --accent-soft: rgba(9,185,107,0.18);
  --shadow-soft: 0 20px 40px rgba(0,0,0,0.08);
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family:var(--font-main); }

/* Background général */
body {
  background: radial-gradient(circle at top left, #dcefff, #f5f7fb 50%);
  color: var(--text-main);
}

/* ANCIEN HEADER — Style original */

.tc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.tc-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.tc-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #00d27f 40%, #00684a 100%);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
}

.tc-logo-text {
  display: flex;
  flex-direction: column;
}

.tc-logo-main {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #071529;
}

.tc-logo-sub {
  font-size: 11px;
  color: #6b7280;
}

.tc-nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.tc-nav a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
}

.tc-nav a:hover {
  color: #071529;
}

/* Dropdown */
.tc-nav-dropdown {
  position: relative;
}

.tc-nav-dropbtn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #6b7280;
}

.tc-nav-dropdown-content {
  display: none;
  position: absolute;
  background: white;
  border: 1px solid #e6e6e6;
  min-width: 200px;
  border-radius: 8px;
  padding: 10px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.tc-nav-dropdown:hover .tc-nav-dropdown-content {
  display: block;
}

.tc-nav-dropdown-content a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #222;
}

.tc-nav-dropdown-content a:hover {
  background: #f4f7fb;
}

/* Region switch */
.tc-region-switch button {
  background: #e7ecf3;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.tc-region-switch button.active,
.tc-region-switch button:hover {
  background: #2d8bff;
  color: white;
}

.tc-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ============================
   HERO (TON ANCIEN STYLE)
   ============================ */

.tc-hero {
  max-width:1120px;
  margin:80px auto 40px;
  padding:0 20px;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:40px;
}

.tc-hero h1 {
  font-size:38px;
  font-weight:800;
  margin-bottom:14px;
}

.tc-hero p {
  font-size:15px;
  color:var(--text-muted);
  line-height:1.6;
}

.tc-hero-actions {
  margin-top:22px;
  display:flex;
  gap:12px;
}

/* Boutons TidyCabin */
.tc-btn {
  padding:10px 22px;
  border-radius:var(--radius-pill);
  font-size:14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  border:none;
  cursor:pointer;
  transition:0.15s;
}

.tc-btn-primary {
  background:linear-gradient(135deg, #09b96b, #059157);
  color:white;
  box-shadow:0 12px 25px rgba(5,150,105,0.3);
}
.tc-btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 20px 32px rgba(5,150,105,0.40);
}

.tc-btn-secondary {
  background:white;
  border:1px solid #dce3eb;
  color:var(--text-main);
}
.tc-btn-secondary:hover { background:#f9fafb; }

/* ============================
   CARDS (style original)
   ============================ */

.tc-card {
  background:var(--bg-card);
  border-radius:var(--radius-md);
  padding:20px;
  box-shadow:var(--shadow-soft);
  border:1px solid #e7edf3;
  transition:0.2s;
}

.tc-card:hover {
  transform:translateY(-3px);
  box-shadow:0 26px 40px rgba(0,0,0,0.12);
}

.tc-card h3 {
  margin:0 0 8px;
  font-size:17px;
  font-weight:700;
}

.tc-card p {
  font-size:14px;
  color:var(--text-muted);
}

/* Images uniformisées */
.tc-card-img {
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:var(--radius-md);
  margin-bottom:12px;
}

/* Grille */
.tc-card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:24px;
  margin-top:30px;
}

/* Force les cards de l'accueil à garder une largeur correcte */
.tc-section .tc-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.tc-section .tc-card {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* Aligner parfaitement la section "Popular Storage Categories" */
.tc-section {
  max-width: 1150px;     /* même largeur que le hero */
  margin: 60px auto;     /* centre la section */
  padding: 0 22px;       /* même padding horizontal que le hero */
}


/* ============================
    FOOTER 2026 (GARDÉ)
   ============================ */

.tc-footer-2026 {
  background:#0f1114;
  color:#d6d9df;
  padding:60px 20px;
  margin-top:60px;
}

.tc-footer-container {
  max-width:1300px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:40px;
}

.tc-footer-title {
  font-size:1.6rem;
  font-weight:700;
  color:white;
}

.tc-footer-subtitle {
  font-size:1.1rem;
  margin-bottom:12px;
  color:white;
}

.tc-footer-list { list-style:none; margin:0; padding:0; }
.tc-footer-list li { margin-bottom:8px; }

.tc-footer-list a {
  color:#d6d9df;
  text-decoration:none;
}
.tc-footer-list a:hover { color:#58a6ff; }

.tc-footer-bottom {
  text-align:center;
  margin-top:40px;
  font-size:0.9rem;
  color:#8b92a1;
}

/* ============================
   RESPONSVIE
   ============================ */

@media(max-width:900px){
  .tc-hero {
    grid-template-columns:1fr;
    text-align:center;
  }
  .tc-hero-actions{
    justify-content:center;
  }
}

/* ==========================================================
   TIDYCABIN – HERO 2026 (Option 1 Styling)
   Soft blue + green accent + clean layout
   ========================================================== */

.tc-hero-home {
  width: 100%;
  padding: 80px 0;
  background: radial-gradient(circle at top left, #dcefff, #f5f7fb 50%);
}

/* Ajustement du placement du texte dans le hero */
.tc-hero {
  align-items: center;       /* Centre verticalement le texte et l’image */
  padding-top: 40px;         /* Tu peux augmenter à 60 si tu veux plus bas */
}

.tc-hero-text {
  margin-top: 20px;          /* Ajustement fin pour descendre légèrement */
}


.tc-hero-home-container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 22px;

  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

/* LEFT TEXT SECTION */
.tc-hero-home-text h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--text-main);
}

.tc-hero-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 520px;
}

.tc-hero-tags {
  font-size: 13px;
  color: #4b5563;
  margin-top: 18px;
}

/* BUTTONS */
.tc-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tc-btn-green {
  background: linear-gradient(135deg, #09b96b, #059157);
  color: #fff;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.35);
  transition: 0.15s ease;
}
.tc-btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(5, 150, 105, 0.45);
}

.tc-btn-secondary-hero {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid #e2e8f0;
  padding: 10px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.15s ease;
}
.tc-btn-secondary-hero:hover {
  background: #f3f7fb;
}

/* RIGHT IMAGE */
.tc-hero-home-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  display: block;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 900px) {
  .tc-hero-home-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 26px;
  }

  .tc-hero-home-image img {
    margin-top: 14px;
  }

  .tc-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .tc-hero-buttons {
    justify-content: center;
  }
}
/* Section des catégories sur index */
.tc-home-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.tc-home-category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e7edf3;
  transition: 0.15s;
}

.tc-home-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 40px rgba(0,0,0,0.12);
}

/* --- Fixe les images de produits dans index.html pour qu'elles matchent Our Products 2026 --- */
.tc-card-img {
  height: 180px !important;     /* Même hauteur que ourproducts.html */
  object-fit: contain !important;
  padding: 14px !important;     /* Réduit l'espace autour */
  background: #f7faff !important;
  border-radius: 14px !important;
}

