/*
Theme Name: RDVCB
Theme URI: https://rdvcb.ca
Author: RDVCB
Author URI: https://rdvcb.ca
Description: Thème sur mesure bilingue (FR/EN) pour RDVCB - Christina Boilard. 12 pages (6 FR + 6 EN). Optimisé SEO et GEO (référencement par les agents IA et les LLM). Formulaire de contact intégré, données structurées Schema.org, llms.txt.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rdvcb
Tags: business, two-columns, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Variables & reset
   ========================================================================== */
:root {
  --navy: #0e2233;
  --navy-soft: #1c3a52;
  --teal-900: #005c60;
  --teal-700: #007377;
  --teal-500: #009ca6;
  --mint: #2dccc3;
  --sky: #88dbdf;
  --pink: #ce0058;
  --pink-dark: #a80047;
  --ink: #17303f;
  --muted: #5b7180;
  --line: #dbe7ec;
  --bg: #ffffff;
  --bg-soft: #f5fafb;
  --bg-tint: #eaf6f7;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 34, 51, .06), 0 2px 8px rgba(14, 34, 51, .05);
  --shadow-md: 0 6px 24px rgba(14, 34, 51, .09);
  --shadow-lg: 0 18px 48px rgba(14, 34, 51, .14);
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-700); text-decoration: none; }
a:hover, a:focus { color: var(--pink); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; color: var(--navy); }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

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

/* ==========================================================================
   2. Layout helpers
   ========================================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 74px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #f2fbfb 0%, #ffffff 100%); }
.section--navy { background: var(--teal-900); color: #dff2f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: 52px 0; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }

.center { text-align: center; }
.measure { max-width: 760px; }
.measure-center { max-width: 760px; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Eyebrow / section heading */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: .8rem;
}
.rule { width: 54px; height: 4px; background: var(--pink); border-radius: 3px; margin: 0 0 1.1rem; border: 0; }
.center .rule, .rule--center { margin-left: auto; margin-right: auto; }

