/* ──────────────────────────────────────────────────────────────
   Unistep Site CSS (modernized, Expression Web friendly)

base.css
   ────────────────────────────────────────────────────────────── */

/* Layout vars */
:root {
  --maxw: 1100px;
  --pad: 1rem;

  /* Spacing scale */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
}

/* Base */
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif; line-height: 1.45; }
body { margin: 0; color: #111; background: #fff; }
a { color: #0b57d0; text-decoration: none; }
a:hover { text-decoration: underline; }

header { border-bottom: 0; }  /* no line under menu */
/*footer { 
  border-top: 1px solid #e5e7eb; 
  border-bottom: 0; 
  color: #555; 
}


footer { border-top: 1px solid #e5e7eb; border-bottom: 0; color: #555; }*/
.container { max-width: var(--maxw); margin: 0 auto; padding: var(--pad); }

/* Header container */
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--pad) var(--pad) 0;
}
.nav .links { display: flex; gap: 1rem; flex-wrap: wrap; }
.nav .lang  { display: flex; gap: .5rem; }


/* Sections */
.section { padding: var(--space-lg) 0; border-top: 1px solid #f1f5f9; }

/* Hero */
.hero { padding: var(--space-md) 0 var(--space-lg); }
.hero p { color: #333; }
.ctas { display: flex; gap: .75rem; margin-top: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: .6rem 1rem; border-radius: .5rem; border: 1px solid #d1d5db; background: #f9fafb; }
.btn.primary { background: #0b57d0; color: #fff; border-color: #0b57d0; }

/* Grids & footer */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
small, .muted { color: #666; }

/* ── Logo ───────────────────────────────────────────────────── */
.logo img { max-width: 100%; height: auto; display: block; }
.logo a { display: inline-flex; align-items: center; gap: .5rem; }

/* ── Navigation ─────────────────────────────────────────────── */
.main-nav { background: #dce9f5; font-family: "Segoe UI", Arial, sans-serif; position: relative; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav > ul > li { margin-right: 10px; } /* was 20*/
.main-nav > ul > li:last-child {
  margin-right: 0;
}


.main-nav a { display: block; padding: 10px 14px; background: #dce9f5; color: #000; text-decoration: none; transition: background .2s ease; }
.main-nav a:hover, .main-nav a:focus { background: #b5d4ea; color: #000; }
.main-nav a.active { background: #245b84; color: #fff; }

/* Dropdowns */
.main-nav .dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #dce9f5; min-width: 200px; z-index: 1000;
  flex-direction: column;
}
.main-nav .dropdown li { margin: 0; }
.main-nav .dropdown a  { padding: 8px 12px; background: #dce9f5; color: #000; }
.main-nav .dropdown a:hover, .main-nav .dropdown a:focus { background: #357aa8; color: #fff; }
.main-nav li:hover > .dropdown,
.main-nav li:focus-within > .dropdown { display: flex; }

/* Mobile nav */
.nav-toggle { display: none; background: #0d6efd; color: #fff; border: none; padding: 10px 14px; font-size: 1rem; cursor: pointer; }
.nav-toggle:focus { outline: 2px solid #000; }
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .main-nav ul { display: none; flex-direction: column; }
  .main-nav ul.show { display: flex; }
  .main-nav > ul > li { margin-right: 0; }
  .main-nav a { border-bottom: 1px solid #ccc; }
  .main-nav .dropdown { position: static; display: none; }
}

/* ── Language switcher ──────────────────────────────────────── */
.lang-switch {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; line-height: 1; white-space: nowrap;
}
.lang-switch a {
  text-decoration: none; color: inherit;
  padding: .25rem .4rem; border-radius: .5rem; outline-offset: 2px;
}
.lang-switch a[aria-current=true] { font-weight: 600; background: rgba(0,0,0,.06); }
.lang-switch a:hover, .lang-switch a:focus-visible { text-decoration: underline; }
.lang-switch img { vertical-align: -2px; display: inline-block; }
@media (max-width: 420px) { .lang-switch .sep { display: none; } }

/* ── Feature rows ───────────────────────────────────────────── */
.feature-list { display: grid; gap: 2rem; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 460px;   /* text | media */
  align-items: start;
  gap: 1.5rem;
  padding: 1.25rem 0;
}
.feature-row:first-child { border-top: 0; }

.feature-text h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.feature-text p  { margin: 0 0 .5rem; }

/* Media block (image left, caption centered) */
.feature-media { margin: 0; text-align: left; }
.feature-media img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;                  /* image flush left */
  border-radius: .5rem;
}
.feature-media figcaption {
  margin-top: .5rem;
  font-size: .95rem;
  text-align: center;          /* caption centered under image */
}
.feature-media a { text-decoration: none; }
.feature-media a:hover, .feature-media a:focus { text-decoration: underline; }

.feature-media video {
  display: block;
  max-width: 600px;
  width: 100%;
  margin: 0 auto 1rem auto;
  border-radius: .5rem; /* same as images */
}


/* Stack on mobile */
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-media { text-align: center; }
}


html, body {
  font-family: 'Inter', sans-serif;
}


/* ── Minimal, airy menu (white bar, hover only) ─────────────── */

/* strip background from the bar itself */
.main-nav { background: transparent; }

/* top-level links: no pill background; subtle padding + radius */
.main-nav > ul > li > a {
  background: transparent;
  color: #111;
  padding: 10px 14px;
  border-radius: .5rem;
}

/* hover/focus: very light blue wash */
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus {
  background: #eaf2fb;     /* light blue */
  color: #111;
  text-decoration: none;
}

/* “active page”: underline or stronger color; pick one style */
.main-nav a.active {
  background: transparent;  /* no pill */
  color: #245b84;           /* your brand blue */
  text-decoration: underline;
}

/* dropdown panel: white with soft shadow; links are plain */
.main-nav .dropdown {
  background: #fff;
  border: 1px solid #e6eaf0;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  min-width: 220px;
  padding: 4px;             /* little breathing room */
}

/* dropdown items: no background; light hover only */
.main-nav .dropdown a {
  background: transparent;
  color: #111;
  padding: 8px 10px;
  border-radius: .4rem;
}
.main-nav .dropdown a:hover,
.main-nav .dropdown a:focus {
  background: #eaf2fb;
  color: #111;
  text-decoration: none;
}

/* mobile keeps your existing behavior; optional tweak */
@media (max-width:800px){
  .main-nav a { border-bottom: 1px solid #eee; }
}

/* ── Text helpers ─────────────────────────────── */

/* Bigger intro paragraph */
.lead {
  font-size: 1.15rem;      /* slightly larger */
  line-height: 1.6;
  color: #222;
}

/* Muted / secondary text */
.muted {
  color: #666;
}

/* Highlighted / key phrase */
.highlight {
  font-weight: 600;
  color: #0b57d0;          /* your link blue */
}

/* Callout block (optional) */
.callout {
  padding: 1rem;
  margin: 1.5rem 0;
  border-left: 4px solid #0b57d0;
  background: #f9fafb;
}

/*
.containerCocoen {
        position: relative;
        margin: auto;
        max-width: 600px;
        text-align: center;
      }*/
 
/* for smaller screens */     
 .containerCocoen {
  position: relative;
  margin: auto;
  max-width: 600px;
  width: 100%;
  text-align: center;
}
/*
.container2Cocoen {
        position: relative;
        margin: auto;
        max-width: 400px;
        text-align: center;
      }

*/
/*
       * Note: example if you want to change the colours of Cocoen
       */
/*       cocoen-component::part(drag) {
        background: white;
      }*/
      
      .cocoen-drag::before {
  background-color: white;
  box-shadow: 0 0 2px rgba(0,0,0,0.6);
}

      cocoen-component::part(drag)::before {
        border-color: blue;
      } 

.cocoen-instructions {
  text-align: center;
  font-style: italic;
  color: #444;   /* adjust for contrast with your theme */
  margin: 1em auto;
  max-width: 600px;
    margin-top: 0; /*0.25rem; */
}



.cocoen-labeled .cocoen-label {
  position: absolute;
  top: 0.5rem;
  font-size: 0.875rem; /* text-sm */
  color: #4b5563;      /* gray-600 */
  background: rgba(255,255,255,0.7);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: opacity 0.6s ease;
  pointer-events: none; /* don't block slider */
}

.cocoen-labeled .left-label {
  left: 0.5rem;
}

.cocoen-labeled .right-label {
  right: 0.5rem;
}

.cocoen-labeled.labels-hidden .cocoen-label {
  opacity: 0;
}

/* The label bar now has height and aligns with image width */
.containerCocoen .label-bar {
  position: relative;
  display: block;
  margin: 0 auto 0.25rem auto; /* center + small spacing under */
  max-width: 100%;            /* won’t exceed image width */
  height: 1.2em;              /* give it space so spans are visible */
}

/* Position labels */
.containerCocoen .label-left {
  position: absolute;
  left: 0;
  font-size: 0.875rem;
  color: #666;
}

.containerCocoen .label-right {
  position: absolute;
  right: 0;
  font-size: 0.875rem;
  color: #666;
}

/* three column  */

.hero3-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 40px 0 ;    /* was 24 ← horizontal spacing between columns */
}


.hero3-table td {
  vertical-align: top;   /* ← centers text to the middle column */
}

/* Middle column width capped */
.hero3-table td.center {
  width: 560px;
  text-align: center;
}

.hero3-table td.right {
  padding-left: 40px;
  text-align: top;
}

.hero3-table td.left{
  padding-left: 40px;
}

/*.hero3-video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
}*/

/* the file’s ratio 
.video-frame{
  aspect-ratio: 16/9;    
  border-radius: 10px;
  overflow: hidden;      
}
*/

/* zooms to fill, cropping the black bars */
/*
.hero3-video{
  width: 100%;
  height: 100%;
  object-fit: cover;       
  display: block;
}
*/
.hero3-video {
  display: block;
  max-width: 100%;   /* never overflow parent */
  height: auto;      /* keep intrinsic aspect ratio */
  border-radius: 10px;
  background: #000;  /* in case video has transparency or loads slowly */
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.ctas {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.muted { color: #666; }
.small { font-size: .9rem; }

/* Stack on mobile */
@media (max-width: 980px) {
  .hero3-table,
  .hero3-table tr,
  .hero3-table td {
    display: block;
    width: 100% !important;
  }
  .hero3-table td.center { width: auto; }
}

/* buttons */
.btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  margin-right: 0.5em;
}

/* Primary = strong */
.btn.primary {
  background: #2563eb;
  color: #fff;
}

/* Secondary = outline */
.btn.secondary {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: #fff;
}

/* Tertiary = ghost / subtle */
.btn.tertiary {
  color: #444;
  background: transparent;
}
.btn.tertiary:hover {
  text-decoration: underline;
}



/* separation */
.under-ctas {
  margin-top: 0.5rem;   /* tighter spacing under buttons */
  margin-bottom: 1rem;  /* less gap before next block */
  text-align: center;
}


.highlight-intro {
  text-align: center;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.5rem;
}


.section-sep {
  border: 0;
  border-top: 1px solid #e0e0e0;
  margin: 0.75rem auto;   /* smaller vertical space */
  width: 80%;             /* or 100% if you prefer full width */
}

/*  image cocoed */
/* Center the before/after slider and remove inline gaps */
.feature-media .cocoen {
  width: 100%;
  max-width: 720px;        /* or whatever is right for your screenshots */
  margin: 0 auto;          /* center it */
  line-height: 0;          /* remove baseline gap */
}
.feature-media .cocoen img {
  display: block;          /* no inline spacing */
  width: 100%;
  height: auto;
}

/*  section separation */
:root {
  --section-gap: 64px;        /* vertical space between sections */
  --divider-color: rgba(0,0,0,.12);
}

@media (prefers-color-scheme: dark) {
  :root { --divider-color: rgba(255,255,255,.16); }
}

/*   hero start */

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px) 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}
.hero-col .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.video-card { margin: 0; }
.hero3-video { width: 100%; aspect-ratio: 1.41; border-radius: 12px; display: block; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-col.left, .hero-col.right { order: 2; }
  .hero-col.center { order: 1; }
}


/* uniformmedia */

/* Shared styling for preview media */
.feature-media img,
.feature-media video,
.video-card video {
  display: block;
  width: 100%;
  max-width: 640px;       /* keeps them from growing too wide */
  margin-inline: auto;    /* centers in column */
  border-radius: 12px;    /* soft corners */
  box-shadow: 0 4px 20px rgba(0,0,0,.08); /* subtle depth */
  background: #fff;       /* ensures no transparent edges on dark bg */
}

/* Keep aspect ratio clean */
.hero3-video {
  aspect-ratio: 1.41;     /* your main export format */
  object-fit: contain;    /* prevents stretching if dimensions vary */
}

/* Optional hover effect for linked videos/images */
.video-link:hover video,
.feature-media a:hover img {
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  transform: translateY(-2px);
  transition: all .25s ease;
}


/* foe section strart*/
h2 {
  background: rgba(0,0,0,.05); /* light grey tint */
  display: inline-block;       /* shrink-wrap text */
  padding: .4em .8em;
  border-radius: 6px;
}

/* heading too low */

/* Put text + media on the same row and align their TOPS */
.feature-row{
  display:flex;
  align-items:flex-start;   /* top-align both columns */
  gap:2rem;
}

/* Columns */
.feature-text, .feature-media{ flex:1; }

/* Kill the top offset on the heading */
.feature-text h2{ margin-top:0; }

/* Make sure the media column doesn’t add extra top spacing */
.feature-media figure,
.feature-media img{ margin-top:0; display:block; }

/* If your text column has padding at the top, remove it */
.feature-text{ padding-top:0; }


/*  buttons one line */


.service-links{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
}

.service-links--center{ justify-content:center; }

.service-links .btn{
  display:inline-block;
  white-space:nowrap;     /* avoid multi-line buttons */
  padding:.6rem 1rem;     /* consistent hit area */
}

/*   deliverables */

.feature-deliverables {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
}
.feature-deliverables h3 {
  margin-top: 0;
}
.feature-deliverables ul {
  margin: 0 0 0.75rem 1.25rem;
}


/*  image sizes */

/* For big, dynamic media (Cocoen, video, live demos) */
.media-hero {
  display: block;
  max-width: 100%;         /* never overflow column */
  width: 550px;            /* desktop target size */
  margin: 0 auto 1rem auto;
}

/* For supporting images / GIFs */
.media-support {
  display: block;
  max-width: 80%;          /* narrower on desktop */
  width: 400px;            /* desktop target size */
  margin: 0 auto 1rem auto;
}

/* Responsive: on small screens make both 100% */
@media (max-width: 768px) {
  .media-hero,
  .media-support {
    max-width: 100%;
    width: 100%;
  }
}


/*  licence  */

/* Subtle highlight for Pro column (5th col in your table) */
#licenceTable td:nth-child(5),
#licenceTable th:nth-child(5) {
  background-color: rgba(91, 140, 255, 0.08); /* soft blue tint */
}

/* Row hover highlight */
#licenceTable tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.06); /* adjust for dark theme */
}

/* Optional: better visibility in light mode */
@media (prefers-color-scheme: light) {
  #licenceTable tbody tr:hover td {
    background-color: rgba(0, 0, 0, 0.04);
  }
}

/* licence compare add */

/* EDU banner under the table */
.edu-banner {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--pro-col);       /* subtle tint */
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
}

/* Info note under the table */
.sub.info-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--pro-col);       /* same tint as EDU banner */
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}


/* ── Alternating layout with FLEX ───────────────────────────── */

/* Odd sections: normal order (text left, media right) */
/* Even sections: flip (media left, text right) */
main.alternate > section.band:nth-of-type(2n) .feature-row {
  flex-direction: row-reverse;
}

/* On mobile: always stack naturally */
@media (max-width: 800px) {
  .feature-row,
  main.alternate > section.band:nth-of-type(2n) .feature-row {
    flex-direction: column;
  }
}

/*   FICHIER 2  coockies-style.css ========================================*/

/*   new */
.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 11px;
	margin-top: 8px;
}
.footer-bottom .cookie-footnote {
	margin: 0;
/* reset margin */font-style: italic;
	color: #888;
}

.cookie-footnote {
  margin: 0;             /* reset margin */
  font-style: italic;    /* make text italic */
  font-size: 10px;
  color: #888;           /* gray color */
}

.cookie-controls button {
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 6px;

  border: none;             /* remove border */
  background: transparent;  /* no background */
  color: #555;              /* softer text color */
  cursor: pointer;          /* show pointer on hover */
}

.cookie-controls button:hover {
  text-decoration: underline;  /* link-like hover effect */
  color: #000;                 /* darker on hover */
}

/* ========================  FICHIER 3 unistep-theme.css-========================================*/


/* =========================
   Unistep Theme (overrides)
   Load after base.css
   ========================= */

/* ---- Design tokens ---- */
:root {
  /* Brand palette */
  --brand: #0a74da;
  --brand-600: #075ab0;
  --accent: #12b886;

  /* Neutrals */
  --bg: #ffffff;
  --surface: #f7f9fc;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;

  /* Links */
  --link: var(--brand);
  --link-hover: var(--brand-600);

  /* Radius & shadows */
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 6px 18px rgba(16,24,40,.08);

  /* Type sizes */
  --h1: clamp(1.9rem, 1.2rem + 1.8vw, 2.4rem);
  --h2: clamp(1.3rem, 1.0rem + 1.0vw, 1.6rem);
}

/* Auto dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --surface: #141a2e;
    --text: #e6e9f0;
    --muted: #a7b0c3;
    --border: #27314a;
    --link: #8ab8ff;
    --link-hover: #b2d1ff;
    --shadow-md: 0 6px 18px rgba(0,0,0,.35);
  }
}

/* ---- Global color & link polish (non-destructive) ---- */
body { background: var(--bg); color: var(--text); }
a    { color: var(--link); }
a:hover { color: var(--link-hover); }

/* Optional: container accent on pages using .alternate */
.container.alternate { max-width: 1080px; }

/* ── Typography reset ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, figure { margin: 0; padding: 0; }

ul, ol { padding-left: 1.25em; }
li { margin: 0.25em 0; }

/* Type scale */
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: var(--space-sm); }
h2 { font-size: 1.5rem; margin-top: var(--space-md); margin-bottom: var(--space-xs); }
p  { margin-bottom: var(--space-sm); max-width: 65ch; }


/* ---- Headings (keeps your layout) ---- */
h1 {
  font-size: var(--h1);
  font-weight: 700;
  color: var(--text);
}
h2 {
  font-size: var(--h2);
  font-weight: 650;
  color: var(--link);
  border-bottom: 2px solid color-mix(in srgb, var(--link) 15%, transparent);
  padding-bottom: .3rem;
  display: inline-block;     /* keep your “badge-like” look */
  background: transparent;   /* overrides any grey tint from base if present */
}

/*   fonts */

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;

}

h3 {

  font-weight: 500;
}


/* ---- Breadcrumb (if you use .breadcrumb) ---- */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  align-items: center;
}
.breadcrumb::before { content: "📍"; margin-right: .4rem; opacity: .9; }



