/*
Theme Name: Plantonic
Theme URI: https://plantonic.org
Description: Thème personnalisé Plantonic - Électroculture. Direction Artistique basée sur le logo Plantonic.
Author: Plantonic
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: plantonic
*/

/* ============================================
   PLANTONIC DA - DESIGN TOKENS
   ============================================ */
:root {
  --pt-green-900: #1B5E20;
  --pt-green-800: #2E7D32;
  --pt-green-700: #388E3C;
  --pt-green-600: #43A047;
  --pt-green-500: #4CAF50;
  --pt-green-400: #66BB6A;
  --pt-green-300: #81C784;
  --pt-green-200: #A5D6A7;
  --pt-green-100: #C8E6C9;
  --pt-green-50:  #E8F5E9;

  --pt-earth-900: #3E2723;
  --pt-earth-800: #4E342E;
  --pt-earth-700: #5D4037;
  --pt-earth-600: #6D4C41;
  --pt-earth-500: #795548;
  --pt-earth-400: #8D6E63;
  --pt-earth-300: #A1887F;
  --pt-earth-200: #BCAAA4;
  --pt-earth-100: #D7CCC8;

  --pt-orange: #E65100;
  --pt-red: #C62828;
  --pt-gold: #F9A825;

  --pt-white: #FFFFFF;
  --pt-cream: #FAFAF5;
  --pt-gray-100: #F5F5F0;
  --pt-gray-200: #E8E8E0;
  --pt-gray-400: #78716C;
  --pt-gray-500: #9E9E9E;
  --pt-gray-600: #4B5563;
  --pt-gray-800: #424242;
  --pt-text: #2D2D2D;

  --pt-font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --pt-font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --pt-shadow-sm: 0 2px 8px rgba(27,94,32,0.08);
  --pt-shadow-md: 0 4px 20px rgba(27,94,32,0.12);
  --pt-shadow-lg: 0 8px 40px rgba(27,94,32,0.16);
  --pt-radius-sm: 8px;
  --pt-radius-md: 16px;
  --pt-radius-lg: 24px;
  --pt-radius-xl: 32px;

  --pt-nav-height: 70px;
}

html {
  scroll-padding-top: var(--pt-nav-height);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--pt-font);
  color: var(--pt-text);
  background: var(--pt-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pt-green-800);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--pt-green-600);
}

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

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.pt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pt-green-100);
  transition: box-shadow 0.3s ease, background 0.3s ease, top 0.3s ease;
}

.pt-header.scrolled {
  box-shadow: 0 2px 20px rgba(27,94,32,0.1);
  background: rgba(255,255,255,0.99);
}

.pt-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pt-nav-height);
  padding: 0 24px;
}

/* Logo */
.pt-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pt-logo-img {
  height: 69px;
  width: auto;
  display: block;
  transition: opacity 0.15s ease;
}

.pt-logo:hover .pt-logo-img {
  opacity: 0.85;
}

/* Legacy icon logo (unused, kept for reference) */
.pt-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(46,125,50,0.25);
}

.pt-logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--pt-white);
}

.pt-logo-text {
  font-family: var(--pt-font);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pt-logo-text .pt-logo-plan {
  color: var(--pt-green-900);
}

.pt-logo-text .pt-logo-tonic {
  color: var(--pt-green-500);
}

/* Nav */
.pt-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pt-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.pt-nav > ul > li {
  position: relative;
}

.pt-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-gray-800);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pt-nav > ul > li > a:hover,
.pt-nav > ul > li.current-menu-item > a,
.pt-nav > ul > li.current-menu-ancestor > a {
  color: var(--pt-green-800);
  background: var(--pt-green-50);
}

/* Dropdown arrow */
.pt-nav > ul > li.menu-item-has-children > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  transition: transform 0.2s ease;
}

.pt-nav > ul > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Dropdown menu */
.pt-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--pt-white);
  border: 1px solid var(--pt-green-100);
  border-radius: var(--pt-radius-md);
  box-shadow: var(--pt-shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.pt-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pt-nav .sub-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--pt-gray-800);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.12s ease;
}

.pt-nav .sub-menu li a:hover {
  background: var(--pt-green-50);
  color: var(--pt-green-800);
}

.pt-nav .sub-menu li.current-menu-item a {
  color: var(--pt-green-800);
  background: var(--pt-green-50);
  font-weight: 600;
}

/* CTA button in nav */
.pt-nav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-800));
  color: var(--pt-white) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(46,125,50,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pt-nav-cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-700));
}

/* Mobile burger */
.pt-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.pt-burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--pt-green-900);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.pt-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.pt-burger.active span:nth-child(2) {
  opacity: 0;
}

.pt-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.pt-mobile-overlay {
  display: none;
  position: fixed;
  top: var(--pt-nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pt-white);
  z-index: 999;
  overflow-y: auto;
  padding: 20px;
  animation: ptSlideDown 0.3s ease;
}

@keyframes ptSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pt-mobile-overlay.active {
  display: block;
}

.pt-mobile-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pt-mobile-overlay > ul > li {
  border-bottom: 1px solid var(--pt-gray-200);
}

.pt-mobile-overlay > ul > li > a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-green-900);
  text-decoration: none;
}

.pt-mobile-overlay .sub-menu {
  padding: 0 0 12px 16px;
}

.pt-mobile-overlay .sub-menu li a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--pt-gray-800);
  text-decoration: none;
}

.pt-mobile-overlay .sub-menu li a:hover {
  color: var(--pt-green-700);
}

/* Responsive */
@media (max-width: 960px) {
  .pt-nav {
    display: none;
  }
  .pt-burger {
    display: flex;
  }
  .pt-header {
    position: fixed !important;
    top: 0 !important;
    background: rgba(255,255,255,0.99);
  }
}

/* Body offset for fixed header */
body {
  padding-top: 0;
}

/* When WP admin bar is visible, offset the fixed header */
body.admin-bar .pt-header {
  top: 32px;
}

body.admin-bar {
  padding-top: 0;
}

body.admin-bar .pt-single-hero {
  margin-top: calc(var(--pt-nav-height) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .pt-header {
    top: 46px;
  }
  body.admin-bar {
    padding-top: 0;
  }
  body.admin-bar .pt-single-hero {
    margin-top: calc(var(--pt-nav-height) + 46px);
  }
}

/* Below 600px WP admin bar is not fixed, so header goes to top: 0 */
@media screen and (max-width: 600px) {
  body.admin-bar .pt-header {
    top: 0;
  }
  body.admin-bar {
    padding-top: 0;
  }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.pt-main {
  min-height: 60vh;
  padding-top: 0;
}

/* Remove gaps from article/entry-content wrappers */
.pt-main article,
.pt-main .entry-content {
  margin: 0;
  padding: 0;
}

/* Pages génériques (page.php) : espace + centrage */
.pt-generic-page {
  padding: var(--pt-nav-height) 0 0;
  text-align: center;
}

/* Annule le padding si la page commence par un hero (qui gère lui-même le décalage) */
.pt-generic-page:has(.pt-page-hero),
.pt-generic-page:has(.pt-product-hero) {
  padding-top: 0;
}

.pt-generic-page h1,
.pt-generic-page h2,
.pt-generic-page h3,
.pt-generic-page h4,
.pt-generic-page p {
  text-align: center !important;
}

.pt-generic-page h1,
.pt-generic-page h2 {
  margin-top: 56px !important;
}

/* Remove spacing between Gutenberg wp:html blocks but preserve .pt-hero negative margin */
.pt-main .entry-content > *:first-child {
  margin-top: 0;
}

.pt-main .entry-content > * + * {
  margin-top: 0;
}

.pt-main .entry-content .pt-hero {
  margin-top: 0 !important;
}

.pt-hero .pt-badge {
  margin-top: 130px !important;
}

/* ============================================
   NEWS SECTION (dynamic)
   ============================================ */
.pt-news {
  padding: 80px 20px;
  background: var(--pt-earth-900);
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.pt-news::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pt-news::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.pt-news .pt-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section title area */
.pt-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
  backdrop-filter: blur(4px);
}

.pt-news-badge svg {
  fill: #ffffff;
}

/* Grid: 1 featured top, 2 below */
.pt-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* ---- FEATURED CARD (first) ---- */
.pt-news-grid .pt-news-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: var(--pt-radius-lg);
  background: linear-gradient(135deg, var(--pt-green-800) 0%, var(--pt-green-900) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-img {
  aspect-ratio: auto;
  min-height: 340px;
  border-radius: var(--pt-radius-lg) 0 0 var(--pt-radius-lg);
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-body {
  padding: 40px 36px;
  justify-content: center;
  background: transparent;
}

.pt-news-grid .pt-news-card:first-child .pt-news-date {
  color: var(--pt-green-300);
  border-bottom-color: rgba(255,255,255,0.12);
  font-size: 13px;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-body h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--pt-white);
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-body h3 a {
  color: var(--pt-white);
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-body h3 a:hover {
  color: var(--pt-green-200);
}

.pt-news-grid .pt-news-card:first-child .pt-news-card-body p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.pt-news-grid .pt-news-card:first-child .pt-news-link {
  background: var(--pt-white);
  color: var(--pt-green-800);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pt-news-grid .pt-news-card:first-child .pt-news-link svg {
  fill: var(--pt-green-800);
}

.pt-news-grid .pt-news-card:first-child .pt-news-link:hover {
  background: var(--pt-gold);
  color: var(--pt-earth-900);
  box-shadow: 0 6px 24px rgba(249,168,37,0.3);
}

.pt-news-grid .pt-news-card:first-child .pt-news-link:hover svg {
  fill: var(--pt-earth-900);
}

.pt-news-grid .pt-news-card:first-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ---- SECONDARY CARDS ---- */
.pt-news-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--pt-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(4px);
}

.pt-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.1);
}

/* Card left accent bar */
.pt-news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--pt-green-400), var(--pt-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.pt-news-card:hover::before {
  opacity: 1;
}

/* Card image */
.pt-news-card-img {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.pt-news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30,30,30,0.3) 100%);
  pointer-events: none;
}

.pt-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pt-news-card:hover .pt-news-card-img img {
  transform: scale(1.08);
}

/* Card body */
.pt-news-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pt-news-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-green-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pt-news-card-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--pt-white);
  margin: 0 0 10px;
  line-height: 1.35;
}

