/*
Theme Name: ChronoGlaçons
Theme URI: https://www.chronoglacons.fr
Author: ChronoGlaçons
Author URI: https://www.chronoglacons.fr
Description: Thème premium pour ChronoGlaçons — livraison glaçons Paris & IDF 24h/24
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: chronoglacons
Tags: dark, ice, delivery, french, seo
*/

/* === DESIGN TOKENS === */
:root {
  --ice: #00e5ff;
  --ice-dim: #0099bb;
  --dark: #060a0f;
  --mid: #0e1620;
  --surface: #111b27;
  --muted: #a8c8d8;
  --text: #d8eef5;
  --white: #ffffff;
}

/* === BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.bebas { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em; }

a { color: var(--ice); text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff; }

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

/* === LAYOUT === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ice); color: var(--dark);
  font-weight: 700; font-size: 1rem; padding: 14px 32px;
  border-radius: 6px; border: none; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.03em; text-decoration: none;
}
.btn-primary:hover { background: #fff; color: var(--dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,229,255,0.35); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid rgba(0,229,255,0.5); color: var(--ice);
  font-weight: 600; font-size: 1rem; padding: 14px 32px;
  border-radius: 6px; cursor: pointer; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.03em;
}
.btn-outline:hover { background: rgba(0,229,255,0.1); border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }

/* === SECTION LABELS === */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ice);
  font-weight: 600; display: block; margin-bottom: 12px;
}

/* === CARDS === */
.card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,255,0.15);
}
.card__image { width: 100%; height: 220px; object-fit: cover; }
.card__body { padding: 24px; }
.card__tag {
  display: inline-block; font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(0,229,255,0.15); color: var(--ice);
  border: 1px solid rgba(0,229,255,0.3);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 14px;
}
.card__meta { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.card__meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }
.card__title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.card__title a { color: #fff; }
.card__title a:hover { color: var(--ice); }
.card__excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.card__read-more { color: var(--ice); font-size: 0.83rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card__read-more:hover { gap: 12px; color: var(--ice); }

/* === BADGE LIVE === */
.badge-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.25);
  padding: 6px 18px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ice);
}
.badge-live__dot {
  width: 7px; height: 7px; background: #3dffa0;
  border-radius: 50%; animation: pulse 1.8s ease-in-out infinite;
  box-shadow: 0 0 6px #3dffa0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

/* === PAGINATION === */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 64px; flex-wrap: wrap; }
.pagination a, .pagination span {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  font-size: 0.9rem; color: var(--text); text-decoration: none; transition: all 0.2s;
}
.pagination a:hover { border-color: var(--ice); color: var(--ice); }
.pagination .current { background: var(--ice); color: var(--dark); border-color: var(--ice); font-weight: 700; }
.pagination .dots { border: none; color: var(--muted); }

/* === SIDEBAR === */
.sidebar-widget { margin-bottom: 36px; }
.sidebar-widget__title {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ice); font-weight: 600; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(0,229,255,0.15);
}
.sidebar-widget ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-widget ul li a { color: var(--muted); font-size: 0.88rem; display: flex; justify-content: space-between; }
.sidebar-widget ul li a:hover { color: var(--ice); }
.sidebar-widget ul li .count { font-size: 0.75rem; background: rgba(0,229,255,0.1); color: var(--ice); padding: 2px 8px; border-radius: 999px; }

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, #061520 0%, #001828 50%, #060a0f 100%);
  border-top: 1px solid rgba(0,229,255,0.08);
  border-bottom: 1px solid rgba(0,229,255,0.08);
  padding: 80px 32px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.07) 0%, transparent 60%);
}
.cta-banner__title { font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; margin-bottom: 16px; position: relative; }
.cta-banner__sub { color: var(--muted); font-size: 1rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* === BREADCRUMB === */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ice); }
.breadcrumb__sep { color: rgba(255,255,255,0.2); }
.breadcrumb__current { color: var(--text); }

