/* GET17 Custom Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Lato:wght@300;400;700&display=swap');

:root {
  --get17-primary: #2ba5a2;
  --get17-primary-dark: #238a87;
  --get17-primary-light: #e6f5f5;
  --get17-primary-rgb: 43, 165, 162;
  --get17-gray: #f3f4f6;
  --get17-dark: #1e293b;
  --get17-text: #475569;
  --get17-text-light: #94a3b8;
  --get17-white: #ffffff;
  --get17-gradient: linear-gradient(135deg, #2ba5a2 0%, #238a87 100%);
  --get17-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --get17-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --get17-shadow-xl: 0 20px 50px -12px rgba(0,0,0,0.12);
  --get17-radius: 0.75rem;
  --get17-radius-lg: 1rem;
}

/* Prevent horizontal overflow */
html, body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  color: var(--get17-dark);
}

body, p, li, a, span, .lead {
  font-family: 'Lato', sans-serif !important;
  color: var(--get17-text);
}

/* Override primary color */
.btn-primary, .btn-soft-primary {
  background-color: var(--get17-primary) !important;
  border-color: var(--get17-primary) !important;
}
.btn-primary:hover {
  background-color: var(--get17-primary-dark) !important;
  border-color: var(--get17-primary-dark) !important;
}
.text-primary {
  color: var(--get17-primary) !important;
}
.bg-primary {
  background-color: var(--get17-primary) !important;
}
.bg-soft-primary {
  background-color: var(--get17-primary-light) !important;
}

/* Hero Section */
.get17-hero {
  background: linear-gradient(135deg, #1a2332 0%, #0f172a 50%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-bottom: 4rem;
}
.get17-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(43,165,162,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.get17-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(43,165,162,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.get17-hero h1 {
  color: #fff !important;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 1200px) {
  .get17-hero h1 { font-size: 2.6rem; }
}
.get17-hero .lead {
  color: rgba(255,255,255,0.75) !important;
  font-size: 1.05rem;
  font-weight: 300;
}
.get17-hero .badge-hero {
  display: inline-block;
  background: rgba(43,165,162,0.15);
  color: var(--get17-primary);
  border: 1px solid rgba(43,165,162,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
@media (max-width: 991px) {
  .get17-hero h1 { font-size: 1.85rem; }
  .get17-hero { min-height: auto; }
}
@media (max-width: 575px) {
  .get17-hero h1 { font-size: 1.5rem; }
}

/* SaaS Mockup Frame */
.mockup-frame {
  background: #1e293b;
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--get17-shadow-xl);
  position: relative;
  overflow: hidden;
}
.mockup-frame::before {
  content: '';
  display: block;
  height: 28px;
  background: #151d2b;
  border-radius: 8px 8px 0 0;
  margin: -8px -8px 8px -8px;
  position: relative;
}
.mockup-frame::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 14px 0 0 #f59e0b, 28px 0 0 #22c55e;
}
.mockup-frame img {
  width: 100%;
  border-radius: 0 0 6px 6px;
  display: block;
}

/* KPI Cards */
.kpi-card {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--get17-shadow-lg);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--get17-shadow-xl);
}
.kpi-number {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 3rem;
  font-weight: 800;
  color: var(--get17-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.kpi-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--get17-dark);
  margin-bottom: 0.25rem;
}
.kpi-sublabel {
  font-size: 0.85rem;
  color: var(--get17-text-light);
}

/* Section Styles */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--get17-primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.75rem;
  color: var(--get17-dark) !important;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 1.95rem; }
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--get17-text);
  max-width: 640px;
}