.pt-news-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pt-news-card-body h3 a:hover {
  color: var(--pt-green-300);
}

.pt-news-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0 0 20px;
  flex: 1;
}

/* Read more button */
.pt-news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-earth-900);
  background: linear-gradient(135deg, var(--pt-green-400), var(--pt-green-300));
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(76,175,80,0.25);
}

.pt-news-link svg {
  fill: var(--pt-earth-900);
  transition: transform 0.2s ease;
}

.pt-news-link:hover {
  color: var(--pt-earth-900);
  background: linear-gradient(135deg, var(--pt-gold), #fbc02d);
  box-shadow: 0 6px 20px rgba(249,168,37,0.35);
  transform: translateX(3px);
}

.pt-news-link:hover svg {
  transform: translateX(3px);
}

/* See all button */
.pt-news-all {
  text-align: center;
  margin-top: 32px;
}

.pt-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--pt-white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.pt-btn-light svg {
  fill: var(--pt-white);
}

.pt-btn-light:hover {
  background: var(--pt-white);
  border-color: var(--pt-white);
  color: var(--pt-earth-900);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.pt-btn-light:hover svg {
  fill: var(--pt-earth-900);
}

/* Responsive */
@media (max-width: 768px) {
  .pt-news {
    padding: 50px 16px;
  }

  .pt-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pt-news-grid .pt-news-card:first-child {
    grid-column: 1;
    display: flex;
    flex-direction: column;
  }

  .pt-news-grid .pt-news-card:first-child .pt-news-card-img {
    aspect-ratio: 16/10;
    min-height: auto;
    border-radius: var(--pt-radius-md) var(--pt-radius-md) 0 0;
  }

  .pt-news-grid .pt-news-card:first-child .pt-news-card-body {
    padding: 24px;
  }

  .pt-news-grid .pt-news-card:first-child .pt-news-card-body h3 {
    font-size: 20px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.pt-footer {
  background: linear-gradient(180deg, var(--pt-earth-800) 0%, var(--pt-earth-900) 100%);
  color: rgba(255,255,255,0.85);
  position: relative;
}

.pt-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-500), var(--pt-gold), var(--pt-green-500));
}

.pt-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .pt-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 30px;
  }
}

.pt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pt-logo-img-footer {
  height: 64px;
  width: auto;
  filter: none;
  opacity: 1;
}

.pt-footer-brand .pt-logo:hover .pt-logo-img-footer {
  opacity: 1;
}

.pt-footer-brand .pt-logo-text {
  font-size: 22px;
}

.pt-footer-brand .pt-logo-plan {
  color: var(--pt-white);
}

.pt-footer-brand .pt-logo-tonic {
  color: var(--pt-green-400);
}

.pt-footer-brand p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.pt-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.pt-footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.pt-footer-social a:hover {
  background: var(--pt-green-700);
  border-color: var(--pt-green-700);
  transform: translateY(-2px);
}

.pt-footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--pt-white);
}

.pt-footer-col h4 {
  font-family: var(--pt-font);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-green-300);
  margin: 0 0 16px;
}

.pt-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.pt-footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pt-footer-col ul li a:hover {
  color: var(--pt-white);
}

.pt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}

.pt-footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.pt-footer-bottom a {
  color: var(--pt-green-400);
  text-decoration: none;
}

.pt-footer-bottom a:hover {
  color: var(--pt-green-300);
}

/* ============================================
   PRODUCT PAGES - SHARED STYLES (PREMIUM)
   ============================================ */

/* --- Hero for product catalog page --- */
.pt-product-hero {
  position: relative;
  background: linear-gradient(175deg, var(--pt-green-900) 0%, var(--pt-green-800) 50%, var(--pt-earth-900) 100%);
  margin-top: -90px;
  padding: 0 20px 80px;
  text-align: center;
  overflow: hidden;
}

.pt-product-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,175,80,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249,168,37,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-hero .pt-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pt-product-hero .pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 90px;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.pt-product-hero .pt-badge svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.pt-product-hero h1 {
  font-family: var(--pt-font);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: var(--pt-white);
  line-height: 1.1;
  margin: 0 0 28px;
  letter-spacing: -0.03em;
}

.pt-product-hero h1 span {
  background: linear-gradient(135deg, var(--pt-green-300), var(--pt-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pt-product-hero .pt-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #ffffff;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 0;
}

/* --- Products Catalog Grid --- */
.pt-catalog {
  background: var(--pt-cream);
  padding: 90px 20px;
  position: relative;
}

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

.pt-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

@media (max-width: 768px) {
  .pt-catalog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.pt-catalog-card {
  background: var(--pt-white);
  border: 1px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pt-catalog-card:hover {
  box-shadow: 0 20px 60px rgba(27,94,32,0.18);
  transform: translateY(-8px);
  border-color: var(--pt-green-200);
}

.pt-catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-400), var(--pt-gold), var(--pt-green-400));
  z-index: 2;
}

.pt-catalog-card-img {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pt-green-50);
  position: relative;
}

.pt-catalog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,94,32,0.06) 100%);
  pointer-events: none;
}

.pt-catalog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pt-catalog-card:hover .pt-catalog-card-img img {
  transform: scale(1.08);
}

.pt-catalog-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pt-catalog-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--pt-green-50), var(--pt-green-100));
  color: var(--pt-green-800);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  align-self: flex-start;
  border: 1px solid var(--pt-green-200);
}

.pt-catalog-card-body h3 {
  font-family: var(--pt-font);
  font-size: 24px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.pt-catalog-card-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--pt-gray-800);
  margin: 0 0 24px;
  flex: 1;
}

.pt-catalog-card-specs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pt-catalog-card-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pt-green-800);
  background: var(--pt-green-50);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--pt-green-100);
  transition: background 0.2s ease;
}

.pt-catalog-card:hover .pt-catalog-card-spec {
  background: var(--pt-green-100);
}

.pt-catalog-card-spec svg {
  width: 14px;
  height: 14px;
  fill: var(--pt-green-600);
  flex-shrink: 0;
}

.pt-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-800));
  color: var(--pt-white) !important;
  padding: 13px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(46,125,50,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  align-self: flex-start;
}

.pt-btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.4);
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-700));
  color: var(--pt-white) !important;
}

.pt-btn-green svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.pt-btn-green:hover svg {
  transform: translateX(3px);
}

/* --- Product Detail Page Hero --- */
.pt-product-detail-hero {
  position: relative;
  background: linear-gradient(175deg, var(--pt-green-900) 0%, var(--pt-green-800) 60%, var(--pt-earth-900) 100%);
  margin-top: -90px;
  padding: 0 20px 0;
  overflow: hidden;
}

.pt-product-detail-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-detail-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249,168,37,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-detail-hero .pt-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .pt-product-detail-hero .pt-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    padding-top: 110px;
    padding-bottom: 50px;
  }
}

.pt-product-detail-img {
  text-align: center;
  position: relative;
}

.pt-product-detail-img::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(76,175,80,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-detail-img img {
  display: block;
  max-width: 100%;
  max-height: 450px;
  margin: 0 auto;
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 4px solid rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pt-product-detail-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.pt-product-detail-info .pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.pt-product-detail-info .pt-badge svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.pt-product-detail-info h1 {
  font-family: var(--pt-font);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--pt-white);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.pt-product-detail-info h1 span {
  background: linear-gradient(135deg, var(--pt-green-300), var(--pt-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pt-product-detail-info .pt-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--pt-white);
  margin: 0 0 20px;
}

.pt-product-detail-info .pt-price small {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

.pt-product-detail-info .pt-desc {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin: 0 0 32px;
}

/* Product detail hero key specs */
.pt-product-detail-info .pt-hero-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .pt-product-detail-info .pt-hero-specs {
    justify-content: center;
  }
}

.pt-hero-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 18px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

.pt-hero-spec svg {
  width: 18px;
  height: 18px;
  fill: var(--pt-green-400);
  flex-shrink: 0;
}

.pt-hero-spec span {
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-white);
}

.pt-product-detail-info .pt-btn-green {
  align-self: auto;
  padding: 14px 36px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--pt-green-500), var(--pt-green-700));
  box-shadow: 0 6px 20px rgba(76,175,80,0.4);
}

