/* =========================================================
   MicroFacile 73 – Style global
   Palette marron / violet, slider full largeur
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ---------------------------------------------------------
   Variables
   --------------------------------------------------------- */

:root {
  --bg-body: #05040a;
  --bg-body-soft: #080716;
  --bg-elevated: #100a18;
  --bg-elevated-soft: #151022;

  --bg-caramel-dark: #1c100a;
  --bg-caramel: #c57a45;
  --bg-caramel-soft: #2b1810;

  --primary: #a855f7;      /* violet */
  --primary-soft: rgba(168, 85, 247, 0.22);
  --primary-strong: #c4a3ff;

  --accent: #22d3ee;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148, 163, 184, 0.3);
  --border-strong: rgba(148, 163, 184, 0.6);

  --shadow-soft: 0 16px 34px rgba(15, 23, 42, 0.9);
  --shadow-strong: 0 26px 60px rgba(15, 23, 42, 1);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container-width: 1120px;
}

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top, #181123 0, #05040a 55%, #020008 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 700;
}

/* ---------------------------------------------------------
   Layout
   --------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 18px;
}

/* ---------------------------------------------------------
   Topbar
   --------------------------------------------------------- */

.topbar {
  background: linear-gradient(90deg, #1c120e, #22102a);
  color: var(--text-muted);
  font-size: 13px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.85);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

/* ---------------------------------------------------------
   Header + nav
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(90deg,
      rgba(12, 8, 20, 0.96),
      rgba(13, 9, 26, 0.96));
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.logo-main {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fefce8;
}

.logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

/* nav desktop */

.main-nav {
  display: flex;
}

.nav-root {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition:
    background .18s ease-out,
    color .18s ease-out,
    border-color .18s ease-out,
    transform .12s ease-out;
}

.nav-btn:hover {
  background: radial-gradient(circle at top,
    rgba(197, 122, 69, 0.22),
    rgba(15, 23, 42, 0.98));
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--bg-caramel));
  color: #020617;
  border-color: rgba(249, 250, 251, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .6), var(--shadow-soft);
}

/* hamburger */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 23, 42, 0.96);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: var(--text);
}

/* ---------------------------------------------------------
   Mega menu
   --------------------------------------------------------- */

.has-mega {
  position: relative;
}

.has-mega > .nav-btn {
  padding-right: 22px;
}

.mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 10px;
  min-width: 560px;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 18px 18px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at top, rgba(168, 85, 247, 0.23), transparent 60%),
    linear-gradient(135deg, #120a16, #05040c);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.has-mega.open .mega-panel {
  display: grid;
}

.mega-col {
  padding: 0 10px;
}

.mega-col h3 {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col li {
  margin-bottom: 4px;
}

.mega-col a {
  font-size: 13px;
  color: var(--text);
  opacity: .82;
}

.mega-col a:hover {
  opacity: 1;
  color: var(--primary-strong);
}

/* ---------------------------------------------------------
   Hero slider (full largeur, marron + zoom + assombrissement)
   --------------------------------------------------------- */

.hero-full {
  position: relative;
  padding-top: 8px;
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top left,
      rgba(197, 122, 69, 0.22),
      transparent 55%),
    radial-gradient(circle at top right,
      rgba(168, 85, 247, 0.22),
      transparent 55%);
}

/* grille légère par dessus le fond */
.bg-grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* taches marron / violet */
.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  opacity: .65;
  pointer-events: none;
}

.hero-blob-left {
  width: 440px;
  height: 440px;
  left: -120px;
  top: 40px;
  background: radial-gradient(circle at center, #c57a45, transparent 70%);
}

.hero-blob-right {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -20px;
  background: radial-gradient(circle at center, #a855f7, transparent 70%);
}

/* overlay foncé global */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 7, 20, 0.92) 0,
    rgba(10, 7, 20, 0.25) 40%,
    rgba(5, 4, 10, 0.96) 100%);
  pointer-events: none;
}

/* cadre slider */

.hero-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid rgba(197, 122, 69, 0.7);
  border-bottom: 1px solid rgba(197, 122, 69, 0.7);
  background:
    radial-gradient(circle at top,
      #1c100a,
      #050308);
  box-shadow: 0 18px 44px rgba(5, 4, 10, 0.95);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  /* slider 2× plus haut qu’avant */
  height: clamp(550px, 80vh, 900px);
}

/* SLIDES */

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

/* overlay par slide : clair au début, qui s’assombrit doucement */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 0.12),
    rgba(0, 0, 0, 0.35));
  opacity: 0;
  pointer-events: none;
}

/* slide actif : visible + zoom + fonçage progressif */
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide.is-active img {
  animation: heroZoom 9s ease-out forwards;
}

