/*
Theme Name: Bien dans sa gamelle
Theme URI: https://gamelle-anti-glouton-chat.fr
Description: Thème WooCommerce sur mesure, orienté conversion et SEO white-hat, pour la boutique de gamelles anti-glouton pour chat. Léger, rapide, accessible.
Author: Boutique Gamelle Anti-Glouton
Version: 1.3.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 8.7
Text Domain: gag
License: GNU General Public License v2 or later
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  --c-bg: #fbf8f3;
  --c-surface: #ffffff;
  --c-ink: #20302c;
  --c-ink-soft: #4d5f59;
  --c-muted: #7a8a83;
  --c-line: #e7e0d4;

  --c-primary: #15898a;        /* teal de marque "Bien dans sa gamelle" */
  --c-primary-dark: #0e6566;
  --c-primary-soft: #e2f1f1;
  --c-accent: #ef6f53;         /* corail: CTA, contraste vendeur */
  --c-accent-dark: #d9573b;
  --c-sand: #f6edda;
  --c-star: #f5a623;           /* ambre du logo */
  --c-title: #134d6e;          /* bleu foncé : grands titres */
  --c-title-accent: #2f9e60;   /* vert : mots mis en avant */

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(32,48,44,.06), 0 2px 8px rgba(32,48,44,.05);
  --shadow-md: 0 6px 20px rgba(32,48,44,.10);
  --shadow-lg: 0 18px 50px rgba(32,48,44,.16);

  --wrap: 900px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   2. Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-dark); text-decoration: none; transition: color .2s var(--ease); }
a:visited { color: var(--c-primary-dark); }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-ink); line-height: 1.18; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); color: var(--c-title); }   /* H1 : bleu foncé */
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); color: var(--c-primary); } /* H2 : teal */
h3 { font-size: 1.3rem; color: var(--c-primary); }                    /* H3 : teal */
p { margin: 0 0 1rem; }
ul { line-height: 1.7; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: var(--c-primary-soft); }
.section--sand { background: var(--c-sand); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--c-ink-soft); max-width: 62ch; }
.center .lead { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--c-ink); color: #fff;
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* =========================================================
   3. Buttons
   ========================================================= */
.btn {
  --bg: var(--c-accent); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  text-align: center; line-height: 1.2;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--c-accent-dark); }
.btn:link, .btn:visited, .btn:active, .btn:focus { color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--c-primary); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--ghost { --bg: var(--c-primary); --fg: #fff; }
.btn--ghost:hover { background: var(--c-primary-dark); }
.btn--lg { font-size: 1.08rem; padding: 1em 2em; }
.btn--block { display: flex; width: 100%; }

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--c-bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand .brand-mark { width: 38px; height: 38px; flex: none; }
.brand .brand-name strong { color: var(--c-primary); }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 10px; color: var(--c-ink);
  font-weight: 500; font-size: .98rem;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; background: var(--c-surface);
  box-shadow: var(--shadow-sm); color: var(--c-ink);
}
.cart-link:hover { color: var(--c-primary-dark); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--c-accent); color: #fff; font-size: .72rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center;
}
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--c-surface); border-radius: 12px; box-shadow: var(--shadow-sm); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; margin-inline: auto; position: relative; transition: .25s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* =========================================================
   5. Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--c-bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero h1 { margin-bottom: .35em; color: var(--c-title); }
.hero h1 .hl { color: var(--c-primary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--c-ink-soft); font-size: .95rem; }
.stars { color: var(--c-star); letter-spacing: 1px; }
.hero-visual { position: relative; }
.hero-card {
  background: var(--c-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; position: relative; rotate: 1.5deg;
}
.hero-card .bowl { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: radial-gradient(120% 120% at 50% 20%, #fff 0%, var(--c-primary-soft) 100%); display: grid; place-items: center; }
.hero-card svg { width: 78%; }
.hero-badge {
  position: absolute; bottom: -18px; left: -18px; background: var(--c-surface);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 12px 16px; display: flex; gap: 10px; align-items: center; rotate: -3deg;
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--c-primary-soft); display: grid; place-items: center; font-size: 1.2rem; }
.hero-badge b { font-family: var(--font-head); font-size: .95rem; display: block; }
.hero-badge small { color: var(--c-muted); }

/* =========================================================
   6. Trust bar
   ========================================================= */
.trustbar { border-block: 1px solid var(--c-line); background: var(--c-surface); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 22px; }
.trust { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.trust .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--c-primary-soft); display: grid; place-items: center; color: var(--c-primary-dark); }
.trust b { font-family: var(--font-head); display: block; }
.trust small { color: var(--c-muted); }

/* =========================================================
   7. Benefits
   ========================================================= */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary-soft); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.5rem; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--c-ink-soft); margin: 0; }

