@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ─── Design tokens (Première Terre) ─── */
:root {
  --vert: #354C48;
  --vert-l: #4a6b65;
  --terre: #AF7B56;
  --terre-l: #c49070;
  --sable: #ADA497;
  --creme: #FAF7F2;
  --logo-bg: #F4EEE6;
  --logo-border: #E2D6C8;
  --text: #1a1a1a;
  --muted: #5f6a67;
  --border: #e8e3dc;
  --card: #ffffff;
  --success: #2d6a4f;
  --error: #b33a3a;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 6px 22px rgba(53, 76, 72, 0.08);
  --shadow-lg: 0 20px 42px rgba(41, 55, 52, 0.16);
  --nav-h: 92px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

a {
  color: var(--terre);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--vert);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); margin: 2rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 1.25rem 0 0.65rem; }

p { margin: 0 0 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ─── Navigation (#site-nav + legacy .site-header) ─── */
#site-nav,
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8e3dc;
  box-shadow: 0 1px 0 rgba(53, 76, 72, 0.04);
}

.nav-inner,
.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  height: var(--nav-h);
  padding: 0 1.75rem;
  gap: 1.25rem;
}

.nav-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--vert);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover,
.logo:hover {
  text-decoration: none;
  opacity: 0.88;
}

.logo span {
  color: var(--terre);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

/* Logo icône seule (carré crème) */
#site-nav .nav-logo img.nav-logo-mark {
  display: block;
  width: 56px;
  height: 62px;
  object-fit: contain;
  object-position: center;
  background: var(--logo-bg);
  border: 1px solid var(--logo-border);
  border-radius: 12px;
  padding: 8px;
  flex-shrink: 0;
}

/* Logo PTZ complet — adapté au cadre horizontal */
#site-nav .nav-logo.nav-logo--full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 64px;
  min-width: 0;
  padding: 8px 14px;
  box-sizing: border-box;
  background: var(--logo-bg);
  border: 1px solid var(--logo-border);
  border-radius: 14px;
  overflow: hidden;
}

#site-nav .nav-logo img.nav-logo-full {
  display: block;
  width: auto;
  height: 100%;
  max-height: 48px;
  max-width: min(280px, 42vw);
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
}

.footer-logo-mark {
  display: block;
  width: 64px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  background: var(--logo-bg);
  border: 1px solid var(--logo-border);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 1rem;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}

.nav-logo-name,
.nav-logo-main,
.logo-main {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vert);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  display: block;
}

.nav-logo-sub,
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  font-style: italic;
  color: var(--vert-l);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  display: block;
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .nav-logo-name, .nav-logo-main, .logo-main { font-size: 1.15rem; }
  .nav-logo-sub, .logo-sub { font-size: 0.72rem; }
}
@media (max-width: 900px) {
  .nav-logo-name, .nav-logo-main, .logo-main { font-size: 0.95rem; }
  .nav-logo-sub, .logo-sub { font-size: 0.66rem; }
}
@media (max-width: 520px) {
  .nav-logo-name, .nav-logo-main, .logo-main { font-size: 0.82rem; }
  .nav-logo-sub, .logo-sub { font-size: 0.6rem; }
}

.nav-links,
.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-links a,
.main-nav a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.nav-links a:hover,
.main-nav a:hover {
  color: var(--vert);
  background: var(--creme);
  text-decoration: none;
}

.nav-links a.active,
.main-nav a[aria-current="page"] {
  color: var(--vert);
  font-weight: 500;
  background: var(--creme);
  text-decoration: none;
}

.nav-right,
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-tel {
  font-size: 14px;
  color: var(--terre);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 16px;
  border: 1px solid #e2d8cc;
  border-radius: 999px;
  background: #fff;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-tel:hover {
  background: var(--creme);
  text-decoration: none;
}

.nav-rdv {
  background: var(--vert);
  color: #fff;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-rdv:hover {
  background: var(--vert-l);
  text-decoration: none;
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--vert);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* ─── Buttons ─── */
.btn-p,
.btn-primary {
  background: var(--terre);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #a8734f;
  font-family: var(--font-body);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(72, 47, 32, 0.16);
}

.btn-p:hover,
.btn-primary:hover {
  background: var(--terre-l);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 47, 32, 0.22);
}

.btn-o,
.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--vert);
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid rgba(53, 76, 72, 0.34);
  font-family: var(--font-body);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-o:hover,
.btn-outline:hover {
  background: #fff;
  border-color: rgba(53, 76, 72, 0.58);
  box-shadow: 0 6px 16px rgba(53, 76, 72, 0.12);
  text-decoration: none;
  color: var(--vert);
}

.btn-sim-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--vert);
  color: #fff;
  border: 1.5px solid var(--vert);
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(19, 33, 31, 0.16);
}

.btn-sim-hero:hover {
  background: var(--vert-l);
  border-color: var(--vert-l);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--vert);
  border-color: #fff;
  text-decoration: none;
}

.btn-green {
  background: var(--vert);
  color: #fff;
  border-color: var(--vert);
}

.btn-green:hover {
  background: var(--vert-l);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  text-decoration: none;
}

/* ─── Hero (PT grid + family image) ─── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  min-height: 88vh;
  position: relative;
  background-color: var(--creme);
  background-image: url('/assets/hero-family-premium.png');
  background-size: cover;
  background-position: center 38%;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(250, 247, 242, 0.86) 8%,
    rgba(250, 247, 242, 0.76) 42%,
    rgba(250, 247, 242, 0.66) 100%
  );
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    rgba(250, 247, 242, 0) 0%,
    rgba(250, 247, 242, 0.92) 62%,
    #fff 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Legacy hero layout (hero-bg / hero-content) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero-family-premium.png');
  background-size: cover;
  background-position: center 38%;
  opacity: 0.22;
  filter: saturate(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(250, 247, 242, 0.94) 0%,
    rgba(250, 247, 242, 0.82) 45%,
    rgba(250, 247, 242, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-left {
  position: relative;
  padding: 4.4rem 3rem 4.2rem 4.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.hero-left::after {
  content: '';
  position: absolute;
  right: 2.8rem;
  bottom: 2.2rem;
  width: 150px;
  height: 170px;
  background-image:
    linear-gradient(var(--logo-bg), var(--logo-bg)),
    url('/assets/logo-p.png');
  background-repeat: no-repeat;
  background-size: 100% 100%, 74% auto;
  background-position: center, center;
  border: 1px solid rgba(226, 214, 200, 0.55);
  border-radius: 16px;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
}

.hero-left > * {
  position: relative;
  z-index: 1;
}

.hero-right {
  position: relative;
  z-index: 2;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.8rem 2.2rem 3.2rem;
}

.eyebrow,
.hero-badge,
.sec-eyebrow,
.section-label {
  font-size: 13px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #9d6442;
  margin-bottom: 1.5rem;
  font-weight: 600;
  display: inline-block;
}

.hero-title,
.hero-left h1 {
  font-family: var(--font-title);
  font-size: 3.1rem;
  color: var(--vert);
  line-height: 1.16;
  margin-bottom: 1.05rem;
  max-width: 650px;
}

.hero-title em,
.hero-left h1 em {
  font-style: italic;
  color: var(--terre);
}

.hero-sub,
.hero-subtitle {
  font-size: 1rem;
  color: #4a5956;
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 1.7rem;
}

.hero-btns,
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
  margin-bottom: 0.8rem;
  align-items: center;
}

.hero-btns .btn-sim-hero,
.hero-btns .btn-p,
.hero-btns .btn-o {
  min-width: 220px;
  min-height: 56px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 16px 32px;
}

/* Hero stats (.hstat grid) */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.hstat,
.hero-stat {
  text-align: center;
  padding: 0.9rem 0.7rem;
  background: #f8f4ed;
  border-radius: 8px;
  border: 1px solid #e8dfd3;
}

