/*
  EMPRO-TECH — Feuille de style (version premium tech sombre)
  Upload : déposer dans public_html via le gestionnaire Hostinger.

  Palette :
  - Bleu profond  : #0B1437 (fond hero / sections sombres)
  - Bleu nuit     : #1E3A8A (accents)
  - Bleu CTA      : #2563EB / #3B82F6 (interactions)
  - Cyan accent   : #06B6D4 (gradient highlight)
  - Texte clair   : #F8FAFC / #E2E8F0
  - Texte fonce   : #0F172A / #1F2937
  - Gris          : #64748B / #94A3B8
  - Bordures      : rgba(255,255,255,0.08) (dark) / #E5E7EB (light)
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1F2937;
  background-color: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button { font-family: inherit; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-light {
  background-color: #F8FAFC;
}

.section-dark {
  background-color: #0B1437;
  color: #E2E8F0;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(11, 20, 55, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.65rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.logo-link:hover .logo-img { opacity: 0.85; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  transition: width 0.3s ease;
}

.nav-link:hover { color: #FFFFFF; }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: #FFFFFF; }
.nav-link.active::after { width: 100%; }

/* === BOUTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #F8FAFC;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  color: #F8FAFC;
}

.hero-compact {
  min-height: auto;
  padding: 12rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-bg-contact {
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 20, 55, 0.92) 0%, rgba(30, 58, 138, 0.78) 50%, rgba(11, 20, 55, 0.95) 100%),
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.18), transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #E2E8F0;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow: 0 0 12px #06B6D4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #CBD5E1;
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 600px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.meta-label {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-top: 0.25rem;
  font-weight: 500;
}

.meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* === SECTION HEAD === */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #06B6D4;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.875rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.section-light .section-title { color: #0F172A; }

.section-lead {
  font-size: 1.125rem;
  color: #94A3B8;
  line-height: 1.7;
}

.section-light .section-lead { color: #475569; }

/* === ACTIVITÉ — CARDS === */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.activity-card {
  position: relative;
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
}

.activity-card:hover::before { opacity: 1; }

.activity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #06B6D4;
  margin-bottom: 1.5rem;
}

.activity-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.activity-card p {
  font-size: 0.975rem;
  color: #94A3B8;
  line-height: 1.65;
}

/* === ARGUMENTS — POURQUOI === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.why-item:hover {
  border-color: #BFDBFE;
  box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.why-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #FFFFFF;
}

.why-text h3 {
  font-size: 1.075rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.why-text p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

/* === CTA FINAL === */
.cta-band {
  position: relative;
  padding: 5rem 0;
  background:
    linear-gradient(135deg, #0B1437 0%, #1E3A8A 100%);
  overflow: hidden;
  color: #F8FAFC;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.22), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.22), transparent 55%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.075rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* === CONTACT — GRID === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card,
.contact-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
}

.contact-info-card h2,
.contact-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.contact-lead {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  color: inherit;
}

a.info-item:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateX(2px);
}

.info-item-static { cursor: default; }

.info-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(6, 182, 212, 0.18));
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #06B6D4;
}

.info-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.info-value {
  font-size: 0.975rem;
  color: #F8FAFC;
  font-weight: 500;
  word-break: break-word;
}

/* === FORMULAIRE === */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
}

.form-label .required {
  color: #06B6D4;
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #F8FAFC;
  font-family: inherit;
  font-size: 0.975rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #64748B;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.55;
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #3B82F6;
  cursor: pointer;
}

.form-consent a {
  color: #06B6D4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6EE7B7;
}

.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

/* === LEGAL === */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}

.legal-block p {
  font-size: 0.975rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
}

.legal-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.975rem;
  color: #334155;
  line-height: 1.65;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #06B6D4);
}

.legal-list a,
.legal-block a {
  color: #2563EB;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-list a:hover,
.legal-block a:hover { color: #1D4ED8; }

.legal-update {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
  font-size: 0.875rem;
  color: #64748B;
  font-style: italic;
}

/* === FOOTER === */
.site-footer {
  background: #050B24;
  color: #94A3B8;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.footer-col a:hover { color: #06B6D4; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #64748B;
  text-align: center;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .activity-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 4.5rem 0; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-compact { padding: 9rem 0 3.5rem; }
  .hero-meta {
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
  }
  .meta-divider { display: none; }
  .main-nav { gap: 1rem; }
  .main-nav .nav-link:not(.active) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info-card,
  .contact-form-card { padding: 1.75rem 1.5rem; }
  .hero-actions .btn { flex: 1; min-width: 0; }
}

@media (max-width: 420px) {
  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .container { padding: 0 1.1rem; }
}

/* === ACCESSIBILITÉ === */
:focus-visible {
  outline: 2px solid #06B6D4;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}