/* === TAGS === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted); font-size: 0.78rem; padding: 5px 14px; border-radius: 999px;
  transition: all 0.2s;
}
.tag-cloud a:hover { background: rgba(0,229,255,0.1); border-color: rgba(0,229,255,0.3); color: var(--ice); }

/* === FADE UP ANIMATION === */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .container, .container--narrow { padding: 0 20px; }
  .blog-layout { grid-template-columns: 1fr !important; }
  .posts-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 580px) {
  .posts-grid { grid-template-columns: 1fr !important; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}


/* =====================================================
   ChronoGlaçons — Blog CSS
   ===================================================== */

/* HEADER */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(6,10,15,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,229,255,0.1);
}
.site-header__inner {
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.site-header__logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: var(--ice); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.08em; color: #fff; }
.logo-text--accent { color: var(--ice); }
.site-header__nav .nav-list { display: flex; gap: 32px; list-style: none; }
.site-header__nav .nav-list a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; color: rgba(216,238,245,0.7); transition: color 0.2s; }
.site-header__nav .nav-list a:hover { color: var(--ice); }
.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--ice); font-size: 0.9rem; font-weight: 600; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; display: block; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; inset: 0; background: rgba(6,10,15,0.98);
  backdrop-filter: blur(20px); z-index: 200; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.mobile-nav__list { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav__list a { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: #fff; letter-spacing: 0.06em; }
.mobile-nav__list a:hover { color: var(--ice); }
.mobile-nav__phone { color: var(--ice); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }

/* BLOG HERO */
.blog-hero, .archive-hero {
  position: relative; min-height: 420px;
  background: linear-gradient(135deg, var(--dark) 0%, #061520 40%, #001828 100%);
  display: flex; align-items: center;
}
.blog-hero__overlay, .archive-hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.08) 0%, transparent 60%);
}

/* SINGLE POST */
.single-post__hero { position: relative; height: 480px; overflow: hidden; }
.single-post__hero-img { width: 100%; height: 100%; object-fit: cover; }
.single-post__hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,10,15,0.2) 0%, rgba(6,10,15,0.75) 100%);
}
.single-post__content-wrap { padding-top: 48px; padding-bottom: 80px; }
.single-post__header { margin-bottom: 40px; }
.single-post__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff; line-height: 1.05; margin-bottom: 20px;
}
.single-post__meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.single-post__meta i { color: var(--ice); margin-right: 4px; }

