/* ========== TECHCONSEIL V2 - Modern Pro Design ========== */

:root {
  --tc-navy: #0a1628;
  --tc-dark: #0f1f3a;
  --tc-blue: #1a3a5c;
  --tc-accent: #00b4d8;
  --tc-accent-light: #48cae4;
  --tc-accent-dark: #0096c7;
  --tc-white: #ffffff;
  --tc-gray-50: #f8fafc;
  --tc-gray-100: #f1f5f9;
  --tc-gray-200: #e2e8f0;
  --tc-gray-300: #cbd5e1;
  --tc-gray-500: #64748b;
  --tc-gray-700: #334155;
  --tc-gray-900: #0f172a;
  --tc-gradient: linear-gradient(135deg, var(--tc-navy) 0%, var(--tc-dark) 50%, var(--tc-blue) 100%);
  --tc-gradient-accent: linear-gradient(135deg, var(--tc-accent-dark) 0%, var(--tc-accent) 50%, var(--tc-accent-light) 100%);
  --tc-radius: 12px;
  --tc-radius-lg: 20px;
  --tc-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --tc-shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --tc-shadow-xl: 0 25px 50px -12px rgba(0,0,0,.25);
  --tc-transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--tc-gray-700);
  line-height: 1.7;
  background: var(--tc-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--tc-navy);
  line-height: 1.2;
}

a { text-decoration: none; transition: var(--tc-transition); }

img { max-width: 100%; height: auto; }

/* ===== NAVBAR ===== */
.tc-navbar {
  background: rgba(10, 22, 40, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: .75rem 0;
  transition: var(--tc-transition);
}

.tc-navbar.scrolled {
  background: rgba(10, 22, 40, .98);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.tc-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--tc-white) !important;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.tc-navbar .navbar-brand img {
  height: 45px;
  width: 45px;
  border-radius: 10px;
}

.tc-navbar .navbar-brand span {
  background: var(--tc-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tc-navbar .nav-link {
  color: rgba(255,255,255,.75) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem 1rem !important;
  border-radius: 8px;
  transition: var(--tc-transition);
}

.tc-navbar .nav-link:hover,
.tc-navbar .nav-link.active {
  color: var(--tc-white) !important;
  background: rgba(0,180,216,.15);
}

.tc-navbar .dropdown-menu {
  background: var(--tc-navy);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--tc-radius);
  padding: .5rem;
  margin-top: .5rem;
  min-width: 240px;
}

.tc-navbar .dropdown-item {
  color: rgba(255,255,255,.7);
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .875rem;
  transition: var(--tc-transition);
}

.tc-navbar .dropdown-item:hover {
  background: rgba(0,180,216,.15);
  color: var(--tc-white);
}

.navbar-toggler {
  border: none;
  padding: .25rem .5rem;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO ===== */
.tc-hero {
  background: var(--tc-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.tc-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,180,216,.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.tc-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,150,199,.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.tc-hero-content { position: relative; z-index: 2; }

.tc-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--tc-white);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.tc-hero h1 .accent {
  background: var(--tc-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tc-hero .lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  max-width: 550px;
  line-height: 1.8;
}

.tc-hero .hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.tc-hero .hero-stats .stat h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--tc-accent);
  margin-bottom: 0;
}

.tc-hero .hero-stats .stat p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  font-weight: 500;
  margin: 0;
}

/* ===== BUTTONS ===== */
.btn-tc-primary {
  background: var(--tc-gradient-accent);
  color: var(--tc-white);
  border: none;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--tc-transition);
  box-shadow: 0 4px 15px rgba(0,180,216,.3);
}

.btn-tc-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,180,216,.4);
  color: var(--tc-white);
}

.btn-tc-outline {
  background: transparent;
  color: var(--tc-white);
  border: 2px solid rgba(255,255,255,.3);
  padding: .7rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--tc-transition);
}

.btn-tc-outline:hover {
  border-color: var(--tc-accent);
  color: var(--tc-accent);
  background: rgba(0,180,216,.05);
}

