/* genere au build */
:root {
    --color-border: #D9D7D2;
    --color-text-muted: #767470;
    --radius-card: 6px;
    --shadow-card: 0 2px 8px rgba(0,0,0,.08);
    --font-heading: Baloo 2;
    --font-body: Nunito Sans;
    --color-sur-secondary: #FFFDF8;
    --color-sur-primary: #2D2A26;
    --focus-ring: #2D2A26;
    --color-primary: #E8862A;
    --color-secondary: #2A7DE8;
    --color-bg: #FFFDF8;
    --color-text: #2D2A26;
    --color-surface: #FFF7E4;
    --color-surface-alt: #F2F0EB;
}

:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}
@supports not selector(:focus-visible) {
    :focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
}

/* ==========================================================================
   Tampon z'Enfants — tamponzenfants.fr
   Prefix: tze__
   Palette: orange #E8862A / bleu #2A7DE8 / creme #FFFDF8
   Fonts: Baloo 2 (heading) + Nunito Sans (body)
   Aesthetic: chaleureux, enfantin sans etre infantile, guides d'achat
   ========================================================================== */

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Variables --- */
:root {
  --tze-primary: #E8862A;
  --tze-primary-dark: #C96E1A;
  --tze-secondary: #2A7DE8;
  --tze-bg: #FFFDF8;
  --tze-text: #2D2A26;
  --tze-text-light: #6B6560;
  --tze-border: #E8E2DA;
  --tze-card-bg: #FFFFFF;
  --tze-font-heading: 'Baloo 2', cursive;
  --tze-font-body: 'Nunito Sans', sans-serif;
  --tze-radius: 10px;
  --tze-max-width: 860px;
}

/* --- Body --- */
body {
  font-family: var(--tze-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tze-text);
  background: var(--tze-bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Links --- */
a {
  color: var(--tze-primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--tze-primary-dark);
}

/* --- Container --- */
.tze__container {
  max-width: var(--tze-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Page wrapper --- */
.tze__page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Topbar --- */
.tze__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--tze-max-width);
  margin: 0 auto;
  padding: 16px 20px;
}

.tze__brand {
  font-family: var(--tze-font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tze-primary);
}

.tze__brand:hover {
  color: var(--tze-primary-dark);
}

.tze__menu {
  list-style: none;
  display: flex;
  gap: 24px;
}

.tze__menu a {
  color: var(--tze-text);
  font-size: .9rem;
  font-weight: 600;
}

.tze__menu a:hover {
  color: var(--tze-primary);
}

/* --- Banner (hero) --- */
.tze__banner {
  background: var(--tze-primary);
  padding: 48px 0;
  text-align: center;
}

.tze__banner-heading {
  font-family: var(--tze-font-heading);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 8px;
}

.tze__banner-text {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

/* --- Section titles --- */
.tze__section-title {
  font-family: var(--tze-font-heading);
  font-size: 1.5rem;
  color: var(--tze-text);
  margin-bottom: 24px;
}

/* --- Highlights (top picks) --- */
.tze__highlights {
  padding: 48px 0 32px;
}

.tze__highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Categories mosaic --- */
.tze__categories {
  padding: 32px 0;
}

.tze__categories-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --- Latest articles feed --- */
.tze__latest {
  padding: 32px 0 48px;
}

/* --- Content area --- */
.tze__content {
  flex: 1;
  padding: 40px 0;
}

/* --- Article / Post --- */
.tze__post-header {
  margin-bottom: 28px;
}

.tze__post-title {
  font-family: var(--tze-font-heading);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--tze-text);
  margin-bottom: 8px;
}

.tze__post-meta {
  color: var(--tze-text-light);
  font-size: .85rem;
}

.tze__post-visual {
  margin: 0 0 28px;
}

.tze__post-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--tze-radius);
}

.tze__post-body {
  line-height: 1.8;
}

.tze__post-body h2 {
  font-family: var(--tze-font-heading);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--tze-text);
}

.tze__post-body h3 {
  font-family: var(--tze-font-heading);
  font-size: 1.15rem;
  margin: 24px 0 8px;
  color: var(--tze-text);
}

.tze__post-body p {
  margin-bottom: 16px;
}

.tze__post-body ul, .tze__post-body ol {
  margin: 0 0 16px 24px;
}

.tze__post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tze-radius);
}

/* --- Callouts --- */
.tze__tip {
  background: #FFF4E6;
  border-left: 4px solid var(--tze-primary);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--tze-radius) var(--tze-radius) 0;
}

.tze__warning {
  background: #FDE8E8;
  border-left: 4px solid #D63031;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 var(--tze-radius) var(--tze-radius) 0;
}

/* --- TOC --- */
.tze__toc {
  background: var(--tze-card-bg);
  border: 1px solid var(--tze-border);
  border-radius: var(--tze-radius);
  padding: 20px 24px;
  margin: 0 0 28px;
}

