
:root {
  --green-main: #00a66a;
  --green-dark: #00724a;
  --green-soft: #0a1c16;
  --bg: #020908;
  --bg-elevated: #050f0c;
  --text-main: #f7f7f7;
  --text-muted: #a9b3af;
  --border-subtle: rgba(255,255,255,0.06);
  --white: #ffffff;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top left, #04291a 0, #010504 48%);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

/* Layout global */

.page {
  min-height: 100vh;
  background: transparent;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3.5rem 0;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.9rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

p {
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

ul {
  list-style: none;
}

li {
  margin-bottom: 0.45rem;
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-main);
}

.check-list li::before {
  content: "✔";
  font-size: 0.75rem;
  top: 0.1rem;
}

/* HEADER : logo en encart + menu dessous */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(2,9,8,0.96), rgba(2,9,8,0.9));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  padding: 0.9rem 0 0.4rem;
}

/* Bloc logo centré */
.logo-link-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-image {
  display: block;
  width: 100%;
  max-height: 140px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}


.logo-card {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 0.6rem 0 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-square {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green-main), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.logo-text-main {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Barre de navigation sous le logo */

.nav-row {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.88rem;
}

.nav a {
  position: relative;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--green-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,166,106,0.9);
  color: var(--white) !important;
  background: linear-gradient(145deg, var(--green-main), var(--green-dark));
}

/* Menu burger mobile */

.nav-toggle {
  display: none;
}

.burger-wrapper {
  display: none;
  margin-top: 0.6rem;
  justify-content: center;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:checked + .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked + .burger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle:checked ~ .nav {
  display: flex;
}

/* HERO */

.hero {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 1.1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.hero-tags span {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  background: rgba(3,15,12,0.85);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.86rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
}

.btn-primary {
  background: linear-gradient(145deg, var(--green-main), var(--green-dark));
  color: var(--white);
  font-weight: 500;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* BADGE */

.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* OFFRES LISTE SUR INDEX */

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.1rem;
  margin-bottom: 1.9rem;
}

.section-title-bar p {
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.offer-card {
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-title {
  color: var(--white);
  margin-bottom: 0.35rem;
}

.offer-category {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* SECTIONS PAGES SERVICES */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.1rem;
}

.card {
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
}

.card p.lead {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.card-highlight {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--text-muted);
}

.card-highlight-emoji {
  font-size: 1.1rem;
}

.card-teal {
  border-color: rgba(0,166,106,0.45);
}

/* CTA / CONTACT BLOC */

.cta-section {
  background: #020b09;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.cta-badge {
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.cta-title {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.cta-title span {
  color: var(--green-main);
  font-weight: 600;
}

.cta-list {
  margin-top: 0.6rem;
}

.contact-block {
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(0,166,106,0.18), transparent 70%),
              #040b09;
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.contact-value {
  font-weight: 500;
  color: var(--text-main);
}

.contact-small {
  font-size: 0.8rem;
  margin-top: 0.7rem;
  color: var(--text-muted);
}

/* FORMULAIRE DE CONTACT */

.form-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.3rem;
}

.form-card {
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1.6rem;
}

form .field {
  margin-bottom: 1rem;
}

form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

form input,
form textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  background: #020908;
  color: var(--text-main);
}

form textarea {
  resize: vertical;
  min-height: 140px;
}

form input:focus,
form textarea:focus {
  border-color: var(--green-main);
  background: #020f0c;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* FOOTER */

footer {
  padding: 1.1rem 0 1.3rem;
  background: #020706;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}


.offer-thumb {
  width: 100%;
  height: 230px;
  border-radius: 11px;
  margin-bottom: 0.9rem;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #020706;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Mapping des images par offre (placeholders à remplacer si besoin) */
.offer-thumb-audit {
  background-image: url("assets/audit.jpg");
}

.offer-thumb-support {
  background-image: url("assets/support.jpg");
}

.offer-thumb-projet {
  background-image: url("assets/projet.jpg");
}

.offer-thumb-domo {
  background-image: url("assets/domotique.jpg");
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .offers-grid,
  .split,
  .cta-inner,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .nav-row {
    display: none;
  }

  .burger-wrapper {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem 0 1rem;
    background: #020908;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: none;
  }

  .hero {
    padding-top: 2.2rem;
    min-height: auto;
    display: block;
  }

  .section-title-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .logo-text-main {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero-kicker-rotating {
  transition: opacity 0.4s ease;
}
.hero-kicker-rotating.fade-out {
  opacity: 0;
}

.logo-card {
  width: 100%;
  text-align: center;
  padding: 1rem 0;
}
.logo-link-full {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.logo-image {
  max-width: 95%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* === VAHATEK V8 : Logo bannière plein écran & hero centré === */

/* Header + logo : bannière large, fond intégré au décor */
header {
  background: radial-gradient(circle at top, rgba(0,166,106,0.18), transparent 55%),
              linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.88));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-card {
  width: 100%;
  text-align: center;
  padding: 1.8rem 0 1.4rem;
  background: transparent;
}

.logo-link-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-image {
  display: block;
  width: 100%;
  max-width: 780px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0.98;
  filter: drop-shadow(0 0 18px rgba(0,0,0,0.7));
}

/* Hero : centré verticalement & horizontalement (Option 1) */
.hero {
  padding-top: 2.2rem;
  padding-bottom: 2.8rem;
  min-height: calc(100vh - 200px); /* approx header + margin */
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 1.6rem;
}

.hero h1,
.hero .hero-subtitle,
.hero .hero-actions,
.hero .hero-note,
.hero .hero-kicker {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile : garder du confort sans forcer un plein écran */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 2.2rem;
    padding-bottom: 2.6rem;
    display: block;
  }
}


/* Subtle hover and polish for professional look */
.offer-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,166,106,0.6);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.btn-primary {
  font-weight: 600;
}

.section-title-bar h2 {
  font-size: 1.7rem;
}

.hero h1 {
  font-size: 2.4rem;
}

/* === V10 : Logo totalement fondu dans l'arrière-plan === */
header {
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.18), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0.96), rgba(0,0,0,0.94)),
    url("assets/logo-vahatek-wide.png") center 24px / 72% auto no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.logo-card {
  padding: 3.8rem 0 1.1rem; /* plus de hauteur pour la bannière intégrée */
  background: transparent;
}

.logo-image {
  opacity: 0;         /* on garde le lien cliquable, mais on ne voit plus le bord de l'image */
  width: 100%;
  height: 120px;
}

/* 2) Encart "Ils nous font confiance" en bas de page (marquee) */
.trusted-section {
  padding: 2.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at top, rgba(0,166,106,0.12), transparent 60%);
}

.trusted-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  gap: 1rem;
}

.trusted-title {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.trusted-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.trusted-marquee {
  overflow: hidden;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.7);
}

.trusted-track {
  display: inline-flex;
  gap: 3rem;
  padding: 0.7rem 2.5rem;
  white-space: nowrap;
  animation: trusted-scroll 26s linear infinite;
}

.trusted-pill {
  font-size: 0.85rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,166,106,0.9);
  color: rgba(255,255,255,0.9);
  background: radial-gradient(circle at top left, rgba(0,166,106,0.25), transparent 55%);
}

@keyframes trusted-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  header {
    background:
      radial-gradient(circle at top, rgba(0,166,106,0.2), transparent 55%),
      linear-gradient(to bottom, rgba(0,0,0,0.96), rgba(0,0,0,0.94)),
      url("assets/logo-vahatek-wide.png") center 20px / 86% auto no-repeat;
  }

  .logo-card {
    padding: 3.4rem 0 1rem;
  }

  .trusted-track {
    animation-duration: 32s;
  }
}

/* ===== VAHATEK V11 : Logo très visible noyé + bandeau logos ===== */

/* Logo noyé très visible derrière le menu (option C) */
header {
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.26), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.98), rgba(0,0,0,0.93)),
    url("assets/logo-vahatek-wide.png") center 8px / 80% auto no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* On garde la zone de clic mais on ne voit pas les bords de l'image source */
.logo-card {
  padding: 4.2rem 0 1.1rem;
  background: transparent;
}

.logo-image {
  opacity: 0;
  width: 100%;
  height: 130px;
}

/* Section "Ils nous font confiance" : bandeau de logos (placeholder) */
.trusted-section {
  padding: 2.8rem 0 2.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.8);
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.24), transparent 65%),
    linear-gradient(to bottom, #020807, #010403);
}

