/* ===========================================================
   SMARTNART — GLOBAL STYLESHEET (v6)
   =========================================================== */

/* === Variables === */
:root {
  --bg: #000;
  --text: #F4F4F4;
  --brand: #FFA21D;
  --brand-light: #FFD58A;
  --border: rgba(255, 255, 255, 0.08);
}

/* === Reset & Base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================================================
   HEADER
   =========================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 162, 29, 0.5));
}

.accent {
  color: var(--brand);
}

.menu {
  display: flex;
  gap: 22px;
  align-items: center;
  transition: all 0.3s ease;
}

.menu a {
  color: var(--text);
  opacity: 0.9;
  font-weight: 600;
}

.menu a:hover {
  opacity: 1;
}

.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn--brand {
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  color: #111;
  box-shadow: 0 0 16px rgba(255, 162, 29, 0.4);
}

.btn--brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 162, 29, 0.6);
}

/* === Burger === */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  width: 35px;
  height: 35px;
}

.burger div {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: 0.3s ease;
}

.burger.open div:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.open div:nth-child(2) {
  opacity: 0;
}
.burger.open div:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
.brand img {
  height: 55px;
  width: auto;
  filter:
    drop-shadow(0 0 10px rgba(255,255,255,0.4))
    drop-shadow(0 0 18px rgba(255,162,29,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand img:hover {
  transform: scale(1.07);
  filter:
    drop-shadow(0 0 14px rgba(255,255,255,0.6))
    drop-shadow(0 0 22px rgba(255,162,29,0.7));
}

.brand span {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}
.brand img {
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  padding: 6px;
}

/* === MENU MOBILE === */

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .menu.open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    padding: 10px 0 8px;
  }

  .menu a {
    padding: 8px 0;
    font-size: 0.98rem;
  }

  .burger {
    display: flex;
  }
}

/* ===========================================================
   HERO — compact, équilibré et toujours parallax
   =========================================================== */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 380px;         /* tu peux ajuster */
  padding-bottom: 60px;      /* pour laisser respirer le bouton */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

  background-image: url("/assets/banniere.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow: visible;         /* ⚠️ important : plus de coupure du bouton */
}


/* overlay sombre */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* contenu centré */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

/* === Logo dans le hero === */
.hero-logo {
  width: 220px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 15px;
  filter:
    drop-shadow(0 0 15px rgba(255,255,255,0.8))
    drop-shadow(0 0 30px rgba(255,162,29,0.4));
  animation: logoPulse 6s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter:
      drop-shadow(0 0 15px rgba(255,255,255,0.8))
      drop-shadow(0 0 30px rgba(255,162,29,0.4));
  }
  50% {
    transform: scale(1.04);
    filter:
      drop-shadow(0 0 25px rgba(255,255,255,1))
      drop-shadow(0 0 45px rgba(255,162,29,0.6));
  }
}

/* titre + sous-titre */
.hero-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #eee;
  margin-bottom: 20px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

/* bouton */
.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-btns .btn--brand {
  background: linear-gradient(90deg, #FFD58A, #FFA21D);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(255, 162, 29, 0.5);
  transition: all 0.25s ease;
}

.hero-btns .btn--brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.4),
              0 0 30px rgba(255, 162, 29, 0.6);
}

/* responsif */
@media (max-width: 1024px) {
  .hero-banner {
    height: 34vh;
    background-attachment: scroll;
  }
  .hero-logo {
    width: 180px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: auto;
    min-height: 260px;
    padding: 70px 0 50px;
  }
  .hero-logo {
    width: 160px;
  }
  .hero-title {
    font-size: 1.4rem;
  }
  .hero-sub {
    font-size: 0.9rem;
  }
}

/* ===========================================================
   SECTIONS
   =========================================================== */

main {
  width: 100%;
}

section {
  width: 100%;
  padding: 50px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 700;
}

section p {
  color: #b3b3b3;
  line-height: 1.7;
}

/* Contact form */

#contact form input,
#contact form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #050505;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

#contact form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact form input::placeholder,
#contact form textarea::placeholder {
  color: #666;
}

/* ===========================================================
   FOOTER
   =========================================================== */

footer {
  background: #000;
  color: #888;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 32px 0;
  font-size: 0.9rem;
}
/* ===========================================================
   HERO — animation d'apparition
   =========================================================== */

/* état initial */
.hero-logo,
.hero-title,
.hero-sub,
.hero-btns {
  opacity: 0;
  transform: translateY(12px);
}

/* logo : fade + léger zoom */
.hero-logo {
  animation: heroLogoIn 0.9s ease-out forwards;
  animation-delay: 0.1s;
}

/* titre : fade up */
.hero-title {
  animation: heroFadeUp 0.7s ease-out forwards;
  animation-delay: 0.25s;
}

/* sous-titre : fade up */
.hero-sub {
  animation: heroFadeUp 0.7s ease-out forwards;
  animation-delay: 0.4s;
}

/* boutons : fade up */
.hero-btns {
  animation: heroFadeUp 0.7s ease-out forwards;
  animation-delay: 0.55s;
}

@keyframes heroLogoIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respecte les préférences "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-title,
  .hero-sub,
  .hero-btns {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}