.pt-product-detail-info .pt-btn-green:hover {
  box-shadow: 0 10px 30px rgba(76,175,80,0.5);
}

@media (max-width: 768px) {
  .pt-product-detail-info .pt-btn-green {
    align-self: center;
  }
}

/* --- Product Specs Section --- */
.pt-product-specs {
  background: var(--pt-white);
  padding: 90px 20px;
  position: relative;
}

.pt-product-specs .pt-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pt-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .pt-specs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pt-spec-card {
  background: var(--pt-white);
  border: 1px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pt-spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-400), var(--pt-green-700));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pt-spec-card:hover {
  box-shadow: 0 12px 40px rgba(27,94,32,0.14);
  transform: translateY(-6px);
  border-color: var(--pt-green-200);
}

.pt-spec-card:hover::before {
  opacity: 1;
}

.pt-spec-card .pt-spec-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
  transition: transform 0.3s ease;
}

.pt-spec-card:hover .pt-spec-icon {
  transform: scale(1.08);
}

.pt-spec-card .pt-spec-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--pt-white);
}

.pt-spec-card h3 {
  font-family: var(--pt-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-gray-500);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pt-spec-card .pt-spec-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--pt-green-800);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.pt-spec-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--pt-gray-800);
  margin: 0;
}

/* --- Product Description Section --- */
.pt-product-description {
  background: linear-gradient(180deg, var(--pt-green-900) 0%, var(--pt-earth-900) 100%);
  color: var(--pt-white);
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}

.pt-product-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-400), var(--pt-gold), var(--pt-green-400));
}

.pt-product-description::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pt-product-description .pt-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pt-product-description h2 {
  font-family: var(--pt-font);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--pt-white);
  margin: 0 0 32px;
  text-align: center;
  letter-spacing: -0.02em;
}

.pt-product-description p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
}

.pt-product-description .pt-highlight-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--pt-gold);
  border-radius: 0 var(--pt-radius-md) var(--pt-radius-md) 0;
  padding: 24px 28px;
  margin: 32px 0;
  backdrop-filter: blur(4px);
}

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

.pt-product-description ul {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .pt-product-description ul {
    grid-template-columns: 1fr;
  }
}

.pt-product-description ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--pt-radius-sm);
  padding: 14px 16px 14px 44px;
}

.pt-product-description ul li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--pt-green-400), var(--pt-green-300));
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(76,175,80,0.3);
}

.pt-product-description ul li::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--pt-green-900);
  border-bottom: 2px solid var(--pt-green-900);
  transform: translateY(-55%) rotate(-45deg);
}

/* --- Product Image Section --- */
.pt-product-image-section {
  background: var(--pt-cream);
  padding: 90px 20px;
  position: relative;
}

.pt-product-image-section .pt-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pt-product-image-section img {
  max-width: 100%;
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 16px 50px rgba(0,0,0,0.12);
  border: 4px solid var(--pt-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pt-product-image-section img:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
}

.pt-product-image-section .pt-caption {
  font-size: 14px;
  color: var(--pt-gray-500);
  margin-top: 20px;
  font-style: italic;
}

/* --- Product CTA Section --- */
.pt-product-cta {
  background: linear-gradient(135deg, var(--pt-green-800) 0%, var(--pt-green-900) 50%, var(--pt-earth-900) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pt-product-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-cta::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249,168,37,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-product-cta .pt-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pt-product-cta h2 {
  font-family: var(--pt-font);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--pt-white);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.pt-product-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  margin: 0 0 36px;
  line-height: 1.7;
}

.pt-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pt-white);
  color: var(--pt-green-900);
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 24px rgba(255,255,255,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pt-btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255,255,255,0.25);
  background: var(--pt-gold);
  color: var(--pt-earth-900);
}

.pt-btn-white svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: fill 0.2s ease;
}

.pt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--pt-white);
  border: 2px solid rgba(255,255,255,0.3);
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
  margin-left: 12px;
}

.pt-btn-outline:hover {
  background: var(--pt-white);
  border-color: var(--pt-white);
  color: var(--pt-green-900);
}

.pt-btn-outline svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Other Products Section --- */
.pt-other-products {
  background: var(--pt-cream);
  padding: 90px 20px;
  position: relative;
}

.pt-other-products .pt-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pt-other-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .pt-other-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pt-other-card {
  background: var(--pt-white);
  border: 1px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pt-other-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-400), var(--pt-green-700));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.pt-other-card:hover {
  box-shadow: 0 16px 48px rgba(27,94,32,0.16);
  transform: translateY(-8px);
  border-color: var(--pt-green-200);
  color: inherit;
}

.pt-other-card:hover::before {
  opacity: 1;
}

.pt-other-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pt-green-50);
  position: relative;
}

.pt-other-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%);
  pointer-events: none;
}

.pt-other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pt-other-card:hover .pt-other-card-img img {
  transform: scale(1.08);
}

.pt-other-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pt-other-card-body h3 {
  font-family: var(--pt-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0;
  transition: color 0.2s ease;
}

.pt-other-card:hover .pt-other-card-body h3 {
  color: var(--pt-green-700);
}

.pt-other-card-body p {
  font-size: 14px;
  color: var(--pt-gray-500);
  margin: 0;
  line-height: 1.5;
}

.pt-other-card-body .pt-other-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-green-700);
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.2s ease;
}

.pt-other-card-body .pt-other-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.pt-other-card:hover .pt-other-card-body .pt-other-link {
  color: var(--pt-green-600);
}

.pt-other-card:hover .pt-other-card-body .pt-other-link svg {
  transform: translateX(3px);
}

/* --- Product Benefits Grid --- */
.pt-product-benefits {
  background: var(--pt-white);
  padding: 90px 20px;
  position: relative;
}

.pt-product-benefits .pt-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pt-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 960px) {
  .pt-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pt-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.pt-benefit-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--pt-radius-lg);
  background: var(--pt-green-50);
  border: 1px solid var(--pt-green-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pt-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow-md);
}

.pt-benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(46,125,50,0.25);
}

.pt-benefit-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--pt-white);
}

.pt-benefit-card h4 {
  font-family: var(--pt-font);
  font-size: 16px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 8px;
}

.pt-benefit-card p {
  font-size: 14px;
  color: var(--pt-gray-800);
  line-height: 1.55;
  margin: 0;
}

/* --- Product Stats Bar --- */
.pt-product-stats {
  background: linear-gradient(135deg, var(--pt-earth-900) 0%, var(--pt-earth-800) 100%);
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

.pt-product-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pt-green-500), var(--pt-gold), var(--pt-green-500));
}

.pt-product-stats .pt-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .pt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.pt-stat-item {
  text-align: center;
  padding: 16px;
}

.pt-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--pt-green-400);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.pt-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Dividers (shared) --- */
.pt-earth-divider {
  height: 8px;
  background: linear-gradient(90deg,
    var(--pt-earth-700),
    var(--pt-earth-500),
    var(--pt-green-800),
    var(--pt-earth-500),
    var(--pt-earth-700)
  );
}

.pt-leaf-divider {
  height: 4px;
  background: linear-gradient(90deg,
    transparent,
    var(--pt-green-400),
    var(--pt-green-600),
    var(--pt-green-400),
    transparent
  );
}

/* --- Section title (shared) --- */
.pt-section-title {
  text-align: center;
  margin-bottom: 40px;
}

.pt-section-title .pt-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-green-600);
  margin-bottom: 12px;
}

.pt-section-title .pt-overline::before,
.pt-section-title .pt-overline::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--pt-green-300);
  border-radius: 1px;
}

.pt-section-title h2 {
  font-family: var(--pt-font);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 12px;
}

.pt-section-title p {
  font-size: 17px;
  color: var(--pt-gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Dark variant section title */
.pt-section-title-dark .pt-overline {
  color: var(--pt-green-300);
}

.pt-section-title-dark .pt-overline::before,
.pt-section-title-dark .pt-overline::after {
  background: var(--pt-green-500);
}

.pt-section-title-dark h2 {
  color: var(--pt-white);
}

.pt-section-title-dark p {
  color: rgba(255,255,255,0.7);
}

/* --- Grille Tarifaire Section --- */
.pt-tarif-section {
  background: linear-gradient(175deg, var(--pt-green-900) 0%, var(--pt-earth-900) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pt-tarif-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249,168,37,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-tarif-section .pt-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pt-tarif-section .pt-tarif-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.pt-tarif-section .pt-tarif-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--pt-gold);
}

.pt-tarif-section h2 {
  font-family: var(--pt-font);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--pt-white);
  margin: 0 0 16px;
}

.pt-tarif-section h2 span {
  background: linear-gradient(135deg, var(--pt-green-300), var(--pt-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pt-tarif-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 36px;
}

.pt-tarif-section .pt-btn-tarif {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-green-900);
  background: linear-gradient(135deg, var(--pt-gold), #fdd835);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(249,168,37,0.4);
  transition: all 0.3s ease;
}

.pt-tarif-section .pt-btn-tarif:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(249,168,37,0.5);
}

.pt-tarif-section .pt-btn-tarif svg {
  width: 18px;
  height: 18px;
  fill: var(--pt-green-900);
}

/* ============================================
   GENERIC PAGE STYLES (Research, Books, FAQ, etc.)
   ============================================ */

/* --- Page Hero (reusable dark hero) --- */
.pt-page-hero {
  position: relative;
  background: linear-gradient(175deg, var(--pt-green-900) 0%, var(--pt-green-800) 50%, var(--pt-earth-900) 100%);
  margin-top: -90px;
  margin-bottom: 0;
  padding: 0 20px 70px;
  text-align: center;
  overflow: hidden;
}

.pt-page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249,168,37,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-page-hero .pt-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-top: 120px;
}

.pt-page-hero .pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(4px);
}

