/*!
Theme Name: avantiscapital-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: avantiscapital-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

/* =========================================================
   RESET & BASE
========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: #faf9f7; color: #0f0f0f;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =========================================================
   CSS VARIABLES
========================================================= */
:root {
  --gold:       #a07840;
  --gold-light: #c9a86c;
  --gold-pale:  #f0e8d8;
  --dark:       #0e0e0e;
  --dark-2:     #1a1a1a;
  --cream:      #faf9f7;
  --cream-2:    #f3f0eb;
  --text:       #0f0f0f;
  --text-2:     #5a5a5a;
  --text-3:     #8a8a8a;

  /* Header / Logo — deux états (initial + scrolled) */
  --logo-h:                96px;
  --hdr-h:                108px;
  --logo-h-scrolled:       68px;
  --hdr-h-scrolled:        68px;

  /* Tablette 768–1023px */
  --logo-h-tablet:         80px;
  --hdr-h-tablet:          92px;
  --logo-h-tablet-scrolled:54px;
  --hdr-h-tablet-scrolled: 60px;

  /* Mobile < 768px */
  --logo-h-mobile:         64px;
  --hdr-h-mobile:          76px;
  --logo-h-mobile-scrolled:50px;
  --hdr-h-mobile-scrolled: 56px;
}

/* =========================================================
   HEADER
========================================================= */
.av-hdr {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: var(--hdr-h);
  transition: height .4s cubic-bezier(.4,0,.2,1), background .35s, box-shadow .35s;
}
.av-hdr-inner {
  max-width: 1320px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.av-logo { display: flex; align-items: center; flex-shrink: 0; }
.av-logo img {
  height: var(--logo-h); width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: height .4s cubic-bezier(.4,0,.2,1), filter .35s;
  display: block;
}
.av-hdr.scrolled {
  height: var(--hdr-h-scrolled);
  background: rgba(250,249,247,.97);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.av-hdr.scrolled .av-logo img { height: var(--logo-h-scrolled); filter: none; }
.av-hdr.scrolled .av-nav a { color: var(--text-2); }
.av-hdr.scrolled .av-nav a:hover { color: var(--text); }
.av-hdr.scrolled .av-cta-btn { border-color: rgba(0,0,0,.15); color: var(--text); }
.av-hdr.scrolled .av-cta-btn:hover { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.25); }
.av-hdr.scrolled .av-burger { border-color: rgba(0,0,0,.15); }
.av-hdr.scrolled .av-burger span { background: var(--text); }

.av-nav { display: flex; align-items: center; gap: 36px; }
.av-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: .05em;
  color: rgba(255,255,255,.85); transition: color .2s; position: relative;
}
.av-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold-light); transform: scaleX(0);
  transition: transform .25s; transform-origin: left;
}
.av-nav a:hover { color: #fff; }
.av-nav a:hover::after { transform: scaleX(1); }

.av-cta-btn {
  height: 40px; padding: 0 20px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.9); background: transparent;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s, color .2s;
}
.av-cta-btn .arr { font-size: 14px; transition: transform .2s; }
.av-cta-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.av-cta-btn:hover .arr { transform: translateX(3px); }

/* Burger */
.av-burger {
  display: none; width: 40px; height: 40px;
  background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 4px;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0; transition: border-color .2s;
}
.av-burger span { display: block; width: 18px; height: 1.5px; background: #fff; border-radius: 2px; transition: .28s; }
.av-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.av-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.av-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu overlay */
.av-mob {
  position: fixed; inset: 0; z-index: 900; background: var(--dark);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.77,0,.18,1);
  display: flex; flex-direction: column; padding-top: var(--hdr-h-mobile);
}
.av-mob.open { transform: translateX(0); }
.av-mob-body { flex: 1; overflow-y: auto; padding: 40px 32px 48px; display: flex; flex-direction: column; }
.av-mob-links { display: flex; flex-direction: column; }
.av-mob-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 7vw, 48px); font-weight: 400; letter-spacing: -.02em;
  color: rgba(255,255,255,.85); padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s, padding-left .2s; display: block;
}
.av-mob-links a:hover { color: var(--gold-light); padding-left: 8px; }
.av-mob-cta { margin-top: 40px; }
.av-mob-cta a {
  display: flex; align-items: center; justify-content: center;
  height: 54px; border-radius: 4px; background: var(--gold); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s;
}
.av-mob-cta a:hover { background: var(--gold-light); }
.av-mob-footer {
  padding: 24px 32px; border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .04em;
}