.hero-stats .hstat-n,
.hstat-n,
.hero-stat strong {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--vert);
  font-weight: 600;
  display: block;
  line-height: 1.15;
  white-space: nowrap;
}

.hstat-l,
.hero-stat span {
  font-size: 11px;
  color: #7f8784;
  margin-top: 2px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-proof {
  margin-top: 1.05rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #6f7a77;
  text-align: center;
}

/* Stats band (.hstat-row) */
.hstat-row,
.stats-band {
  background: var(--vert);
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hstat-row-inner,
.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.hstat-row .hstat,
.hstat-row .stat-item,
.stats-band .stat-item {
  text-align: center;
  padding: 0.5rem 3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  border-radius: 0;
  border-top: none;
  border-bottom: none;
  border-left: none;
}

.hstat-row .hstat:last-child,
.hstat-row .stat-item:last-child,
.stats-band .stat-item:last-child {
  border-right: none;
}

.hstat-row .hstat-n,
.hstat-row .stat-item strong {
  color: var(--terre-l);
  font-size: 2.2rem;
}

.hstat-row .hstat-l,
.hstat-row .stat-item span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

/* ─── Search card / simulator panel (+30 % hero) ─── */
.search-card,
.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(7px);
  border-radius: 23px;
  padding: 1.75rem 1.85rem;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  box-shadow: 0 26px 55px rgba(41, 55, 52, 0.22), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  border: 1px solid rgba(236, 228, 217, 0.95);
}

.search-card h3,
.hero-card h3 {
  font-family: var(--font-title);
  font-size: 1.69rem;
  color: var(--vert);
  margin-bottom: 1.95rem;
  text-align: center;
}

.stabs,
.hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #e0dbd4;
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 1.3rem;
  background: #fff;
}

.hero-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stab,
.hero-tab {
  min-height: 68px;
  padding: 13px 12px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.25;
  cursor: pointer;
  background: #fff;
  color: #6b716e;
  border: none;
  border-right: 1px solid #e9e4de;
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.stab:last-child,
.hero-tab:last-child {
  border-right: none;
}

.stab:hover,
.hero-tab:hover {
  background: #f8f5f1;
  color: var(--vert);
}

.stab.on,
.hero-tab.active {
  background: var(--vert);
  color: #fff;
  font-weight: 600;
}

.search-tab-panels {
  position: relative;
  margin-bottom: 0.25rem;
}

.search-panel,
.hero-panel {
  display: none !important;
}

.search-panel.active,
.hero-panel.active {
  display: block !important;
  animation: fadeTab 0.22s ease;
}

.search-card-results {
  min-height: 0;
  margin-bottom: 0.5rem;
}

.search-card-results .search-feedback {
  margin-top: 0;
}

.search-card-results .search-feedback[hidden] {
  display: none !important;
}

.search-card-actions {
  clear: both;
  margin-top: 0;
}

.search-card-actions .btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: static;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
}

.stab-sub {
  font-size: 16px;
  line-height: 1.65;
  color: #6f7a77;
  margin: 0 0 1.3rem;
}

.srow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.search-card .sf,
.search-card .hero-form-field {
  margin-bottom: 16px;
}

.search-card .srow .sf,
.search-card .srow .hero-form-field {
  margin-bottom: 0;
}

.sf label,
.hero-form-field label {
  display: block;
  font-size: 14px;
  color: var(--sable);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.sf-euro {
  position: relative;
}

.sf-euro input {
  width: 100%;
  padding-right: 2.75rem;
}

.sf-euro-sym {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 600;
  color: var(--terre);
  pointer-events: none;
  line-height: 1;
}

.sf select,
.sf input[type='text'],
.sf input[type='number'],
.sf-euro input,
.hero-form-field input,
.hero-form-field select {
  width: 100%;
  min-height: 62px;
  padding: 13px 16px;
  border: 1px solid #d9d2c8;
  border-radius: 16px;
  font-size: 17px;
  font-family: var(--font-body);
  color: #2f3433;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sf select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%237b7f7d' d='M3.2 5.1a.8.8 0 0 1 1.1 0L7 7.8l2.7-2.7a.8.8 0 1 1 1.1 1.1L7.6 9.5a.8.8 0 0 1-1.1 0L3.2 6.2a.8.8 0 0 1 0-1.1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}

.sf-euro input::-webkit-outer-spin-button,
.sf-euro input::-webkit-inner-spin-button {
  margin-right: 1.5rem;
}

.sf select:focus,
.sf input[type='text']:focus,
.sf input[type='number']:focus,
.sf-euro input:focus,
.hero-form-field input:focus,
.hero-form-field select:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 4px rgba(53, 76, 72, 0.08);
}

.search-card .btn-search {
  width: 100%;
  background: var(--vert);
  color: #fff;
  padding: 17px;
  border: none;
  border-radius: 13px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
  font-family: var(--font-body);
  transition: background 0.2s;
}

.search-card .btn-search:hover {
  background: var(--vert-l);
  color: #fff;
  text-decoration: none;
}

/* Search feedback / hero result */
.search-feedback,
.hero-result {
  display: none;
  margin-top: 1rem;
  padding: 12px 14px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #faf6f1;
  font-size: 16px;
  color: #6e7673;
  text-align: center;
}

.search-feedback.show,
.hero-result.show,
.hero-result.visible {
  display: block;
}

.search-feedback strong,
.hero-result strong {
  color: var(--terre);
  font-size: 1.37rem;
}

.hero-result .result-note {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  font-style: italic;
  color: #8a8378;
  line-height: 1.45;
  font-weight: 400;
}

.hero-card-footer {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6f7a77;
}

@keyframes fadeTab {
  from {
    opacity: 0.3;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Sections ─── */
.section {
  padding: 5rem 2rem;
}

.sec-title,
.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--vert);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.sec-sub,
.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.bg-creme {
  background: var(--creme);
}

/* ─── Mini dispositifs grid ─── */
.disp-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 12px;
}

.disp-mini-card {
  border: 1px solid #e6e0d8;
  background: linear-gradient(180deg, #fff 0%, #fdfaf6 100%);
  border-radius: 10px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 152px;
  box-shadow: 0 2px 10px rgba(53, 76, 72, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.disp-mini-card:hover {
  border-color: #d7ccbf;
  box-shadow: 0 8px 20px rgba(53, 76, 72, 0.09);
  transform: translateY(-1px);
}

.disp-mini-card h4 {
  font-family: var(--font-title);
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--vert);
  margin: 0;
}

.disp-mini-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #69726f;
  margin: 0;
}

/* ─── Entry / facts cards ─── */
.entry-section {
  background: var(--creme);
  padding: 5rem 0;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.entry-card,
.card-link {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.entry-card:hover,
.card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(175, 123, 86, 0.45);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.entry-card h3,
.card-link h3 {
  color: var(--vert);
  margin: 0;
}

.entry-card-arrow,
.card-link .arrow {
  color: var(--terre);
  font-weight: 500;
  margin-top: auto;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.fact-card,
.fact-item {
  background: #f8f4ed;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.fact-number,
.fact-item strong {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--terre);
  display: block;
  margin-bottom: 0.35rem;
}

.fact-card strong {
  color: var(--vert);
  font-size: 1.1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

/* ─── City grid ─── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 1.2rem;
  gap: 0.4rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.city-card-img {
  height: 160px;
  overflow: hidden;
}

.city-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

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

.city-card-body {
  padding: 1.25rem;
  text-align: center;
}

.city-card-body h3,
.city-card h3 {
  margin: 0;
  font-size: 1.2rem;
  text-align: center;
}

.city-price,
.city-card .price {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--terre);
  margin: 0.35rem 0;
  display: block;
  text-align: center;
}

.city-card p {
  margin: 0;
  text-align: center;
}

.city-card a {
  text-align: center;
}

/* Rich city cards (par-ville) */
.city-grid-rich {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.city-card-rich {
  padding: 1.5rem 1.6rem 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.city-card-rich h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.city-card-rich h2 a {
  color: var(--vert);
  text-decoration: none;
}

.city-card-rich h2 a:hover {
  color: var(--terre);
}

.city-zone {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terre);
  margin: 0 0 0.75rem;
}

.city-card-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex: 1;
}

.city-card-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a5956;
}

.city-card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--terre);
  font-weight: 700;
}

.city-card-cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terre);
  text-decoration: none;
  margin-top: auto;
}

.city-card-cta:hover {
  color: var(--vert-l);
  text-decoration: underline;
}

.city-grid-home {
  grid-template-columns: repeat(4, 1fr);
}

.city-more-link {
  text-align: center;
  margin-top: 1.75rem;
}

.city-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #4a5956;
  margin-bottom: 0;
}

