/*
Theme Name: Tech Rive-Sud Pro
Theme URI: https://techrivesud.ca/
Author: Tech Rive-Sud
Description: Thème WordPress officiel pour Tech Rive-Sud - Tarifs précis Windows 11, clonage SSD, mise à niveau non compatible, service à domicile & boutique.
Version: 1.3.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: techrivesud
*/

:root {
  --cyan: #00f2fe;
  --blue: #4facfe;
  --accent: #38bdf8;
  --bg-dark: #0a0f1d;
  --bg-card: #131b2e;
  --bg-card-hover: #1a253f;
  --border: #1e293b;
  --border-glow: rgba(0, 242, 254, 0.35);
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --success: #10b981;
  --radius: 12px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --glow: 0 0 25px rgba(0, 242, 254, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  padding-bottom: 70px;
}
@media(min-width: 769px) {
  body { padding-bottom: 0; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.topbar {
  background: #060913;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
}
.topbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 700;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  display: inline-block;
}

.site-header {
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo-title {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
  text-transform: uppercase;
}
.logo-title span {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-title small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--cyan);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-nav-action {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #060913 !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--glow);
  transition: all 0.2s;
}
.btn-nav-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(0, 242, 254, 0.12) 0%, var(--bg-dark) 70%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero-tag {
  display: inline-block;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--cyan);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #060913;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}
.btn-hero-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
}

/* Trust Bar */
.trust-bar {
  background: #080d1a;
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.trust-card strong {
  font-size: 16px;
  color: #fff;
}
.trust-card span {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}

/* Section Standard */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-header h2 span {
  color: var(--cyan);
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Grille Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-box:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: var(--glow);
  background: var(--bg-card-hover);
}
.service-box.featured {
  border-color: rgba(0, 242, 254, 0.4);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.06) 0%, var(--bg-card) 100%);
}
.service-tag-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  border: 1px solid var(--border-glow);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}
.service-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.service-box p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.service-price-box {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-price-amount {
  font-size: 20px;
  font-weight: 900;
  color: var(--cyan);
}
.service-price-link {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-price-link:hover {
  color: var(--cyan);
}

/* Bloc Banner Domicile Highlight */
.domicile-banner {
  background: linear-gradient(135deg, #131d33 0%, #0d1527 100%);
  border: 1px solid var(--cyan);
  box-shadow: var(--glow);
  border-radius: var(--radius);
  padding: 36px 30px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}
.domicile-info {
  flex: 1;
  min-width: 280px;
}
.domicile-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.domicile-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}
.domicile-cta {
  flex-shrink: 0;
}

/* Boutique Preview / Pieces & Ordinateurs */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.product-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.product-badge {
  align-self: flex-start;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  border: 1px solid var(--border-glow);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.product-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}
.product-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.product-price-tag {
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
}
.product-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.btn-product-mail {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan) !important;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  display: block;
  transition: all 0.2s;
}
.btn-product-mail:hover {
  background: rgba(0, 242, 254, 0.15);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}
.btn-product-order {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #060913 !important;
  text-align: center;
  padding: 11px 16px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  display: block;
  box-shadow: var(--glow);
  transition: all 0.2s;
}
.btn-product-order:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* Formulaire de Rappel Instantané */
.quote-section {
  background: #080d1a;
}
.quote-box {
  background: var(--bg-card);
  border: 1px solid var(--cyan);
  box-shadow: var(--glow);
  border-radius: var(--radius);
  padding: 45px 36px;
  max-width: 820px;
  margin: 0 auto;
}
.quote-box h2 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
}
.quote-box h2 span {
  color: var(--cyan);
}
.quote-box p.desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media(max-width: 650px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input, .form-group textarea, .form-group select {
  font-family: inherit;
  padding: 13px 16px;
  border-radius: 8px;
  background: #090d18;
  border: 1px solid var(--border);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}
.hp-field {
  display: none !important;
}
.btn-submit-form {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #060913;
  border: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  box-shadow: var(--glow);
}
.btn-submit-form:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}
.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 15px;
}
.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--success);
  color: #34d399;
}

/* Footer */
.site-footer {
  background: #05070d;
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 800;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #111726;
  padding-top: 24px;
  color: var(--text-dim);
}

/* Floating Mobile Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #060913;
  border-top: 1px solid var(--border-glow);
  padding: 10px 14px;
  z-index: 9999;
}
.mobile-btns {
  display: flex;
  gap: 10px;
}
.mobile-btns a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
}
.mobile-btn-call {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #060913 !important;
}
.mobile-btn-msg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff !important;
}

@media(max-width: 850px) {
  .nav-links { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-action-bar { display: block; }
}
