/* borne-tablette.com — Dark Mode Design inspiré wisewand.ai 2026 */

:root {
  --teal: #0099A7;
  --teal-dark: #00818E;
  --teal-glow: rgba(0,153,167,.25);
  --teal-glow-strong: rgba(0,153,167,.4);
  --bg: #000000;
  --bg2: #070b0c;
  --bg3: #0d1214;
  --card-bg: #0a1012;
  --card-border: rgba(0,153,167,.18);
  --card-border-hover: rgba(0,153,167,.5);
  --text: #d1d5db;
  --text-light: #9ca3af;
  --white: #ffffff;
  --border: rgba(255,255,255,.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
header {
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.5px;
}

.logo span { color: var(--teal); }

nav { display: flex; gap: 4px; flex-wrap: wrap; }

nav a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}

nav a:hover, nav a.active {
  background: rgba(0,153,167,.15);
  color: var(--teal);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--white);
  padding: 90px 20px 80px;
  text-align: center;
  overflow: hidden;
}

/* Glow radial derrière le hero */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,153,167,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 20px;
  letter-spacing: -.5px;
  background: linear-gradient(135deg, #ffffff 40%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--teal) 0%, #00d4e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  position: relative;
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--text);
  line-height: 1.7;
}

.hero-badges {
  position: relative;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.badge {
  background: rgba(0,153,167,.1);
  border: 1px solid rgba(0,153,167,.3);
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border-radius: 24px;
  font-size: .82rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 24px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  letter-spacing: .01em;
}

.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 20px var(--teal-glow);
}

.btn-orange:hover {
  background: var(--teal-dark);
  box-shadow: 0 0 30px var(--teal-glow-strong);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  margin-left: 10px;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 60px 0; }

section:nth-child(even) { background: var(--bg2); }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 680px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 26px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.card:hover {
  box-shadow: 0 0 30px var(--teal-glow);
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

.card .arrow {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
}

/* ===== PRODUCT CARDS ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}

.product-card:hover {
  box-shadow: 0 0 28px var(--teal-glow);
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
}

.product-img {
  background: var(--bg3);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.product-body { padding: 18px; }

.product-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.stars { color: #f59e0b; font-size: .85rem; margin-bottom: 6px; }

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 10px;
}

.product-price span { font-size: .8rem; font-weight: 400; color: var(--text-light); }

.product-body .btn { width: 100%; text-align: center; padding: 10px; font-size: .88rem; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: 10px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

thead tr {
  background: rgba(0,153,167,.15);
  border-bottom: 1px solid rgba(0,153,167,.3);
}

thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--teal);
}

tbody tr { border-bottom: 1px solid var(--border); }

tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }

tbody tr:hover { background: rgba(0,153,167,.05); }

tbody td {
  padding: 13px 16px;
  color: var(--text);
  vertical-align: top;
}

tbody td strong { color: var(--white); }

.check { color: #34d399; font-weight: 700; }
.cross { color: #f87171; }

/* ===== ARTICLE CONTENT ===== */
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,153,167,.3);
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin: 24px 0 10px;
}

.article-body p { margin-bottom: 16px; line-height: 1.8; color: var(--text); }

.article-body ul, .article-body ol {
  margin: 10px 0 18px 20px;
  color: var(--text);
}

.article-body li { margin-bottom: 8px; line-height: 1.7; }

.article-body a { color: var(--teal); text-decoration: underline; }
.article-body a:hover { color: #00d4e8; }

.highlight-box {
  background: rgba(0,153,167,.08);
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}

.highlight-box p { margin: 0; font-weight: 500; color: rgba(255,255,255,.85); }

.info-box {
  background: rgba(0,153,167,.06);
  border: 1px solid rgba(0,153,167,.2);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  color: rgba(255,255,255,.8);
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item:hover { border-color: rgba(0,153,167,.3); }

.faq-q {
  background: var(--card-bg);
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
  transition: background .2s;
}

.faq-q:hover { background: rgba(0,153,167,.08); }

.faq-q span {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform .3s;
}

.faq-a {
  padding: 16px 20px;
  background: var(--bg3);
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-light);
  border-top: 1px solid var(--border);
}

.faq-a a { color: var(--teal); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: .82rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 6px; color: var(--text-light); }
.breadcrumb strong { color: var(--white); }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,153,167,.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.cta-section p {
  position: relative;
  color: var(--text);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 28px 20px;
  transition: border-color .25s, box-shadow .25s;
}

.stat-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 0 20px var(--teal-glow);
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--teal);
  display: block;
  letter-spacing: -.5px;
}