/* ─── Example box ─── */
.example-box {
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-l) 100%);
  border-radius: 18px;
  padding: 2.5rem;
  max-width: 860px;
  margin: 0 auto;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.example-box h3,
.example-box p,
.example-box li {
  color: rgba(255, 255, 255, 0.92);
}

.example-box .highlight,
.example-box .savings {
  color: var(--terre-l);
  font-family: var(--font-title);
  font-weight: 600;
}

.example-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.example-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.example-item strong {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: #fff;
  display: block;
}

/* ─── Split section ─── */
.split-section {
  padding: 0;
  overflow: hidden;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-image {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  background: var(--vert);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-content .sec-eyebrow,
.split-content .section-label {
  color: var(--terre-l);
}

.split-content .sec-title,
.split-content .section-title {
  color: #fff;
}

.split-content .sec-sub,
.split-content .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  max-width: none;
}

.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.split-list-check {
  width: 22px;
  height: 22px;
  background: var(--terre);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  color: #fff;
}

/* ─── Expert section ─── */
.expert-section {
  padding: 5rem 0;
  background: var(--creme);
}

.expert-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}

.expert-image-wrap,
.photo-placeholder {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--vert);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.expert-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.expert-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.expert-features li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terre);
  flex-shrink: 0;
}

/* ─── CTA bande ─── */
.cta-bande,
.cta-section {
  background: var(--terre);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bande h2,
.cta-section h2 {
  font-family: var(--font-title);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-bande p,
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns,
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-bande .btn-p,
.cta-section .btn-primary {
  background: #fff;
  color: var(--terre);
  border-color: #fff;
}

.cta-bande .btn-p:hover,
.cta-section .btn-primary:hover {
  background: var(--creme);
  color: var(--terre);
}

/* ─── CTA discret ─── */
.cta-discret {
  background: #f8f4ed;
  border: 1px solid #e8dfd3;
  border-left: 4px solid var(--terre);
  padding: 1.15rem 1.35rem;
  margin: 2.5rem auto;
  max-width: 720px;
  border-radius: 10px;
  text-align: center;
}

.cta-discret p {
  margin: 0;
  color: #4a5956;
  font-size: 0.95rem;
}

.cta-discret a {
  font-weight: 600;
  color: var(--terre);
}

/* ─── Related links ─── */
.related-pages {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.related-pages h2 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.related-links,
.related-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links a,
.related-pages a {
  background: var(--creme);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--vert);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.related-links a:hover,
.related-pages a:hover {
  background: var(--vert);
  color: #fff;
  border-color: var(--vert);
  text-decoration: none;
}

/* ─── Footer (dark PT style) ─── */
.site-footer,
footer.site-footer {
  background: linear-gradient(180deg, #171b1f 0%, #121518 100%);
  padding: 4rem 2rem 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  margin-top: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(0, 1.9fr);
  gap: 3rem;
  margin-bottom: 1.8rem;
}

.footer-brand {
  padding-right: 1rem;
}

.footer-kicker {
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #d8bea4;
  margin: 0.75rem 0 0.5rem;
}

.footer-desc {
  font-size: 0.89rem;
  color: #c1c8cf;
  line-height: 1.75;
  max-width: 42ch;
  margin: 0;
}

.footer-contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.footer-contact-list li {
  font-size: 0.84rem;
  color: #9da8b1;
  line-height: 1.5;
}

.footer-contact-list a {
  color: #d7a880;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.footer-reassurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1.2rem 0 1.35rem;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-reassurance span {
  font-size: 0.75rem;
  color: #d4dbe1;
  line-height: 1.42;
  text-align: center;
}

.footer-brand .logo {
  color: #fff;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a {
  color: var(--terre-l);
  text-decoration: none;
}

.site-footer a:hover {
  color: #f0c9a7;
  text-decoration: none;
}

.footer-col h4 {
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2f4f6;
  margin-bottom: 0.65rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.footer-col a {
  color: #b6bec6;
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #8b96a1;
}

.footer-legal,
.footer-legal-text,
.mentions {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

/* ─── Inner pages ─── */
.page-content {
  padding: 2.5rem 0 2rem;
}

.page-content > h1:first-of-type {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.72;
}

.page-content .condition-block,
.page-content .error-item,
.page-content .faq-list,
.page-content article:not(.card) {
  text-align: left;
}

/* ─── Conditions ─── */
.condition-block {
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.condition-block:last-of-type {
  border-bottom: none;
}

.income-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.income-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92rem;
}

.income-table th,
.income-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e6e0d8;
}

.income-table th {
  background: var(--vert);
  color: #fff;
  font-weight: 600;
  font-family: var(--font-body);
}

.income-table tr:nth-child(even) {
  background: #f8f4ed;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: 600;
}

/* ─── FAQ ─── */
.faq-item {
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--vert);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.35rem;
  color: var(--terre);
  flex-shrink: 0;
  font-family: var(--font-body);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── Simulator page ─── */
.simulator {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(236, 228, 217, 0.95);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.sim-step {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.sim-step:last-of-type {
  border-bottom: none;
}

.sim-step h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.btn-group button {
  padding: 0.6rem 1.1rem;
  border: 1px solid #d9d2c8;
  background: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #555;
}

.btn-group button.active,
.btn-group button:hover {
  background: var(--vert);
  color: #fff;
  border-color: var(--vert);
}

.form-field {
  margin: 1rem 0;
}

.form-field label {
  display: block;
  font-size: 11px;
  color: var(--sable);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #d9d2c8;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: #2f3433;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(53, 76, 72, 0.08);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--vert);
}

.range-value {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--terre);
}

.sim-result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e6e0d8;
  background: #faf6f1;
  text-align: center;
}

.sim-result.eligible {
  border-color: rgba(45, 106, 79, 0.35);
  background: #f0f7f4;
}

.sim-result.ineligible {
  border-color: rgba(179, 58, 58, 0.35);
  background: #fdf5f5;
}

.sim-result.empty {
  border-color: #e6e0d8;
  background: #faf8f5;
}

.sim-result-prompt {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.simulator .sf-euro input {
  min-height: 48px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.result-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--vert);
}

/* ─── Contact / misc ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.article-lead {
  font-size: 1.1rem;
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--terre);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.error-item {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.error-item h3 {
  color: var(--terre);
  margin-top: 0;
}

.form-consent {
  margin-top: 0.25rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #6b6d6a;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
}

.consent-label input {
  margin-top: 3px;
  flex-shrink: 0;
  width: auto;
  min-height: auto;
}

.form-success,
.form-error {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: none;
}

.form-success {
  background: #f0f7f4;
  color: var(--success);
}

.form-error {
  background: #fdf5f5;
  color: var(--error);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

/* ─── Responsive (1024 / 768 / 680 — PT) ─── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 3rem 1.5rem;
  }

  .hero-left::after {
    right: 1.2rem;
    bottom: 1.1rem;
    width: 110px;
    height: 125px;
    opacity: 0.07;
  }

  .hero-title,
  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-right {
    padding: 1.45rem 1rem 1.7rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }

  .search-card {
    transform: none;
  }

  .entry-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-grid,
  .city-grid-rich,
  .city-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-inner {
    grid-template-columns: 1fr;
  }

  .split-content {
    padding: 3rem 2rem;
  }

  .example-grid {
    grid-template-columns: 1fr;
  }

  .expert-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .expert-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .disp-mini-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .container,
  .nav-inner,
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  :root {
    --nav-h: 80px;
  }

  .nav-links,
  .main-nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .main-nav.open,
  .nav-links.open {
    display: block;
  }

  .main-nav ul,
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .header-cta .btn,
  .header-cta .btn-primary {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-btns,
  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-btns .btn-sim-hero,
  .hero-btns .btn-p,
  .hero-btns .btn-o {
    min-width: 100%;
    font-size: 1.05rem;
    padding: 14px 24px;
    min-height: 52px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stabs .stab:nth-child(2) {
    border-right: none;
  }

  .srow {
    grid-template-columns: 1fr;
  }

  .hstat-row .stat-item,
  .stats-band .stat-item {
    width: 50%;
    padding: 0.5rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .sec-title,
  .section-title {
    font-size: 1.85rem;
  }

  .hero-proof {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title,
  .hero-left h1 {
    font-size: 1.95rem;
  }

  .hero-left {
    padding: 2.5rem 1rem 2rem;
  }

  .hero-sub,
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .facts-grid,
  .city-grid,
  .city-grid-rich,
  .city-grid-home {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-reassurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hstat-row .hstat,
  .hstat-row .stat-item,
  .stats-band .stat-item {
    width: 100%;
  }

  .cta-bande,
  .cta-section {
    padding: 3rem 1rem;
  }

  .example-box {
    padding: 1.75rem 1.25rem;
  }

  .stabs {
    grid-template-columns: 1fr;
  }

  .stab,
  .hero-tab {
    border-right: none;
    border-bottom: 1px solid #e9e4de;
  }

  .stab:last-child,
  .hero-tab:last-child {
    border-bottom: none;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-reassurance {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═════════════════════════════════════════════════════════════
   PANNEAU IDENTITÉ PREMIÈRE TERRE — PREMIUM
   ═════════════════════════════════════════════════════════════ */
.pt-brand-panel {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at top, rgba(255, 252, 246, 0.55) 0%, transparent 65%),
    #F7F5F1;
  border: 1px solid #E7E1D8;
  border-radius: 18px;
  padding: 3.25rem 2.25rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(46, 74, 67, 0.03);
}

.pt-brand-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 250, 240, 0.7) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.pt-brand-logo {
  width: 92px;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  /* Le PNG a un léger fond pâle — on le fait fondre dans le crème de la box */
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 24px rgba(199, 123, 86, 0.06));
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pt-brand-panel:hover .pt-brand-logo {
  transform: translateY(-2px);
}

.pt-brand-name {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 2.85rem);
  color: #2E4A43;
  margin: 2.25rem 0 0;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.pt-brand-immo {
  font-family: 'Jost', 'DM Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #C77B56;
  margin: 1rem 0 0;
}

.pt-brand-slogan {
  font-family: 'Jost', 'DM Sans', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: #8A8378;
  opacity: 0.75;
  margin: 1.75rem 0 0;
  line-height: 1.5;
  max-width: 280px;
  letter-spacing: 0.01em;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Citation premium */
.contact-quote {
  margin: 0;
  padding: 1.6rem 1.85rem;
  background: linear-gradient(135deg, #fdf8ef 0%, #fff 100%);
  border-left: 3px solid #C77B56;
  border-radius: 0 14px 14px 0;
  font-family: 'Jost', var(--font-body), system-ui, sans-serif;
  position: relative;
}

.contact-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.2rem;
  left: 0.9rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: #C77B56;
  opacity: 0.18;
  pointer-events: none;
}

.contact-quote p {
  margin: 0 0 0.85rem;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #3d4a47;
  position: relative;
}

.contact-quote p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: #C77B56;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.55;
}

.contact-quote strong {
  color: #2E4A43;
  font-weight: 600;
}

@media (max-width: 640px) {
  .pt-brand-panel {
    padding: 2.5rem 1.5rem 2.25rem;
    border-radius: 16px;
  }

  .pt-brand-logo {
    width: 76px;
  }

  .pt-brand-name {
    font-size: 2rem;
    margin-top: 1.75rem;
  }

  .pt-brand-immo {
    font-size: 0.72rem;
    letter-spacing: 5px;
    margin-top: 0.85rem;
  }

  .pt-brand-slogan {
    font-size: 0.9rem;
    margin-top: 1.4rem;
  }
}

/* ─── Variantes premium du panneau identité Première Terre ─── */

/* Variante md — section "expert" sur la page d'accueil */
.pt-brand-panel--md {
  padding: 2.75rem 2rem 2.5rem;
  background:
    radial-gradient(ellipse at top, rgba(255, 252, 246, 0.7) 0%, transparent 65%),
    #FBF8F2;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(46, 74, 67, 0.04);
  max-width: 340px;
  margin: 0 auto;
}

.pt-brand-panel--md .pt-brand-logo {
  width: 80px;
}

.pt-brand-panel--md .pt-brand-name {
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  margin-top: 1.85rem;
}

.pt-brand-panel--md .pt-brand-immo {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 5.5px;
}

.pt-brand-panel--md .pt-brand-slogan {
  font-size: 0.88rem;
  margin-top: 1.4rem;
}

/* Variante sm — colonne gauche des CTA cards (simulateur, primo) */
.pt-brand-panel--sm {
  padding: 2rem 1.4rem 1.85rem;
  background:
    radial-gradient(ellipse at top, rgba(255, 252, 246, 0.6) 0%, transparent 65%),
    #FBF8F2;
  border: 1px solid #E7E1D8;
  border-radius: 14px;
  margin: 0 auto;
  max-width: 240px;
}

.pt-brand-panel--sm .pt-brand-logo {
  width: 64px;
  max-height: 78px;
}

.pt-brand-panel--sm .pt-brand-name {
  font-size: 1.55rem;
  margin-top: 1.35rem;
}

.pt-brand-panel--sm .pt-brand-immo {
  font-size: 0.66rem;
  letter-spacing: 4.5px;
  margin-top: 0.7rem;
}

.pt-brand-panel--sm .pt-brand-slogan {
  font-size: 0.78rem;
  margin-top: 1.1rem;
  max-width: 200px;
}

/* Variante "inline" : pas de bordure visible, fondu dans le parent */
.pt-brand-panel--inline {
  border: none;
  box-shadow: none;
  background: transparent;
}

.pt-brand-panel--inline::before {
  display: none;
}

/* Variante crème (page primo où l'arrière-plan est sable) */
.pt-brand-panel--cream {
  background: transparent;
}

/* ─── Footer : version ultra-minimaliste cohérente ─── */
.footer-brand .footer-logo-mark {
  width: 56px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 6px 18px rgba(199, 123, 86, 0.08));
}

.footer-kicker {
  font-family: 'Jost', 'DM Sans', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: #C77B56;
  margin: 0 0 0.65rem;
}

.footer-brand .footer-desc {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #8A8378;
  margin: 0 0 1rem;
}

.footer-brand .footer-desc strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: #2E4A43;
  font-style: normal;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
}

/* Responsive */
@media (max-width: 720px) {
  .pt-brand-panel--md {
    max-width: 100%;
    padding: 2.25rem 1.5rem 2rem;
  }

  .pt-brand-panel--sm {
    max-width: 100%;
  }

  .pt-brand-panel--md .pt-brand-name {
    font-size: 1.75rem;
  }
}

/* ═════════════════════════════════════════════════════════════
   AUTOCOMPLETE VILLE (geo.api.gouv.fr)
   ═════════════════════════════════════════════════════════════ */
.city-ac-wrap {
  position: relative;
}

.city-ac-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0dbd4;
  border-radius: 12px;
  z-index: 1500;
  box-shadow: 0 14px 32px rgba(53, 76, 72, 0.16);
  max-height: 280px;
  overflow-y: auto;
}