.hero-slide.is-active::after {
  animation: heroDarken 9s ease-out forwards;
}

/* légende */

.hero-slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  right: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #f9fafb;
  background:
    linear-gradient(90deg,
      rgba(12, 10, 9, 0.93),
      rgba(28, 16, 10, 0.92),
      rgba(12, 10, 9, 0.2));
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
  max-width: 720px;
  border: 1px solid rgba(197, 122, 69, 0.9);
}

/* boutons / dots */

.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.75);
  background: radial-gradient(circle at top,
    #1c100a,
    #050308);
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(5, 4, 10, 1);
  transition:
    background .18s ease-out,
    transform .18s ease-out,
    border-color .18s ease-out;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: radial-gradient(circle at top,
    rgba(197, 122, 69, 0.9),
    #050308);
  border-color: #c57a45;
  transform: translateY(-50%) scale(1.06);
}

.hero-slider-prev { left: 14px; }
.hero-slider-next { right: 14px; }

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition:
    width .18s ease-out,
    background .18s ease-out,
    transform .18s ease-out;
}

.hero-slider-dot.is-active {
  width: 20px;
  background: #c57a45; /* point actif marron */
  transform: translateY(-1px);
}

/* Animations */

@keyframes heroZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

@keyframes heroDarken {
  0% { opacity: 0.15; }
  100% { opacity: 0.9; }
}

/* ---------------------------------------------------------
   Hero texte caramel
   --------------------------------------------------------- */

.hero-intro {
  padding: 26px 0 10px;
}

.hero-intro-web {
  background:
    radial-gradient(circle at top left,
      rgba(197, 122, 69, 0.26),
      transparent 55%),
    radial-gradient(circle at top right,
      rgba(168, 85, 247, 0.28),
      transparent 60%);
}

.hero-intro-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}

.hero-intro-main {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-highlights span {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(197, 122, 69, 0.75);
  background: linear-gradient(135deg,
    #24130c,
    #241020);
}

.hero-intro-stats {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.hero-intro-stats > div {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top,
    rgba(24, 16, 30, 0.98),
    rgba(15, 23, 42, 1));
  box-shadow: var(--shadow-soft);
}

.hero-stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-strong);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------------------------------------------------------
   Sections / blocs (fond marron partout)
   --------------------------------------------------------- */

.block {
  padding: 28px 0;
  background:
    radial-gradient(circle at top left,
      rgba(197, 122, 69, 0.30),
      transparent 55%),
    linear-gradient(135deg, #1c100a, #09040b);
}

.block h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.block > .container > p {
  max-width: 780px;
  color: var(--text-muted);
}

/* Grid */

.block-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

/* Cartes */

.block-highlight {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 14px 16px;
  background:
    radial-gradient(circle at top left,
      rgba(197, 122, 69, 0.2),
      rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition:
    transform .18s ease-out,
    box-shadow .18s ease-out,
    border-color .18s ease-out;
}

.block-highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at top,
    var(--primary-soft),
    transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease-out;
}

.block-highlight:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
}

.block-highlight:hover::before {
  opacity: 1;
}

.block-highlight h3 {
  font-size: 16px;
}

.block-highlight p {
  font-size: 14px;
}

/* Listes */

.block ul {
  padding-left: 18px;
  margin-top: 6px;
}

.block li {
  margin-bottom: 4px;
}


/* ---------------------------------------------------------
   Tableau de comparaison – 3 niveaux de sites web
   --------------------------------------------------------- */

.compare-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}

.compare-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.compare-card-featured{
  position:relative;
  border-color: var(--primary);
  box-shadow: var(--shadow-strong);
}

.compare-badge{
  position:absolute;
  top:10px;
  right:10px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  background:linear-gradient(135deg,var(--primary),var(--bg-caramel));
  color:#020617;
}

/* bloc SEO pleine largeur sous le tableau */
.seo-full{
  margin-top:24px;
}

/* Responsive */
@media (max-width: 960px){
  .compare-grid{
    grid-template-columns:1fr;
  }
}
/* ---------------------------------------------------------
   Portfolio
   --------------------------------------------------------- */

.portfolio-grid {
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
  overflow:hidden;
  max-height:0;
  opacity:0;
  transform:translateY(-8px);
  transition:
    max-height .28s ease-out,
    opacity .2s ease-out,
    transform .2s ease-out;
}

.portfolio-grid.is-open {
  opacity:1;
  transform:translateY(0);
}


/* ---------------------------------------------------------
   Blocs page formation (image de fond en dégradé)
   --------------------------------------------------------- */

/* Cours individuels – fond gris avec image (photo1) */
.course-block-bg {
  position: relative;
  overflow: hidden;
  color: var(--text);
  isolation: isolate;
}