/* =========================================================
   8. Category showcase
   ========================================================= */
.cat-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: var(--c-surface);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { aspect-ratio: 16/11; background: linear-gradient(135deg, var(--c-sand), var(--c-primary-soft)); display: grid; place-items: center; }
.cat-card .thumb svg { width: 46%; }
.cat-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { margin-bottom: .3em; }
.cat-card p { color: var(--c-ink-soft); font-size: .96rem; flex: 1; }
.cat-card .more { margin-top: 14px; font-family: var(--font-head); font-weight: 600; color: var(--c-primary-dark); }
.cat-card .more::after { content: " →"; }

/* =========================================================
   9. Split "pourquoi"
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split .check li { position: relative; padding-left: 36px; color: var(--c-ink-soft); }
.split .check li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-primary); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.figure-soft { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: linear-gradient(135deg, var(--c-primary-soft), var(--c-sand)); aspect-ratio: 5/4; display: grid; place-items: center; }
.figure-soft svg { width: 56%; }

/* =========================================================
   10. Testimonials
   ========================================================= */
.reviews { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { margin: 0; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review blockquote { margin: 0; }
.review .stars { font-size: 1.05rem; }
.review p { margin: 10px 0 16px; color: var(--c-ink-soft); }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--c-primary-soft); display: grid; place-items: center; font-weight: 700; color: var(--c-primary-dark); font-family: var(--font-head); }
.review .who b { font-family: var(--font-head); display: block; font-size: .95rem; }
.review .who small { color: var(--c-muted); }

/* =========================================================
   11. FAQ accordion
   ========================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--c-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { flex: none; color: var(--c-primary); font-size: .85rem; line-height: 1; transition: transform .25s var(--ease); }
.faq-item[open] .faq-q .pm { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--c-ink-soft); }

/* =========================================================
   12. CTA band
   ========================================================= */