.trusted-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.3rem;
  gap: 1.5rem;
}

.trusted-title {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.trusted-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.trusted-marquee {
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.88);
}

.trusted-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  padding: 0.9rem 3rem;
  white-space: nowrap;
  animation: trusted-scroll 26s linear infinite;
}

.trusted-logo {
  height: 26px;
  min-width: 120px;
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(0,166,106,0.7);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, rgba(0,166,106,0.28), transparent 55%);
}

@keyframes trusted-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  header {
    background:
      radial-gradient(circle at top, rgba(0,166,106,0.3), transparent 60%),
      linear-gradient(to bottom, rgba(0,0,0,0.98), rgba(0,0,0,0.93)),
      url("assets/logo-vahatek-wide.png") center 0px / 110% auto no-repeat;
  }

  .logo-card {
    padding: 3.6rem 0 1rem;
  }

  .trusted-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .trusted-track {
    padding-inline: 2rem;
    animation-duration: 32s;
  }
}

/* V12: full-height background logo */
header {
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.22), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.96), rgba(0,0,0,0.93)),
    url("assets/logo-vahatek-wide.png") center 60px / 95% auto no-repeat;
}
.logo-card { padding: 6rem 0 2rem; }

.logo-image { opacity:0; height:150px; }

/* Visible trusted-section with sample companies logos */
.trusted-section { 
  padding:3rem 0 3rem; 
  background:rgba(0,0,0,0.7);
  margin-top:4rem;
}
.trusted-logo-img {
  height:40px; 
  filter:brightness(1.2);
  opacity:0.9;
}

