@charset "UTF-8";
/* =====================================================================
   Linutop — Système de design (refonte 2026)
   Basé sur les maquettes Figma "Design-Linutop".
   Fichier de production : composants réutilisables.
   Tokens (couleurs, rayons, typo) : voir tokens.css, chargé avant ce fichier.
   ===================================================================== */

/* --- Base --------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--c-body);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-ui); color: var(--c-ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.accent { color: var(--c-orange-700); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.muted { color: var(--c-muted); }

/* --- Wordmark ----------------------------------------------------- */
.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--c-ink);
  letter-spacing: -.5px;
}
.logo .dot { color: var(--c-orange-700); }

/* --- Boutons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  padding: .72rem 1.25rem; border-radius: var(--r-btn);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-orange-600); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-orange-700); }
.btn--ghost { background: #fff; color: var(--c-orange-700); border-color: var(--c-orange); }
.btn--ghost:hover { background: var(--c-cream-2); }
.btn--block { width: 100%; justify-content: center; }
.btn .ico { font-size: 1rem; line-height: 1; }

/* --- Barre de navigation ----------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line-2);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: flex; gap: 8px; }
.nav__links a {
  font-weight: 500; color: var(--c-ink); padding: .5rem .9rem; border-radius: var(--r-pill);
  transition: background .15s;
}
.nav__links a:hover { background: var(--c-cream-2); }
.nav__links a.is-active { background: var(--c-cream); color: var(--c-ink); font-weight: 600; }
.nav__icons { display: flex; gap: 18px; align-items: center; color: var(--c-ink); }
.nav__icons a { display: inline-flex; }

/* --- Bandeau de page (crème) ------------------------------------- */
.page-hero {
  background: var(--c-cream); border-radius: var(--r-card);
  padding: 40px 44px; margin: 28px 0;
}
.page-hero h1 { margin-bottom: .5em; color: #000; }
.page-hero p { margin: 0; color: var(--c-body); }
/* Bouton "Continuer mes achats" du panier vide (shopping_cart.php) :
   trop colle au titre avec le seul margin-bottom du h1 ci-dessus.
   Selecteur "p.cart-empty__cta" (pas juste ".cart-empty__cta") pour
   depasser la specificite de ".page-hero p { margin: 0; }" ci-dessus,
   qui sinon annule ce margin-top (meme nombre de classes mais celle-ci
   ajoute un selecteur d'element - elle l'emportait silencieusement). */
.page-hero p.cart-empty__cta { margin-top: 20px; }

/* --- Hero d'accueil ---------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0px; margin: 28px 0;
  border-radius: 16px;
  /* Sans overflow:hidden, un display:grid sans fond propre n'a rien a
     arrondir - ses enfants (hero__text/hero__media) depassaient les
     coins avec leurs propres angles droits. */
  overflow: hidden;
}
.hero__text { background: var(--c-cream); padding: 56px 48px; }
.hero__text h1 {
  /* h1 global (clamp jusqu'a 3.4rem) est calibre pour un titre pleine
     largeur (.page-hero) ; trop grand dans cette colonne a moitie
     largeur du hero d'accueil. */
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  margin-bottom: .35em;
}
.hero__lead { font-size: 1.5rem; font-weight: 700; color: var(--c-ink); line-height: 1.25; margin-bottom: .6em; }
.hero__sub { color: var(--c-body); max-width: 460px; }
.hero__cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero__media {
  position: relative;
  /* Pas de min-height fixe : la hauteur de la ligne de grille doit
     suivre le contenu de hero__text, pas l'inverse. Insuffisant a lui
     seul : meme sans min-height, une <img> en height:100% dans une
     piste de grille "auto" retombe sur son ratio intrinseque (ex.
     image 3:2) pour se dimensionner, ce qui repoussait quand meme la
     ligne plus haut que necessaire (vide sous les boutons). Fixe en
     sortant l'image du flux (position:absolute) : elle ne contribue
     plus au calcul de la hauteur de la piste, qui suit alors
     uniquement hero__text ; l'image se contente de remplir (cover)
     l'espace ainsi obtenu. */
  background: #cfc9c2;
}
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-md);
}
.hero__card small { color: var(--c-muted); }
.hero__card strong { display: block; color: var(--c-ink); font-weight: 600; }