.cta-band { background: linear-gradient(120deg, var(--c-primary), var(--c-primary-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff !important; }

/* Titres de section (accueil) en bleu teal */
.section h2 { color: var(--c-primary); }
.cta-band h2 { color: #fff !important; }

/* Grands titres de page / boutique / catégorie / produit : bleu foncé (pas turquoise) */
.woocommerce-products-header__title,
.woocommerce-products-header h1,
.page .entry-content h1,
.page-title,
.woocommerce div.product .product_title { color: var(--c-title); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }

/* =========================================================
   13. Footer
   ========================================================= */
.site-footer { background: linear-gradient(160deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: #eaf5f4; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.82); font-size: .95rem; }
.footer-logo { height: 54px; width: auto; display: block; margin-bottom: 6px; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-badges span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 6px 10px; font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.78); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   14. WooCommerce styling
   ========================================================= */
.woocommerce-page-wrap { padding-block: clamp(32px, 5vw, 56px); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; text-align: left;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.woocommerce ul.products li.product img { border-radius: 10px; margin-bottom: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-head); font-size: 1.05rem; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--c-primary-dark); font-weight: 700; font-size: 1.15rem; }
.woocommerce ul.products li.product .price del { color: var(--c-muted); font-weight: 400; }
.woocommerce span.onsale {
  background: var(--c-accent); color: #fff; border-radius: 999px; min-height: auto; min-width: auto;
  padding: 5px 12px; font-family: var(--font-head); font-weight: 600; top: 12px; left: 12px; margin: 0;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button {
  background: var(--c-accent) !important; color: #fff !important; border-radius: 999px !important;
  font-family: var(--font-head); font-weight: 600; padding: .8em 1.5em !important; border: 0 !important;
  transition: background .2s var(--ease), transform .18s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--c-accent-dark) !important; transform: translateY(-2px); }
.woocommerce a.button.alt, .woocommerce .checkout-button { background: var(--c-primary) !important; }
.woocommerce a.button.alt:hover { background: var(--c-primary-dark) !important; }
.woocommerce .star-rating span::before, .woocommerce p.stars a::before { color: var(--c-star); }

.woocommerce div.product .product_title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-primary-dark); font-weight: 700; font-size: 1.5rem; }
.woocommerce-tabs .tab-content, .woocommerce div.product .woocommerce-tabs ul.tabs li.active { }
.woocommerce div.product form.cart .quantity .qty { border-radius: 10px; border: 1px solid var(--c-line); padding: .6em; }

.product-usp { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.product-usp li { position: relative; padding-left: 30px; color: var(--c-ink-soft); }
.product-usp li::before { content: "✓"; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }

/* Boutique : texte d'introduction */
.shop-intro, .term-description, .woocommerce-product-archive-description { max-width: 860px; margin: 6px 0 30px; color: var(--c-ink-soft); font-size: 1.06rem; }
.shop-intro p, .term-description p { margin-bottom: .8rem; }

/* Boutique : bloc catégories au-dessus de la grille produits */
.shop-categories { margin: 4px 0 40px; }
.shop-categories__title { margin-bottom: 22px; }

/* Breadcrumbs */
.gag-breadcrumb { font-size: .9rem; color: var(--c-muted); padding-block: 18px 0; }
.gag-breadcrumb a { color: var(--c-ink-soft); }
.gag-breadcrumb .sep { margin-inline: 8px; color: var(--c-line); }

/* Comparison table (guide template) */
.compare-table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 22px 0 32px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.compare-table thead th { background: var(--c-primary); color: #fff; font-family: var(--font-head); font-size: .92rem; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--c-primary-soft); }
.badge-rank { display: inline-block; margin-top: 4px; background: var(--c-sand); color: var(--c-primary-dark); border-radius: 999px; padding: 3px 10px; font-size: .72rem; font-weight: 600; }
.guide-pick { padding: 24px; border: 1px solid var(--c-line); border-radius: var(--radius); margin: 22px 0; background: var(--c-surface); box-shadow: var(--shadow-sm); }
.guide-pick h2 { margin-top: 0; }
.guide-price { margin: 0 0 12px; font-size: .95rem; color: var(--c-ink-soft); }
.guide-price strong { color: var(--c-primary-dark); font-size: 1.15rem; }
.guide-intro { font-size: 1.08rem; color: var(--c-ink-soft); }

/* Generic content */
.entry-content { max-width: 760px; margin-inline: auto; }

/* ---- Product description content (imported markup: .ne-prose / .ne-accordion) ---- */
.ne-left { text-align: left; }
.ne-prose { color: var(--c-ink-soft); }
.ne-prose h2 { color: var(--c-primary); margin: 1.6em 0 .6em; font-size: 1.4rem; }
.ne-prose ul, .ne-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.ne-prose li { margin-bottom: .35em; }
.ne-prose table { width: 100%; border-collapse: collapse; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 18px 0 24px; }
.ne-prose th, .ne-prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-line); }
.ne-prose thead th { background: var(--c-primary); color: #fff; font-family: var(--font-head); }
.ne-prose tbody tr:last-child td { border-bottom: 0; }

.ne-accordion { margin: 16px 0 24px; }
.ne-accordion details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.ne-accordion summary { list-style: none; cursor: pointer; position: relative; padding: 16px 48px 16px 20px; font-family: var(--font-head); font-weight: 600; color: var(--c-ink); }
.ne-accordion summary::-webkit-details-marker { display: none; }
.ne-accordion summary::marker { content: ""; }
.ne-accordion summary strong { font-weight: 600; }
.ne-accordion .ne-prose, .ne-accordion details > p { padding: 0 20px 16px; margin: 0; }
.faq-caret { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--c-primary); transition: transform .25s var(--ease); pointer-events: none; }
.ne-accordion details[open] .faq-caret { transform: translateY(-50%) rotate(180deg); }

/* ---- Homepage media (real photos) ---- */
.hero-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; rotate: 1.5deg; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .thumb { aspect-ratio: 16/11; }
.figure-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.figure-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-logo { height: 58px; width: auto; display: block; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content img { border-radius: var(--radius); margin-block: 1.2em; }

/* =========================================================
   15. Contact form (Contact Form 7)
   ========================================================= */
.wpcf7 { max-width: 620px; margin-inline: auto; }
.wpcf7 fieldset.hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7 form.init .wpcf7-response-output { display: none; }
.wpcf7 form.wpcf7-form {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.wpcf7 form.wpcf7-form > p { margin: 0 0 18px; }
.wpcf7 label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--c-ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input.wpcf7-form-control:not(.wpcf7-submit),
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
  width: 100%; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 10px;
  background: var(--c-bg); font: inherit; color: var(--c-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wpcf7 input.wpcf7-form-control:not(.wpcf7-submit):focus,
.wpcf7 textarea.wpcf7-form-control:focus,
.wpcf7 select.wpcf7-form-control:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.wpcf7 textarea.wpcf7-form-control { min-height: 160px; resize: vertical; }
.wpcf7 .wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85em 2em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--c-accent); color: #fff; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.wpcf7 .wpcf7-submit:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--c-accent-dark); font-size: .85rem; font-weight: 500; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--c-line); background: var(--c-bg); font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-title-accent); background: #ecf7f0; color: #1d5e3c; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--c-accent); background: #fdf0ec; color: var(--c-accent-dark); }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--c-surface);
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s var(--ease); margin: 0; padding: 12px 22px 20px;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px; border-radius: 10px; }
  .header-actions { margin-left: auto; }
  .brand-logo { height: 46px; }
}
@media (max-width: 520px) {
  .trustbar-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