.pt-page-hero .pt-badge svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.pt-page-hero h1 {
  font-family: var(--pt-font);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  color: var(--pt-white);
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.pt-page-hero h1 span {
  background: linear-gradient(135deg, var(--pt-green-300), var(--pt-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pt-page-hero .pt-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #ffffff;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Content Section (light) --- */
.pt-content-section {
  background: var(--pt-white);
  padding: 80px 20px;
}

.pt-content-section.alt {
  background: var(--pt-cream);
}

.pt-content-section .pt-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pt-content-section h2 {
  font-family: var(--pt-font);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 24px;
  line-height: 1.2;
}

.pt-content-section h3 {
  font-family: var(--pt-font);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--pt-green-800);
  margin: 32px 0 16px;
}

.pt-content-section h4 {
  font-family: var(--pt-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--pt-earth-700);
  margin: 24px 0 12px;
}

.pt-content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pt-gray-800);
  margin: 0 0 20px;
}

.pt-content-section ul,
.pt-content-section ol {
  padding-left: 24px;
  margin: 0 0 24px;
}

.pt-content-section li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--pt-gray-800);
  margin-bottom: 8px;
}

.pt-content-section img {
  max-width: 100%;
  border-radius: var(--pt-radius-md);
  box-shadow: var(--pt-shadow-md);
  margin: 24px 0;
}

.pt-content-section .pt-highlight-box {
  background: var(--pt-green-50);
  border-left: 4px solid var(--pt-green-500);
  padding: 24px 28px;
  border-radius: 0 var(--pt-radius-md) var(--pt-radius-md) 0;
  margin: 28px 0;
}

.pt-content-section .pt-highlight-box p {
  margin: 0;
  color: var(--pt-green-900);
  font-weight: 500;
}

.pt-content-section .pt-img-caption {
  text-align: center;
  font-size: 14px;
  color: var(--pt-gray-500);
  font-style: italic;
  margin-top: -16px;
  margin-bottom: 24px;
}

.pt-content-section .pt-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.pt-content-section .pt-img-grid img {
  margin: 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* --- FAQ Section --- */
.pt-faq-section {
  background: var(--pt-cream);
  padding: 80px 20px;
}

.pt-faq-section .pt-inner {
  max-width: 850px;
  margin: 0 auto;
}

.pt-faq-item {
  background: var(--pt-white);
  border-radius: var(--pt-radius-md);
  margin-bottom: 12px;
  box-shadow: var(--pt-shadow-sm);
  overflow: hidden;
  border: 1px solid var(--pt-gray-200);
  transition: box-shadow 0.3s ease;
}

.pt-faq-item:hover {
  box-shadow: var(--pt-shadow-md);
}

.pt-faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-green-900);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.pt-faq-item summary::-webkit-details-marker {
  display: none;
}

.pt-faq-item summary::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--pt-green-50);
  color: var(--pt-green-600);
  font-size: 20px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.pt-faq-item[open] summary::before {
  content: '\2212';
  background: var(--pt-green-500);
  color: var(--pt-white);
}

.pt-faq-item summary:hover {
  background: var(--pt-gray-100);
}

.pt-faq-item .pt-faq-answer {
  padding: 0 24px 24px 72px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--pt-gray-800);
}

.pt-faq-item .pt-faq-answer p {
  margin: 0 0 12px;
}

.pt-faq-item .pt-faq-answer p:last-child {
  margin-bottom: 0;
}

/* --- Book Catalog Cards --- */
.pt-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pt-book-card {
  background: var(--pt-white);
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow-md);
  border: 1px solid var(--pt-gray-200);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pt-book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow-lg);
}

.pt-book-card-img {
  padding: 32px;
  background: var(--pt-cream);
  text-align: center;
}

.pt-book-card-img img {
  max-height: 300px;
  border-radius: var(--pt-radius-sm);
  box-shadow: 4px 4px 20px rgba(0,0,0,0.15);
}

.pt-book-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pt-book-card-body .pt-book-year {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-green-600);
  margin-bottom: 8px;
}

.pt-book-card-body h3 {
  font-family: var(--pt-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 12px;
  line-height: 1.3;
}

.pt-book-card-body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pt-gray-500);
  flex: 1;
  margin: 0 0 20px;
}

.pt-book-card-body .pt-book-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-green-600);
}

.pt-book-card-body .pt-book-link svg {
  width: 16px;
  height: 16px;
  fill: var(--pt-green-600);
  transition: transform 0.2s ease;
}

.pt-book-card:hover .pt-book-link svg {
  transform: translateX(4px);
}

/* --- Book Detail Hero --- */
.pt-book-hero {
  position: relative;
  background: linear-gradient(175deg, var(--pt-green-900) 0%, var(--pt-green-800) 60%, var(--pt-earth-900) 100%);
  margin-top: -90px;
  padding: 0 20px 0;
  overflow: hidden;
}

.pt-book-hero .pt-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .pt-book-hero .pt-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding-top: 110px;
  }
}

.pt-book-hero .pt-book-cover {
  text-align: center;
}

.pt-book-hero .pt-book-cover img {
  max-height: 420px;
  border-radius: var(--pt-radius-md);
  box-shadow: 8px 8px 40px rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.15);
}

.pt-book-hero .pt-book-info .pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.pt-book-hero .pt-book-info h1 {
  font-family: var(--pt-font);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--pt-white);
  line-height: 1.15;
  margin: 0 0 20px;
}

.pt-book-hero .pt-book-info h1 span {
  background: linear-gradient(135deg, var(--pt-green-300), var(--pt-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pt-book-hero .pt-book-info .pt-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
  margin: 0 0 28px;
}

.pt-book-hero .pt-book-info .pt-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--pt-gold);
  margin-bottom: 24px;
}

/* --- Chapter List --- */
.pt-chapter-list {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .pt-chapter-list {
    columns: 1;
  }
}

.pt-chapter-list li {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid var(--pt-gray-200);
  font-size: 15px;
  color: var(--pt-gray-800);
  line-height: 1.5;
}

.pt-chapter-section {
  font-weight: 800;
  color: var(--pt-green-800);
  font-size: 16px;
  margin-top: 20px;
  padding-top: 12px;
  border-bottom: 2px solid var(--pt-green-300);
}

/* --- Contact Page --- */
.pt-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.pt-contact-card {
  background: var(--pt-white);
  border-radius: var(--pt-radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--pt-shadow-md);
  border: 1px solid var(--pt-gray-200);
  transition: all 0.3s ease;
}

.pt-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow-lg);
}

.pt-contact-card .pt-contact-icon {
  width: 56px;
  height: 56px;
  background: var(--pt-green-50);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pt-contact-card .pt-contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--pt-green-600);
}

.pt-contact-card h3 {
  font-family: var(--pt-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--pt-green-900);
  margin: 0 0 8px;
}

.pt-contact-card p {
  font-size: 15px;
  color: var(--pt-gray-500);
  margin: 0 0 16px;
  line-height: 1.6;
}

.pt-contact-card a {
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-green-600);
  text-decoration: none;
}

/* --- Video Wrapper --- */
.pt-video-wrapper {
  position: relative;
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow-lg);
  margin: 32px 0;
}

.pt-video-wrapper video {
  width: 100%;
  display: block;
}

/* --- Research/Blog Card Grid --- */
.pt-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.pt-link-card {
  background: var(--pt-white);
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow-sm);
  border: 1px solid var(--pt-gray-200);
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.pt-link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pt-shadow-lg);
  border-color: var(--pt-green-300);
}

.pt-link-card .pt-link-card-top {
  height: 6px;
  background: linear-gradient(90deg, var(--pt-green-500), var(--pt-gold));
}

.pt-link-card .pt-link-card-body {
  padding: 28px;
}

.pt-link-card .pt-link-card-body h3 {
  font-family: var(--pt-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--pt-green-900);
  margin: 0 0 10px;
}

.pt-link-card .pt-link-card-body p {
  font-size: 15px;
  color: var(--pt-gray-500);
  line-height: 1.6;
  margin: 0 0 16px;
}

.pt-link-card .pt-link-card-body .pt-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-green-600);
}

.pt-link-card .pt-link-card-body .pt-card-link svg {
  width: 16px;
  height: 16px;
  fill: var(--pt-green-600);
  transition: transform 0.2s ease;
}

.pt-link-card:hover .pt-card-link svg {
  transform: translateX(4px);
}