/* ===== SECTIONS ===== */
.tc-section {
  padding: 6rem 0;
}

.tc-section-dark {
  background: var(--tc-gradient);
  color: var(--tc-white);
}

.tc-section-gray {
  background: var(--tc-gray-50);
}

.tc-section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.tc-section-dark .tc-section-title { color: var(--tc-white); }

.tc-section-subtitle {
  color: var(--tc-gray-500);
  font-size: 1.05rem;
  max-width: 600px;
}

.tc-section-dark .tc-section-subtitle { color: rgba(255,255,255,.6); }

.tc-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(0,180,216,.1);
  color: var(--tc-accent-dark);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.tc-section-dark .tc-badge {
  background: rgba(0,180,216,.15);
  color: var(--tc-accent-light);
}

/* ===== CARDS - SERVICES ===== */
.tc-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-gray-200);
  border-radius: var(--tc-radius-lg);
  padding: 2rem;
  transition: var(--tc-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.tc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tc-gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--tc-transition);
}

.tc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tc-shadow-xl);
  border-color: transparent;
}

.tc-card:hover::before { transform: scaleX(1); }

.tc-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0,180,216,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--tc-accent-dark);
  margin-bottom: 1.25rem;
  transition: var(--tc-transition);
}

.tc-card:hover .tc-card-icon {
  background: var(--tc-gradient-accent);
  color: var(--tc-white);
}

.tc-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.tc-card p {
  color: var(--tc-gray-500);
  font-size: .9rem;
  line-height: 1.7;
  margin: 0;
}

.tc-card .tc-card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--tc-accent-dark);
  font-weight: 600;
  font-size: .875rem;
  margin-top: 1rem;
}

.tc-card .tc-card-link:hover { gap: .6rem; }

/* ===== ABOUT / FEATURES ===== */
.tc-feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tc-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0,180,216,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-accent-dark);
  font-size: 1.1rem;
}

.tc-feature-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.tc-feature-item p {
  color: var(--tc-gray-500);
  font-size: .85rem;
  margin: 0;
}

/* ===== TABLE / PRICING ===== */
.tc-table {
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  box-shadow: var(--tc-shadow-lg);
}

.tc-table thead {
  background: var(--tc-gradient);
}

.tc-table thead th {
  color: var(--tc-white);
  font-weight: 600;
  padding: 1rem;
  border: none;
  font-size: .9rem;
}

.tc-table tbody td {
  padding: .875rem 1rem;
  border-color: var(--tc-gray-100);
  vertical-align: middle;
  font-size: .9rem;
}

.tc-table tbody tr:hover {
  background: var(--tc-gray-50);
}

.tc-check { color: var(--tc-accent); font-size: 1.2rem; }
.tc-cross { color: var(--tc-gray-300); font-size: 1.2rem; }

/* ===== PARTNERS ===== */
.tc-partner-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-gray-200);
  border-radius: var(--tc-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--tc-transition);
}

.tc-partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tc-shadow-xl);
  border-color: transparent;
}

.tc-partner-card img {
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: grayscale(100%);
  opacity: .7;
  transition: var(--tc-transition);
}

.tc-partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ===== FAQ ===== */
.tc-accordion .accordion-item {
  border: 1px solid var(--tc-gray-200);
  border-radius: var(--tc-radius) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}

.tc-accordion .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--tc-navy);
  padding: 1.15rem 1.5rem;
  background: var(--tc-white);
  box-shadow: none;
}

.tc-accordion .accordion-button:not(.collapsed) {
  background: var(--tc-gray-50);
  color: var(--tc-accent-dark);
}

.tc-accordion .accordion-button::after {
  background-size: 1rem;
}

.tc-accordion .accordion-body {
  color: var(--tc-gray-500);
  font-size: .9rem;
  padding: 0 1.5rem 1.25rem;
}