.city-ac-item {
  padding: 11px 14px;
  font-size: 0.92rem;
  cursor: pointer;
  color: #2f3433;
  border-bottom: 1px solid #f3efe8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.city-ac-item:hover,
.city-ac-item.active {
  background: var(--creme);
  color: var(--vert);
}

.city-ac-item:last-child { border-bottom: none; }

.city-ac-item strong {
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.city-ac-item span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.city-ac-state {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  background: #fff;
}

.city-ac-error { color: #a15b4a; }

/* ═════════════════════════════════════════════════════════════
   SIMULATEUR PTZ — DESIGN PREMIÈRE TERRE
   ═════════════════════════════════════════════════════════════ */

.ptz-sim-page {
  background: linear-gradient(180deg, #faf6ef 0%, #fdfcf9 100%);
  padding-bottom: 5rem;
}

.ptz-sim-hero {
  background: var(--vert);
  color: #fff;
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ptz-sim-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, #faf6ef 100%);
  pointer-events: none;
}

.ptz-sim-kicker {
  font-family: 'Jost', 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f0c9a7;
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.ptz-sim-h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  margin: 0 auto 0.85rem;
  color: #fff;
  max-width: 820px;
}

.ptz-sim-h1 em {
  font-style: italic;
  color: #f0c9a7;
}

.ptz-sim-sub {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.92;
}

.ptz-sim-main {
  max-width: 880px;
  margin: -3rem auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.ptz-block {
  background: #fff;
  border-radius: 22px;
  padding: 2rem 2.25rem 1.85rem;
  border: 1px solid #ece6dc;
  box-shadow: 0 18px 44px rgba(53, 76, 72, 0.08);
  margin-bottom: 1.4rem;
}

.ptz-block-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1ece4;
}

.ptz-block-num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.ptz-block-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--vert);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.ptz-block-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.ptz-field { margin-bottom: 1.25rem; }
.ptz-field:last-child { margin-bottom: 0; }

.ptz-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vert);
  margin-bottom: 0.65rem;
  line-height: 1.45;
}

.ptz-label--sm { font-size: 0.85rem; font-weight: 500; }

.ptz-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.55rem 0 0;
  line-height: 1.55;
}