/* --- Reviews Section --- */
.pt-reviews-section {
  background: var(--pt-cream);
  padding: 80px 20px;
}

.pt-reviews-section .pt-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* --- Download Button (PDF, studies) --- */
.pt-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pt-white);
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(27,94,32,0.3);
  transition: all 0.3s ease;
  margin: 8px 4px;
}

.pt-btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,94,32,0.4);
  color: var(--pt-white);
}

.pt-btn-download svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ============================================================
   ENHANCED GUTENBERG BLOCK STYLING v2
   Deep styling of WP blocks on pages with .pt-page-hero
   ============================================================ */

/* --- Hide duplicate H1 after hero --- */
.pt-page-hero + h1.wp-block-heading,
.pt-page-hero + .wp-block-heading:is(h1) {
  display: none;
}

/* --- Page body: subtle background + overflow --- */
.entry-content:has(.pt-page-hero) {
  overflow-x: hidden;
  background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 30%, #f9fafb 60%, #f0fdf4 100%);
  padding-bottom: 60px;
}

/* --- H2 Section Headings: dark pill with icon line --- */
.entry-content:has(.pt-page-hero) h2.wp-block-heading {
  font-family: var(--pt-font-heading);
  color: var(--pt-white);
  background: linear-gradient(135deg, var(--pt-green-900), var(--pt-green-800));
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 20px 40px;
  border-radius: 999px;
  max-width: 700px;
  margin: 3.5rem auto 2.5rem;
  box-shadow: 0 4px 20px rgba(0,50,0,0.2);
  position: relative;
}

.entry-content:has(.pt-page-hero) h2.wp-block-heading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -60px;
  right: -60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pt-green-300), transparent);
  z-index: -1;
}

/* --- H3/H4 Headings --- */
.entry-content:has(.pt-page-hero) h3.wp-block-heading,
.entry-content:has(.pt-page-hero) h3,
.entry-content h3.wp-block-heading,
.entry-content h3 {
  font-family: var(--pt-font-heading);
  color: var(--pt-green-800);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 22px);
  margin: 2.5rem 0 1rem;
  padding-left: 0 !important;
  border-left: none !important;
  text-align: center !important;
}

.entry-content:has(.pt-page-hero) h4.wp-block-heading {
  font-family: var(--pt-font-heading);
  color: var(--pt-green-700);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 18px);
  margin: 2rem 0 1rem;
  text-align: center !important;
}

/* --- Paragraphs: better typography + max-width --- */
.entry-content:has(.pt-page-hero) p {
  font-size: 1.06rem;
  line-height: 1.9;
  color: #334155;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* --- Hero subtitle stays white --- */
.entry-content:has(.pt-page-hero) .pt-page-hero .pt-subtitle {
  color: #ffffff;
  max-width: 700px;
  padding: 0;
}

/* Paragraphs inside columns don't need max-width */
.entry-content:has(.pt-page-hero) .wp-block-column p {
  max-width: none;
  padding: 0;
}

/* Bold text as sub-heading accent */
.entry-content:has(.pt-page-hero) p > strong:first-child {
  color: var(--pt-green-800);
  font-size: 1.15em;
}

/* --- Columns: card-like styling --- */
.entry-content:has(.pt-page-hero) > .wp-block-columns {
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 32px 28px;
  gap: 2.5rem;
  background: var(--pt-white);
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* Alternating columns get a light green bg */
.entry-content:has(.pt-page-hero) > .wp-block-columns:nth-of-type(even) {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid rgba(46,125,50,0.08);
}

/* Nested columns inside UAGB containers */
.entry-content:has(.pt-page-hero) .uagb-container-inner-blocks-wrap > .wp-block-columns,
.entry-content:has(.pt-page-hero) .wp-block-columns .wp-block-columns {
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* --- Images: polished frames --- */
.entry-content:has(.pt-page-hero) .wp-block-image img {
  border-radius: var(--pt-radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 3px solid rgba(255,255,255,0.8);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.entry-content:has(.pt-page-hero) .wp-block-image img:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.18);
}

.entry-content:has(.pt-page-hero) .wp-block-image figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--pt-gray-500);
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* --- Buttons: gradient pill style --- */
.entry-content:has(.pt-page-hero) .wp-block-button__link {
  background: linear-gradient(135deg, var(--pt-green-500), var(--pt-green-800)) !important;
  color: var(--pt-white) !important;
  border-radius: 999px !important;
  padding: 14px 36px !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none !important;
  box-shadow: 0 4px 16px rgba(27,94,32,0.3);
  transition: all 0.3s ease;
}

.entry-content:has(.pt-page-hero) .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27,94,32,0.45);
}

.entry-content:has(.pt-page-hero) .wp-block-buttons {
  margin: 2rem 0;
}

/* --- Lists: styled with green markers --- */
.entry-content:has(.pt-page-hero) ul.wp-block-list {
  max-width: 960px;
  margin: 1.5rem auto;
  padding: 24px 24px 24px 44px;
  background: var(--pt-white);
  border-radius: var(--pt-radius-md);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  list-style: none;
}

.entry-content:has(.pt-page-hero) ul.wp-block-list li {
  margin-bottom: 12px;
  line-height: 1.85;
  color: #334155;
  font-size: 1.02rem;
  position: relative;
  padding-left: 20px;
}

.entry-content:has(.pt-page-hero) ul.wp-block-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--pt-green-500), var(--pt-green-700));
  border-radius: 50%;
}

.entry-content:has(.pt-page-hero) ul.wp-block-list li strong {
  color: var(--pt-green-800);
}

/* Nested lists */
.entry-content:has(.pt-page-hero) ul.wp-block-list ul {
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 8px 0 0 20px;
  margin: 0;
}

/* --- Videos: cinematic frame --- */
.entry-content:has(.pt-page-hero) .wp-block-video {
  max-width: 960px;
  margin: 2rem auto;
}

.entry-content:has(.pt-page-hero) .wp-block-video video {
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  border: 3px solid rgba(0,0,0,0.06);
}

/* --- File downloads: styled card --- */
.entry-content:has(.pt-page-hero) .wp-block-file {
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  padding: 24px 32px;
  border-radius: var(--pt-radius-lg);
  border: 1px solid rgba(46,125,50,0.15);
  max-width: 500px;
  width: fit-content;
  margin: 2rem auto !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.entry-content:has(.pt-page-hero) .wp-block-file a:first-child {
  color: var(--pt-green-800);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.entry-content:has(.pt-page-hero) .wp-block-file .wp-block-file__button {
  background: linear-gradient(135deg, var(--pt-green-500), var(--pt-green-700)) !important;
  color: var(--pt-white) !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(27,94,32,0.25);
}

/* --- UAGB containers --- */
.entry-content:has(.pt-page-hero) .uagb-is-root-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Colored text sub-headings (Astra global color) --- */
.entry-content .has-ast-global-color-0-color {
  color: var(--pt-green-700) !important;
  font-family: var(--pt-font-heading);
  font-size: 1.25rem !important;
  border-left: 4px solid var(--pt-green-500) !important;
  padding-left: 16px !important;
  text-align: center !important;
}

/* --- Blue/cyan conclusion callout --- */
.entry-content:has(.pt-page-hero) .has-vivid-cyan-blue-color {
  color: var(--pt-white) !important;
  font-family: var(--pt-font-heading);
  font-size: clamp(15px, 2vw, 18px) !important;
  line-height: 1.7;
  background: linear-gradient(135deg, var(--pt-green-900), var(--pt-green-800));
  padding: 32px 36px;
  border-radius: var(--pt-radius-lg);
  margin: 3rem auto;
  max-width: 960px;
  box-shadow: 0 8px 30px rgba(0,50,0,0.2);
  position: relative;
  overflow: hidden;
}

/* --- H2 conclusion callout : override du border-radius 999px pour texte long --- */
.entry-content:has(.pt-page-hero) h2.wp-block-heading.has-vivid-cyan-blue-color {
  border-radius: var(--pt-radius-xl);
  max-width: 900px;
  padding: 36px 52px;
  font-size: clamp(14px, 1.8vw, 17px) !important;
  overflow: visible;
}

.entry-content:has(.pt-page-hero) .has-vivid-cyan-blue-color::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* --- Embedded HTML sections (order forms, callouts) --- */
.entry-content:has(.pt-page-hero) .order-wrapper {
  border-radius: var(--pt-radius-lg) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

.entry-content:has(.pt-page-hero) .booster-callout {
  border-radius: var(--pt-radius-lg) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .entry-content:has(.pt-page-hero) > .wp-block-columns {
    flex-direction: column;
    padding: 20px 16px;
    margin: 1.5rem 12px;
  }

  .entry-content:has(.pt-page-hero) h2.wp-block-heading {
    font-size: 15px;
    padding: 16px 24px;
    margin: 2.5rem 16px;
    max-width: calc(100% - 32px);
  }

  .entry-content:has(.pt-page-hero) h2.wp-block-heading::before {
    display: none;
  }

  .entry-content:has(.pt-page-hero) p {
    padding: 0 16px;
    font-size: 1rem;
  }

  .entry-content:has(.pt-page-hero) ul.wp-block-list {
    margin: 1rem 16px;
    padding: 16px 16px 16px 36px;
  }

  .entry-content:has(.pt-page-hero) .has-vivid-cyan-blue-color {
    padding: 24px 20px;
    margin: 2rem 16px;
    font-size: 15px !important;
  }

  .entry-content:has(.pt-page-hero) .wp-block-file {
    margin: 1.5rem 16px;
    padding: 16px 20px;
  }
}

/* ============================================================
   BLOG PAGE STYLING
   ============================================================ */
.pt-blog-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: #000;
  /* Responsive height: ratio 16/9 mais jamais plus haut que l'écran dispo */
  height: min(56.25vw, calc(100vh - var(--pt-nav-height)));
}

.pt-blog-carousel .ax-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.pt-blog-carousel .ax-slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  background: #000;
}

.pt-blog-carousel .ax-slide iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pt-blog-carousel .ax-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.9);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.pt-blog-carousel .ax-nav:hover {
  background: var(--pt-white);
  transform: translateY(-50%) scale(1.1);
}