.course-block-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(12, 10, 9, 0.96),
      rgba(12, 10, 9, 0.75),
      rgba(12, 10, 9, 0.15)),
    url("images/photo1.png"); /* adapte le nom si besoin */
  background-size: cover;
  background-position: center right;
  opacity: 0.9;
  z-index: -1;
}

/* Image étirée sur tout le bloc + dégradé vers la droite  revente pc */
.recond-bg {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  isolation: isolate;
}

.recond-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/microfacile73-pc-reconditionne-windows-mac.png") left center / cover no-repeat;
  opacity: 0.35; /* ajustable : 0.25 / 0.35 / 0.45 selon ton goût */
  z-index: -1;
}

.recond-bg .container {
  position: relative;
  z-index: 2;
}


/* ---------------------------------------------------------
   Contact / formulaire
   --------------------------------------------------------- */


/* Fond image + opacité sans dégradé bureau facade*/
.rdv-bg {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  isolation: isolate;
}

.rdv-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/Bureau-Microfacile-Entrelacs.jpg") center center / cover no-repeat;
  opacity: 0.15; /* même niveau que l’autre bloc – ajustable */
  z-index: -1;
}

.rdv-bg .container {
  position: relative;
  z-index: 2;
}


.contact-block {
  padding-bottom: 36px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 18px;
}

.contact-info p {
  color: var(--text-muted);

 
}

/* form */

.mf-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 14px 16px 16px;
  background:
    radial-gradient(circle at top,
      rgba(197, 122, 69, 0.22),
      rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

.mf-form label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.mf-form input,
.mf-form select,
.mf-form textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(51, 65, 85, 0.95);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text);
  padding: 7px 9px;
  font-family: inherit;
  font-size: 14px;
}

.mf-form input:focus,
.mf-form select:focus,
.mf-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.mf-form textarea {
  min-height: 130px;
  resize: vertical;
}

.field-row {
  display: flex;
  gap: 10px;
}

.field-row span {
  flex: 1;
}

.honeypot {
  display: none;
}

.rgpd {
  font-size: 12px;
  color: var(--text-muted);
}

.rgpd input {
  width: auto;
  margin-right: 6px;
}

/* boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition:
    background .18s ease-out,
    color .18s ease-out,
    transform .14s ease-out,
    box-shadow .18s ease-out,
    border-color .18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--bg-caramel));
  color: #020617;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* ---------------------------------------------------------
   FAQ full width black
   --------------------------------------------------------- */

.faq-section {
  background: #000;
  color: #d7d7d7;
  padding: 44px 0;
}

.faq-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-title {
  color: #fff;
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.faq-list {
  margin-top: 10px;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 16px;
  background: #050505;
  border: 1px solid rgba(55, 65, 81, 0.7);
  overflow: hidden;
  transition:
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.18s ease-out;
}

.faq-item.open {
  border-color: #c57a45;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #d7d7d7;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 14px 14px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q:hover {
  color: #fff;
}

.faq-icon {
  font-size: 1.1rem;
  opacity: .95;
}

.faq-rightbar {
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 10px;
  width: 10px;
  background: #111;
  border-radius: 999px;
}

.faq-item.open .faq-rightbar {
  background: #c57a45;
}

.faq-a {
  padding: 0 14px 0 14px;
  font-size: 1rem;
  color: #bfbfbf;
  line-height: 1.35;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: none;
  transition:
    max-height 0.22s ease-out,
    opacity 0.18s ease-out,
    padding-top 0.18s ease-out,
    padding-bottom 0.18s ease-out;
}

.faq-item.open .faq-a {
  padding-top: 4px;
  padding-bottom: 14px;
  max-height: 400px;
  opacity: 1;
  display: block;
}

.faq-a p {
  margin: 0 0 6px;
}

.faq-a ul {
  margin-top: 4px;
  padding-left: 18px;
}

.faq-a li {
  margin-bottom: 2px;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  background:
    radial-gradient(circle at top,
      #211321,
      #07040c);
  border-top: 1px solid rgba(15, 23, 42, .9);
  padding: 26px 0 10px;
  font-size: 14px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(30, 41, 59, .9);
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-col h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--primary-strong);
}

/* réseaux */

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-social a {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 1));
  font-size: 13px;
}

.footer-social a:hover {
  border-color: var(--primary);
}

/* bas */