/* ENTRY CONTENT */
.entry-content {
  color: rgba(216,238,245,0.9); font-size: 1.05rem;
  line-height: 1.85; margin-bottom: 48px;
}
.entry-content h2 { font-family: 'Bebas Neue',sans-serif; font-size: 2rem; color: #fff; margin: 48px 0 20px; }
.entry-content h3 { font-size: 1.3rem; color: var(--ice); margin: 36px 0 16px; font-weight: 700; }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 3px solid var(--ice); padding: 20px 28px;
  background: rgba(0,229,255,0.05); border-radius: 0 8px 8px 0;
  margin: 32px 0; color: rgba(216,238,245,0.8); font-style: italic;
}
.entry-content img { border-radius: 12px; margin: 32px 0; }
.entry-content code { background: rgba(0,229,255,0.1); color: var(--ice); padding: 2px 8px; border-radius: 4px; font-size: 0.9em; }
.entry-content pre { background: var(--surface); padding: 24px; border-radius: 12px; overflow-x: auto; margin: 24px 0; }
.entry-content strong { color: #fff; font-weight: 700; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.entry-content th { background: rgba(0,229,255,0.1); color: var(--ice); padding: 12px 16px; text-align: left; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.entry-content td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(216,238,245,0.85); }

/* TAGS */
.single-post__tags { margin-bottom: 48px; }

/* AUTHOR BOX */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid rgba(0,229,255,0.12); border-radius: 16px; padding: 28px; margin-bottom: 48px; }
.author-box__avatar { width: 56px; height: 56px; background: rgba(0,229,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.author-box__name { color: #fff; font-weight: 700; display: block; margin-bottom: 8px; }
.author-box__bio { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* POST NAV */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav__item { background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; transition: all 0.2s; }
.post-nav__item:hover { border-color: rgba(0,229,255,0.2); }
.post-nav__item--next { text-align: right; }
.post-nav__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ice); }
.post-nav__title { font-size: 0.9rem; font-weight: 600; color: #fff; }

/* SIDEBAR */
.blog-sidebar__inner { position: sticky; top: 88px; }
.sidebar-cta__inner { background: linear-gradient(135deg, #061520, #001828); border: 1px solid rgba(0,229,255,0.2); border-radius: 16px; padding: 28px; text-align: center; }
.sidebar-cta__inner strong { display: block; font-size: 1.1rem; color: #fff; margin: 12px 0 8px; font-weight: 700; }
.sidebar-cta__inner p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

/* SEARCH FORM */
.search-form { display: flex; gap: 0; max-width: 480px; margin: 24px auto 0; }
.search-form input[type="search"] {
  flex: 1; padding: 14px 20px; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(0,229,255,0.2); border-right: none;
  border-radius: 6px 0 0 6px; color: #fff; font-size: 0.95rem; outline: none;
}
.search-form input[type="search"]::placeholder { color: var(--muted); }
.search-form input[type="search"]:focus { border-color: var(--ice); }
.search-form button { padding: 14px 24px; background: var(--ice); border: none; border-radius: 0 6px 6px 0; color: var(--dark); font-weight: 700; cursor: pointer; }

/* FOOTER */
.site-footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.05); padding: 64px 32px 32px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; text-align: center; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-footer__heading { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(216,238,245,0.4); margin-bottom: 20px; font-weight: 600; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.site-footer ul li a { color: rgba(216,238,245,0.8); font-size: 0.88rem; }
.site-footer ul li a:hover { color: var(--ice); }
.site-footer ul li { color: rgba(216,238,245,0.75); font-size: 0.85rem; }
.site-footer__phone { display: block; font-family: 'Bebas Neue',sans-serif; font-size: 1.6rem; color: var(--ice); margin-bottom: 20px; letter-spacing: 0.04em; }
.site-footer__social { display: flex; gap: 16px; justify-content: center; }
.site-footer__social a { width: 36px; height: 36px; border: 1px solid rgba(0,229,255,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(216,238,245,0.6); transition: all 0.2s; }
.site-footer__social a:hover { color: var(--ice); border-color: rgba(0,229,255,0.5); }
.site-footer__bottom { display: flex; justify-content: center; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.site-footer__bottom p, .site-footer__bottom a { font-size: 0.78rem; color: rgba(216,238,245,0.45); }
.site-footer__bottom a:hover { color: var(--ice); }
.site-footer__brand p { color: rgba(216,238,245,0.75); font-size: 0.85rem; line-height: 1.7; max-width: 240px; margin: 12px auto 0; }

/* RESPONSIVE BLOG */
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: flex !important; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .related-posts .posts-grid { grid-template-columns: 1fr !important; }
  .post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .single-post__hero { height: 280px; }
  .single-post__title { font-size: 2rem; }
}

/* =====================================================
   FRONT-PAGE STYLES
   ===================================================== */

/* HERO */
.hero { position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background-size:cover; background-position:center 30%; transform:scale(1.04); animation:slowZoom 20s ease-in-out infinite alternate; }
@keyframes slowZoom { from{transform:scale(1.04)} to{transform:scale(1.12)} }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(to bottom, rgba(6,10,15,0.25) 0%, rgba(6,10,15,0.5) 40%, rgba(6,10,15,0.92) 80%, var(--dark) 100%); }
.hero-overlay-radial { position:absolute; inset:0; background:radial-gradient(ellipse at center, transparent 30%, rgba(6,10,15,0.4) 100%); }
.hero-inner { position:relative; z-index:10; width:100%; display:flex; flex-direction:column; align-items:center; text-align:center; }
.hero-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(3.5rem,8vw,7.5rem); line-height:0.92; margin-bottom:28px; color:#fff; }
.hero-title--ice { color:var(--ice); text-shadow:0 0 40px rgba(0,229,255,0.6), 0 0 80px rgba(0,229,255,0.3); }
.hero-sub { font-size:1.15rem; color:rgba(216,238,245,0.9); max-width:460px; line-height:1.65; margin-bottom:36px; font-weight:300; }
.hero-buttons { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.stat-bar { display:flex; gap:40px; flex-wrap:wrap; margin-top:48px; justify-content:center; align-items:center; }
.stat-item { display:flex; flex-direction:column; align-items:center; gap:6px; }
.stat-num { font-family:'Bebas Neue',sans-serif; font-size:2.8rem; color:#fff; line-height:1; text-shadow:0 0 30px rgba(0,229,255,0.4); }
.stat-label { font-size:0.82rem; color:rgba(216,238,245,0.75); letter-spacing:0.05em; text-transform:uppercase; }
.stat-sep { width:1px; height:50px; background:rgba(0,229,255,0.2); }
.hero-scroll-indicator { position:absolute; bottom:32px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:6px; opacity:0.4; }
.hero-scroll-indicator span { font-size:0.65rem; letter-spacing:0.2em; text-transform:uppercase; }
.hero-scroll-line { width:1px; height:40px; background:linear-gradient(to bottom, var(--ice), transparent); animation:fadeDown 2s ease infinite; }
@keyframes fadeDown { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1} 100%{opacity:0;transform:scaleY(1);transform-origin:top} }

/* SECTION TITLES */
.section-title { font-family:'Bebas Neue',sans-serif; font-size:clamp(2.2rem,4vw,3.2rem); color:#fff; }

/* HOW IT WORKS */
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.how-step { text-align:center; }
.how-step__num { width:56px; height:56px; background:rgba(0,229,255,0.1); border:1px solid rgba(0,229,255,0.25); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.3rem; color:var(--ice); font-weight:700; }
.how-step h3 { font-size:1.05rem; font-weight:700; color:#fff; margin-bottom:8px; }
.how-step p { color:var(--muted); font-size:0.88rem; line-height:1.6; }

/* PRODUCTS */
.prod-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.prod-card__img { height:200px; background-size:cover; background-position:center; position:relative; overflow:hidden; }
.prod-card__badge { position:absolute; top:14px; left:14px; background:var(--ice); color:var(--dark); font-size:0.65rem; font-weight:800; letter-spacing:0.1em; padding:3px 10px; border-radius:3px; text-transform:uppercase; }
.prod-card__badge--outline { background:rgba(0,229,255,0.15); color:var(--ice); border:1px solid rgba(0,229,255,0.3); }
.prod-card__title { font-size:1rem; font-weight:700; color:#fff; margin-bottom:6px; }
.prod-card__sub { color:var(--muted); font-size:0.85rem; margin-bottom:20px; }
.prod-card__footer { display:flex; align-items:center; justify-content:space-between; }
.prod-price { font-family:'Bebas Neue',sans-serif; font-size:1.8rem; color:#fff; }
.prod-unit { color:var(--muted); font-size:0.8rem; margin-left:4px; }
.livraison-note { margin-top:32px; padding:18px 28px; background:rgba(0,229,255,0.05); border:1px solid rgba(0,229,255,0.15); border-radius:12px; display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; text-align:center; }
.livraison-note span { color:rgba(216,238,245,0.9); font-size:0.88rem; }
.livraison-note a { color:var(--ice); font-weight:700; }

/* ZONES */
.zones-grid { display:grid; grid-template-columns:1fr 1.6fr; gap:40px; align-items:start; }
.zones-map { height:480px; border-radius:16px; overflow:hidden; border:1px solid rgba(0,229,255,0.12); }
.zones-dept { margin-bottom:28px; }
.zones-dept__title { font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--ice); margin-bottom:16px; font-weight:600; }
.chips-wrap { display:flex; flex-wrap:wrap; gap:8px; }
.city-chip { background:rgba(0,229,255,0.07); border:1px solid rgba(0,229,255,0.18); color:rgba(216,238,245,0.9); font-size:0.78rem; padding:5px 12px; border-radius:999px; cursor:pointer; transition:all 0.2s; white-space:nowrap; }
.city-chip:hover, .city-chip.active { background:rgba(0,229,255,0.18); border-color:var(--ice); color:var(--ice); }

/* CTA BIG NUMBER */
.cta-num-bg { font-family:'Bebas Neue',sans-serif; font-size:14rem; line-height:1; color:rgba(0,229,255,0.04); position:absolute; right:5%; top:50%; transform:translateY(-50%); pointer-events:none; user-select:none; }

/* SEO SECTION */
.seo-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.seo-grid p { color:rgba(216,238,245,0.85); font-size:0.9rem; line-height:1.85; }
.seo-grid strong { color:#fff; }
.seo-keywords { margin-top:40px; padding:24px; background:var(--surface); border-radius:12px; border:1px solid rgba(255,255,255,0.05); }
.seo-keywords .tag-cloud span { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.15); color:#fff; font-size:0.78rem; padding:5px 14px; border-radius:999px; display:inline-block; margin:4px; }

/* FAQ */
.faq-item { background:var(--surface); border:1px solid rgba(255,255,255,0.06); border-radius:12px; overflow:hidden; margin-bottom:12px; transition:border-color 0.2s; }
.faq-item.open { border-color:rgba(0,229,255,0.2); }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:22px 24px; display:flex; justify-content:space-between; align-items:center; color:#fff; font-size:0.98rem; font-weight:600; font-family:'DM Sans',sans-serif; gap:16px; }
.faq-q i { color:var(--ice); font-size:0.8rem; transition:transform 0.3s; flex-shrink:0; }
.faq-item.open .faq-q i { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s; padding:0 24px; color:var(--muted); font-size:0.88rem; line-height:1.75; }
.faq-item.open .faq-a { max-height:300px; padding:0 24px 22px; }

/* LEAFLET POPUP */
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background:transparent !important; box-shadow:none !important; border:none !important; }
.leaflet-popup-content { margin:0 !important; }
.leaflet-container { background:#0a1520 !important; }

/* RESPONSIVE FRONT-PAGE */
@media (max-width:1100px) { .prod-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:900px) {
  .how-grid { grid-template-columns:1fr; }
  .zones-grid { grid-template-columns:1fr; }
  .zones-map { height:320px; }
  .seo-grid { grid-template-columns:1fr; }
  .hero-buttons { flex-direction:column; align-items:center; width:100%; }
  .hero-buttons a { width:100%; max-width:360px; justify-content:center; }
  .stat-bar { flex-direction:column; gap:20px; }
  .stat-sep { width:60px; height:1px; }
}
@media (max-width:580px) {
  .prod-grid { grid-template-columns:1fr; }
  .cta-num-bg { display:none; }
  .hero { min-height:100svh; }
}

/* =====================================================
   PAGES INTERNES — page.php / mentions / contact
   ===================================================== */

/* Hero page */
.page-hero {
  position: relative;
  min-height: 360px;
  background: linear-gradient(135deg, var(--dark) 0%, #061520 40%, #001828 100%);
  display: flex; align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.08) 0%, transparent 60%);
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,0.06) 0%, transparent 60%);
}
.page-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff; line-height: 1;
}

/* Contenu page générique */
.page-content { max-width: 800px; margin: 0 auto; }

/* Contenu légal */
.legal-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: #fff;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: rgba(216,238,245,0.85); font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; }
.legal-content a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { color: rgba(216,238,245,0.85); font-size: 0.95rem; line-height: 1.85; margin-bottom: 8px; }

/* Contact */
.contact-item {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 32px;
}
.contact-item__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ice); font-size: 1.1rem;
}
.contact-item strong { display: block; color: #fff; font-weight: 700; margin-bottom: 6px; }
.contact-item p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px;
}

/* Responsive pages */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* =====================================================
   PAGE INTERNE — page.php
   ===================================================== */

/* Hero */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero__img-overlay {
  position: absolute; inset: 0;
  background: rgba(6,10,15,0.65);
}
.page-hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,20,40,0.9) 0%,
    rgba(0,30,50,0.7) 50%,
    rgba(6,10,15,0.5) 100%
  );
}
.page-hero__content {
  position: relative; z-index: 2;
  padding-top: 140px;
  padding-bottom: 72px;
}
.page-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0;
  max-width: 760px;
}
.page-hero__sub {
  color: rgba(216,238,245,0.75);
  font-size: 1rem;
  max-width: 520px;
  margin-top: 16px;
  line-height: 1.7;
}

/* Layout principal */
.page-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  padding: 56px 0 96px;
}
.page-main-col { min-width: 0; }
.page-side-col  { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 36px; flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 16px;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ice); }
.breadcrumb__sep { color: rgba(255,255,255,0.2); }
.breadcrumb__current { color: #fff; font-weight: 500; }

/* Contenu de page */
.page-content { color: rgba(216,238,245,0.9); font-size: 0.97rem; line-height: 1.85; }
.page-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem; color: #fff;
  margin: 44px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}