.pt-blog-carousel .ax-nav.prev { left: 16px; }
.pt-blog-carousel .ax-nav.next { right: 16px; }
.pt-blog-carousel .ax-nav svg { width: 20px; height: 20px; fill: var(--pt-green-900); }

.pt-blog-carousel .ax-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.pt-blog-carousel .ax-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pt-blog-carousel .ax-dot[aria-current="true"] {
  background: var(--pt-white);
  border-color: var(--pt-white);
  transform: scale(1.2);
}

/* Blog section title */
.pt-blog-section-title {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 100px 20px 0;
  text-align: center;
}

.pt-blog-section-title h2 {
  font-family: var(--pt-font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 8px;
}

.pt-blog-section-title p {
  color: var(--pt-gray-600);
  font-size: 17px;
  margin: 0 0 40px;
}

/* Blog article cards */
.pt-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.pt-blog-card {
  background: var(--pt-white);
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pt-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--pt-green-300);
}

.pt-blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.pt-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pt-blog-card:hover .pt-blog-card-img img {
  transform: scale(1.05);
}

.pt-blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pt-blog-card-body h3 {
  font-family: var(--pt-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 8px;
  line-height: 1.3;
}

.pt-blog-card-body .pt-blog-date {
  font-size: 13px;
  color: var(--pt-gray-400);
  margin-bottom: 12px;
}

.pt-blog-card-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--pt-gray-600);
  flex: 1;
  margin: 0 0 20px;
}

.pt-blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pt-blog-card-footer .pt-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-white);
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 12px rgba(27,94,32,0.25);
  transition: all 0.3s ease;
}

.pt-blog-card:hover .pt-read-more {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,94,32,0.35);
}

.pt-blog-card-footer .pt-read-more svg {
  width: 14px;
  height: 14px;
  fill: var(--pt-white);
}

.pt-blog-card-footer .pt-social-links {
  display: flex;
  gap: 8px;
}

.pt-blog-card-footer .pt-social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--pt-gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pt-blog-card-footer .pt-social-links a:hover {
  background: var(--pt-green-600);
  border-color: var(--pt-green-600);
}

.pt-blog-card-footer .pt-social-links a svg {
  width: 16px;
  height: 16px;
  fill: var(--pt-gray-400);
  transition: fill 0.3s ease;
}

.pt-blog-card-footer .pt-social-links a:hover svg {
  fill: var(--pt-white);
}

/* Blog CTA section */
.pt-blog-cta {
  background: linear-gradient(135deg, var(--pt-green-900), var(--pt-green-800));
  padding: 60px 20px;
  text-align: center;
  border-radius: var(--pt-radius-xl);
  max-width: 900px;
  margin: 0 auto 0;
  position: relative;
  overflow: hidden;
}

.pt-blog-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  border-radius: 50%;
}

.pt-blog-cta h2 {
  color: var(--pt-white);
  font-family: var(--pt-font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 12px;
}

.pt-blog-cta p,
.entry-content .pt-blog-cta p {
  color: var(--pt-white);
  font-size: 17px;
  margin: 0 0 28px;
}

.pt-blog-cta .pt-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--pt-gold), #d4a843);
  color: var(--pt-green-900);
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.pt-blog-cta .pt-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .pt-blog-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .pt-blog-cta {
    margin: 40px 16px 0;
    padding: 40px 20px;
  }
}

/* --- Blog Hero (page-blog.php) --- */
.pt-blog-hero {
  background: linear-gradient(135deg, var(--pt-green-900) 0%, var(--pt-earth-900) 100%);
  padding: 120px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pt-blog-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,80,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pt-blog-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pt-blog-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pt-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.pt-blog-hero-badge svg {
  fill: #ffffff;
}

.pt-blog-hero h1 {
  font-family: var(--pt-font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--pt-white);
  margin: 0 0 16px;
  line-height: 1.1;
}

.pt-blog-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.65;
}

/* --- Blog listing section --- */
.pt-blog-listing {
  padding: 60px 20px 80px;
  background: var(--pt-cream);
}

.pt-blog-listing .pt-blog-grid {
  margin-bottom: 48px;
}

/* Card category badges */
.pt-blog-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pt-blog-card-cat {
  display: inline-block;
  padding: 3px 12px;
  background: var(--pt-green-50);
  color: var(--pt-green-800);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid var(--pt-green-100);
}

/* Date with icon */
.pt-blog-card-body .pt-blog-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pt-blog-card-body .pt-blog-date svg {
  fill: var(--pt-gray-400);
}

/* Card links inherit from existing .pt-blog-card-body h3 a */
.pt-blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pt-blog-card-body h3 a:hover {
  color: var(--pt-green-600);
}

/* --- Pagination --- */
.pt-blog-pagination {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pt-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--pt-radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--pt-gray-600);
  background: var(--pt-white);
  border: 1.5px solid var(--pt-gray-200);
  text-decoration: none;
  transition: all 0.25s ease;
}

.pt-blog-pagination .page-numbers:hover {
  border-color: var(--pt-green-400);
  color: var(--pt-green-800);
  background: var(--pt-green-50);
}

.pt-blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-900));
  color: var(--pt-white);
  border-color: var(--pt-green-800);
  box-shadow: 0 4px 12px rgba(27,94,32,0.25);
}

.pt-blog-pagination .page-numbers.prev,
.pt-blog-pagination .page-numbers.next {
  background: var(--pt-white);
}

.pt-blog-pagination .page-numbers.prev svg,
.pt-blog-pagination .page-numbers.next svg {
  fill: var(--pt-green-700);
}

.pt-blog-pagination .page-numbers.dots {
  border: none;
  background: none;
  min-width: auto;
  padding: 0 4px;
}

/* --- Empty state --- */
.pt-blog-empty {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 20px;
}

.pt-blog-empty h2 {
  font-family: var(--pt-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 24px 0 8px;
}

.pt-blog-empty p {
  font-size: 16px;
  color: var(--pt-gray-600);
  margin: 0;
}

/* --- Responsive blog listing --- */
@media (max-width: 768px) {
  .pt-blog-hero {
    padding: 100px 20px 48px;
  }

  .pt-blog-hero p {
    font-size: 16px;
  }

  .pt-blog-listing {
    padding: 40px 16px 60px;
  }

  .pt-blog-listing .pt-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PAGE FAQ
   ============================================ */

/* FAQ Content section */
.pt-faq-content {
  padding: 72px 0 80px;
  background: var(--pt-cream);
}

/* Tabs */
.pt-faq-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.pt-faq-tab {
  background: var(--pt-white);
  border: 2px solid var(--pt-gray-200);
  color: var(--pt-gray-600);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--pt-font);
}

.pt-faq-tab:hover {
  border-color: var(--pt-green-300);
  color: var(--pt-green-800);
  background: var(--pt-green-50);
}

.pt-faq-tab.active {
  background: var(--pt-green-800);
  border-color: var(--pt-green-800);
  color: var(--pt-white);
  box-shadow: 0 4px 16px rgba(46,125,50,0.25);
}

/* FAQ Panels */
.pt-faq-panel {
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pt-faq-panel.active {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ List */
.pt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ Item */
.pt-faq-item {
  background: var(--pt-white);
  border: 1.5px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pt-faq-item:hover,
.pt-faq-item.open {
  border-color: var(--pt-green-300);
  box-shadow: var(--pt-shadow-md);
}

/* Question button */
.pt-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--pt-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-text);
  text-align: left;
  transition: color 0.15s ease;
}

.pt-faq-question:hover {
  color: var(--pt-green-800);
}

.pt-faq-item.open .pt-faq-question {
  color: var(--pt-green-800);
  border-bottom: 1px solid var(--pt-green-50);
}

/* Chevron icon */
.pt-faq-icon {
  flex-shrink: 0;
  color: var(--pt-gray-400);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
}

.pt-faq-item.open .pt-faq-icon {
  transform: rotate(180deg);
  color: var(--pt-green-600);
}

/* Answer */
.pt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pt-faq-answer p,
.pt-faq-answer ul,
.pt-faq-answer ol {
  margin: 0 24px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pt-gray-600);
}

.pt-faq-answer p:first-child,
.pt-faq-answer ul:first-child,
.pt-faq-answer ol:first-child {
  margin-top: 0;
  padding-top: 0;
}

.pt-faq-answer ul,
.pt-faq-answer ol {
  padding-left: 40px;
}

.pt-faq-answer li {
  margin-bottom: 6px;
  color: var(--pt-gray-600);
  font-size: 15px;
  line-height: 1.7;
}

.pt-faq-answer a {
  color: var(--pt-green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pt-faq-answer a:hover {
  color: var(--pt-green-500);
}

/* CTA contact */
.pt-faq-cta {
  max-width: 760px;
  margin: 56px auto 0;
}

.pt-faq-cta-inner {
  background: linear-gradient(135deg, var(--pt-green-900), var(--pt-green-700));
  border-radius: var(--pt-radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: var(--pt-white);
}

.pt-faq-cta-inner svg {
  fill: var(--pt-green-300);
  margin-bottom: 16px;
}

.pt-faq-cta-inner h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
}

.pt-faq-cta-inner p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
}

.pt-faq-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--pt-gold), #e8951a);
  color: var(--pt-green-900);
  font-weight: 800;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(249,168,37,0.35);
}

