@charset "UTF-8";
/* Braxe Auto - Styles consolidés */
/* Variables globales */
:root {
  --primary: #272c76;
  --primary-gradient: linear-gradient(135deg, #272c76, #272c76);
  --secondary: #6a6a6a;
  --bg-light: #f8f9fa;
  --text-dark: #111;
  --white: #fff;
  --shadow-sm: 0 4px 12px rgba(39, 44, 118, 0.1);
  --shadow-md: 0 8px 24px rgba(39, 44, 118, 0.15);
  --radius-lg: 16px;
}

@font-face {
  font-family: "NVIDIASans";
  src: url("https://images.nvidia.com/etc/designs/nvidiaGDC/clientlibs_base/fonts/nvidia-sans/EMEA/var/NVIDIASansVF_EMEA_W_Wght.woff2") format("woff2");
  font-display: swap;
}
html {
  scroll-behavior: smooth;
}

/* Reset et Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "NVIDIASans", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* Header & Nav */
.topbar {
  background: var(--white);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-dark); font-weight: 500; }
#nav-contact-btn {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}

/* Page Headers (New Unified Styles) */
.page-header-section {
  padding: 0 0 80px 0;
  position: relative;
}
.page-header-image-wrapper {
  width: 100%;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  height: 400px;
  position: relative;
}
.page-header-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.page-header-content {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 16px;
}
.page-title {
  margin: 0 0 24px;
  color: var(--text-dark);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}
.page-title span {
  position: absolute;
  display: block;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}
.page-description {
  max-width: 800px;
  margin: 0 auto;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

/* Sections & Cards */
.section { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main > .section {
  border-top: 1px solid #ededed;
}
.page-carriere main .container {
  max-width: 1000px;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 120px 0;
    text-align: center;
}
.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.thank-you-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #272c76, #272c76);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    box-shadow: 0 8px 24px rgba(39, 44, 118, 0.3);
}
.thank-you-icon i {
    color: #fff;
    font-size: 40px;
}
.thank-you-title {
    margin: 0 0 24px;
    font-size: 32px;
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
}
.thank-you-message {
    margin: 0 0 32px;
    color: #6a6a6a;
    font-size: 18px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.thank-you-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.btn-primary, .btn-secondary {
    padding: 14px 32px;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(39, 44, 118, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 44, 118, 0.4);
}
.btn-secondary {
    background: #fff;
    color: var(--secondary);
    border: 1px solid #ddd;
}
.btn-secondary:hover {
    background: #f8f9fa;
    color: var(--text-dark);
    border-color: #ccc;
}

/* Contact Help Card */
.contact-help-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
}
.contact-help-card h2 {
    margin: 0 0 16px;
    font-size: 20px;
    color: #111;
    font-weight: 600;
}
.contact-help-card p {
    margin: 0 0 24px;
    color: #6a6a6a;
    font-size: 15px;
    text-align: center;
}
.contact-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}
@media (max-width: 600px) {
    .contact-options-grid { grid-template-columns: 1fr; }
}
.contact-option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
}
.contact-option-card:hover {
    border-color: #272c76;
    box-shadow: 0 4px 12px rgba(39, 44, 118, 0.1);
}
.contact-option-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-option-icon i { color: #fff; font-size: 18px; }
.contact-option-text { text-align: left; }
.contact-option-title {
    font-weight: 600;
    color: #111;
    font-size: 14px;
    margin-bottom: 2px;
}
.contact-option-subtitle {
    color: #6a6a6a;
    font-size: 13px;
}

/* --- Pages secondaires : pied de page, cartes services, modales (manquait dans la feuille liée) --- */

.footer {
  background: #2a2a2a;
  color: #e6e6e6;
  padding: 80px 0 30px;
  margin-top: 80px;
}
.footer.no-margin-top {
  margin-top: 0;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.footer-section h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  position: relative;
}
.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #272c76, #272c76);
  border-radius: 2px;
}
.footer-section p {
  color: #b5b5b5;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section li {
  margin: 0 0 12px;
}
.footer-section a {
  color: #b5b5b5;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.footer-section a:hover {
  color: #272c76;
  transform: translateX(4px);
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #b5b5b5;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-links a:hover {
  background: linear-gradient(135deg, #272c76, #272c76);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 44, 118, 0.3);
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 50px;
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 14px;
}
.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}
.footer-bottom a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: #272c76;
}

/* Cartes type « services » (services.html, carrière) */
.service-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(39, 44, 118, 0.1);
  overflow: hidden;
  text-align: left;
}
.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(39, 44, 118, 0.25);
  border-color: rgba(39, 44, 118, 0.3);
}
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #272c76, #272c76);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(39, 44, 118, 0.3);
  margin-bottom: 24px;
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}
.service-title {
  color: #111;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.3;
  text-align: left;
}
.service-description {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px;
  text-align: left;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.service-features li {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
  text-align: left;
}
.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #272c76;
  font-weight: bold;
}
@media (max-width: 768px) {
  .service-card:hover {
    transform: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 900px) {
  [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Modales contact / location */
.contact-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 10px;
}
.contact-popup.open {
  display: flex;
}
.contact-popup-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  animation: braxePopupSlideIn 0.3s ease;
  overflow: hidden;
}
@keyframes braxePopupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.contact-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #272c76, #272c76);
  border-radius: 16px 16px 0 0;
}
#rental-popup .contact-popup-header {
  background: #f4f6f8;
  border-bottom: 1px solid #eaeaea;
  border-radius: 16px 16px 0 0;
}
#rental-popup .contact-popup-header h3 {
  color: #111;
}
#rental-popup .contact-popup-close {
  background: rgba(0, 0, 0, 0.06);
  color: #333;
}
#rental-popup .contact-popup-close:hover {
  background: rgba(0, 0, 0, 0.1);
}
.contact-popup-close {
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.contact-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.contact-form {
  padding: 16px 28px 24px;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
.contact-form .form-group {
  margin-bottom: 16px;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: #333;
  font-size: 13px;
}
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #272c76;
  box-shadow: 0 0 0 2px rgba(39, 44, 118, 0.1);
}
.contact-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.contact-form .form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eaeaea;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .contact-popup {
    padding: 5px;
  }
  .contact-popup-content {
    max-width: 100%;
    max-height: 98vh;
  }
  .contact-popup-header,
  .contact-form {
    padding-left: 16px;
    padding-right: 16px;
  }
  .contact-form .form-actions {
    flex-direction: column;
  }
  .contact-form .form-actions .btn-primary,
  .contact-form .form-actions .btn-secondary {
    width: 100%;
  }
}

/* Bande « Pourquoi nous » : fixed gêne le scroll sur mobile */
@media (max-width: 768px) {
  [style*="background-attachment:fixed"] {
    background-attachment: scroll !important;
  }
}

/* ---- Language Toggle ---- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 4px 6px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  color: #6a6a6a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
  text-decoration: none;
  user-select: none;
}
.lang-toggle:hover {
  border-color: #272c76;
  box-shadow: 0 2px 8px rgba(39, 44, 118, 0.12);
  color: #272c76;
}
.lang-toggle .lang-sep {
  margin: 0 4px;
  color: #ccc;
  font-size: 11px;
}
.lang-toggle .lang-fr,
.lang-toggle .lang-en {
  font-size: 12px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.lang-toggle .lang-fr[style*="700"],
.lang-toggle .lang-en[style*="700"] {
  color: #272c76;
}