.ptz-auto-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 2px 8px;
  background: rgba(175, 123, 86, 0.12);
  color: var(--terre);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.ptz-yn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.ptz-yn-btn {
  background: #fff;
  border: 1.5px solid #d9d2c8;
  color: #3d4a47;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.ptz-yn-btn:hover { border-color: var(--vert); color: var(--vert); }
.ptz-yn-btn.on-v { background: var(--vert); border-color: var(--vert); color: #fff; }
.ptz-yn-btn.on-r { background: var(--terre); border-color: var(--terre); color: #fff; }

.ptz-info-block {
  background: #faf6ef;
  border: 1px solid #ece6dc;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.ptz-info-tit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vert);
  margin: 0 0 0.85rem;
}

.ptz-t3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.ptz-t3b {
  background: #fff;
  border: 1.5px solid #d9d2c8;
  color: #3d4a47;
  padding: 0.85rem 0.55rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: all 0.18s;
}

.ptz-t3b:hover { border-color: var(--vert); color: var(--vert); }
.ptz-t3b.on { background: var(--vert); border-color: var(--vert); color: #fff; }

.ptz-np-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}

.ptz-np-btn {
  background: #fff;
  border: 1.5px solid #d9d2c8;
  color: #3d4a47;
  padding: 1rem 0.4rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.ptz-np-btn:hover { border-color: var(--vert); color: var(--vert); }
.ptz-np-btn.on { background: var(--vert); border-color: var(--vert); color: #fff; }

.ptz-select,
.ptz-text-input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid #d9d2c8;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #2f3433;
  background: #fff;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.ptz-select:focus,
.ptz-text-input:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 4px rgba(53, 76, 72, 0.08);
}

.ptz-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ptz-range {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--vert) 0%,
    var(--vert) var(--p, 25%),
    #ece6dc var(--p, 25%),
    #ece6dc 100%
  );
  outline: none;
}

.ptz-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--vert);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(53, 76, 72, 0.18);
  transition: transform 0.15s;
}

.ptz-range::-webkit-slider-thumb:hover { transform: scale(1.08); }

.ptz-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--vert);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(53, 76, 72, 0.18);
}

.ptz-slider-value {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: center;
  background: var(--vert);
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
}

.ptz-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.ptz-go-btn {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.15rem 1.5rem;
  background: linear-gradient(135deg, var(--vert) 0%, #2a3d3a 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(53, 76, 72, 0.22);
  transition: transform 0.18s, box-shadow 0.18s;
}

.ptz-go-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(53, 76, 72, 0.28);
}

