/*
Theme Name: avecq
Theme URI: https://quiavecqui.com/site
Author: QAQ
Description: QAQ Ultimate — Sentinelle • Profils • Patrimoines (OOP modular, Bootstrap local)
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: avecq
*/
/* QuiAvecQui production landing pages */
.qaq-production-landing{padding:82px 0 56px;background:radial-gradient(circle at 85% 15%,rgba(17,17,17,.18),transparent 34%),linear-gradient(135deg,var(--qaq-ink),#24211f 62%,#0f0f0f);color:#fff;overflow:hidden}.qaq-production-landing h1{max-width:1050px;font-size:clamp(2.4rem,7vw,6rem);line-height:.92;font-weight:950;letter-spacing:-.065em;margin:12px 0 18px}.qaq-production-landing p{max-width:780px;font-size:1.14rem;color:rgba(255,255,255,.76)}.qaq-production-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.qaq-production-actions a{display:inline-flex;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:12px 18px;color:#fff;text-decoration:none;font-weight:900}.qaq-production-actions a:first-child{background:var(--qaq-paper);color:var(--qaq-ink)}.qaq-production-main{padding:32px 0 70px}.qaq-production-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.qaq-production-card{background:var(--qaq-paper);border:1px solid var(--qaq-border);border-radius:22px;overflow:hidden;box-shadow:var(--qaq-shadow)}.qaq-production-card a{display:grid;gap:10px;color:var(--qaq-ink);text-decoration:none;padding:16px}.qaq-production-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;background:#eee}.qaq-production-card strong{font-size:1.1rem}.qaq-production-card span{color:var(--qaq-muted);font-weight:700}.qaq-production-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.qaq-production-list article{background:var(--qaq-paper);border:1px solid var(--qaq-border);border-radius:22px;padding:20px;box-shadow:var(--qaq-shadow)}.qaq-production-list strong{display:block;font-size:1.2rem}.qaq-production-list span{display:block;margin-top:8px;color:var(--qaq-muted);font-weight:700}.qaq-production-timeline{display:grid;gap:12px}.qaq-production-timeline article{display:grid;grid-template-columns:130px 1fr auto;gap:16px;align-items:center;background:var(--qaq-paper);border:1px solid var(--qaq-border);border-radius:18px;padding:16px;box-shadow:var(--qaq-shadow)}.qaq-production-timeline time{font-weight:900;color:var(--qaq-ink)}.qaq-production-timeline a{font-weight:900;color:var(--qaq-ink);text-decoration:none}.qaq-production-timeline span{color:var(--qaq-muted);font-weight:700}@media(max-width:980px){.qaq-production-card-grid,.qaq-production-list{grid-template-columns:1fr}.qaq-production-timeline article{grid-template-columns:1fr}.qaq-production-landing{padding:54px 0 38px}}


/* QuiAvecQui public observatory cleanup: preserve site palette and style new links/buttons */
.qaq-btn,
a.qaq-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:46px;
  padding:.88rem 1.25rem;
  border-radius:999px;
  border:2px solid var(--qaq-ink,#15110d);
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.045em;
  text-decoration:none!important;
  line-height:1;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}
.qaq-btn-primary,
a.qaq-btn-primary{
  background:var(--qaq-paper,#fffaf2);
  color:var(--qaq-ink,#15110d)!important;
  box-shadow:8px 8px 0 var(--qaq-gold,#d6a515);
}
.qaq-btn-ghost,
a.qaq-btn-ghost{
  background:transparent;
  color:var(--qaq-paper,#fffaf2)!important;
  border-color:rgba(255,250,242,.72);
}
.qaq-btn:hover,
a.qaq-btn:hover{
  transform:translate(-2px,-2px);
  box-shadow:12px 12px 0 var(--qaq-gold,#d6a515);
}
.qaq-btn-ghost:hover,
a.qaq-btn-ghost:hover{
  background:var(--qaq-paper,#fffaf2);
  color:var(--qaq-ink,#15110d)!important;
  border-color:var(--qaq-paper,#fffaf2);
}
.qaq-inline-link{
  color:var(--qaq-ink,#15110d)!important;
  font-weight:950;
  text-decoration:none!important;
  border-bottom:3px solid var(--qaq-ink,#15110d);
}
.qaq-inline-link:hover{color:var(--qaq-gold,#d6a515)!important;border-bottom-color:var(--qaq-gold,#d6a515)}
.qaq-citizen-impact{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.qaq-citizen-impact span{display:inline-flex;border:1px solid rgba(21,17,13,.14);background:rgba(255,255,255,.55);border-radius:999px;padding:.7rem .9rem;font-weight:900;color:var(--qaq-ink,#15110d)}
.qaq-map-reader-guide{margin-bottom:18px}.qaq-map-reader-guide article{background:var(--qaq-paper,#fffaf2);border:1px solid rgba(21,17,13,.14);border-radius:24px;padding:22px;box-shadow:var(--qaq-shadow,0 18px 42px rgba(21,17,13,.08))}.qaq-map-reader-guide strong{display:block;font-size:clamp(1.45rem,3vw,2.4rem);line-height:.95;font-weight:950;letter-spacing:-.04em}.qaq-map-reader-guide span{display:block;margin-top:10px;color:var(--qaq-muted,rgba(21,17,13,.66));font-weight:760;max-width:850px}

/* v30 — Profile linked items: compact spacing only.
   Reverts the v29 combined/grouped layout and keeps the original UI structure.
   Scope: profile detail pages only. */
.single-qaq_person main section.mb-4 > .mt-3.d-grid.gap-3 {
  gap: .75rem !important;
}
.single-qaq_person main section.mb-4 article.border.rounded-4.bg-white {
  padding: .85rem 1rem !important;
}
.single-qaq_person main section.mb-4 article .fw-semibold {
  line-height: 1.25;
}
.single-qaq_person main section.mb-4 article .text-secondary.small.mt-1 {
  margin-top: .25rem !important;
}
.single-qaq_person main section.mb-4 article .mt-2.d-flex.flex-wrap.gap-2 {
  margin-top: .4rem !important;
  gap: .35rem !important;
}
.single-qaq_person main section.mb-4 article .btn.btn-sm.rounded-pill {
  padding: .32rem .75rem;
}
@media (max-width: 575.98px) {
  .single-qaq_person main section.mb-4 article.border.rounded-4.bg-white {
    padding: .75rem .85rem !important;
  }
}

/* v37 — Consistent linked profile card style for every Sentinelle/Patrimoine detail area. */
.avecq-linked-profile-box{
  background:rgba(255,250,242,.72)!important;
  border:1px solid rgba(21,17,13,.10)!important;
  border-radius:28px!important;
  box-shadow:0 18px 42px rgba(21,17,13,.06);
}
.avecq-linked-profile-box h3{
  font-weight:950;
  letter-spacing:-.035em;
  color:var(--qaq-ink,#15110d);
  margin-bottom:1rem!important;
}
.avecq-linked-profile-card{
  background:#fff;
  border:1px solid rgba(21,17,13,.12);
  border-radius:0;
  padding:16px;
}
.avecq-linked-profile-main{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
}
.avecq-linked-profile-avatar{
  width:58px;
  height:58px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(21,17,13,.12);
  background:#f3f1eb;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(21,17,13,.55);
  font-weight:950;
}
.avecq-linked-profile-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.avecq-linked-profile-meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.avecq-linked-profile-name,
.avecq-linked-profile-name a{
  color:var(--qaq-ink,#15110d)!important;
  font-weight:950;
  text-decoration:none!important;
  font-size:1.12rem;
  line-height:1.1;
}
.avecq-linked-profile-line{
  max-width:100%;
  color:var(--qaq-muted,rgba(21,17,13,.66));
  font-size:.88rem;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.avecq-linked-profile-uid{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  border:1px solid rgba(21,17,13,.14);
  border-radius:999px;
  background:#f8fafc;
  padding:.28rem .65rem;
  color:var(--qaq-ink,#15110d);
  font-weight:950;
  line-height:1;
  white-space:nowrap;
}
.avecq-linked-profile-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.78rem 1.35rem;
  border-radius:999px;
  background:var(--qaq-ink,#15110d);
  color:#fff!important;
  text-decoration:none!important;
  text-transform:uppercase;
  font-weight:950;
  letter-spacing:.09em;
  box-shadow:8px 8px 0 var(--qaq-gold,#d6a515);
  white-space:nowrap;
}
.avecq-linked-profile-open:hover{
  transform:translate(-1px,-1px);
  color:#fff!important;
  box-shadow:10px 10px 0 var(--qaq-gold,#d6a515);
}
@media (max-width:575.98px){
  .avecq-linked-profile-card{padding:14px;}
  .avecq-linked-profile-main{grid-template-columns:48px minmax(0,1fr);gap:12px;}
  .avecq-linked-profile-avatar{width:48px;height:48px;}
  .avecq-linked-profile-open{grid-column:1 / -1;width:100%;min-height:44px;margin-top:2px;}
  .avecq-linked-profile-name,.avecq-linked-profile-name a{font-size:1rem;}
  .avecq-linked-profile-uid{font-size:.8rem;}
}

/* Sentinelle single: approved map/gallery/profile-sidebar layout */
.avecq-sentinel-gallery {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 1.25rem;
  background: #f8f9fa;
}
.avecq-sentinel-gallery__track {
  position: relative;
  width: 100%;
  min-height: 320px;
}
.avecq-sentinel-gallery__slide {
  display: none;
  margin: 0;
  width: 100%;
  height: 100%;
}
.avecq-sentinel-gallery__slide.is-active {
  display: block;
}
.avecq-sentinel-gallery__image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.avecq-sentinel-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}
.avecq-sentinel-gallery__nav--prev { left: 16px; }
.avecq-sentinel-gallery__nav--next { right: 16px; }
.avecq-sentinel-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.avecq-sentinel-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  box-shadow: 0 0 0 1px rgba(0,0,0,.10);
}
.avecq-sentinel-gallery__dot.is-active {
  background: #111;
}
.avecq-sidebar-linked-profiles {
  overflow: hidden;
}
.avecq-sidebar-profile-card {
  padding: .9rem 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.avecq-sidebar-linked-profiles .avecq-sidebar-profile-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.avecq-sidebar-profile-card__avatar {
  width: 56px;
  height: 56px;
}
.avecq-sidebar-profile-card__button {
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 #f4bd20;
}
@media (max-width: 991.98px) {
  .avecq-sentinel-gallery__image { height: 280px; }
  .avecq-sentinel-gallery__track { min-height: 280px; }
}
.avecq-sentinel-gallery-section--sidebar .avecq-sentinel-gallery__track {
  min-height: 250px;
}
.avecq-sentinel-gallery-section--sidebar .avecq-sentinel-gallery__image {
  height: 250px;
}
@media (max-width: 991.98px) {
  .avecq-sentinel-gallery-section--sidebar .avecq-sentinel-gallery__image { height: 260px; }
  .avecq-sentinel-gallery-section--sidebar .avecq-sentinel-gallery__track { min-height: 260px; }
}

/* v43 — Custom visitor signup/signin/account pages. No WordPress dashboard feel. */
.avecq-auth-page{
  position:relative;
  min-height:calc(100vh - 96px);
  overflow:hidden;
  padding:clamp(34px,6vw,76px) 0;
  background:radial-gradient(circle at 84% 10%,rgba(214,165,21,.24),transparent 34%),linear-gradient(135deg,#fffaf2 0%,#f8efd9 54%,#fffdf7 100%);
  color:var(--qaq-ink,#15110d);
}
.avecq-auth-bg{position:absolute;inset:auto -12% -28% auto;width:520px;height:520px;border-radius:50%;background:rgba(214,165,21,.16);filter:blur(8px);pointer-events:none}.avecq-auth-wrap{position:relative;display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.72fr);gap:clamp(24px,5vw,66px);align-items:center}.avecq-auth-hero{max-width:760px}.avecq-auth-logo{display:inline-flex;align-items:center;margin-bottom:26px;text-decoration:none}.avecq-auth-logo img,.avecq-auth-logo .custom-logo{max-width:min(270px,70vw);height:auto}.avecq-auth-eyebrow{display:inline-flex;margin-bottom:14px;border:1px solid rgba(21,17,13,.14);border-radius:999px;padding:.55rem .8rem;background:rgba(255,255,255,.55);font-weight:950;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.avecq-auth-hero h1{font-size:clamp(2.8rem,8vw,6.7rem);line-height:.86;letter-spacing:-.075em;font-weight:950;margin:0 0 20px}.avecq-auth-hero p{font-size:clamp(1.04rem,2vw,1.32rem);line-height:1.55;color:rgba(21,17,13,.72);max-width:640px;margin:0}.avecq-auth-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.avecq-auth-points span{display:inline-flex;align-items:center;border-radius:999px;border:1px solid rgba(21,17,13,.12);background:rgba(255,255,255,.58);padding:.72rem .92rem;font-weight:900;color:rgba(21,17,13,.78)}.avecq-auth-card{background:rgba(255,255,255,.82);border:1px solid rgba(21,17,13,.12);border-radius:30px;padding:clamp(22px,4vw,34px);box-shadow:0 28px 70px rgba(21,17,13,.12);backdrop-filter:blur(12px)}.avecq-auth-form{display:grid;gap:16px}.avecq-auth-form label{display:grid;gap:8px;font-weight:950;color:var(--qaq-ink,#15110d)}.avecq-auth-form input{width:100%;min-height:54px;border-radius:18px;border:1px solid rgba(21,17,13,.18);background:#fffaf2;padding:0 16px;font:inherit;font-weight:750;color:var(--qaq-ink,#15110d);outline:none}.avecq-auth-form input:focus{border-color:var(--qaq-gold,#d6a515);box-shadow:0 0 0 4px rgba(214,165,21,.18)}.avecq-auth-submit{display:inline-flex;align-items:center;justify-content:center;min-height:56px;border-radius:999px;border:2px solid var(--qaq-ink,#15110d);background:var(--qaq-ink,#15110d);color:#fffaf2;font-weight:950;text-transform:uppercase;letter-spacing:.045em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.avecq-auth-submit:hover{transform:translate(-2px,-2px);box-shadow:10px 10px 0 var(--qaq-gold,#d6a515)}.avecq-auth-switch{margin-top:18px;text-align:center;font-weight:850;color:rgba(21,17,13,.70)}.avecq-auth-switch a{color:var(--qaq-ink,#15110d);font-weight:950;text-decoration:none;border-bottom:3px solid var(--qaq-gold,#d6a515)}.avecq-auth-notice{margin-bottom:16px;border-radius:18px;padding:14px 16px;font-weight:900}.avecq-auth-notice--ok{background:rgba(25,135,84,.10);border:1px solid rgba(25,135,84,.22);color:#12613d}.avecq-auth-notice--warn{background:rgba(214,165,21,.14);border:1px solid rgba(214,165,21,.28);color:#6c530b}.avecq-auth-notice--err{background:rgba(180,35,24,.10);border:1px solid rgba(180,35,24,.22);color:#8f1f17}.avecq-account-summary{display:flex;align-items:center;gap:14px;margin-bottom:20px;border:1px solid rgba(21,17,13,.10);background:#fffaf2;border-radius:22px;padding:14px}.avecq-account-avatar{display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:var(--qaq-gold,#d6a515);color:var(--qaq-ink,#15110d);font-weight:950;font-size:1.35rem}.avecq-account-summary strong,.avecq-account-summary span{display:block}.avecq-account-summary strong{font-weight:950}.avecq-account-summary span{color:rgba(21,17,13,.62);font-weight:800;word-break:break-word}@media(max-width:991.98px){.avecq-auth-wrap{grid-template-columns:1fr}.avecq-auth-card{max-width:640px}.avecq-auth-hero h1{font-size:clamp(2.5rem,14vw,4.6rem)}}@media(max-width:575.98px){.avecq-auth-page{padding:28px 0}.avecq-auth-points{display:grid}.avecq-auth-card{border-radius:24px;padding:20px}.avecq-auth-form input{min-height:52px}}