.footer-bottom {
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links a {
  color: inherit;
}

.footer-links a:hover {
  color: var(--primary-strong);
}

/* ---------------------------------------------------------
   Bandeau cookies
   --------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 60;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 1));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-actions button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
}

.cookie-actions #cookie-accept {
  background: linear-gradient(135deg, var(--primary), var(--bg-caramel));
  color: #020617;
}

.cookie-actions a {
  font-size: 12px;
  color: var(--primary-strong);
}


/* =========================================================
   Chatbot bas droite
   ========================================================= */

.chatbot-widget{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:70;
  font-family:'Outfit', system-ui, sans-serif;
}

.chatbot-toggle{
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(249,250,251,.8);
  background:linear-gradient(135deg, var(--primary), var(--bg-caramel));
  color:#020617;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  cursor:pointer;
  box-shadow:0 18px 40px rgba(0,0,0,.9);
  transition:
    transform .16s ease-out,
    box-shadow .16s ease-out,
    background .16s ease-out;
}

.chatbot-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 26px 60px rgba(0,0,0,1);
}

/* panneau */

.chatbot-panel{
  position:absolute;
  right:0;
  bottom:60px;
  width:320px;
  max-height:520px;
  border-radius:18px;
  border:1px solid var(--border-soft);
  background:
    radial-gradient(circle at top left,
      rgba(197,122,69,.28),
      transparent 55%),
    radial-gradient(circle at top right,
      rgba(168,85,247,.32),
      transparent 60%),
    linear-gradient(135deg,#07040b,#120b18);
  box-shadow:var(--shadow-strong);
  display:none;
  flex-direction:column;
  overflow:hidden;
}

.chatbot-panel.open{
  display:flex;
}

/* header */

.chatbot-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid rgba(30,41,59,.9);
  background:rgba(5,4,10,.9);
}

.chatbot-title{
  font-size:15px;
  font-weight:700;
}

.chatbot-subtitle{
  font-size:12px;
  color:var(--text-muted);
}

.chatbot-close{
  border:none;
  background:transparent;
  color:var(--text-muted);
  cursor:pointer;
  font-size:16px;
}

/* messages */

.chatbot-messages{
  flex:1;
  padding:8px 10px;
  overflow-y:auto;
  font-size:13px;
}

.chatbot-message{
  max-width:100%;
  padding:7px 9px;
  border-radius:12px;
  margin-bottom:6px;
  line-height:1.45;
}

.chatbot-message.bot{
  background:rgba(15,23,42,.95);
  border:1px solid rgba(148,163,184,.5);
}

.chatbot-message.user{
  background:linear-gradient(135deg,var(--primary),var(--bg-caramel));
  color:#020617;
  margin-left:auto;
}

/* quick buttons */

.chatbot-quick{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  padding:4px 8px 6px;
}

.chatbot-quick button{
  border-radius:999px;
  border:1px solid rgba(148,163,184,.8);
  background:rgba(15,23,42,.96);
  color:var(--text);
  padding:4px 9px;
  font-size:11px;
  cursor:pointer;
}

.chatbot-quick button:hover{
  border-color:var(--primary);
}

/* formulaire */

.chatbot-form{
  display:flex;
  gap:6px;
  padding:6px 8px 6px;
  border-top:1px solid rgba(30,41,59,.9);
  background:rgba(5,4,10,.96);
}

.chatbot-form input{
  flex:1;
  border-radius:999px;
  border:1px solid rgba(51,65,85,.95);
  background:rgba(15,23,42,.98);
  color:var(--text);
  padding:6px 9px;
  font-size:13px;
}

.chatbot-form input:focus{
  outline:2px solid var(--primary);
  outline-offset:1px;
  border-color:var(--primary);
}

.chatbot-form button{
  border-radius:999px;
  border:1px solid transparent;
  background:linear-gradient(135deg,var(--primary),var(--bg-caramel));
  color:#020617;
  font-size:12px;
  padding:0 10px;
  cursor:pointer;
}

.chatbot-hint{
  font-size:11px;
  color:var(--text-muted);
  padding:0 10px 8px;
}

/* responsive */

@media (max-width: 640px){
  .chatbot-panel{
    right:6px;
    bottom:64px;
    width:92vw;
    max-width:92vw;
  }

  .chatbot-widget{
    right:10px;
    bottom:10px;
  }


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 960px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slider-track {
    height: 480px;
  }

  .hero-slide figcaption {
    max-width: none;
    border-radius: 12px;
  }

  .hero-intro-inner {
    flex-direction: column;
  }

  .block-grid,
  .contact-layout,
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background:
      radial-gradient(circle at top,
        #120b18,
        #05030b);
    border-bottom: 1px solid rgba(15, 23, 42, 0.95);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .25s ease-out, opacity .22s ease-out;
  }

  .main-nav.open {
    max-height: 480px;
    opacity: 1;
  }

  .nav-root {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 18px 12px;
  }

  .nav-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .mega-panel {
    position: static;
    margin-top: 6px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-slider-track {
    height: 420px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row {
    flex-direction: column;
  }

  .faq-title {
    font-size: 1.6rem;
  }

  .faq-q {
    font-size: 1rem;
  }
}