@media (max-width: 1023px) {
  .av-hdr { height: var(--hdr-h-tablet); }
  .av-hdr.scrolled { height: var(--hdr-h-tablet-scrolled); }
  .av-logo img { height: var(--logo-h-tablet); }
  .av-hdr.scrolled .av-logo img { height: var(--logo-h-tablet-scrolled); }
  .av-hdr-inner { padding: 0 32px; }
  .av-nav, .av-cta-btn { display: none; }
  .av-burger { display: flex; }
}
@media (max-width: 767px) {
  .av-hdr { height: var(--hdr-h-mobile); }
  .av-hdr.scrolled { height: var(--hdr-h-mobile-scrolled); }
  .av-logo img { height: var(--logo-h-mobile); }
  .av-hdr.scrolled .av-logo img { height: var(--logo-h-mobile-scrolled); }
  .av-hdr-inner { padding: 0 20px; }
}

/* =========================================================
   FOOTER
========================================================= */
.av-footer { background: var(--dark-2); color: rgba(255,255,255,.5); }
.av-ft-contacts {
  padding: 28px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.av-ft-contact-item { display: flex; align-items: center; gap: 14px; }
.av-ft-contact-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.75);
  transition: border-color .2s, color .2s;
}
.av-ft-contact-icon:hover { border-color: var(--gold-light); color: var(--gold-light); }
.av-ft-contact-text { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }
.av-ft-contact-text a { color: rgba(255,255,255,.5); transition: color .2s; }
.av-ft-contact-text a:hover { color: rgba(255,255,255,.9); }
.av-ft-brand { padding: 24px 0 20px; display: flex; align-items: center; justify-content: center; }
.av-ft-brand img {
  height: var(--logo-h); width: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .88; transition: opacity .2s;
}
.av-ft-brand img:hover { opacity: 1; }
.av-ft-legal {
  padding: 16px 0 20px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.55); text-align: center;
}
.av-ft-legal a { color: rgba(255,255,255,.6); transition: color .2s; }
.av-ft-legal a:hover { color: rgba(255,255,255,.7); }
.av-ft-legal-sep { color: rgba(255,255,255,.12); }

@media (max-width: 1023px) {
  .av-ft-contacts { padding: 24px 0 20px; gap: 20px; }
  .av-ft-brand { padding: 20px 0 16px; }
  .av-ft-brand img { height: var(--logo-h-tablet); }
}
@media (max-width: 767px) {
  .av-ft-contacts { flex-direction: column; align-items: center; gap: 24px; padding: 32px 0 24px; text-align: center; }
  .av-ft-contact-item { flex-direction: column; align-items: center; gap: 8px; }
  .av-ft-contact-icon { width: 48px; height: 48px; font-size: 13px; }
  .av-ft-contact-text { text-align: center; font-size: 15px; }
  .av-ft-brand { padding: 20px 0 16px; }
  .av-ft-brand img { height: 88px; }
  .av-ft-legal { flex-direction: column; gap: 8px; padding: 12px 0 24px; }
  .av-ft-legal-sep { display: none; }
}