.page-content h3 { font-size: 1.15rem; color: var(--ice); font-weight: 700; margin: 28px 0 12px; }
.page-content h2:first-child, .page-content h3:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; }
.page-content a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
.page-content strong { color: #fff; font-weight: 700; }
.page-content ul, .page-content ol { padding-left: 22px; margin-bottom: 16px; }
.page-content li { margin-bottom: 8px; }
.page-content img { border-radius: 12px; margin: 24px 0; width: 100%; }
.page-content blockquote {
  border-left: 3px solid var(--ice);
  padding: 16px 24px;
  background: rgba(0,229,255,0.05);
  border-radius: 0 8px 8px 0;
  margin: 24px 0; font-style: italic;
}
.page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.page-content th { background: rgba(0,229,255,0.1); color: var(--ice); padding: 10px 14px; text-align: left; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.page-content td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }

/* CTA bas de page */
.page-cta-block {
  display: flex; gap: 20px; align-items: center;
  margin-top: 52px;
  background: linear-gradient(135deg, #061520 0%, #001828 100%);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 14px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.page-cta-block__icon { font-size: 2rem; flex-shrink: 0; }
.page-cta-block__text { flex: 1; min-width: 180px; }
.page-cta-block__text strong { display: block; color: #fff; font-weight: 700; margin-bottom: 4px; }
.page-cta-block__text span { color: var(--muted); font-size: 0.85rem; }
.page-cta-block__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sidebar boxes */
.pside-box {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
}
.pside-box--cta {
  background: linear-gradient(135deg, #061520 0%, #001828 100%);
  border-color: rgba(0,229,255,0.2);
  text-align: center;
}
.pside-box__icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.pside-box__title { display: block; color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.pside-box__sub { color: var(--muted); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.pside-box__heading {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ice);
  font-weight: 600; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}

/* Horaires */
.pside-hours { display: flex; flex-direction: column; gap: 0; }
.pside-hours__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.84rem; color: rgba(216,238,245,0.75);
}
.pside-hours__val { color: var(--ice); font-weight: 700; }
.pside-live {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 0.78rem; color: #3dffa0;
}
.pside-live__dot {
  width: 7px; height: 7px; background: #3dffa0;
  border-radius: 50%; box-shadow: 0 0 6px #3dffa0;
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Produits sidebar */
.pside-products { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.pside-products li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.pside-products li:last-child { border-bottom: none; }
.pside-products a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; color: rgba(216,238,245,0.8);
  font-size: 0.85rem; text-decoration: none;
  transition: color 0.2s;
}
.pside-products a:hover { color: var(--ice); }
.pside-products i { color: var(--ice); font-size: 0.8rem; width: 16px; text-align: center; }
.pside-products span { flex: 1; }
.pside-products strong { color: var(--ice); font-size: 0.78rem; white-space: nowrap; }

/* Articles sidebar */
.pside-articles { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pside-article {
  display: flex; gap: 12px; align-items: center;
  text-decoration: none; color: rgba(216,238,245,0.8);
  font-size: 0.84rem; line-height: 1.45;
}
.pside-article:hover { color: var(--ice); }
.pside-article__img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.pside-article__placeholder { width: 52px; height: 52px; background: rgba(0,229,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; gap: 40px; }
  .page-side-col { position: static; }
  .page-cta-block { flex-direction: column; text-align: center; }
  .page-cta-block__btns { justify-content: center; }
}