.pt-faq-cta-btn:hover {
  color: var(--pt-green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,168,37,0.5);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .pt-faq-content {
    padding: 48px 0 60px;
  }

  .pt-faq-tabs {
    gap: 6px;
    padding: 0 16px;
    margin-bottom: 32px;
  }

  .pt-faq-tab {
    font-size: 13px;
    padding: 8px 16px;
  }

  .pt-faq-panel {
    padding: 0 16px;
  }

  .pt-faq-question {
    font-size: 15px;
    padding: 18px 20px;
  }

  .pt-faq-answer p,
  .pt-faq-answer ul,
  .pt-faq-answer ol {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 14px;
  }

  .pt-faq-cta {
    margin: 40px 16px 0;
  }

  .pt-faq-cta-inner {
    padding: 36px 24px;
  }
}

/* ============================================
   PAGE CONTACT
   ============================================ */
.pt-contact-section {
  padding: 80px 20px 100px;
  background: var(--pt-cream);
}

.pt-contact-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.pt-contact-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ---- Form column ---- */
.pt-contact-form-wrap {
  background: var(--pt-white);
  border: 1.5px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-xl);
  padding: 48px;
  box-shadow: var(--pt-shadow-sm);
}

.pt-contact-form-header {
  margin-bottom: 32px;
}

.pt-contact-form-header h2 {
  font-family: var(--pt-font);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 10px;
}

.pt-contact-form-header p {
  font-size: 15px;
  color: var(--pt-gray-600);
  margin: 0;
  line-height: 1.6;
}

/* ---- Form layout ---- */
.pt-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pt-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pt-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pt-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--pt-gray-800);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pt-required {
  color: var(--pt-orange);
}

.pt-field input,
.pt-field select,
.pt-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-sm);
  font-family: var(--pt-font);
  font-size: 15px;
  color: var(--pt-text);
  background: var(--pt-cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.pt-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234B5563' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.pt-field input:focus,
.pt-field select:focus,
.pt-field textarea:focus {
  border-color: var(--pt-green-400);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
  background: var(--pt-white);
}

.pt-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.65;
}

/* Form footer (privacy + submit) */
.pt-contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pt-contact-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pt-gray-400);
  margin: 0;
  line-height: 1.5;
  max-width: 280px;
}

.pt-contact-privacy svg {
  flex-shrink: 0;
  fill: var(--pt-green-400);
}

.pt-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-900));
  color: var(--pt-white);
  font-family: var(--pt-font);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(46,125,50,0.3);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pt-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,125,50,0.42);
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
}

/* Success / error notices */
.pt-contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--pt-radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 28px;
}

.pt-contact-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pt-contact-notice.success {
  background: var(--pt-green-50);
  border: 1.5px solid var(--pt-green-200);
  color: var(--pt-green-900);
}

.pt-contact-notice.success svg {
  fill: var(--pt-green-600);
}

.pt-contact-notice.error {
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #991b1b;
}

.pt-contact-notice.error svg {
  fill: #dc2626;
}

/* ---- Info column ---- */
.pt-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--pt-nav-height) + 28px);
}

.pt-contact-info-card {
  background: var(--pt-white);
  border: 1.5px solid var(--pt-gray-200);
  border-radius: var(--pt-radius-md);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pt-contact-info-card:hover {
  border-color: var(--pt-green-300);
  box-shadow: var(--pt-shadow-md);
  transform: translateX(3px);
}

.pt-contact-info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--pt-green-50);
  border-radius: var(--pt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-contact-info-icon svg {
  fill: var(--pt-green-700);
  width: 20px;
  height: 20px;
}

.pt-contact-info-body h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--pt-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 5px;
}

.pt-contact-info-body p {
  font-size: 14px;
  color: var(--pt-gray-600);
  margin: 0 0 3px;
  line-height: 1.5;
}

.pt-contact-info-body p:last-child {
  margin: 0;
}

.pt-contact-info-body a {
  font-size: 14px;
  color: var(--pt-green-700);
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
}

.pt-contact-info-body a:hover {
  color: var(--pt-green-500);
  text-decoration: underline;
}

/* Social icons */
.pt-contact-social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pt-contact-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pt-green-50);
  border: 1.5px solid var(--pt-green-100);
  display: grid !important;
  place-items: center;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.pt-contact-social-link:hover {
  background: var(--pt-green-800);
  border-color: var(--pt-green-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46,125,50,0.3);
}

.pt-contact-social-link svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: var(--pt-green-700);
  transition: fill 0.2s ease;
}

.pt-contact-social-link:hover svg {
  fill: var(--pt-white);
}

/* CTA confiance */
.pt-contact-cta {
  background: linear-gradient(145deg, var(--pt-green-900) 0%, var(--pt-green-700) 100%);
  border-radius: var(--pt-radius-lg);
  padding: 32px 28px;
  text-align: center;
  color: var(--pt-white);
  position: relative;
  overflow: hidden;
}

.pt-contact-cta::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(249,168,37,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pt-contact-cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.pt-contact-cta-icon svg {
  fill: var(--pt-gold);
}

.pt-contact-cta h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}

.pt-contact-cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin: 0 0 20px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.pt-contact-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--pt-gold), #e8951a);
  color: var(--pt-green-900) !important;
  font-weight: 800;
  font-size: 13px;
  border-radius: 999px;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(249,168,37,0.35);
  position: relative;
  z-index: 1;
}

.pt-contact-cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,168,37,0.55);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .pt-contact-grid {
    grid-template-columns: 1fr 320px;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .pt-contact-grid {
    grid-template-columns: 1fr;
  }

  .pt-contact-info {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .pt-contact-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .pt-contact-section {
    padding: 56px 16px 80px;
  }

  .pt-contact-form-wrap {
    padding: 32px 20px;
    border-radius: var(--pt-radius-lg);
  }

  .pt-field-row {
    grid-template-columns: 1fr;
  }

  .pt-contact-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pt-contact-privacy {
    max-width: 100%;
  }

  .pt-contact-info {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PAGE MES LIVRES — images uniformes
   ============================================ */
.uagb-block-b3421a2c .wp-block-uagb-image__figure,
.uagb-block-8c9bc24b .wp-block-uagb-image__figure,
.uagb-block-fcb36dab .wp-block-uagb-image__figure {
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uagb-block-b3421a2c .wp-block-uagb-image__figure img,
.uagb-block-8c9bc24b .wp-block-uagb-image__figure img,
.uagb-block-fcb36dab .wp-block-uagb-image__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */

/* --- Hero --- */
.pt-single-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--pt-nav-height);
  padding-top: 0;
}

.pt-single-hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pt-single-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-single-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(27, 94, 32, 0.15) 0%,
    rgba(30, 30, 30, 0.55) 50%,
    rgba(20, 20, 20, 0.88) 100%
  );
}

/* When there is no featured image */
.pt-single-hero:not(:has(.pt-single-hero-img)) {
  min-height: 340px;
  background: linear-gradient(135deg, var(--pt-green-900), var(--pt-earth-900));
}

.pt-single-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 48px;
  width: 100%;
}

/* Category badges */
.pt-single-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pt-single-cat {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(76, 175, 80, 0.85);
  color: var(--pt-white) !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.25s ease;
}

.pt-single-cat:hover {
  background: var(--pt-gold);
  color: var(--pt-earth-900) !important;
}

/* Title */
.pt-single-title {
  font-family: var(--pt-font-heading);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  color: var(--pt-white);
  line-height: 1.15;
  margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Meta: date + reading time */
.pt-single-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pt-single-meta time,
.pt-single-meta .pt-single-reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.pt-single-meta svg {
  fill: var(--pt-green-300);
}

/* --- Article body --- */
.pt-single-article {
  background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 30%, #f9fafb 60%, #f0fdf4 100%);
}

.pt-single-body {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 40px;
}

.pt-single-body .entry-content p:first-of-type {
  margin-top: 48px;
}

.pt-single-body .entry-content .wp-block-buttons {
  justify-content: center;
}

.pt-single-body .entry-content .wp-block-button {
  text-align: center;
}

/* Entry content typography inside single */
.pt-single-body .entry-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #334155;
  margin-bottom: 1.5em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.pt-single-body .entry-content h2 {
  font-family: var(--pt-font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 2.5em 0 0.8em;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--pt-green-100);
  text-align: left !important;
}

.pt-single-body .entry-content h3 {
  font-family: var(--pt-font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--pt-green-800);
  margin: 2em 0 0.6em;
  text-align: left !important;
}

.pt-single-body .entry-content h4 {
  font-family: var(--pt-font-heading);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--pt-green-700);
  margin: 1.8em 0 0.5em;
}

