:root {
  --navy: #122034;
  --light-text: rgba(255, 255, 255, 0.95);
  --light-text-secondary: rgba(255, 255, 255, 0.75);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  color: var(--light-text);
  background-color: #0d1117;
  background-image:
    radial-gradient(at 90% 10%, hsla(217, 70%, 45%, 0.2) 0px, transparent 50%),
    radial-gradient(at 10% 90%, hsla(220, 50%, 35%, 0.2) 0px, transparent 50%);
  background-attachment: fixed;
  background-size: cover;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- En-tête --- */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(13, 17, 23, 0.5); 
  backdrop-filter: blur(24px); 
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

nav {
  display: none;
  gap: 24px;
}
@media(min-width:768px){nav{display:flex}}

.nav-link {
  opacity: .8;
  transition: opacity 0.3s ease-in-out;
}
.nav-link:hover {
  opacity: 1;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
}

.btn.primary {
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
}
.btn.primary:hover {
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.btn.outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.outline-glass {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-text);
}
.btn.outline-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn.cta-final {
    padding: 14px 28px;
    font-size: 18px;
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.btn.cta-final:hover {
    background: #f2f4f7;
    transform: translateY(-2px);
}

/* --- Sections Générales --- */
section {
  position: relative;
  padding: 64px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--light-text);
}
.section-subtitle {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 48px;
    color: var(--light-text-secondary);
    line-height: 1.7;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: transparent;
  overflow: hidden;
  padding: 88px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://www.lallemandclement.com/pictures/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%);
    z-index: 0;
}

.hero .inner {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; opacity: .8; }
.headline { font-weight: 800; line-height: 1.05; margin: 14px auto 0; font-size: 44px; max-width: 1100px; }
@media(min-width:768px){.headline{font-size:72px}}
.sub { max-width: 820px; margin: 16px auto 0; font-size: 18px; opacity: .9; line-height: 1.6; }
.cta-row { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }


/* --- Style "Glass Panel" --- */
.glass-panel {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  transition: transform .3s ease-in-out, box-shadow .3s ease-in-out, border-color .3s ease-in-out;
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- Section À Propos (MISE À JOUR POUR MOBILE) --- */
.about-inner {
  display: flex;
  flex-direction: column; /* Mobile : empilé */
  gap: 32px;
  align-items: center; /* Mobile : centré */
  text-align: center; /* Mobile : texte centré */
  padding: 32px 40px;
}
.about-inner h2 {
    margin-top: 0;
}
@media(min-width:900px){
  .about-inner {
    flex-direction: row; /* Ordinateur : côte à côte */
    text-align: left; /* Ordinateur : texte à gauche */
    gap: 48px;
  }
}
.about img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.about .content p {
  color: var(--light-text-secondary);
  line-height: 1.7;
}

/* --- Section Cartes (MISE À JOUR POUR MOBILE) --- */
.cards .grid {
  display: grid;
  gap: 28px;
}
@media(min-width:900px){.cards .grid{grid-template-columns:1fr 1fr}}
.card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.card .body { 
  padding: 24px 28px; 
  flex:1; 
  display:flex; 
  flex-direction:column;
  text-align: center; /* Mobile : texte centré */
}
@media(min-width:900px){
  .card .body {
    text-align: left; /* Ordinateur : texte à gauche */
  }
}
.card .body h3 { margin:0 0 8px; font-size:22px; color: #fff; }
.card .body p { margin:0 0 20px; color: var(--light-text-secondary); flex-grow:1; }
.card .media { display:block; height:280px; order:-1; }
.card .media img { width:100%; height:100%; object-fit:cover; opacity: 0.9; }


/* --- Bandeau de marques --- */
.trusted-brands-scroller {
    padding: 64px 0;
    text-align: center;
}
.scroller-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
}
.scroller-wrapper {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}
.scroller-inner {
    display: flex;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}
.scroller-inner:hover {
    animation-play-state: paused;
}
.scroller-inner span {
    flex-shrink: 0;
    margin: 0 24px;
    font-size: 22px;
    font-weight: 600;
    color: var(--light-text-secondary);
    transition: color 0.3s;
}
.scroller-inner span:hover {
    color: var(--light-text);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- CTA Final --- */
.final-cta { 
  text-align: center; 
  background: var(--navy); 
  color: var(--light-text); 
  padding: 64px 24px; 
}
.final-cta .section-title { 
  color: #fff; 
}
.final-cta .section-subtitle { 
  color: rgba(255,255,255,.8);
}
.final-cta .contact-details { 
  margin-top: 32px; 
  font-size: 14px; 
  opacity: 0.7; 
}

/* --- Animations d'apparition --- */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade.show {
  opacity: 1;
  transform: none;
}