/* ---- Callout ---- */
.callout {
  background: var(--surface);
  border-left: 4px solid var(--link);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

/* ---- Figures: subtle card look ---- */
.feature-media figure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .6rem;
  box-shadow: var(--shadow-sm);
}
.feature-media figcaption {
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
  padding-top: .4rem;
}

/* ---- Buttons (use your existing classes) ---- */
.btn {
  border-radius: calc(var(--radius) - 4px);
  box-shadow: var(--shadow-sm);
  transition: transform .04s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Primary */
.btn.primary {
  background: var(--link);
  border-color: var(--link);
  color: #fff;
}
.btn.primary:hover { background: var(--link-hover); }

/* Secondary (outlined) */
.btn.secondary {
  border: 1px solid color-mix(in srgb, var(--link) 40%, var(--border));
  color: var(--link);
  background: transparent;
}
.btn.secondary:hover { background: color-mix(in srgb, var(--link) 10%, #fff); }

/* Tertiary (ghost) */
.btn.tertiary {
  color: var(--text);
  background: transparent;

  border: 1px solid transparent;
  
}
.btn.tertiary:hover { text-decoration: underline; }

/* ---- Section rhythm ---- 


/* ---- Nav dropdown card look (keeps your behaviors) ---- */
.main-nav .dropdown {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.main-nav .dropdown a:hover,
.main-nav .dropdown a:focus { background: color-mix(in srgb, var(--link) 12%, transparent); }


  html, body {
    background: white !important;
    color: black !important;
  }
  
  
/*.section, section.band { padding: 2rem 0; }  1rem= taille poce .. 16 px :*/
.section, section.band { padding: .75rem 0; }

/* 1) Si c'est la MARGE des sections (pas le padding) */
section.band {
  margin-block: 0 !important;      /* annule un éventuel margin-top/bottom défini ailleurs */
  padding-block: .75rem !important; /* ton espacement interne souhaité */
}

/* 2) Si c'est la marge du premier h2 qui s'effondre en haut de la section */
section.band .feature-text > h2:first-child {
  margin-top: 0 !important;
}

/* 3) Si un conteneur interne pousse avec sa propre marge */
section.band .feature-list,
section.band .feature-row {
  margin: 0 !important;
}