.stat-label { font-size: .85rem; color: var(--text-light); margin-top: 4px; }

/* ===== USE CASE CARDS ===== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.usecase-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.usecase-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 24px var(--teal-glow);
}

.usecase-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 12px 0 8px;
}

.usecase-card p { font-size: .9rem; color: var(--text-light); margin-bottom: 14px; }

.usecase-card a { color: var(--teal); text-decoration: none; font-size: .88rem; font-weight: 600; }
.usecase-card a:hover { color: #00d4e8; }

/* ===== FOOTER ===== */
footer {
  background: #020608;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  padding: 50px 24px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 36px;
}

footer h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

footer ul { list-style: none; }

footer ul li { margin-bottom: 10px; }

footer a {
  color: var(--text-light);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}

footer a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: .8rem;
  text-align: center;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--teal); }

/* ===== SIDEBAR LAYOUT ===== */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}

@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  aside { display: none; }
}

.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 18px;
}

.sidebar-box h4 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: .9rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,153,167,.25);
}

.sidebar-box ul { list-style: none; }

.sidebar-box ul li { margin-bottom: 10px; }

.sidebar-box ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.sidebar-box ul li a:hover { color: var(--teal); }

.sidebar-cta {
  background: linear-gradient(135deg, rgba(0,153,167,.15) 0%, rgba(0,129,142,.1) 100%);
  border: 1px solid rgba(0,153,167,.3);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.sidebar-cta h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.sidebar-cta p {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 16px 50px; }
  .hero h1 { font-size: 1.7rem; }
  nav a { padding: 6px 10px; font-size: .8rem; }
  section { padding: 44px 0; }
  .card-grid, .usecase-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 60px 16px; }
  .container { padding: 0 16px; }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 600px) {
  /* Header : logo + nav empilés */
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }

  /* Nav : scroll horizontal, pas de retour à la ligne forcé */
  nav {
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
  }
  nav::-webkit-scrollbar { display: none; }
  nav a {
    white-space: nowrap;
    padding: 6px 11px;
    font-size: .78rem;
    flex-shrink: 0;
  }

  /* Boutons CTA : pleine largeur empilés */
  .hero .btn,
  .cta-section .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px 0;
    text-align: center;
    box-sizing: border-box;
  }
  .btn-outline { margin-left: 0; }

  /* Hero */
  .hero { padding: 44px 16px 36px; }
  .hero h1 { font-size: 1.5rem; letter-spacing: -.3px; }
  .hero p { font-size: 1rem; }

  /* Grilles */
  .stats-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-img-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Cards */
  .card { padding: 20px; }
  .usecase-card { padding: 20px; }

  /* Tables */
  tbody td { padding: 10px 12px; font-size: .85rem; }
  thead th { padding: 12px; font-size: .85rem; }

  /* FAQ */
  .faq-q { font-size: .88rem; padding: 14px 16px; }
  .faq-a { padding: 14px 16px; }

  /* Footer grid 1 colonne */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Section padding */
  section { padding: 36px 0; }
  .container { padding: 0 14px; }

  /* CTA section */
  .cta-section { padding: 44px 14px; }
  .cta-section h2 { font-size: 1.5rem; }
}

/* ===== TAGS ===== */
.tag {
  display: inline-block;
  background: rgba(0,153,167,.1);
  color: var(--teal);
  border: 1px solid rgba(0,153,167,.2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  margin: 2px;
}

.tag-orange { background: rgba(0,153,167,.12); color: #00d4e8; }
.tag-green { background: rgba(52,211,153,.08); color: #34d399; }
.tag-blue { background: rgba(0,153,167,.1); color: var(--teal); }

/* ===== MISC ===== */
img.product-hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg3);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--text);
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
}

/* ===== IMAGES PRODUITS ===== */
.product-img-real {
  background: var(--bg3);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .35s;
}

.product-card:hover .product-img-real img { transform: scale(1.06); }

.article-img-box {
  margin: 28px 0;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg3);
}

.article-img-box img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  padding: 20px;
}

.article-img-caption {
  padding: 10px 18px;
  font-size: .8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  text-align: center;
  font-style: italic;
}

.product-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.product-img-thumb {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.product-img-thumb:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--teal-glow);
}

.product-img-thumb img {
  width: 100%;
  height: 155px;
  object-fit: contain;
  padding: 10px;
  display: block;
}

.product-img-thumb figcaption {
  padding: 8px 12px;
  font-size: .76rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ===== FAQ JS INTERACTIF ===== */
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q { background: rgba(0,153,167,.1); }
.faq-item.open .faq-q span { transform: rotate(45deg); display: inline-block; }