/* ===== CONTACT ===== */
.tc-contact-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-gray-200);
  border-radius: var(--tc-radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--tc-transition);
}

.tc-contact-card:hover {
  border-color: var(--tc-accent);
  box-shadow: var(--tc-shadow-lg);
}

.tc-contact-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(0,180,216,.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--tc-accent-dark);
  margin: 0 auto 1rem;
}

.tc-contact-card h5 {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.tc-contact-card p {
  color: var(--tc-gray-500);
  font-size: .9rem;
  margin: 0;
}

/* ===== FOOTER ===== */
.tc-footer {
  background: var(--tc-navy);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}

.tc-footer h5 {
  color: var(--tc-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.tc-footer a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  display: block;
  padding: .25rem 0;
}

.tc-footer a:hover { color: var(--tc-accent); }

.tc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: .8rem;
}

/* ===== PAGE HEADER ===== */
.tc-page-header {
  background: var(--tc-gradient);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.tc-page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,.1) 0%, transparent 70%);
  border-radius: 50%;
}

.tc-page-header h1 {
  color: var(--tc-white);
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.tc-page-header .lead {
  color: rgba(255,255,255,.6);
  position: relative;
  z-index: 2;
}

.tc-page-header .breadcrumb {
  position: relative;
  z-index: 2;
}

.tc-page-header .breadcrumb-item a { color: var(--tc-accent); }
.tc-page-header .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.tc-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ===== SOFTWARE CARDS ===== */
.tc-software-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-gray-200);
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  transition: var(--tc-transition);
  height: 100%;
}

.tc-software-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tc-shadow-xl);
}

.tc-software-card .card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--tc-accent);
}

.tc-software-card .card-body { padding: 1.5rem; }

.tc-software-card h5 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}

.tc-software-card p {
  color: var(--tc-gray-500);
  font-size: .85rem;
  margin: 0;
}

/* ===== GALLERY ===== */
.tc-gallery-item {
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.tc-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--tc-transition);
}

.tc-gallery-item:hover img { transform: scale(1.05); }

.tc-gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--tc-transition);
}

.tc-gallery-item:hover .overlay { opacity: 1; }

.tc-gallery-item .overlay i {
  color: var(--tc-white);
  font-size: 2rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.tc-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.tc-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CTA ===== */
.tc-cta {
  background: var(--tc-gradient-accent);
  border-radius: var(--tc-radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tc-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
}

.tc-cta h2 {
  color: var(--tc-white);
  position: relative;
  z-index: 2;
}

.tc-cta p {
  color: rgba(255,255,255,.8);
  position: relative;
  z-index: 2;
}

.tc-cta .btn {
  position: relative;
  z-index: 2;
  background: var(--tc-white);
  color: var(--tc-accent-dark);
  border: none;
  padding: .75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
}

.tc-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

/* ===== CONTENT ===== */
.tc-content h2 {
  margin-bottom: 1rem;
}

.tc-content p {
  color: var(--tc-gray-500);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tc-content strong { color: var(--tc-navy); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .tc-hero { min-height: auto; padding: 8rem 0 4rem; }
  .tc-hero .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .tc-hero .hero-stats .stat h3 { font-size: 2rem; }
  .tc-section { padding: 4rem 0; }
  .tc-cta { padding: 2.5rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .tc-hero h1 { font-size: 2rem; }
  .tc-hero .hero-stats { gap: 1rem; }
  .tc-hero .hero-stats .stat h3 { font-size: 1.6rem; }
  .tc-card { padding: 1.5rem; }
}

/* ===== LEGAL ===== */
.tc-legal h3 {
  font-size: 1.15rem;
  margin: 2rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--tc-gray-200);
}

.tc-legal p { font-size: .9rem; }

/* ===== BACK TO TOP ===== */
.tc-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--tc-gradient-accent);
  color: var(--tc-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--tc-transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,180,216,.4);
}

.tc-back-top.show {
  opacity: 1;
  visibility: visible;
}

.tc-back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,180,216,.5);
}