/* =========================================================
   SHARED UTILITIES
========================================================= */
.cnt { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.cnt-narrow { width: min(960px, calc(100% - 80px)); margin: 0 auto; }
.s-cream { background: var(--cream-2); }
.s-white { background: #fff; }
.s-dark { background: var(--dark); color: #fff; }
.s-pad { padding: 100px 0; }
.s-pad-sm { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.eyebrow.on-dark { color: var(--gold-light); }
.eyebrow.on-dark::before { background: var(--gold-light); }

h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 60px); font-weight: 400; line-height: 1.06; letter-spacing: -.02em;
  color: var(--text);
}
h2.section-title.on-dark { color: #fff; }
h2.section-title em { font-style: italic; color: var(--gold); }
h2.section-title.on-dark em { color: var(--gold-light); }

.section-lead { font-size: 17px; line-height: 1.8; color: var(--text-2); max-width: 680px; }
.section-lead.on-dark { color: rgba(255,255,255,.6); }

.gold-rule { width: 48px; height: 1px; background: var(--gold); margin: 24px 0; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

@media (max-width: 767px) {
  .s-pad { padding: 72px 0; }
  .s-pad-sm { padding: 52px 0; }
  .cnt, .cnt-narrow { width: calc(100% - 40px); }
}

/* =========================================================
   HOMEPAGE — HERO
========================================================= */
.av-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.60) 50%, rgba(10,10,10,.82) 100%),
    center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.av-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.025) 79px, rgba(255,255,255,.025) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.015) 79px, rgba(255,255,255,.015) 80px);
  opacity: .5;
}
.av-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 168px 48px 80px;
}
.av-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light);
}
.av-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold-light); }
.av-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 7vw, 100px);
  font-weight: 300; line-height: 1.0; letter-spacing: -.03em;
  color: #fff; max-width: 900px; margin-bottom: 28px;
}
.av-hero h1 em { font-style: italic; color: var(--gold-light); }
.av-hero-sub {
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.75; color: rgba(255,255,255,.68);
  max-width: 520px; margin-bottom: 44px;
}
.av-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.av-btn-primary {
  height: 52px; padding: 0 30px; background: var(--gold); color: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .15s;
}
.av-btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.av-btn-ghost {
  height: 52px; padding: 0 28px;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.85);
  border-radius: 4px; font-size: 13px; font-weight: 500; letter-spacing: .04em;
  display: inline-flex; align-items: center; transition: border-color .2s, color .2s;
}
.av-btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.av-hero-scroll {
  position: absolute; bottom: 36px; right: 48px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.av-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.4); opacity: .4; } }

@media (max-width: 1023px) { .av-hero-inner { padding: 172px 32px 72px; } }
@media (max-width: 767px) {
  .av-hero-inner { padding: 140px 20px 64px; }
  .av-hero-scroll { display: none; }
  .av-btn-primary, .av-btn-ghost { width: 100%; justify-content: center; height: 54px; }
  .av-hero-actions { flex-direction: column; gap: 12px; }
}

/* =========================================================
   HOMEPAGE — TICKER
========================================================= */
.av-ticker { background: var(--dark); padding: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.av-ticker-wrap { display: flex; }
.av-ticker-inner { display: flex; white-space: nowrap; animation: tickerScroll 28s linear infinite; }
.av-ticker-item {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 40px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.65); border-right: 1px solid rgba(255,255,255,.06);
}
.av-ticker-item span { color: var(--gold-light); font-weight: 600; margin-right: 8px; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================
   HOMEPAGE — ABOUT
========================================================= */
.av-about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.av-about-visual { position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 4/5; }
.av-about-visual img { width: 100%; height: 100%; object-fit: cover; }
.av-about-visual-badge {
  position: absolute; bottom: 32px; left: 32px;
  background: rgba(10,10,10,.88); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: 18px 22px;
}
.av-about-visual-badge .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 400; line-height: 1; color: var(--gold-light);
}
.av-about-visual-badge .lbl {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-top: 4px;
}
.av-about-accentline {
  position: absolute; top: 32px; left: -16px;
  width: 4px; height: 64px; background: var(--gold); border-radius: 2px;
}
.av-about-text .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.av-tag {
  height: 34px; padding: 0 14px;
  border: 1px solid rgba(0,0,0,.1); border-radius: 2px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  color: var(--text-2); display: inline-flex; align-items: center; background: #fff;
}
@media (max-width: 960px) { .av-about-split { grid-template-columns: 1fr; gap: 48px; } }