/* Résultats simulateur */
.ptz-results {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ptz-result-resume {
  background: #faf6ef;
  border: 1px solid #ece6dc;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
}

.ptz-resume-row {
  font-size: 0.95rem;
  color: #4a5956;
  line-height: 1.5;
}

.ptz-rc {
  background: #fff;
  border: 1.5px solid #ece6dc;
  border-radius: 20px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 12px 28px rgba(53, 76, 72, 0.06);
}

.ptz-rc.is-ok { border-color: rgba(45, 106, 79, 0.45); background: #f4fbf7; }
.ptz-rc.is-ko { border-color: rgba(179, 90, 70, 0.25); background: #fdf6f4; }
.ptz-rc[data-card='tva'].is-ok { border-color: rgba(41, 128, 185, 0.35); background: #f1f7fc; }
.ptz-rc--or { border-color: var(--terre); background: linear-gradient(135deg, #fdf8ef 0%, #fff6e8 100%); }

.ptz-rh {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.ptz-rico {
  font-size: 1.7rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ece6dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(53, 76, 72, 0.08);
}

.ptz-rtag {
  margin: 0 0 0.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.ptz-rtag--or { color: var(--terre); }

.ptz-rtitle {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--vert);
  line-height: 1.2;
}

.ptz-amount {
  background: #fff;
  border: 1px solid rgba(53, 76, 72, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ptz-amount-cur {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--vert);
  font-weight: 500;
}

.ptz-amount-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  color: var(--vert);
  font-weight: 600;
  line-height: 1;
}

.ptz-amount-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-left: auto;
}

.ptz-amount--blue .ptz-amount-cur,
.ptz-amount--blue .ptz-amount-val { color: #1a5276; }

.ptz-bar {
  height: 6px;
  background: rgba(53, 76, 72, 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.ptz-bar-fill {
  height: 100%;
  background: var(--vert);
  border-radius: 999px;
  transition: width 0.6s ease;
}

.ptz-check {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #3d4a47;
}

.ptz-reason {
  margin: 0;
  font-size: 0.94rem;
  color: #5a4a44;
  line-height: 1.6;
}

.ptz-gain {
  background: rgba(53, 76, 72, 0.05);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.86rem;
}

.ptz-gain-title {
  font-weight: 600;
  color: var(--vert);
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.ptz-gain-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(53, 76, 72, 0.12);
}

.ptz-gain-row:last-of-type { border-bottom: none; }
.ptz-gain-row span { color: var(--muted); }
.ptz-gain-good { color: var(--success); }

.ptz-gain-total {
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(53, 76, 72, 0.12);
  font-size: 0.88rem;
  color: var(--vert);
}

.ptz-gain-total small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-weight: 400;
}

.ptz-synth-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.ptz-synth-row {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
}

.ptz-synth-row strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.ptz-synth-row .g-good { color: var(--success); }
.ptz-synth-row .g-blue { color: #1a5276; }

.ptz-big-gain {
  background: var(--vert);
  color: #fff;
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  text-align: center;
}

.ptz-big-gain-l {
  margin: 0 0 0.4rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.ptz-big-gain-v {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 2.3rem;
  margin: 0;
  color: #f0c9a7;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
}

.ptz-big-gain-c { font-size: 1.4rem; }

.ptz-big-gain-s {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  opacity: 0.88;
  line-height: 1.55;
}

.ptz-cta-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 22px;
  padding: 2rem 2.25rem;
  box-shadow: 0 12px 32px rgba(53, 76, 72, 0.08);
  align-items: center;
  margin-top: 0.5rem;
}

.ptz-cta-left { padding: 0.5rem 0; border-right: 1px solid #f1ece4; }

.ptz-cta-h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--vert);
  margin: 0 0 0.6rem;
}

.ptz-cta-p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.ptz-cta-btn {
  display: inline-block;
  padding: 0.95rem 1.7rem;
  background: var(--terre);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.ptz-cta-btn:hover { background: #8e5e3e; color: #fff; }

.ptz-cta-note {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.ptz-legal {
  margin-top: 1rem;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
  padding: 1rem;
}

@media (max-width: 768px) {
  .ptz-sim-hero { padding: 3.5rem 1.25rem 3rem; }
  .ptz-block { padding: 1.5rem 1.4rem; }
  .ptz-np-grid { grid-template-columns: repeat(3, 1fr); }
  .ptz-yn { grid-template-columns: 1fr; }
  .ptz-t3 { grid-template-columns: 1fr; }
  .ptz-slider-wrap { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .ptz-slider-value { align-self: center; }
  .ptz-cta-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .ptz-cta-left { border-right: none; border-bottom: 1px solid #f1ece4; padding-bottom: 1.5rem; }
  .ptz-amount { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .ptz-amount-meta { margin-left: 0; }
  .ptz-amount-val { font-size: 2rem; }
}

/* ═════════════════════════════════════════════════════════════
   PAGE PRIMO-ACCÉDANT — DESIGN MARRON/CRÈME
   ═════════════════════════════════════════════════════════════ */
.primo-page {
  background: linear-gradient(180deg, #fdf8ef 0%, #fdfcf9 100%);
  padding-bottom: 5rem;
}

.primo-hero {
  background: linear-gradient(135deg, #af7b56 0%, #8e5e3e 100%);
  color: #fff;
  padding: 4.5rem 1.25rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.primo-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, #fdf8ef 100%);
  pointer-events: none;
}

.primo-kicker {
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #fce6cf;
  margin: 0 0 1.25rem;
  font-weight: 700;
  display: inline-block;
  padding: 0.45rem 1.4rem;
  border: 2px solid rgba(252, 230, 207, 0.55);
  border-radius: 999px;
}

.primo-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.05rem, 4.4vw, 3rem);
  line-height: 1.15;
  margin: 0 auto 0.95rem;
  color: #fff;
  max-width: 880px;
}

.primo-h1 em { font-style: italic; color: #fce6cf; }

.primo-sub {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.94;
}

.primo-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 780px;
  margin: 0 auto;
}

.primo-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.25rem 1rem;
}

.primo-stat-v {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.85rem;
  color: #fff;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.primo-stat-l {
  font-size: 0.82rem;
  opacity: 0.88;
  line-height: 1.45;
}

.primo-main {
  max-width: 920px;
  margin: -4rem auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 2;
}

.primo-block {
  background: #fff;
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  border: 1px solid #ece6dc;
  box-shadow: 0 18px 44px rgba(124, 87, 60, 0.08);
  margin-bottom: 1.4rem;
}

.primo-block-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid #f5ecdf;
}

.primo-block-num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--terre);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.45rem;
  box-shadow: 0 6px 16px rgba(175, 123, 86, 0.3);
}

.primo-block-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--terre);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.primo-block-sub {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.primo-def {
  background: #faf5ec;
  border-left: 4px solid var(--terre);
  border-radius: 0 14px 14px 0;
  padding: 1.4rem 1.6rem;
}

.primo-def-lead {
  font-size: 1rem;
  color: #3d3530;
  margin: 0 0 0.85rem;
  line-height: 1.55;
}

.primo-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.primo-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3d4a47;
}

.primo-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

.primo-callout {
  background: #fff;
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  color: #5a4a3a;
  line-height: 1.55;
}

.primo-callout a { color: var(--terre); font-weight: 600; text-decoration: none; }
.primo-callout a:hover { text-decoration: underline; }

.primo-aids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.primo-aid {
  background: #fff;
  border: 1.5px solid #f0e8db;
  border-radius: 16px;
  padding: 1.4rem 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.primo-aid:hover {
  transform: translateY(-2px);
  border-color: var(--terre);
  box-shadow: 0 14px 30px rgba(175, 123, 86, 0.16);
}

.primo-aid--featured {
  background: linear-gradient(135deg, #faf5ec 0%, #fff 100%);
  border-color: var(--terre);
}

.primo-aid-ico {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #faf5ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.primo-aid--featured .primo-aid-ico {
  background: #fff;
  box-shadow: 0 6px 16px rgba(175, 123, 86, 0.18);
}

.primo-aid-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--terre);
  margin: 0;
  line-height: 1.3;
}

.primo-aid-amount {
  font-size: 0.95rem;
  color: #3d4a47;
  margin: 0;
}

.primo-aid-amount strong {
  color: var(--terre);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.primo-aid-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.primo-aid-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--terre);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  align-self: flex-start;
}

.primo-aid-link:hover { color: #8e5e3e; }

.primo-cumul-box {
  background: linear-gradient(135deg, var(--terre) 0%, #8e5e3e 100%);
  color: #fff;
  border-radius: 18px;
  padding: 1.75rem 1.85rem;
  text-align: center;
}

.primo-cumul-lead {
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
  opacity: 0.95;
  line-height: 1.55;
}

.primo-cumul-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 2.6rem;
  margin: 0 0 0.5rem;
  color: #fce6cf;
  line-height: 1;
}

.primo-cumul-note {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.86;
  font-style: italic;
}

.primo-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.primo-step {
  display: flex;
  gap: 1.25rem;
  background: #faf5ec;
  border: 1px solid #f0e8db;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  transition: background 0.2s, border-color 0.2s;
}

.primo-step:hover { background: #fdf8ef; border-color: var(--terre); }

.primo-step-num {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terre);
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.primo-step-content { flex: 1; min-width: 0; }

.primo-step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--terre);
  margin: 0 0 0.25rem;
}

.primo-step-time {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.55rem;
  font-style: italic;
}

.primo-step-content p {
  font-size: 0.9rem;
  color: #3d4a47;
  margin: 0 0 0.4rem;
  line-height: 1.6;
}

.primo-step-link {
  color: var(--terre);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
}

.primo-step-link:hover { color: #8e5e3e; text-decoration: underline; }

.primo-errors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.primo-errors li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.95rem;
  color: #3d4a47;
  line-height: 1.6;
  padding-top: 0.2rem;
}

.primo-errors li::before {
  content: '!';
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--terre);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

.primo-errors li strong { color: var(--terre); font-weight: 600; }

.primo-errors-link {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  text-align: right;
}

.primo-errors-link a { color: var(--terre); font-weight: 600; text-decoration: none; }
.primo-errors-link a:hover { text-decoration: underline; }

.primo-cta-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, #fdf8ef 0%, #fff 100%);
  border: 1px solid var(--terre);
  border-radius: 22px;
  padding: 2rem 2.5rem;
  box-shadow: 0 18px 40px rgba(175, 123, 86, 0.16);
  align-items: center;
  margin-top: 1rem;
}

.primo-cta-left { padding: 0.5rem 0; border-right: 1px solid #f1ece4; }

.primo-cta-h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--terre);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.primo-cta-p {
  font-size: 0.95rem;
  color: #4a4039;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.primo-cta-btn {
  display: inline-block;
  padding: 1rem 1.85rem;
  background: var(--terre);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(175, 123, 86, 0.28);
  transition: background 0.2s, transform 0.18s;
}

.primo-cta-btn:hover {
  background: #8e5e3e;
  color: #fff;
  transform: translateY(-1px);
}

.primo-cta-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.primo-main .related-pages {
  background: transparent;
  padding: 2rem 0;
  margin-top: 1rem;
}

.primo-main .related-pages h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--terre);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.primo-main .related-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primo-main .related-pages a {
  display: inline-block;
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  color: var(--terre);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.primo-main .related-pages a:hover {
  background: var(--terre);
  color: #fff;
  border-color: var(--terre);
}

@media (max-width: 768px) {
  .primo-hero { padding: 3.5rem 1.25rem 4rem; }
  .primo-hero-stats { grid-template-columns: 1fr; }
  .primo-block { padding: 1.6rem 1.4rem; }
  .primo-aids-grid { grid-template-columns: 1fr; }
  .primo-cta-card { grid-template-columns: 1fr; padding: 1.6rem 1.4rem; }
  .primo-cta-left { border-right: none; border-bottom: 1px solid #f1ece4; padding-bottom: 1.5rem; }
  .primo-cumul-amount { font-size: 2.1rem; }
  .primo-step { padding: 1rem 1.1rem; }
}

/* ═════════════════════════════════════════════════════════════
   SECTION ACTION LOGEMENT (sur la home)
   ═════════════════════════════════════════════════════════════ */
.section-al {
  background: linear-gradient(180deg, #faf6ef 0%, #fdfcf9 100%);
  border-top: 1px solid #ece6dc;
  border-bottom: 1px solid #ece6dc;
}

.al-inner { max-width: 1100px; }

.al-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.al-grid {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.al-card {
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 20px;
  padding: 1.75rem 1.8rem;
  box-shadow: 0 12px 32px rgba(53, 76, 72, 0.08);
}

.al-card--amount {
  background: var(--vert);
  color: #fff;
  border-color: var(--vert);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.al-card-kicker {
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c9a7;
  margin: 0 0 0.45rem;
  font-weight: 600;
}

.al-card-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 2.8rem;
  margin: 0 0 0.4rem;
  line-height: 1;
  color: #fff;
}

.al-card-meta { margin: 0; font-size: 0.95rem; opacity: 0.92; }

.al-card-meta-sm {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  opacity: 0.78;
  font-style: italic;
  line-height: 1.5;
}

.al-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--vert);
  margin: 0 0 1.1rem;
}

.al-conditions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.al-conditions li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #3d4a47;
}

.al-conditions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--terre);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.al-conditions strong { color: var(--vert); font-weight: 600; }

.al-cta {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 820px) {
  .al-grid { grid-template-columns: 1fr; }
  .al-card-amount { font-size: 2.4rem; }
}

/* ─── Variante horizontale du logo (fond blanc) ─── */
.pt-brand-panel--horizontal {
  padding: 1.85rem 1.4rem 1.65rem;
  background: #ffffff;
  border: 1px solid #E7E1D8;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(46, 74, 67, 0.05);
  max-width: 360px;
  margin: 0 auto;
}

.pt-brand-panel--horizontal + .pt-brand-slogan,
.pt-brand-panel--horizontal .pt-brand-slogan {
  /* slogan sort de la box blanche */
}

.pt-brand-panel--horizontal::before {
  display: none;
}

.pt-brand-panel--horizontal .pt-brand-name,
.pt-brand-panel--horizontal .pt-brand-immo {
  display: none;
}

.pt-brand-panel--horizontal .pt-brand-logo {
  width: 100%;
  max-width: 310px;
  max-height: none;
  margin: 0 auto 1.6rem;
  mix-blend-mode: normal;
}

.pt-brand-panel--horizontal .pt-brand-slogan {
  margin: 0 auto;
  font-size: 1.1rem;
  max-width: 280px;
  text-align: center;
  line-height: 1.5;
  opacity: 0.85;
}

/* Élargir la colonne gauche des CTA cards pour le nouveau logo */
.ptz-cta-card,
.primo-cta-card {
  grid-template-columns: 340px 1fr;
}

@media (max-width: 768px) {
  .ptz-cta-card,
  .primo-cta-card {
    grid-template-columns: 1fr;
  }

  .pt-brand-panel--horizontal {
    padding: 1.25rem 1rem;
    max-width: 100%;
  }

  .pt-brand-panel--horizontal .pt-brand-logo {
    max-width: 260px;
  }

  .pt-brand-panel--horizontal .pt-brand-slogan {
    font-size: 1rem;
  }
}

/* Wrapper du logo horizontal + slogan séparé */
.pt-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
}

.pt-brand-slogan--outside {
  font-family: 'Jost', 'DM Sans', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: #8A8378;
  opacity: 0.85;
  margin: 0;
  text-align: center;
  line-height: 1.5;
  max-width: 280px;
  letter-spacing: 0.01em;
}

/* ──── FOOTER OVERRIDE (priorité haute) ──── */
.site-footer .footer-inner {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.site-footer .footer-grid,
.site-footer .footer-top {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 1.95fr) !important;
  gap: 4.5rem !important;
  margin-bottom: 3rem !important;
}

.site-footer .footer-brand {
  padding-right: 0 !important;
}

.site-footer .footer-logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  text-decoration: none !important;
  margin-bottom: 1.4rem !important;
  line-height: 1.05 !important;
}

.site-footer .footer-logo-main {
  font-family: var(--font-title) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  display: block !important;
  margin: 0 !important;
}

.site-footer .footer-logo-sub {
  font-family: var(--font-body) !important;
  font-size: 0.88rem !important;
  font-style: italic !important;
  font-weight: 400 !important;
  color: var(--terre-l) !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  display: block !important;
  margin: 0 !important;
}

.site-footer .footer-kicker {
  display: none !important;
}

.site-footer .footer-desc {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.62) !important;
  line-height: 1.7 !important;
  max-width: 42ch !important;
  margin: 0 0 1.6rem !important;
}

.site-footer .footer-desc strong {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600 !important;
}

.site-footer .footer-contact-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
}

.site-footer .footer-contact-list li {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.4 !important;
}

.site-footer .footer-contact-label {
  font-size: 0.66rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.4) !important;
  font-weight: 500 !important;
  display: block !important;
  margin-bottom: 1px !important;
}

.site-footer .footer-contact-list a {
  color: var(--terre-l) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.site-footer .footer-contact-list a:hover {
  color: #f0c9a7 !important;
}

.site-footer .footer-nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2.5rem !important;
}

.site-footer .footer-col h4 {
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 1.2rem !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
}

.site-footer .footer-col ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.7rem !important;
}