/* --- Barre outils (recherche + filtres) -------------------------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 8px 0 28px; flex-wrap: wrap; }
/* tep_draw_form() ouvre un <form> juste avant .search (ferme apres) - le
   <form>, pas .search, est le vrai enfant flex de .toolbar, donc c'est
   lui qui doit porter flex/max-width pour que la largeur s'applique. */
.toolbar form { flex: 1 1 0%; max-width: 500px; }
.search { display: flex; gap: 8px; width: 100%; }
.search input {
  flex: 1; border: 1px solid var(--c-line-2); border-radius: 4px;
  padding: 1.05rem 1.5rem; font: inherit; font-size: 1rem; color: var(--c-ink);
}
.search input:focus { outline: 2px solid var(--c-orange); border-color: transparent; }
.search .btn { padding: 1.05rem 1.3rem; border-radius: 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--c-line-2); background: #fff; color: var(--c-ink);
  padding: .95rem 1.6rem; border-radius: 4px; font-weight: 600; font-size: .95rem; cursor: pointer;
}
.chip.is-active { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-ink); }

/* --- Grilles ------------------------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

/* --- Carte produit ----------------------------------------------- */
.product-card {
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column;
}
.product-card__media {
  background: #fff; border-radius: 12px; padding: 22px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; min-height: 140px;
}
.product-card h3 { margin-bottom: .35em; }
/* style.css (legacy) a une regle globale ".desc" (boite grise 700x400
   centree, heritee d'un autre usage du CMS) qui fuit sur toute reprise
   du nom de classe : on doit explicitement neutraliser chacune de ses
   proprietes ici, pas seulement ajouter les notres. .product .desc :
   meme collision sur la fiche produit (shop/product_info.php), qui
   n'affiche ce <p> que pour les logiciels/services (les produits
   materiels n'ont pas de paragraphe d'intro reel) - jamais vue avant
   de tester une fiche logiciel. */
.product-card .desc,
.product .desc {
  color: var(--c-body); font-size: .92rem; margin: 0 0 14px;
  background: none; background-color: transparent; border-radius: 0;
  height: auto; width: auto; text-align: left;
}
.features { list-style: none; margin: 0 0 16px; padding: 0; }
.features li { position: relative; padding-left: 1.5rem; font-size: .92rem; color: var(--c-ink); margin-bottom: .3rem; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--c-ok); font-weight: 700; }
.feat-title { font-weight: 700; color: var(--c-ink); margin-bottom: .5rem; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--c-ink); margin: 6px 0 16px; }
.price small { font-size: .8rem; font-weight: 600; color: var(--c-muted); }
.product-card .btn { margin-bottom: 8px; }
.product-card .btn:last-child { margin-bottom: 0; }
/* .product-card__buy (bouton "Ajouter au panier") est un <div> a part -
   ":last-child" ci-dessus s'applique a l'interieur de CE div (son seul
   bouton y est donc "dernier enfant" de son propre parent), annulant sa
   marge et supprimant l'espace avant "Voir le produit" juste apres.
   Marge portee par le wrapper lui-meme pour ne pas dependre de cet
   effet de bord. */
.product-card__buy { margin-bottom: 8px; }
/* Le texte au-dessus (tagline/points forts) n'a pas la meme longueur
   d'une carte a l'autre : sans ca, prix/bouton retombent a des
   hauteurs differentes selon le texte. .product-card est deja en
   display:flex column (regle plus haut) - un margin-top:auto sur le
   premier des deux elements pousse le bloc prix+bouton en bas, aligne
   sur toute la ligne de la grille (dont la hauteur est deja uniformisee
   par le grid-3 parent). */