/* =========================================================
   HOMEPAGE — KEY FIGURES
========================================================= */
.av-fig-row { display: grid; grid-template-columns: repeat(4,1fr); }
.av-fig-col { padding: 48px 40px; border-right: 1px solid rgba(255,255,255,.07); position: relative; }
.av-fig-col:last-child { border-right: none; }
.av-fig-col::before {
  content: ''; position: absolute; top: 0; left: 40px; right: 40px;
  height: 2px; background: transparent; transition: background .3s;
}
.av-fig-col:hover::before { background: var(--gold); }
.av-fig-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4vw, 58px); font-weight: 300; line-height: 1; color: #fff; margin-bottom: 10px;
}
.av-fig-num em { font-style: italic; color: var(--gold-light); font-size: .75em; }
.av-fig-lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.av-fig-desc { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; line-height: 1.6; }

@media (max-width: 960px) {
  .av-fig-row { grid-template-columns: 1fr 1fr; }
  .av-fig-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 36px 32px; }
  .av-fig-col:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.07); }
  .av-fig-col:last-child { border-bottom: none; }
  .av-fig-col:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 540px) {
  .av-fig-row { grid-template-columns: 1fr; }
  .av-fig-col { border-left: none !important; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 32px 24px; }
  .av-fig-col:last-child { border-bottom: none; }
}

/* =========================================================
   HOMEPAGE — GROWTH PLATFORM
========================================================= */
.av-gp-head { max-width: 760px; margin-bottom: 72px; }
.av-gp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(0,0,0,.08); }
.av-gp-card {
  background: #fff; padding: 44px 36px;
  transition: background .25s; position: relative; overflow: hidden;
}
.av-gp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.77,0,.18,1);
}
.av-gp-card:hover { background: var(--cream-2); }
.av-gp-card:hover::before { transform: scaleX(1); }
.av-gp-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300; line-height: 1; color: var(--cream-2); margin-bottom: 20px; user-select: none;
}
.av-gp-card:hover .av-gp-num { color: var(--gold-pale); }
.av-gp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; color: var(--text); margin-bottom: 14px;
}
.av-gp-body { font-size: 14px; line-height: 1.8; color: var(--text-2); }

@media (max-width: 900px) {
  .av-gp-grid { grid-template-columns: 1fr; }
  .av-gp-card { padding: 36px 28px; }
  .av-gp-head { margin-bottom: 48px; }
}

/* =========================================================
   HOMEPAGE — SERVICES
========================================================= */
.av-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(0,0,0,.08); }
.av-svc-item {
  background: var(--cream); padding: 44px 48px;
  position: relative; overflow: hidden; transition: background .25s;
}
.av-svc-item:hover { background: var(--cream-2); }
.av-svc-item::after {
  content: '→'; position: absolute; right: 32px; bottom: 32px;
  font-size: 20px; color: var(--gold-pale); transition: color .2s, transform .2s;
}
.av-svc-item:hover::after { color: var(--gold); transform: translate(3px,-3px); }
.av-svc-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; line-height: 1.2; letter-spacing: -.01em;
  color: var(--text); margin-bottom: 14px;
}
.av-svc-item p { font-size: 14px; line-height: 1.8; color: var(--text-2); max-width: 380px; }
.av-svc-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.av-svc-full { grid-column: 1 / -1; }

@media (max-width: 768px) {
  .av-svc-grid { grid-template-columns: 1fr; }
  .av-svc-item { padding: 36px 28px; }
  .av-svc-full { grid-column: auto; }
}