.site-footer .footer-col a {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.92rem !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.site-footer .footer-col a:hover {
  color: #ffffff !important;
}

.site-footer .footer-divider {
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent) !important;
  margin: 0 !important;
  border: none !important;
}

.site-footer .footer-reassurance {
  list-style: none !important;
  margin: 2rem 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.4rem 2rem !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  grid-template-columns: none !important;
}

.site-footer .footer-reassurance li {
  position: relative !important;
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: 0.04em !important;
  font-weight: 500 !important;
  list-style: none !important;
  text-align: left !important;
}

.site-footer .footer-reassurance li::marker {
  content: "" !important;
}

.site-footer .footer-reassurance li:not(:last-child)::after {
  content: "·" !important;
  position: absolute !important;
  right: -1.15rem !important;
  color: rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
}

.site-footer .footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.6rem 2rem !important;
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-footer .footer-copy {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-weight: 500 !important;
  flex: 0 0 auto !important;
}

.site-footer .footer-disclaimer {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  font-style: italic !important;
  text-align: right !important;
  flex: 0 1 auto !important;
}

@media (max-width: 960px) {
  .site-footer .footer-grid,
  .site-footer .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .site-footer .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .site-footer .footer-disclaimer {
    text-align: left !important;
  }
}

@media (max-width: 720px) {
  .site-footer .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.8rem !important;
  }
  .site-footer .footer-reassurance {
    flex-direction: column !important;
    gap: 0.55rem !important;
  }
  .site-footer .footer-reassurance li:not(:last-child)::after {
    display: none !important;
  }
}