/* === V13: Logo clair au-dessus du menu, site légèrement éclairci === */

/* Palette un peu plus lumineuse */
:root {
  --bg: #041310;
  --bg-elevated: #071c16;
  --text-muted: #c0cbc6;
}

/* Fond global un peu plus clair */
body {
  background: radial-gradient(circle at top left, #063726 0, #020807 55%);
}

/* Header sans logo en background, plus simple et lisible */
header {
  background: linear-gradient(to bottom, rgba(0,0,0,0.96), rgba(0,0,0,0.9));
}

/* Bloc logo : véritable image visible au-dessus du menu */
.logo-card {
  padding: 1.4rem 0 0.6rem;
  background: transparent;
}

.logo-link-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-image {
  opacity: 1;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0,0,0,0.85));
}

/* Légère éclaircie des cartes */
.offer-card,
.card,
.contact-block,
.form-card {
  background: #071c16;
}

/* Section trusted plus visible */
.trusted-section {
  padding: 2.6rem 0 2.6rem;
  margin-top: 3rem;
  background: linear-gradient(to right, #041310, #020807);
}

/* === V15 : Top banner avec logo VAHATEK noyé au-dessus du menu === */

.top-logo-banner {
  width: 100%;
  height: 260px; /* Option B */
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.22), transparent 70%),
    url("assets/logo-vahatek-wide.png") center center / 120% auto no-repeat,
    linear-gradient(to bottom, #020807, #020807);
}

/* Header redevient sobre, sans logo en background ni padding supplémentaire */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(0,0,0,0.96), rgba(0,0,0,0.9));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* On masque le bloc logo dans le header pour éviter un doublon */
.logo-card {
  display: none;
}

/* === V16 : Ajustement bandeau logo, logo entier visible sans déformation === */
.top-logo-banner {
  height: 210px;
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.22), transparent 70%),
    url("assets/logo-vahatek-wide.png") center center / contain no-repeat,
    linear-gradient(to bottom, #020807, #020807);
}

/* === V17: Logo étiré + fondu premium sur toutes les pages === */
.top-logo-banner {
  width:100%;
  height:220px;
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.28), transparent 75%),
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.92)),
    url("assets/logo-vahatek-wide.png") center center / 140% auto no-repeat;
  background-blend-mode: overlay, normal;
}