.product-card .price { margin-top: auto; }
/* Cartes sans .price (grille "Nos solutions" de l'accueil, shop/home.php) :
   rien ne pousse le bouton en bas dans ce cas, les descriptions de longueur
   inegale desalignent les boutons d'une meme ligne de grille. Selecteur
   d'enfant direct (pas juste .product-card .btn) pour ne viser que le
   dernier bouton de la carte elle-meme, pas celui, deja gere plus haut,
   imbrique dans .product-card__buy ("Ajouter au panier" de la boutique). */
.product-card > .btn:last-child { margin-top: auto; }

/* --- Fiche produit ------------------------------------------------ */
/* Bandeau creme derriere galerie+fiche, sur toute la largeur de la
   fenetre (contrairement a .hero sur l'accueil, qui reste dans la
   largeur de contenu de #pagelinutop) - demande explicite pour cette
   seule section, a ne pas repercuter ailleurs. Technique de "bleed" :
   .product-hero s'etend en 100vw via left:50%/margin-left:-50vw (centre
   independamment de la largeur de son parent), .product-hero__inner
   recentre le contenu dans la largeur de lecture habituelle. */
.product-hero {
  background: var(--c-cream);
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  padding: 40px 0;
}
.product-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gallery__main { background: var(--c-white); border: 1px solid var(--c-line-2); border-radius: var(--r-card); padding: 32px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery__thumbs div {
  flex: 1; background: var(--c-white); border: 2px solid var(--c-line-2); border-radius: 10px; height: 88px;
  /* Cette boite etait pensee pour rester vide (simple pastille de
     couleur) dans la premiere maquette - la fiche produit y affiche
     maintenant de vraies vignettes (product_info.php), qui debordaient
     de la hauteur fixe et chevauchaient le bandeau de confiance juste
     en dessous. */
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 8px; cursor: pointer; transition: border-color .15s;
}
.gallery__thumbs div.is-active { border-color: var(--c-orange); }
.gallery__thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product__title { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
/* Espacement propre a la fiche produit (.product) : les classes
   .desc/.feat-title/.features/.price sont partagees avec .product-card
   (grille boutique), donc scopees ici pour ne pas toucher les cartes. */
.product .desc { margin-bottom: 20px; }
.product .feat-title { margin-top: 4px; margin-bottom: 10px; }
.product .features { margin-bottom: 28px; }
.product .price { margin: 8px 0 28px; }
.product__cta { display: flex; gap: 12px; margin-top: 22px; }

/* --- "Comment ça marche" (accueil) -------------------------------- */
.howitworks { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.howitworks__intro { color: var(--c-body); }
.howitworks__step { margin-bottom: 20px; }
.howitworks__step:last-child { margin-bottom: 0; }
.howitworks__step p { color: var(--c-body); margin: 0; }
.howitworks__media { background: var(--c-card); border-radius: var(--r-card); padding: 24px; display: flex; align-items: center; justify-content: center; }

/* Bandeau confiance défilant - meme "bleed" pleine largeur que
   .product-hero juste au-dessus sur la fiche produit (seul usage de
   .trust actuellement) ; pas de wrapper "inner" necessaire ici, le
   contenu est un ruban qui deborde volontairement (white-space:nowrap
   + overflow:hidden), pas un bloc a recentrer. */
.trust {
  border-top: 1px solid var(--c-orange); border-bottom: 1px solid var(--c-orange);
  padding: 14px 0; overflow: hidden; white-space: nowrap; color: var(--c-ink); font-size: .9rem;
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
}
/* Le markup repete la liste d'items 2x dans .trust__track (cf.
   product_info.php) : translateX(-50%) deplace exactement une copie,
   ce qui boucle sans a-coup. */
.trust__track { display: inline-block; animation: trust-scroll 22s linear infinite; }
.trust span { margin: 0 22px; }
.trust .sep { color: var(--c-orange-700); }
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; }
}

/* Cartes usage / logiciels */
.tile { background: var(--c-card); border-radius: 12px; padding: 20px; }
.tile h4 { margin: 0 0 .3rem; color: var(--c-ink); font-size: 1rem; font-weight: 700; }
.tile p { margin: 0; font-size: .88rem; color: var(--c-body); }
/* Variante lien (ex: tuiles de navigation de la page compte) */
a.tile { display: block; font-size: .92rem; color: var(--c-body); transition: box-shadow .15s ease; }
a.tile:hover { box-shadow: var(--shadow-sm); color: var(--c-ink); }

/* --- Tableaux (specs / transport) -------------------------------- */
/* Tableaux a plus de 2 colonnes (ex: commandes recentes du compte) :
   pas de reflow possible sans perdre des donnees, scroll horizontal
   plutot que debordement de la page sur mobile. */
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 700; color: var(--c-ink); padding: 12px 8px; border-bottom: 2px solid var(--c-line); }
.table td { padding: 12px 8px; border-bottom: 1px solid var(--c-line-2); color: var(--c-body); }
.table td:first-child { color: var(--c-ink); font-weight: 500; }