/* ─── Contact card (moderne) ─── */
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.85rem;
  box-shadow: 0 6px 22px rgba(53, 76, 72, 0.06);
}
.contact-card-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert);
  background: rgba(53, 76, 72, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.contact-card-badge::before {
  content: "●";
  color: var(--terre);
  font-size: 0.55rem;
  margin-right: 0.4rem;
}
.contact-card-title {
  font-family: var(--font-title);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--vert);
  line-height: 1.25;
  margin: 0 0 0.85rem;
}
.contact-card-lead {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.4rem;
}
.contact-card-lead strong { color: var(--vert); font-weight: 600; }
.contact-features {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  line-height: 1.5;
}
.contact-feature-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--vert);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}
.contact-card-quote {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1rem;
  color: var(--terre);
  line-height: 1.55;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--terre);
  background: rgba(175, 123, 86, 0.06);
  border-radius: 0 8px 8px 0;
  margin: 0;
}

/* ─── Brand panel — logo cercle + texte aéré ─── */
.pt-brand-panel {
  padding: 2.6rem 2rem 2.4rem !important;
  background: #f7efe6 !important;
  border: 1px solid rgba(175, 123, 86, 0.18) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 26px rgba(53, 76, 72, 0.06) !important;
}
.pt-brand-panel::before { display: none !important; }
.pt-brand-panel .pt-brand-logo {
  width: 120px !important;
  height: 120px !important;
  margin: 0 auto 1.6rem !important;
  padding: 18px !important;
  background: #faf4ec !important;
  border: 2px solid var(--terre, #af7b56) !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  display: block !important;
  box-shadow: 0 4px 14px rgba(175, 123, 86, 0.18) !important;
}
.pt-brand-panel .pt-brand-name {
  font-family: var(--font-title) !important;
  font-size: 2rem !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 0.7rem !important;
  line-height: 1.2 !important;
  color: var(--vert, #354c48) !important;
  text-align: center !important;
}
.pt-brand-panel .pt-brand-immo {
  font-size: 0.88rem !important;
  letter-spacing: 0.42em !important;
  font-weight: 600 !important;
  margin: 0 0 1.3rem !important;
  color: var(--terre, #af7b56) !important;
  text-align: center !important;
  text-transform: uppercase !important;
}
.pt-brand-panel .pt-brand-slogan {
  font-style: italic !important;
  font-family: var(--font-title) !important;
  font-size: 1.02rem !important;
  line-height: 1.55 !important;
  letter-spacing: 0.01em !important;
  color: rgba(53, 76, 72, 0.7) !important;
  margin: 0 !important;
  text-align: center !important;
  max-width: 28ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 640px) {
  .pt-brand-panel { padding: 2rem 1.4rem !important; }
  .pt-brand-panel .pt-brand-logo { width: 100px !important; height: 100px !important; padding: 14px !important; }
  .pt-brand-panel .pt-brand-name { font-size: 1.7rem !important; }
  .pt-brand-panel .pt-brand-immo { font-size: 0.78rem !important; letter-spacing: 0.36em !important; }
}
/* ─── /Brand panel cercle ─── */