/* === V18 : Logo bandeau 140px, visible + noyé sans bords === */
.top-logo-banner{
  width:100%;
  height:140px;
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.18), transparent 75%),
    linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.92)),
    url("assets/logo-vahatek-wide.png") center center / contain no-repeat;
  background-blend-mode: overlay;
  margin:0;
  padding:0;
}

/* === V20 : Ajustement doux sur base V18 (logo entier + un peu plus présent) === */
.top-logo-banner{
  width:100%;
  height:160px; /* légèrement plus haut que 140px */
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.20), transparent 75%),
    linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.92)),
    url("assets/logo-vahatek-wide.png") center center / contain no-repeat;
  background-blend-mode: overlay;
  margin:0;
  padding:0;
}

.top-logo-link{
  display:block;
  width:100%;
  height:100%;
}

/* === V21 : Lissage logo + éclaircissement global === */

/* Fond global légèrement éclairci */
body {
  background: radial-gradient(circle at top left, #093e2d 0%, #020b09 60%);
}

/* Cartes et sections légèrement plus lumineuses */
.offer-card,
.card,
.contact-block,
.form-card {
  background: #0b1f18;
}

/* Texte légèrement plus lisible */
:root {
  --text-muted: #d2e0da;
}

/* Logo banner optimisé : lissage + fondu ultra doux */
.top-logo-banner{
  width:100%;
  height:160px;
  background:
    radial-gradient(circle at top, rgba(0,166,106,0.16), transparent 80%),
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.85)),
    url("assets/logo-vahatek-wide.png") center center / contain no-repeat;
  background-blend-mode: lighten, overlay;
  filter: drop-shadow(0 0 18px rgba(0,0,0,0.35)); /* bordures lissées */
}

/* Légère élévation du header */
header {
  background: linear-gradient(to bottom, rgba(0,0,0,0.90), rgba(0,0,0,0.65));
}

/* === Prévisualisation des offres depuis le menu (desktop) === */
.nav-with-previews {
  position: relative;
}

.nav-offer-preview {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: 0.4rem;
  z-index: 30;
  display: none;
}

.nav-offer-preview.is-visible {
  display: block;
}

.nav-offer-card {
  display: none;
  width: 460px;
  max-width: 84vw;
  padding: 1.3rem 1.5rem 1.2rem;
  border-radius: 16px;
  background: #081812;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.6);
}

.nav-offer-card.is-active {
  display: block;
}

.nav-offer-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}

.nav-offer-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.nav-offer-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.nav-offer-footer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

/* Pas de preview sur mobile */
@media (max-width: 900px) {
  .nav-offer-preview {
    display: none !important;
  }
}

/* === V23 : Mise en page plus aérée et horizontale === */
.container {
  max-width: 1180px;
  padding: 0 1.8rem;
}

section {
  padding: 4rem 0;
}

.offers-grid {
  gap: 1.6rem;
}

.offer-card {
  padding: 1.4rem 1.5rem 1.4rem;
}

/* Légère réduction de la densité du texte */
.hero p,
.section-intro p,
.offer-text,
footer {
  line-height: 1.7;
}

/* === V24 : encarts réduits + optimisation mobile/tablette === */

/* Encarts de prévisualisation légèrement plus compacts */
.nav-offer-card {
  width: 400px;
  padding: 1.0rem 1.1rem 0.95rem;
}

.nav-offer-title {
  font-size: 1rem;
}

.nav-offer-text {
  font-size: 0.86rem;
}

/* Responsive : tablettes et téléphones */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 1.4rem;
  }

  section {
    padding: 3rem 0;
  }

  .offers-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .offer-card {
    padding: 1.2rem 1.3rem 1.2rem;
  }

  .hero {
    padding-top: 2.2rem;
    padding-bottom: 2.4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  section {
    padding: 2.4rem 0;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .top-logo-banner {
    height: 130px;
  }

  footer {
    font-size: 0.82rem;
    line-height: 1.6;
  }
}