/* --- Cartes generiques / formulaires (login, creation de compte) --- */
.panel { background: var(--c-white); border: 1px solid var(--c-line-2); border-radius: var(--r-card); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--c-ink); margin-bottom: 6px; font-size: .92rem; }
.field label .req { color: var(--c-orange-700); }
.field input, .field select {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--c-line-2); border-radius: var(--r-btn);
  font: inherit; color: var(--c-ink); background: var(--c-white);
}
.field input:focus, .field select:focus { outline: 2px solid var(--c-orange); border-color: transparent; }
.field-hint { display: block; margin-top: 4px; font-size: .8rem; color: var(--c-muted); }

/* --- Panier ------------------------------------------------------- */
.cart-head { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 22px; }
.cart-row {
  display: grid; grid-template-columns: 28px 88px 1fr auto auto; align-items: center; gap: 18px;
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: 16px 20px; margin-bottom: 14px;
}
.cart-row__x { color: var(--c-muted); font-size: 1.2rem; cursor: pointer; background: none; border: 0; }
.cart-row__thumb { background: #fff; border-radius: 10px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: .7rem; color: var(--c-muted); }
.cart-row__name { font-weight: 700; color: var(--c-ink); }
.cart-row__desc { font-size: .86rem; color: var(--c-body); }
.cart-row__price { font-weight: 800; color: var(--c-ink); white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; border: 1.5px solid var(--c-orange); background: #fff; color: var(--c-orange-700); border-radius: 8px; font-size: 1.1rem; cursor: pointer; line-height: 1; }
.stepper .val { width: 40px; height: 34px; border: 1px solid var(--c-line-2); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--c-ink); }
.subtotal { text-align: right; font-size: 1.2rem; font-weight: 800; color: var(--c-ink); margin: 18px 0; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }

/* --- Cartes info ("Informations générales") ---------------------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--c-cream-2); border-radius: 12px; padding: 22px; }
.info-card h4 { margin: 0 0 .6rem; color: var(--c-ink); font-weight: 700; }
.info-card ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.info-card p { margin: 0; font-size: .9rem; }

/* --- FAQ / Support -------------------------------------------------- */
.faq-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.faq-toc h4 { margin: 0 0 .6rem; color: var(--c-ink); }
.faq-toc ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.faq-toc li { margin-bottom: .4rem; }
.faq-toc a:hover { color: var(--c-orange-700); }
.faq-q { margin-top: 36px; }
.code-block {
  background: var(--c-ink); color: #fff; border-radius: 12px; padding: 18px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem;
  line-height: 1.6; overflow-x: auto; white-space: pre;
}
.check-yes { color: var(--c-ok); font-weight: 700; }
.check-no { color: var(--c-muted); }

/* --- Cartes News (listing) ----------------------------------------- */
.news-card {
  background: var(--c-card); border-radius: var(--r-card); padding: 20px;
  display: flex; gap: 24px; margin-bottom: 20px; align-items: stretch;
}
.news-card__media {
  flex: 0 0 280px; border-radius: 12px; overflow: hidden; background: var(--c-white);
  min-height: 180px;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.news-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.news-tag {
  background: var(--c-cream-2); color: var(--c-orange-700); font-size: .78rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: var(--r-pill);
}
.news-card__date { color: var(--c-muted); font-size: .85rem; margin-bottom: .5rem; }
.news-card__excerpt { color: var(--c-body); margin-bottom: 16px; }
.news-card .btn { margin-top: auto; align-self: flex-start; }
.news-pagination { color: var(--c-muted); font-size: .9rem; margin: 8px 0 24px; }

/* --- Page article News --------------------------------------------- */
.news-article__media { border-radius: var(--r-card); overflow: hidden; margin: 20px 0 32px; }
.news-article__media img { width: 100%; display: block; }
.news-article__content { max-width: 760px; }
.news-article__content img { border-radius: 12px; margin: 8px 0; }
.news-article__content table { width: 100%; border-collapse: collapse; }
.news-article__content td { vertical-align: top; padding: 6px; }

/* --- Sous-navigation (onglets d'une section, ex: Societe) --------- */
/* Meme "bleed" pleine largeur que .trust/#header : la ligne de
   separation doit traverser tout le viewport, le contenu (les onglets)
   reste recentre dans .subnav__inner. */
.subnav {
  width: 100vw; position: relative; left: 50%; margin-left: -50vw;
  border-bottom: 1px solid var(--c-line-2); margin-bottom: 28px;
}
/* Meme formule que #pagelinutop (chrome.css) - pas de padding ici, pour
   que les onglets demarrent/finissent exactement au meme point que
   .page-hero/.section juste en dessous, au lieu d'etre en retrait. */
.subnav__inner {
  width: min(var(--maxw), calc(100vw - 32px)); margin: 0 auto;
  display: flex; flex-wrap: wrap;
}
.subnav__link {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 1; text-align: center;
  padding: 18px 20px; border-radius: var(--r-btn);
  font-weight: 500; color: var(--c-ink); text-decoration: none; cursor: pointer;
}
.subnav__link:hover { color: var(--c-orange-700); }
.subnav__link.is-active { background: var(--c-cream); font-weight: 600; }

/* --- Mur de logos clients (texte, pas d'images - aucun asset de marque
   disponible dans le depot, cf. politique images manquantes) --------- */
.logo-wall { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.logo-pill {
  background: var(--c-white); border: 1px solid var(--c-line-2); border-radius: var(--r-pill);
  padding: .55rem 1.2rem; font-weight: 600; font-size: .88rem; color: var(--c-ink);
}

/* --- CTA band ----------------------------------------------------- */
/* margin-bottom : .cta-band est la derniere section de la fiche produit
   quand il n'y a pas encore de ventes croisees reelles a afficher (cf.
   product_info.php - table orders vide dans cet environnement de test)
   - sans marge elle collait directement au footer. */
.cta-band { background: var(--c-cream); border-radius: var(--r-card); padding: 40px 44px; margin-bottom: 32px; }
.cta-band .price { margin: 10px 0 18px; }
/* shop/login.php reutilise .cta-band ("Nouveau client") a cote d'un
   .panel ("Client deja membre") dans un .grid-2 : le padding et le
   margin-bottom pense pour son usage d'origine (derniere section de la
   fiche produit) le rendent visuellement plus petit que .panel a cote
   (le margin-bottom mange de la hauteur dans la cellule de grille,
   toutes deux etirees a la meme hauteur par le comportement par defaut
   de CSS grid). On aligne son gabarit sur .panel pour cette paire. */
.login-cta { padding: 32px; margin-bottom: 0; }

/* --- Videos (support/videos.php) ----------------------------------- */
/* Remplace les <object>/<embed> Flash de la page reelle (morts depuis
   longtemps, seuls les identifiants YouTube restent reels/valides) par
   un <iframe> moderne dans un ratio 16:9 fluide. */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--c-ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { margin: 10px 0 0; font-weight: 600; text-align: center; }

/* --- Footer ------------------------------------------------------- */
.footer { background: var(--c-cream); padding: 56px 0 0; margin-top: 64px; overflow: hidden; }
/* Demande client du 20 aout 2026 ("compacter le footer encore") : la
   colonne "Entreprise" (2 liens) et "Ressources legales" (CGV, ex-3e
   ligne) remontent cote a cote dans .footer__top (.footer__top-extra,
   entre le bloc de marque et le badge TIC21) ; Langues et Paiement
   securise rejoignent Contact/Produits/Aide/Reseaux sociaux dans une
   seule ligne de 6 colonnes - il n'y a plus de 3e ligne du tout. */
.footer__top { display: grid; grid-template-columns: 1.2fr 1.1fr .9fr; grid-template-rows: auto auto; gap: 12px 24px; padding-bottom: 28px; border-bottom: 1px solid var(--c-line); align-items: start; }
.footer__logo-row { grid-column: 1; grid-row: 1; }
.footer__brand-text { grid-column: 1; grid-row: 2; }
.footer__title { font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.footer__desc { max-width: 380px; font-size: .92rem; }
.footer__top-extra { grid-column: 2; grid-row: 2; display: flex; gap: 64px; }
.footer__badge { grid-column: 3; grid-row: 2; display: flex; align-items: center; justify-content: flex-end; gap: 16px; font-size: .88rem; }
.footer__badge strong { display: block; color: var(--c-ink); }
.footer__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.footer__cols h5, .footer__enterprise h5 { margin: 0 0 .8rem; color: var(--c-ink); font-size: .95rem; font-weight: 700; }
.footer__cols ul, .footer__enterprise ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li, .footer__enterprise li { margin-bottom: .5rem; font-size: .88rem; }
.footer__cols a:hover, .footer__enterprise a:hover { color: var(--c-orange-700); }
/* Rangee de liens SEO statiques (demande client du 20 aout 2026) - meme
   esprit que le bandeau de liens du bas du site reel (index_top3.php),
   simple ligne centree qui s'enroule, separateurs "|" entre les liens
   (pas apres le dernier). */
.footer__seolinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 20px 0; border-bottom: 1px solid var(--c-line); font-size: .82rem; }
.footer__seolinks a { color: var(--c-muted); text-decoration: none; padding: 0 10px; border-right: 1px solid var(--c-line); }
.footer__seolinks a:last-child { border-right: none; }
.footer__seolinks a:hover { color: var(--c-orange-700); }
.footer__copy { text-align: center; padding: 22px 0; font-size: .85rem; color: var(--c-muted); }
.footer__wordmark {
  font-family: var(--font-logo); font-weight: 800; text-align: center;
  font-size: clamp(4rem, 18vw, 15rem); line-height: .8; color: var(--c-orange-soft);
  letter-spacing: -2px; padding-bottom: 10px; user-select: none;
}

/* --- Tunnel de commande (etapes + choix livraison/paiement) -------- */
.checkout-steps { display: flex; gap: 8px; margin: 8px 0 32px; }
.checkout-steps__step {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: var(--r-btn);
  font-size: .85rem; font-weight: 600; color: var(--c-muted); background: var(--c-cream-2);
}
.checkout-steps__step.is-current { background: var(--c-orange); color: var(--c-ink); }
.checkout-steps__step.is-done { color: var(--c-orange-700); }
.checkout-steps__step a { color: inherit; }

/* Ligne selectionnable (methode de livraison/paiement, adresse) - clic
   sur toute la ligne (cf. script au bas de chaque page), pas seulement
   le radio, meme comportement que l'ancien moduleRow/moduleRowSelected. */
.option-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-card); border: 1.5px solid var(--c-line); border-radius: var(--r-card);
  padding: 16px 20px; margin-bottom: 12px; cursor: pointer;
}
.option-row.is-selected { border-color: var(--c-orange); background: var(--c-cream-2); }
.option-row input[type=radio] { width: 18px; height: 18px; accent-color: var(--c-orange-700); flex: 0 0 auto; }
.option-row__body { flex: 1; min-width: 0; }
.option-row__title { font-weight: 700; color: var(--c-ink); }
.option-row__desc { font-size: .88rem; color: var(--c-body); margin-top: 2px; }
.option-row__price { font-weight: 800; color: var(--c-ink); white-space: nowrap; }

/* Carte "adresse actuelle" (recap livraison/facturation avant le tunnel) */
.address-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.address-card address { font-style: normal; color: var(--c-body); }

/* Carnet d'adresses (compte) : liste, pas de radio, actions modifier/supprimer */
.addr-card {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card);
  padding: 18px 20px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; flex-wrap: wrap;
}
.addr-card__name { font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.addr-card__name .tag { margin-left: 8px; font-size: .78rem; font-weight: 600; color: var(--c-orange-700); }
.addr-card address { font-style: normal; color: var(--c-body); font-size: .92rem; }
.addr-card__actions { display: flex; gap: 14px; flex-shrink: 0; white-space: nowrap; }
.addr-card__actions a { font-weight: 600; font-size: .88rem; color: var(--c-orange-700); }
.addr-card__actions a.danger { color: var(--c-muted); }

/* Case a cocher stylisee (newsletters/notifications) - meme principe que
   .option-row (clic sur toute la ligne), mais case au lieu de radio. */
.toggle-row {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer;
  background: var(--c-card); border-radius: var(--r-card); padding: 18px 20px; margin-bottom: 12px;
}
.toggle-row input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-orange-700); flex-shrink: 0; }
.toggle-row__title { font-weight: 700; color: var(--c-ink); }
.toggle-row__desc { font-size: .88rem; color: var(--c-body); margin-top: 2px; }