/* =========================================================
   HOMEPAGE — CTA BLOCK
========================================================= */
.av-cta-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center;
  padding: 64px 72px; background: var(--dark-2); border-radius: 2px;
  position: relative; overflow: hidden;
}
.av-cta-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(255,255,255,.018) 119px, rgba(255,255,255,.018) 120px);
}
.av-cta-inner::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 220px; height: 2px; background: var(--gold);
}
.av-cta-actions { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.av-btn-inv {
  height: 52px; padding: 0 28px; background: var(--gold); color: #fff;
  border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; transition: background .2s;
}
.av-btn-inv:hover { background: var(--gold-light); }
.av-btn-outline-inv {
  height: 52px; padding: 0 28px;
  border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7);
  border-radius: 4px; font-size: 12px; font-weight: 500; letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; transition: border-color .2s, color .2s;
}
.av-btn-outline-inv:hover { border-color: rgba(255,255,255,.35); color: #fff; }

@media (max-width: 900px) {
  .av-cta-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 36px; }
  .av-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .av-cta-inner { padding: 36px 24px; }
  .av-btn-inv, .av-btn-outline-inv { width: 100%; }
  .av-cta-actions { flex-direction: column; }
}

/* =========================================================
   CONTACT PAGE — HERO
========================================================= */
.ct-hero {
  position: relative; min-height: 54vh; display: flex; align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(10,10,10,.32) 0%, rgba(10,10,10,.62) 52%, rgba(10,10,10,.90) 100%),
    center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.ct-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.02) 79px, rgba(255,255,255,.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.015) 79px, rgba(255,255,255,.015) 80px);
  opacity: .5;
}
.ct-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: calc(var(--hdr-h) + 48px) 48px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end;
}
.ct-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light);
}
.ct-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold-light); }
.ct-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 86px); font-weight: 300; line-height: 1.0; letter-spacing: -.03em; color: #fff;
}
.ct-hero h1 em { font-style: italic; color: var(--gold-light); }
.ct-hero-intro { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.78; color: rgba(255,255,255,.72); margin-bottom: 28px; }
.ct-trust-items { display: flex; flex-direction: column; gap: 10px; }
.ct-trust-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 15px 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-left: 2px solid var(--gold-light);
}
.ct-trust-icon { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--gold-light); margin-top: 1px; }
.ct-trust-icon svg { width: 15px; height: 15px; }
.ct-trust-text strong { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.92); margin-bottom: 2px; }
.ct-trust-text span { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.55; }

@media (max-width: 960px) { .ct-hero-inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 1023px) { .ct-hero-inner { padding-top: calc(var(--hdr-h-tablet) + 40px); padding-left: 32px; padding-right: 32px; padding-bottom: 52px; } }
@media (max-width: 767px) {
  .ct-hero { min-height: 44vh; }
  .ct-hero-inner { padding-top: calc(var(--hdr-h-mobile) + 28px); padding-left: 20px; padding-right: 20px; padding-bottom: 44px; }
}

/* =========================================================
   CONTACT PAGE — MAIN CONTENT
========================================================= */
.ct-main { background: #fff; padding: 80px 0; }
.ct-main-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; }

.ct-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 32px;
}