/* Feature Cards */
.feature-card {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  padding: 2rem;
  box-shadow: var(--get17-shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--get17-shadow-xl);
  border-color: rgba(43,165,162,0.2);
}
.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.feature-icon.bg-teal { background: rgba(43,165,162,0.12); color: var(--get17-primary); }
.feature-icon.bg-blue { background: #e0edff; color: #1a3a6b; }
.feature-icon.bg-amber { background: rgba(245,158,11,0.12); color: #d97706; }
.feature-icon.bg-red { background: rgba(239,68,68,0.12); color: #dc2626; }
.feature-icon.bg-green { background: #e0f5e8; color: #14532d; }
.feature-icon.bg-purple { background: #efe8ff; color: #4a1d96; }
.feature-icon.bg-orange { background: rgba(249,115,22,0.12); color: #ea580c; }
.feature-icon.bg-pink { background: rgba(236,72,153,0.12); color: #db2777; }
.feature-icon.bg-indigo { background: rgba(99,102,241,0.12); color: #4f46e5; }

.feature-card h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--get17-text);
  margin-bottom: 0;
}

/* Module Cards */
.module-card {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--get17-shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none !important;
  display: block;
  height: 100%;
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--get17-shadow-xl);
  border-color: var(--get17-primary);
}
.module-card:hover .module-icon {
  background: var(--get17-primary);
  color: #fff;
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--get17-primary-light);
  color: var(--get17-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.module-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--get17-dark) !important;
}
.module-card p {
  font-size: 0.9rem;
  color: var(--get17-text);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Testimonial */
.testimonial-card {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  padding: 3rem;
  box-shadow: var(--get17-shadow-lg);
  border-left: 4px solid var(--get17-primary);
  position: relative;
}
.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--get17-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--get17-text);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--get17-dark);
  font-size: 0.95rem;
}
.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--get17-text-light);
}