.pt-single-body .entry-content img {
  border-radius: var(--pt-radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 2em 0;
}

.pt-single-body .entry-content .wp-block-image figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--pt-gray-500);
  font-style: italic;
  margin-top: -1em;
  margin-bottom: 2em;
}

.pt-single-body .entry-content blockquote,
.pt-single-body .entry-content .wp-block-quote {
  margin: 2em 0;
  padding: 24px 32px;
  background: linear-gradient(135deg, #f0fdf4, #e8f5e9);
  border-left: 5px solid var(--pt-green-500);
  border-radius: 0 var(--pt-radius-md) var(--pt-radius-md) 0;
  font-size: 1.05rem;
  color: var(--pt-green-900);
  font-style: italic;
  line-height: 1.8;
}

.pt-single-body .entry-content blockquote p {
  margin-bottom: 0;
  color: inherit;
}

.pt-single-body .entry-content ul,
.pt-single-body .entry-content ol {
  margin: 1.5em 0;
  padding-left: 1.5em;
}

.pt-single-body .entry-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 8px;
}

.pt-single-body .entry-content ul li::marker {
  color: var(--pt-green-500);
}

.pt-single-body .entry-content a {
  color: var(--pt-green-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--pt-green-200);
  transition: text-decoration-color 0.2s ease;
}

.pt-single-body .entry-content a:hover {
  text-decoration-color: var(--pt-green-600);
}

.pt-single-body .entry-content .wp-block-video {
  margin: 2em 0;
}

.pt-single-body .entry-content .wp-block-video video {
  border-radius: var(--pt-radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* --- Share bar --- */
.pt-single-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--pt-gray-200);
}

.pt-single-share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pt-share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pt-white);
  border: 1.5px solid var(--pt-gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  text-decoration: none;
}

.pt-share-btn svg {
  fill: var(--pt-gray-600);
  transition: fill 0.25s ease;
}

.pt-share-btn:hover {
  background: var(--pt-green-800);
  border-color: var(--pt-green-800);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.pt-share-btn:hover svg {
  fill: var(--pt-white);
}

/* --- Previous / Next navigation --- */
.pt-single-nav {
  background: var(--pt-cream);
  border-top: 1px solid var(--pt-gray-200);
  border-bottom: 1px solid var(--pt-gray-200);
}

.pt-single-nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.pt-single-nav-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.pt-single-nav-link:hover {
  background: var(--pt-green-50);
}

.pt-nav-prev {
  border-right: 1px solid var(--pt-gray-200);
}

.pt-nav-next {
  text-align: right;
  align-items: flex-end;
}

.pt-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pt-green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pt-nav-label svg {
  fill: var(--pt-green-600);
}

.pt-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pt-text);
  line-height: 1.4;
}

.pt-single-nav-link:hover .pt-nav-title {
  color: var(--pt-green-800);
}

/* --- Back to blog --- */
.pt-single-back {
  text-align: center;
  padding: 48px 24px 64px;
  background: linear-gradient(180deg, var(--pt-cream), var(--pt-white));
}

.pt-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--pt-green-600), var(--pt-green-800));
  color: var(--pt-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px rgba(27, 94, 32, 0.3);
  transition: all 0.3s ease;
}

.pt-btn-back svg {
  fill: var(--pt-white);
}

.pt-btn-back:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(27, 94, 32, 0.45);
  color: var(--pt-white);
}

/* --- Responsive Single Post --- */
@media (max-width: 768px) {
  .pt-single-hero {
    min-height: 380px;
  }

  .pt-single-hero:not(:has(.pt-single-hero-img)) {
    min-height: 280px;
  }

  .pt-single-hero-content {
    padding: 40px 20px 36px;
  }

  .pt-single-title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .pt-single-meta {
    gap: 16px;
  }

  .pt-single-meta time,
  .pt-single-meta .pt-single-reading {
    font-size: 13px;
  }

  .pt-single-body {
    padding: 40px 20px 32px;
  }

  .pt-single-body .entry-content p {
    font-size: 1rem;
  }

  .pt-single-body .entry-content blockquote,
  .pt-single-body .entry-content .wp-block-quote {
    padding: 20px 20px;
    margin: 1.5em 0;
  }

  .pt-single-nav-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pt-nav-prev {
    border-right: none;
    border-bottom: 1px solid var(--pt-gray-200);
  }

  .pt-nav-next {
    text-align: left;
    align-items: flex-start;
  }

  .pt-single-nav-link {
    padding: 24px 20px;
  }

  .pt-single-share {
    flex-wrap: wrap;
  }

  .pt-single-back {
    padding: 36px 20px 48px;
  }
}

/* ============================================
   COMMENTS / AVIS
   ============================================ */
.pt-comments-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.pt-comments {
  font-family: var(--pt-font-body);
}

.pt-comments-title {
  font-family: var(--pt-font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin-bottom: 32px;
  text-align: center;
}

.pt-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pt-comment {
  margin-bottom: 24px;
}

.pt-comment-body {
  display: flex;
  gap: 16px;
  background: var(--pt-white);
  border: 1px solid var(--pt-gray-200);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pt-comment-avatar img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.pt-comment-content {
  flex: 1;
}

.pt-comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.pt-comment-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--pt-green-900);
}

.pt-comment-date {
  font-size: 13px;
  color: var(--pt-gray-400);
}

.pt-comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--pt-gray-700);
}

.pt-comment-text p {
  margin: 0 0 8px;
}

.pt-comment-actions a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pt-green-600);
  text-decoration: none;
}

.pt-comment-actions a:hover {
  color: var(--pt-green-800);
}

/* Nested replies */
.pt-comment .children {
  list-style: none;
  margin: 16px 0 0 32px;
  padding: 0;
}

.pt-comment .children .pt-comment-body {
  background: var(--pt-green-50);
  border-color: var(--pt-green-100);
}

/* Star rating input */
.pt-star-rating-field {
  margin-bottom: 16px;
}

.pt-star-rating-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-gray-700);
  margin-bottom: 8px;
}

.pt-stars-input {
  display: flex;
  gap: 4px;
}

.pt-stars-input .pt-star {
  font-size: 32px;
  color: var(--pt-gray-200);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.pt-stars-input .pt-star.active {
  color: #f5a623;
}

.pt-stars-input .pt-star.hover {
  color: #f5c542;
  transform: scale(1.15);
}

/* Star display in comments */
.pt-comment-stars,
.pt-avg-stars {
  display: inline-flex;
  gap: 2px;
}

.pt-star-display {
  font-size: 16px;
  color: var(--pt-gray-200);
  line-height: 1;
}

.pt-star-display.filled {
  color: #f5a623;
}

.pt-avg-stars .pt-star-display {
  font-size: 22px;
}

.pt-avg-score {
  font-size: 16px;
  font-weight: 400;
  color: var(--pt-gray-500);
}

/* Success popup */
.pt-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pt-popup {
  background: var(--pt-white);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: pt-popup-in 0.3s ease;
}

@keyframes pt-popup-in {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.pt-popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pt-green-500), var(--pt-green-700));
  color: white;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pt-popup h3 {
  font-family: var(--pt-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin: 0 0 12px;
}

.pt-popup p {
  font-size: 15px;
  color: var(--pt-gray-500);
  line-height: 1.5;
  margin: 0 0 24px;
}

.pt-popup-btn {
  padding: 12px 40px;
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-800));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pt-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
}

.pt-form-info {
  text-align: center;
  font-size: 14px;
  color: var(--pt-green-700);
  background: var(--pt-green-50);
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Comment form */
#respond {
  margin-top: 0;
  margin-bottom: 40px;
  background: var(--pt-white);
  border: 1px solid var(--pt-gray-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#respond #reply-title {
  font-family: var(--pt-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--pt-green-900);
  margin-bottom: 24px;
  text-align: center;
}

#respond label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-gray-700);
  margin-bottom: 6px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--pt-gray-200);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--pt-font-body);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
  outline: none;
  border-color: var(--pt-green-500);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

#respond textarea {
  resize: vertical;
  min-height: 120px;
}

#respond .form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--pt-green-700), var(--pt-green-800));
  color: var(--pt-white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: 12px;
}

#respond .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(46,125,50,0.35);
}

.pt-comment-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.pt-comment-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--pt-green-600);
  text-decoration: none;
}

.pt-comment-nav a:hover {
  color: var(--pt-green-800);
}

@media (max-width: 600px) {
  .pt-comments-section {
    padding: 40px 16px 60px;
  }

  .pt-comment-body {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  #respond {
    padding: 20px;
  }
}