/* CF7 — labels */
.ct-form-wrap .wpcf7 { width: 100%; }
.ct-form-wrap .wpcf7-form { display: flex; flex-direction: column; }
.ct-form-wrap .wpcf7-form .ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form-wrap .wpcf7-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px;
}
/* CF7 — champs */
.ct-form-wrap .wpcf7-form input[type="text"],
.ct-form-wrap .wpcf7-form input[type="email"],
.ct-form-wrap .wpcf7-form input[type="tel"],
.ct-form-wrap .wpcf7-form select,
.ct-form-wrap .wpcf7-form textarea {
  width: 100%; font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 14px; color: var(--text); background: var(--cream-2);
  border: 1px solid rgba(0,0,0,.08); border-radius: 2px;
  padding: 13px 15px; outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none; box-sizing: border-box;
}
.ct-form-wrap .wpcf7-form input[type="text"]:focus,
.ct-form-wrap .wpcf7-form input[type="email"]:focus,
.ct-form-wrap .wpcf7-form input[type="tel"]:focus,
.ct-form-wrap .wpcf7-form select:focus,
.ct-form-wrap .wpcf7-form textarea:focus { border-color: var(--gold); background: #fff; box-shadow: none; }
.ct-form-wrap .wpcf7-form input::placeholder,
.ct-form-wrap .wpcf7-form textarea::placeholder { color: var(--text-3); }
.ct-form-wrap .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a8a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; cursor: pointer;
}
.ct-form-wrap .wpcf7-form textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.ct-form-wrap .wpcf7-form .wpcf7-form-control-wrap { display: block; position: relative; }
.ct-form-wrap .wpcf7-form .wpcf7-not-valid-tip { font-size: 11px; color: #c0392b; margin-top: 5px; display: block; font-weight: 500; }
.ct-form-wrap .wpcf7-form input.wpcf7-not-valid,
.ct-form-wrap .wpcf7-form textarea.wpcf7-not-valid,
.ct-form-wrap .wpcf7-form select.wpcf7-not-valid { border-color: #e74c3c; }
/* CF7 — bouton */
.ct-form-wrap .wpcf7-form input[type="submit"],
.ct-form-wrap .wpcf7-form .wpcf7-submit {
  width: auto; height: 50px; padding: 0 30px;
  background: var(--dark); color: #fff; border: none; border-radius: 2px; cursor: pointer;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s; margin-top: 8px;
}
.ct-form-wrap .wpcf7-form input[type="submit"]:hover,
.ct-form-wrap .wpcf7-form .wpcf7-submit:hover { background: var(--gold); transform: translateY(-1px); }
/* CF7 — messages réponse */
.ct-form-wrap .wpcf7-response-output {
  font-size: 13px; line-height: 1.55; padding: 12px 16px; border-radius: 2px; margin-top: 16px; border-width: 1px; border-style: solid;
}
.ct-form-wrap .wpcf7-mail-sent-ok { background: #f0faf4; border-color: #27ae60; color: #1e8449; }
.ct-form-wrap .wpcf7-validation-errors,
.ct-form-wrap .wpcf7-acceptance-missing { background: #fef9f0; border-color: var(--gold); color: #7a5c2a; }
.ct-form-wrap .wpcf7-mail-sent-ng,
.ct-form-wrap .wpcf7-spam-blocked { background: #fef0f0; border-color: #e74c3c; color: #c0392b; }
.ct-form-wrap .wpcf7-form .wpcf7-spinner { margin-left: 12px; vertical-align: middle; }
.ct-form-legal { font-size: 12px; color: var(--text-3); line-height: 1.6; margin-bottom: 22px; margin-top: 4px; }
.ct-form-legal a { color: var(--gold); }
.ct-form-legal a:hover { text-decoration: underline; }

/* Contact infos */
.ct-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 28px;
}
.ct-info-block { border-top: 1px solid rgba(0,0,0,.07); }
.ct-info-row { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.ct-info-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--cream-2); border: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: background .2s;
}
.ct-info-row:hover .ct-info-icon { background: var(--gold-pale); }
.ct-info-icon svg { width: 14px; height: 14px; }
.ct-info-label { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.ct-info-value { font-size: 14px; color: var(--text); line-height: 1.6; }
.ct-info-value a { color: var(--text); transition: color .2s; }
.ct-info-value a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .ct-main { padding: 64px 0; }
  .ct-main-inner { grid-template-columns: 1fr; gap: 56px; }
  .ct-form-wrap .wpcf7-form .ct-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767px) { .ct-main { padding: 52px 0; } }

/* =========================================================
   LEGAL NOTICE PAGE — HERO
========================================================= */
.lg-hero {
  position: relative; background: var(--dark-2); overflow: hidden;
  padding: calc(var(--hdr-h) + 52px) 0 60px;
}
.lg-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,.06);
}
.lg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 119px, rgba(255,255,255,.018) 119px, rgba(255,255,255,.018) 120px),
    repeating-linear-gradient(0deg, transparent, transparent 119px, rgba(255,255,255,.012) 119px, rgba(255,255,255,.012) 120px);
  opacity: .5;
}
.lg-hero-accent { position: absolute; bottom: 0; left: 0; width: 160px; height: 2px; background: var(--gold); }
.lg-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.lg-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light);
}
.lg-hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold-light); }
.lg-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px); font-weight: 300; line-height: 1.0; letter-spacing: -.03em; color: #fff;
}
.lg-hero h1 em { font-style: italic; color: var(--gold-light); }
.lg-hero-meta p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.7; }
.lg-hero-meta p + p { margin-top: 4px; }
.lg-hero-meta strong { color: rgba(255,255,255,.85); font-weight: 500; }

