/* Charte Graphique & UI Premium - 3DENSEIGNES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;700;800;900&display=swap');

:root {
  /* Colors */
  --color-orange: #FF6B00;
  --color-orange-glow: rgba(255, 107, 0, 0.4);
  --color-orange-dark: #cc5600;
  --color-navy: #0B0E14; /* Deep modern dark */
  --color-navy-card: #151A22;
  --color-navy-light: #1F2633;
  --color-white: #ffffff;
  --color-light-gray: #F4F6F9;
  --color-gray: #8A94A6;
  --color-dark-gray: #2A3241;

  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 8px 24px var(--color-orange-glow);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-gray);
  line-height: 1.7;
  background-color: var(--color-light-gray);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-orange) 0%, #FF9500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul { list-style: none; }

/* Base UI Components */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px; /* Pill shape for premium feel */
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange) 0%, #FF9500 100%);
  color: var(--color-white) !important;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--color-orange-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.btn-outline:hover {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
  transform: translateY(-3px);
}

.btn-white-outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white) !important;
  backdrop-filter: blur(5px);
}

.btn-white-outline:hover {
  background-color: var(--color-white);
  color: var(--color-navy) !important;
  transform: translateY(-3px);
}

/* Header / Navbar - Glassmorphism */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0; /* Reduced from 20px */
  transition: all 0.4s ease;
  background: rgba(11, 14, 20, 0.85); /* Slightly more opaque */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(11, 14, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled .logo img {
  height: 50px !important;
}

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

.logo img {
  display: block;
  max-width: 100%;
  mix-blend-mode: screen; /* Force screen blending for all logos */
  filter: brightness(1.05); /* Slightly boost to help blending */
}

nav ul {
  display: flex;
  gap: 35px;
  align-items: center;
}

nav ul li a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #E2E8F0;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: var(--color-white);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--color-orange), transparent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav ul li a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Footer (Dark Premium) */
footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 25px;
  font-size: 18px;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content:'';
  position: absolute;
  bottom: -8px;
  left:0;
  width: 40px;
  height: 2px;
  background: var(--color-orange);
}

.footer-col p, .footer-col li a {
  color: #94A3B8;
  margin-bottom: 15px;
  font-size: 15px;
}

.footer-col a:hover { color: var(--color-orange); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #64748B;
  position: relative;
  z-index: 2;
}

/* Hero Section / Slider */
.hero {
  position: relative;
  height: 90vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: var(--color-navy);
  color: white;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideAnimation {
  0% { opacity: 0; transform: scale(1.1); }
  10% { opacity: 1; transform: scale(1.08); }
  33% { opacity: 1; transform: scale(1.05); }
  43% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(11,14,20,0.95) 0%, rgba(11,14,20,0.6) 50%, rgba(11,14,20,0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 80px;
}

.hero h1 {
  font-size: 64px;
  color: var(--color-white);
  margin-bottom: 25px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero p {
  font-size: 20px;
  color: #E2E8F0;
  margin-bottom: 40px;
  max-width: 600px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Base Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.section-dark .section-title h2 { color: var(--color-white); }
.section-dark .section-title p { color: #94A3B8; }

.section-title {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 18px;
  color: var(--color-gray);
}

/* Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* Premium Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.section-dark .glass-card {
  background: rgba(31, 38, 51, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* Values Card specific */
.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--color-orange);
  transition: all 0.3s ease;
}
.card:hover .value-icon {
  background: var(--color-orange);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

/* Forms Premium */
.form-group { margin-bottom: 25px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.section-dark .form-group label { color: var(--color-white); }

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: var(--color-white);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 48px; }
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
  }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 38px; }
  .hero { min-height: 500px; height: 100vh; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .section { padding: 60px 0; }
  .hero-content { text-align: center; }
  .hero-overlay { background: rgba(11,14,20,0.7); }
}

/* Footer Legal Links */
.footer-legal-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.7;
    position: relative;
    z-index: 999;
    cursor: pointer;
    display: inline-block;
}

.footer-legal-link:hover {
    color: var(--color-orange);
    text-decoration: underline;
    opacity: 1;
}

/* =============================================
   SECTION TÉMOIGNAGES CLIENTS
   ============================================= */
.temoignages-section {
    background: linear-gradient(135deg, #F4F6F9 0%, #EEF1F7 100%);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.temoignage-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.temoignage-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: var(--color-orange);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
}

.temoignage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.15);
}

/* Étoiles */
.temoignage-stars {
    display: flex;
    gap: 3px;
}

.star {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.star-filled {
    color: #FF9500;
    text-shadow: 0 0 8px rgba(255, 149, 0, 0.4);
}

.star-empty {
    color: #D1D5DB;
}

.temoignage-card:hover .star-filled {
    transform: scale(1.15);
}

/* Contenu du témoignage */
.temoignage-contenu {
    color: var(--color-dark-gray);
    font-size: 15px;
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

/* Section auteur */
.temoignage-auteur {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 18px;
}

.auteur-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-orange) 0%, #FF9500 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.auteur-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.auteur-info strong {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--color-navy);
}

.auteur-info span {
    font-size: 12px;
    color: var(--color-gray);
}

.temoignage-realisation-link {
    color: var(--color-orange);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.temoignage-realisation-link:hover {
    opacity: 0.75;
}

/* CTA Témoignage */
.temoignages-cta .btn-primary {
    gap: 6px;
    font-size: 15px;
    padding: 16px 40px;
}

@media (max-width: 768px) {
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Responsiveness */
.contact-page-grid {
    grid-template-columns: 1fr 2fr;
    align-items: flex-start;
    gap: 30px;
}

.grid-2-col {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 992px) {
    .contact-page-grid, 
    .grid-2-col {
        grid-template-columns: 1fr !important;
    }
    
    .contact-page-grid {
        gap: 20px;
    }

    .contact-page-grid .card {
        padding: 25px !important;
    }
}