.lead { font-size: 1.12rem; color: var(--navy-soft); font-weight: 500; }
.small { font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 6px 18px rgba(206, 0, 88, .28); }
.btn--primary:hover, .btn--primary:focus { background: var(--pink-dark); color: #fff; }
.btn--teal { background: var(--teal-700); color: #fff; box-shadow: 0 6px 18px rgba(0, 115, 119, .26); }
.btn--teal:hover, .btn--teal:focus { background: var(--teal-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover, .btn--ghost:focus { border-color: var(--teal-500); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--light:hover, .btn--light:focus { background: var(--bg-tint); color: var(--teal-900); }
.btn--block { width: 100%; justify-content: center; }

.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--pink); display: inline-flex; gap: .35rem; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .16s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   4. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.site-brand { display: flex; align-items: center; flex: 0 0 auto; }
.site-brand img { width: 190px; height: auto; }
.site-brand .brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--navy); letter-spacing: -.02em; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a {
  font-family: var(--font-head); font-weight: 550; font-size: .97rem;
  color: var(--navy); padding: .6rem .78rem; border-radius: 8px; display: block;
}
.primary-nav a:hover, .primary-nav a:focus { background: var(--bg-tint); color: var(--teal-900); text-decoration: none; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--teal-700); background: var(--bg-tint); }
.primary-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; flex-direction: column;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
/* Le bouton de l’en-tête reste compact, même sur mobile. */
.header-actions .btn { width: auto; padding: .62rem 1.1rem; font-size: .93rem; }

.lang-switch { display: flex; gap: 2px; align-items: center; font-family: var(--font-head); font-size: .84rem; font-weight: 650; }
.lang-switch a, .lang-switch span { padding: .3rem .5rem; border-radius: 6px; color: var(--muted); }
.lang-switch .is-active { background: var(--navy); color: #fff; }
.lang-switch a:hover { color: var(--teal-700); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--line);
  border-radius: 10px; width: 46px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { background: linear-gradient(160deg, #ffffff 0%, #f1fafb 58%, #e6f5f6 100%); position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding: 68px 0 60px; }
.hero h1 { text-transform: uppercase; letter-spacing: -.01em; }
.hero h1 .accent { color: var(--teal-500); display: block; }
.hero .hero-sub { font-family: var(--font-head); font-size: 1.14rem; font-weight: 600; color: var(--navy); margin-bottom: .9rem; }
.hero p { color: var(--navy-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 26px 0 34px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; max-height: 520px; object-position: top center; }

.stats { display: flex; flex-wrap: wrap; gap: 30px; border-top: 1px solid var(--line); padding-top: 22px; }
.stat { min-width: 130px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.65rem; color: var(--teal-700); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); height: 100%;
}
.card--feature { display: flex; flex-direction: column; }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
/* Numérotation 01 / 02 / 03 / 04 : cercle framboise plein */
.card .num, .feature-copy .num {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(206, 0, 88, .28);
}
.card .num { margin-bottom: 14px; }
.card--visual { padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); }
.card--visual img { width: 100%; }
.card--hoverable { transition: transform .18s ease, box-shadow .18s ease; }
.card--hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pill {
  display: inline-block; background: var(--bg-tint); color: var(--teal-900);
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px; margin-bottom: 12px;
}

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px;
  border-radius: 50%; background: var(--mint);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2233' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* Alternating feature rows (mockup layout) */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse .feature-copy { order: 2; }
.feature-copy { padding: 8px 6px; }
.feature-copy h3 { display: flex; align-items: center; gap: 14px; }

/* Steps / process */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 12px; padding: 20px 24px; }
.step h4 { margin-bottom: .3rem; color: var(--teal-900); }
.step p { margin-bottom: 0; color: var(--navy-soft); }

/* Results band */
.results-band { background: var(--teal-900); color: #d9eff0; padding: 54px 0; }
.results-band .headline { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.05rem); color: #fff; font-weight: 700; line-height: 1.2; }
.results-band .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.results-band .kpi b { display: block; font-family: var(--font-head); color: var(--mint); font-size: 1.35rem; }
.results-band .kpi span { font-size: .93rem; }

/* Cartes-passerelles de l’accueil (section temporaire) */
.bridge-card { display: flex; flex-direction: column; text-decoration: none; }
.bridge-card:hover, .bridge-card:focus { text-decoration: none; }
.bridge-card h3 { font-size: 1.14rem; }
.bridge-card p { color: var(--navy-soft); flex: 1 1 auto; }
.bridge-card .link-arrow { margin-top: 4px; }

/* ==========================================================================
   Page Services — modes d’engagement et domaines en accordéon
   ========================================================================== */
.rd-icon { display: block; }

/* Les deux modes d’engagement */
.mode-card { padding: 32px 30px; border-top: 4px solid var(--pink); }
.mode-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 20px;
  background: var(--bg-tint); color: var(--teal-700);
  margin-bottom: 20px;
}
.mode-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.mode-card > p { color: var(--navy-soft); }
.mode-card .checklist { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mode-card .checklist li { font-size: .96rem; }

/* Accordéons des domaines d’intervention */
.domains { display: grid; gap: 10px; max-width: 960px; margin-left: auto; margin-right: auto; }
.domain {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.domain[open] { border-color: var(--sky); box-shadow: var(--shadow-md); }
.domain summary {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 52px 18px 20px; cursor: pointer; position: relative; list-style: none;
}
.domain summary::-webkit-details-marker { display: none; }
.domain summary:hover { background: var(--bg-soft); }
.domain summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-size: 1.5rem; line-height: 1; color: var(--teal-500);
}
.domain[open] summary::after { content: "\2013"; }
.domain-num {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .94rem;
}
.domain-icon { flex: 0 0 auto; color: var(--teal-700); }
.domain-title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.06rem;
  color: var(--navy); line-height: 1.3;
}
.domain-body { padding: 4px 20px 22px 76px; border-top: 1px solid var(--line); }
.domain-list {
  columns: 2; column-gap: 34px; margin-top: 18px;
}
.domain-list li { break-inside: avoid; font-size: .96rem; color: var(--navy-soft); }

@media (max-width: 720px) {
  .domain-list { columns: 1; }
  .domain-body { padding-left: 20px; }
  .domain summary { gap: 12px; padding-right: 44px; }
  .domain-num { width: 34px; height: 34px; font-size: .85rem; }
  .domain-icon { display: none; }
  .mode-card { padding: 26px 22px; }
}

/* Bandeau « déclaration » : expression signature, très citable par les IA */
.statement-band { background: var(--navy); color: #cfe3ee; padding: 58px 0; }
.statement-band blockquote {
  margin: 0 0 16px; max-width: 900px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.45rem, 3.1vw, 2.25rem); line-height: 1.22; color: #fff;
}
.statement-band blockquote::before {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--pink); border-radius: 3px; margin-bottom: 22px;
}
.statement-band p { max-width: 760px; margin: 0; font-size: 1.06rem; }

/* Cartes de persona */
.persona .persona-reveal { color: var(--navy-soft); }
.persona .persona-action {
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px;
  color: var(--teal-900); font-size: .98rem;
}
.punch {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--pink); margin-bottom: 0;
}

/* Liste « ce qu’un vendeur ne devrait pas faire seul » / « pas pour vous si » */
.crosslist { list-style: none; padding: 0; }
.crosslist li { position: relative; padding-left: 30px; margin-bottom: .7em; color: var(--navy-soft); }
.crosslist li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 17px; height: 17px;
  border-radius: 50%; background: #fbe0eb;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ce0058' stroke-width='3.4' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

/* Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote blockquote { margin: 0 0 14px; font-size: 1.03rem; color: var(--navy); font-style: normal; }
.quote blockquote::before { content: "\201C"; font-family: var(--font-head); font-size: 2.4rem; color: var(--sky); line-height: 0; display: block; margin-bottom: .35rem; }
.quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.quote cite b { display: block; color: var(--navy); font-size: .97rem; }

/* FAQ (important for GEO / AI citation) */
.faq { display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--navy);
  cursor: pointer; padding: 16px 30px 16px 0; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal-500); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding-bottom: 16px; color: var(--navy-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Answer box: concise, quotable definition block for LLMs */
.answer-box {
  background: var(--bg-tint); border-left: 5px solid var(--teal-500);
  border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 0 0 28px;
}
.answer-box p { margin: 0; font-size: 1.05rem; color: var(--navy); }

/* Table (comparisons are highly citable by LLMs) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.rd-table { width: 100%; border-collapse: collapse; font-size: .96rem; background: #fff; }
table.rd-table th, table.rd-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.rd-table thead th { background: var(--bg-tint); font-family: var(--font-head); color: var(--navy); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
table.rd-table tbody tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   7. Page header (inner pages)
   ========================================================================== */
.page-hero { background: linear-gradient(150deg, #f4fbfc 0%, #e8f5f6 100%); padding: 54px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero p { max-width: 760px; color: var(--navy-soft); font-size: 1.08rem; margin-bottom: 0; }
.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--teal-700); }
.breadcrumbs span[aria-hidden] { margin: 0 .4rem; }

/* ==========================================================================
   8. Contact form
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--navy); margin-bottom: .35rem; }
.field .req { color: var(--pink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .78rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(0, 156, 166, .13); outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.field--consent input { width: auto; margin-top: .25rem; flex: 0 0 auto; }
.field--consent label { font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px; }

.notice { border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; font-size: .98rem; border: 1px solid; }
.notice--ok { background: #edfaf7; border-color: #9fdccf; color: #0c5b48; }
.notice--err { background: #fdeef3; border-color: #f3b9cd; color: #8c0038; }
.notice p:last-child { margin-bottom: 0; }
.field-error { color: var(--pink); font-size: .85rem; margin-top: .3rem; display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--pink); }

.contact-aside .info-block { margin-bottom: 26px; }
.contact-aside .info-block h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.contact-aside a { font-weight: 600; }
.contact-photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 24px; }

/* ==========================================================================
   9. CTA band + footer
   ========================================================================== */
.cta-band { background: linear-gradient(120deg, var(--teal-900) 0%, var(--teal-700) 100%); color: #fff; padding: 52px 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin-bottom: .2rem; }
.cta-band p { color: #cdebec; margin: 0; }

.site-footer { background: var(--navy); color: #a9c3d2; padding: 54px 0 26px; font-size: .95rem; }
.site-footer a { color: #d5e6ee; }
.site-footer a:hover { color: var(--mint); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-logo { width: 168px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 38px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .87rem; color: #7f9cb0;
}
.social { display: flex; gap: 12px; }
.social a { display: inline-flex; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; align-items: center; justify-content: center; }
.social a:hover { background: var(--teal-700); border-color: var(--teal-700); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ==========================================================================
   10. Editor content (page.php fallback)
   ========================================================================== */
.entry-content { max-width: 800px; }
.entry-content img { border-radius: 12px; margin: 1.6em 0; }
.entry-content blockquote { border-left: 4px solid var(--mint); margin: 1.6em 0; padding: .2em 0 .2em 1.3em; color: var(--navy-soft); }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 32px; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 12px 22px 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: .75rem .6rem; font-size: 1.02rem; }
  .primary-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 14px; }
  .header-actions { order: 3; }
  .header-inner { flex-wrap: wrap; min-height: 70px; position: relative; }
  .site-brand img { width: 158px; }
  .hero-inner, .split, .split--wide-left, .feature-row, .contact-layout, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-copy { order: 0; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 380px; }
  .results-band .kpis { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 54px 0; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .stats { gap: 18px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { font-size: 12pt; }
}

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