@media (max-width: 960px) { .lg-hero-inner { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 1023px) { .lg-hero { padding-top: calc(var(--hdr-h-tablet) + 44px); } }
@media (max-width: 767px) { .lg-hero { padding-top: calc(var(--hdr-h-mobile) + 36px); padding-bottom: 48px; } }

/* =========================================================
   LEGAL NOTICE PAGE — CONTENT
========================================================= */
.lg-body { background: #fff; padding: 80px 0 100px; }
.lg-layout { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }

.lg-nav { position: sticky; top: calc(var(--hdr-h-scrolled) + 24px); }
.lg-nav-title {
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.07);
}
.lg-nav-list { display: flex; flex-direction: column; gap: 2px; }
.lg-nav-list a {
  font-size: 13px; color: var(--text-3); padding: 7px 0 7px 12px;
  border-left: 2px solid transparent; display: block;
  transition: color .2s, border-color .2s; line-height: 1.4;
}
.lg-nav-list a:hover { color: var(--gold); border-color: var(--gold); }
.lg-nav-updated {
  margin-top: 28px; padding: 14px 16px; background: var(--cream-2); border-radius: 2px;
  font-size: 11px; color: var(--text-3); line-height: 1.6;
}
.lg-nav-updated strong {
  display: block; color: var(--text-2); margin-bottom: 2px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; font-size: 10px;
}
.lg-content { min-width: 0; }
.lg-section { padding-bottom: 52px; margin-bottom: 52px; }
.lg-section:last-child { margin-bottom: 0; padding-bottom: 0; }
.lg-section-num {
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.lg-section-num::after { content: ''; display: block; flex: 1; height: 1px; background: var(--gold-pale); }
.lg-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 32px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 20px;
}
.lg-section p { font-size: 14px; line-height: 1.85; color: var(--text-2); margin-bottom: 14px; }
.lg-section p:last-child { margin-bottom: 0; }
.lg-section a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .2s; }
.lg-section a:hover { border-color: var(--gold); }
.lg-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px; }
.lg-table tr { border-bottom: 1px solid rgba(0,0,0,.06); }
.lg-table tr:last-child { border-bottom: none; }
.lg-table td { padding: 12px 0; vertical-align: top; line-height: 1.6; }
.lg-table td:first-child {
  width: 200px; color: var(--text-3);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-right: 24px;
}
.lg-table td:last-child { color: var(--text); }
.lg-list { margin: 16px 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.lg-list li { font-size: 14px; line-height: 1.7; color: var(--text-2); display: flex; align-items: flex-start; gap: 12px; }
.lg-list li::before {
  content: ''; display: block; width: 4px; height: 4px;
  background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 8px;
}
.lg-contact-box {
  margin-top: 20px; padding: 20px 24px; background: var(--cream-2); border-radius: 2px;
  border-left: 2px solid var(--gold); font-size: 14px; color: var(--text-2); line-height: 1.7;
}
.lg-contact-box strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 6px; }
.lg-contact-box a { color: var(--gold); }

@media (max-width: 1023px) {
  .lg-body { padding: 64px 0 80px; }
  .lg-layout { grid-template-columns: 200px 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  .lg-body { padding: 52px 0 64px; }
  .lg-layout { grid-template-columns: 1fr; gap: 40px; }
  .lg-nav { position: static; }
  .lg-nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .lg-nav-list a { padding: 6px 12px; border-left: none; border: 1px solid rgba(0,0,0,.08); border-radius: 2px; }
  .lg-nav-list a:hover { border-color: var(--gold); }
  .lg-table td:first-child { width: 140px; font-size: 10px; }
}