/* --- Responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .hero, .product, .grid-3, .grid-2, .info-cards, .footer__top, .footer__cols, .howitworks, .faq-toc { grid-template-columns: 1fr; }
  /* .footer__top garde des placements grid-column/grid-row explicites
     (2 puis 3 colonnes en desktop) qui, sans cette reinitialisation,
     survivent au passage a 1 seule colonne ci-dessus : la grille cree
     alors des colonnes implicites pour les satisfaire au lieu d'empiler
     ses blocs (badge TIC21 coupe a droite de l'ecran, releve le 20 aout
     2026). */
  .footer__logo-row, .footer__brand-text, .footer__top-extra, .footer__badge {
    grid-column: 1; grid-row: auto;
  }
  .footer__top-extra { flex-direction: column; gap: 20px; }
  .footer__badge { justify-content: flex-start; }
  .checkout-steps { font-size: .8rem; }
  .option-row, .addr-card { flex-wrap: wrap; }
  .address-card { flex-direction: column; }
  /* .hero__media n'a plus de hauteur intrinseque (image en position:
     absolute, cf. regle plus haut) : sur desktop ca marche puisqu'elle
     partage la meme ligne de grille que hero__text (stretch). Une fois
     empilee sur une colonne, chaque bloc a sa propre ligne - sans
     hauteur explicite ici, l'image (et la carte "Etudes de cas" par
     dessus) disparaissait completement sur mobile. */
  .hero__media { min-height: 260px; }
  .cart-row { grid-template-columns: 24px 64px 1fr; grid-auto-flow: row; }
  .cart-row__price, .stepper { grid-column: 2 / -1; }
  .cart-actions { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .news-card { flex-direction: column; }
  .news-card__media { flex-basis: auto; }
}
