/* ── Variables ─────────────────────────────────── */
:root {
  --brand-blue:  #0070c8;
  --brand-orange:  #efae20;
  --brand-dark:  #0a0f1a;
  --brand-white: #f7f6f2;
  --brand-grey:  rgba(247,246,242,0.55);
  --brand-dim:   rgba(247, 246, 242, 0.676);
  /* --brand-dim:   rgba(247,246,242,0.3); */
  --brand-line:  rgba(247,246,242,0.1);
}

/* ── Reset / base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Luciole', sans-serif;
  background: var(--brand-dark);
  color: var(--brand-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Nav ───────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 0.5px solid var(--brand-line);
  position: relative;
  z-index: 10;
}
.nav-logo { width: 150px; height: auto; }
.nav-cta {
  font-size: 0.82rem;
  color: var(--brand-blue);
  text-decoration: none;
  border: 0.5px solid var(--brand-blue);
  padding: 7px 18px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--brand-blue); color: #fff; }
.nav-back {
  font-size: 0.82rem;
  color: var(--brand-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-back:hover { text-decoration: underline; }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.main-bg{
  background-color: #1a2535;
  background-image:url(../../images/barral.jpg);
  background-size: cover;
  background-position: bottom center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Indicateur placeholder hero */
/* .hero-bg-img::after {
  content: '📷 images/hero-bg.jpg';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  color: rgba(247,246,242,0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
} */
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,26,0.1)  0%,
    rgba(10,15,26,0.4)  45%,
    rgba(10,15,26,1)   100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem 4rem;
  max-width: 620px;
}
.hero-tag {
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--brand-orange);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.hero-title 
.accent {
   color: var(--brand-orange); 
  }
.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(247,246,242,0.75);
  max-width: 480px;
  margin-bottom: 0.6rem;
}
.hero-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--brand-dim);
  max-width: 480px;
  margin-bottom: 2.25rem;
}
.btn-primary {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

/* ── Séparateur ────────────────────────────────── */
.sep {
  height: 0.5px;
  background: var(--brand-line);
  margin: 0 2rem;
}

/* ── Grille 4 blocs ────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(247,246,242,0.07);
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  /*background: var(--brand-dark);*/
  display: flex;
  flex-direction: column;
}
.card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #141c2b;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.35s, transform 0.35s;
}
.card:hover .card-img {
  filter: brightness(1);
  transform: scale(1.03);
}
/* Placeholder photo */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(247,246,242,0.2);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.card-img-placeholder span { font-size: 1.5rem; }

.card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.card-tag {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.card-tag.blue { color: var(--brand-blue); }
.card-tag.dim  { color: var(--brand-dim); }

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-white);
}
.card-desc {
  font-size: 1.2rem;
  color: var(--brand-grey);
  line-height: 1.8;
  flex: 1;
}
.card-link {
  font-size: 1.1rem;
  color: var(--brand-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.25rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }
.card-link .arrow { font-size: 1.1rem; line-height: 1; }

/* ── Contenu mentions légales ──────────────────── */
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.content .updated {
  font-size: 0.78rem;
  color: rgba(247,246,242,0.35);
  letter-spacing: 1px;
  margin-bottom: 3rem;
}
.content section {
  margin-bottom: 2.5rem;
}
.content h2 {
  font-size: 0.98rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}
.content p, .content li {
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(247,246,242,0.6);
}
.content ul {
  list-style: none;
  padding: 0;
}
.content ul li::before {
  content: '— ';
  color: var(--brand-blue);
}
.content a {
  color: var(--brand-blue);
  text-decoration: none;
}
.content a:hover { text-decoration: underline; }
.placeholder {
  background: rgba(0,112,200,0.08);
  border: 0.5px dashed rgba(0,112,200,0.4);
  border-radius: 3px;
  padding: 1px 6px;
  font-style: italic;
  color: rgba(0,112,200,0.7);
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ── Footer ────────────────────────────────────── */
footer {
  padding: 2rem;
  border-top: 0.5px solid var(--brand-line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid rgba(247,246,242,0.06);
}
.footer-logo { 
  width: 300px;  
  height: auto;
  /* opacity: 0.45;  */
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links-title {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-dim);
  margin-bottom: 0.25rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(247,246,242,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(247,246,242,0.2);
  letter-spacing: 0.5px;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(247,246,242,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--brand-dim); }

/* ── Petit footer mentions légales ─────────────── */
footer.small {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
footer.small span { font-size: 0.72rem; color: rgba(247,246,242,0.2); }
footer.small a { font-size: 0.72rem; color: rgba(247,246,242,0.25); text-decoration: none; }
footer.small a:hover { color: var(--brand-blue); }