/* CTA Section */
.cta-section {
  background: var(--get17-gradient);
  border-radius: var(--get17-radius-lg);
  padding: 4rem 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2, .cta-section h3 {
  color: #fff !important;
}
.cta-section p {
  color: rgba(255,255,255,0.85) !important;
}
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-white-outline:hover {
  background: #fff;
  color: var(--get17-primary);
  border-color: #fff;
}
.btn-get17 {
  background: var(--get17-primary);
  color: #fff !important;
  border: none;
  padding: 0.85rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(43,165,162,0.3);
}
.btn-get17:hover {
  background: var(--get17-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,165,162,0.4);
  color: #fff !important;
}
.btn-get17-outline {
  background: transparent;
  color: var(--get17-primary) !important;
  border: 2px solid var(--get17-primary);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-get17-outline:hover {
  background: var(--get17-primary);
  color: #fff !important;
}

/* Navbar Override */
.navbar-get17 {
  background: rgba(15,23,42,0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}
.navbar-get17 .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem !important;
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar-get17 .nav-link:hover,
.navbar-get17 .nav-link.active {
  color: var(--get17-primary) !important;
}
.navbar-get17 .navbar-brand img {
  height: 32px;
}

/* Footer */
.footer-get17 {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-get17 h4 {
  color: #fff !important;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.footer-get17 a {
  color: rgba(255,255,255,0.6) !important;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-get17 a:hover {
  color: var(--get17-primary) !important;
}
.footer-get17 .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* Problem Cards */
.problem-card {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: var(--get17-radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.problem-card .icon {
  color: #ef4444;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Solution Cards */
.solution-card {
  background: rgba(43,165,162,0.04);
  border: 1px solid rgba(43,165,162,0.1);
  border-radius: var(--get17-radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.solution-card .icon {
  color: var(--get17-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pillar Section */
.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
}
.pillar-item .pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--get17-primary-light);
  color: var(--get17-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.pillar-item h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--get17-dark) !important;
}
.pillar-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--get17-text);
}

/* Timeline for Histoire page */
.timeline-get17 {
  position: relative;
  padding: 2rem 0;
}
.timeline-get17::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--get17-primary-light);
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .timeline-get17::before { left: 24px; }
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--get17-primary);
  border: 3px solid var(--get17-primary-light);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
}
@media (max-width: 767px) {
  .timeline-dot { left: 24px; }
}

/* Profile Cards */
.profile-card {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  padding: 2rem;
  box-shadow: var(--get17-shadow);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--get17-shadow-xl);
}
.profile-card .profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--get17-primary-light);
  color: var(--get17-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

/* Contact Form */
.form-get17 .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.form-get17 .form-control:focus {
  border-color: var(--get17-primary);
  box-shadow: 0 0 0 3px rgba(43,165,162,0.1);
}
.form-get17 label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--get17-dark);
  margin-bottom: 0.5rem;
}

/* Module Detail Modal */
.module-detail {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  overflow-y: auto;
  padding: 2rem;
}
.module-detail.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.module-detail-content {
  background: var(--get17-white);
  border-radius: var(--get17-radius-lg);
  max-width: 800px;
  width: 100%;
  margin: 2rem auto;
  padding: 3rem;
  position: relative;
  box-shadow: var(--get17-shadow-xl);
}
.module-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--get17-gray);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: var(--get17-dark);
}
.module-detail-close:hover {
  background: #e2e8f0;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tabs for Pour Qui */
.tab-get17 {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid #e2e8f0;
  background: transparent;
  color: var(--get17-text);
  margin: 0.25rem;
}
.tab-get17.active, .tab-get17:hover {
  background: var(--get17-primary);
  border-color: var(--get17-primary);
  color: #fff;
}

/* Mobile Navbar */
.navbar-get17 .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.6rem;
}
.navbar-get17 .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");
}
@media (max-width: 991px) {
  .navbar-get17 .navbar-collapse {
    background: rgba(15,23,42,0.98);
    border-radius: 0 0 var(--get17-radius) var(--get17-radius);
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .navbar-get17 .navbar-nav {
    gap: 0 !important;
  }
  .navbar-get17 .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .navbar-get17 .btn-get17 {
    margin-top: 0.75rem;
    text-align: center;
    display: block;
    width: 100%;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .section-title { font-size: 1.75rem; }
  .kpi-number { font-size: 2.5rem; }
  .kpi-card { padding: 1.5rem 1rem; }
  .feature-card { padding: 1.5rem; }
  .module-card { padding: 1.25rem; }
  .testimonial-card { padding: 2rem; }
  .cta-section { padding: 3rem 1.5rem; }
  .mockup-frame { border-radius: 8px; padding: 5px; }
  .mockup-frame::before { height: 20px; }
  .mockup-frame::after { top: 7px; left: 10px; width: 6px; height: 6px; box-shadow: 10px 0 0 #f59e0b, 20px 0 0 #22c55e; }
  .profile-card { padding: 1.5rem; }
  .pillar-item { padding: 1rem 0; }
}

/* Smooth scroll behavior */
html { scroll-behavior: smooth; }

/* Active nav link indicator */
.navbar-get17 .nav-link.active {
  position: relative;
}
.navbar-get17 .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--get17-primary);
  border-radius: 1px;
}
@media (max-width: 991px) {
  .navbar-get17 .nav-link.active::after { display: none; }
  .navbar-get17 .nav-link.active { background: rgba(43,165,162,0.1); border-radius: 6px; }
}

/* Focus states for accessibility */
.btn-get17:focus, .btn-get17-outline:focus, .btn-white-outline:focus {
  outline: 2px solid var(--get17-primary);
  outline-offset: 2px;
}
.form-get17 .form-control:focus {
  outline: none;
}

/* Selection color */
::selection {
  background: rgba(43,165,162,0.2);
  color: var(--get17-dark);
}

/* Logo Banner */
.logo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 0;
}
.logo-banner img {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.logo-banner img:hover {
  opacity: 1;
}
@media (max-width: 767px) {
  .logo-banner {
    gap: 1.5rem;
  }
  .logo-banner img {
    height: 28px;
    max-width: 100px;
  }
}

/* Utility */
.bg-get17-light { background: var(--get17-gray); }
.bg-get17-primary { background: var(--get17-primary); }
.text-get17 { color: var(--get17-primary) !important; }
.rounded-get17 { border-radius: var(--get17-radius-lg); }