.tze__toc h2 {
  font-family: var(--tze-font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tze__toc ol {
  margin: 0 0 0 20px;
}

.tze__toc li {
  margin-bottom: 4px;
}

/* --- FAQ --- */
.tze__faq {
  margin: 28px 0;
}

.tze__faq details {
  border-bottom: 1px solid var(--tze-border);
  padding: 12px 0;
}

.tze__faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.tze__faq summary::before {
  content: '+ ';
  color: var(--tze-primary);
  font-weight: 700;
}

.tze__faq details[open] summary::before {
  content: '- ';
}

.tze__faq details p {
  margin: 8px 0 0 16px;
  color: var(--tze-text-light);
}

/* --- Sources (E-E-A-T) --- */
.tze__post-sources {
  margin: 32px 0;
  padding: 20px;
  background: #F5F3EF;
  border-radius: var(--tze-radius);
  font-size: .85rem;
  color: var(--tze-text-light);
}

.tze__post-sources h3 {
  font-family: var(--tze-font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--tze-text);
}

/* --- Tags --- */
.tze__post-tags {
  margin: 20px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tze__post-tags a {
  background: var(--tze-border);
  color: var(--tze-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
}

.tze__post-tags a:hover {
  background: var(--tze-primary);
  color: #fff;
}

/* --- Related articles --- */
.tze__related {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--tze-border);
}

.tze__related h2 {
  font-family: var(--tze-font-heading);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* --- Product page --- */
.tze__product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.tze__product-gallery img {
  width: 100%;
  height: auto;
  border-radius: var(--tze-radius);
}

.tze__product-name {
  font-family: var(--tze-font-heading);
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: 12px;
}

.tze__product-rating {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.tze__score {
  background: var(--tze-primary);
  color: #fff;
  font-family: var(--tze-font-heading);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tze__score-label {
  color: var(--tze-text-light);
  font-size: .9rem;
}

.tze__product-price {
  font-family: var(--tze-font-heading);
  font-size: 1.3rem;
  color: var(--tze-text);
  margin-bottom: 16px;
}

.tze__product-cta a,
.tze__cta-affiliate {
  display: inline-block;
  background: var(--tze-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--tze-radius);
  font-weight: 700;
  font-size: .95rem;
  transition: background .2s ease;
}

.tze__product-cta a:hover,
.tze__cta-affiliate:hover {
  background: var(--tze-primary-dark);
  color: #fff;
}

.tze__product-specs {
  margin-bottom: 28px;
}

.tze__product-specs table {
  width: 100%;
  border-collapse: collapse;
}

.tze__product-specs th,
.tze__product-specs td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--tze-border);
  font-size: .9rem;
}

.tze__product-specs th {
  color: var(--tze-text-light);
  font-weight: 600;
  width: 35%;
}

.tze__product-review h2 {
  font-family: var(--tze-font-heading);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.tze__product-verdict {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.tze__pros, .tze__cons {
  padding: 20px;
  border-radius: var(--tze-radius);
}

.tze__pros {
  background: #E8F5E9;
}

.tze__cons {
  background: #FFEBEE;
}

.tze__pros h3, .tze__cons h3 {
  font-family: var(--tze-font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}

.tze__pros li::before {
  content: '\2713 ';
  color: #2E7D32;
  font-weight: 700;
}

.tze__cons li::before {
  content: '\2717 ';
  color: #C62828;
  font-weight: 700;
}

.tze__pros ul, .tze__cons ul {
  list-style: none;
}

.tze__pros li, .tze__cons li {
  margin-bottom: 6px;
  font-size: .9rem;
}

/* --- Shop page --- */
.tze__shop-heading {
  font-family: var(--tze-font-heading);
  font-size: 2rem;
  margin-bottom: 8px;
}

.tze__shop-intro {
  color: var(--tze-text-light);
  margin-bottom: 28px;
  max-width: 600px;
}

.tze__shop-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.tze__shop-nav a {
  display: block;
  padding: 16px;
  background: var(--tze-card-bg);
  border: 1px solid var(--tze-border);
  border-radius: var(--tze-radius);
  text-align: center;
  font-weight: 600;
  color: var(--tze-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tze__shop-nav a:hover {
  border-color: var(--tze-primary);
  box-shadow: 0 2px 8px rgba(232,134,42,.15);
}

/* --- About page --- */
.tze__about-title {
  font-family: var(--tze-font-heading);
  font-size: 2rem;
  margin-bottom: 24px;
}

.tze__about-story p {
  margin-bottom: 16px;
}

.tze__about-method {
  margin: 28px 0;
}

.tze__about-method h2 {
  font-family: var(--tze-font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tze__about-method li {
  margin-bottom: 8px;
  padding-left: 8px;
}

.tze__about-note {
  margin: 28px 0;
  padding: 20px;
  background: #FFF4E6;
  border-radius: var(--tze-radius);
}

/* --- Footer --- */
.tze__bottom {
  margin-top: auto;
  padding: 32px 0;
  border-top: 2px solid var(--tze-border);
  text-align: center;
  font-size: .85rem;
  color: var(--tze-text-light);
}

.tze__bottom-bio {
  margin-top: 8px;
}

.tze__bottom-aff {
  margin-top: 8px;
  font-size: .75rem;
  font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .tze__topbar {
    flex-direction: column;
    gap: 8px;
  }

  .tze__banner-heading {
    font-size: 1.6rem;
  }

  .tze__highlights-row {
    grid-template-columns: 1fr;
  }

  .tze__categories-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .tze__product-top {
    grid-template-columns: 1fr;
  }

  .tze__product-verdict {
    grid-template-columns: 1fr;
  }

  .tze__shop-nav {
    grid-template-columns: 1fr 1fr;
  }

  .tze__post-title {
    font-size: 1.5rem;
  }
}
