/*
Theme Name: Golden Kay
Text Domain: goldenkay
Version: 1.0.2
*/

:root{
  --gk-navy:#0B1020;
  --gk-gold:#c2ae66;
  --gk-bg:#F5F5F8;
  --gk-text:#4A4A4A;
  --gk-white:#FFFFFF;
  --app-accent: var(--gk-gold);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--gk-text);
  background:#fff;
}

.gk-wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.95; }

/* Header */
.gk-header{
  position: sticky; top:0; z-index:50;
  height:80px; display:flex; align-items:center;
  background: rgba(11,16,32,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.gk-header .gk-wrap{ display:flex; align-items:center; justify-content:space-between; gap:48px; }
.gk-brand{ display:flex; align-items:center; gap:10px; font-weight:900; color:#fff; }
.gk-nav{ display:flex; gap:16px; align-items:center; }
.gk-nav a{ color: rgba(255,255,255,.88); font-weight:800; }
.gk-nav a:hover{ color: var(--gk-gold); }

/* Buttons */
.gk-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:12px 16px;
  font-weight:900;
  border:1px solid transparent;
}
.gk-btn.primary{ background: var(--app-accent); color:#0B1020; }
.gk-btn.ghost{ background: transparent; color:#fff; border-color: rgba(255,255,255,.35); }
.gk-btn.ghost-gold{ background: transparent; color: var(--gk-gold); border-color: var(--gk-gold); }

/* Hero */
.hero{
  background: linear-gradient(180deg, #0B1020, #060A14);
  color:#fff;
  padding: 72px 0 56px;
}
.kicker{
  margin:0 0 10px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:900;
  font-size:12px;
  color: var(--app-accent);
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height:1.05;
  color:#fff;
}
.tagline{
  margin:0 0 16px;
  font-size:18px;
  color: rgba(255,255,255,.80);
}
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

/* App hero (single-application) */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px;
  align-items:start;
}
.app-logo{ display:flex; align-items:center; gap:14px; margin: 0 0 10px; }
.app-logo img{
  width:72px; height:72px; object-fit:contain;
  border-radius:16px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
}
.app-logo .name{ font-weight:950; color:#fff; line-height:1.1; font-size:18px; }
.app-logo .mini{ color: rgba(255,255,255,.68); font-size:14px; margin-top:4px; }
.hero ul{ margin:0 0 18px; padding-left:18px; color: rgba(255,255,255,.82); }

.hero-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:18px;
  padding:14px;
}
.hero-card p{ margin:8px 0 0; color: rgba(255,255,255,.72); }

/* Main */
main.site-main{ padding:40px 0 0; }
.page-content main.site-main{ padding:40px 0 70px; }

/* Sections */
.gk-section{
  padding: 18px 0 42px;
}
.gk-section.alt{
  background: var(--gk-bg);
  border-radius: 22px;
  padding: 26px 18px 46px;
}
.gk-section-head h2{
  margin:0 0 8px;
  color:#111;
  font-size: 28px;
}
.gk-section-head p{
  margin:0 0 18px;
  color: rgba(17,17,17,.65);
  max-width: 820px;
}

/* Cards / grids */
.gk-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.gk-cards-2{
  grid-template-columns: repeat(2, 1fr);
}
.gk-card-link{ display:block; }
.gk-card{
  background:#fff;
  border:1px solid rgba(11,16,32,.08);
  box-shadow: 0 10px 30px rgba(11,16,32,.07);
  border-radius:18px;
  padding:16px;
}
.gk-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.gk-card-icon{
  width:46px;
  height:46px;
  object-fit:contain;
  border-radius:12px;
  background: rgba(11,16,32,.04);
  border:1px solid rgba(11,16,32,.08);
}
.gk-card-title{ font-weight:950; color:#111; margin-bottom:6px; }
.gk-card-sub{ color: rgba(17,17,17,.65); font-size:14px; }
.gk-card-cta{ margin-top:14px; }

.gk-grid-3{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:14px;
}

.gk-box{
  border:1px solid rgba(11,16,32,.10);
  border-radius:18px;
  padding:16px;
  background: var(--gk-bg);
}

/* CTA strip */
.gk-cta-strip{
  margin-top: 34px;
  background: linear-gradient(180deg, #0B1020, #060A14);
  padding: 34px 0;
  color:#fff;
}
.gk-cta-strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.gk-cta-strip-title{ font-weight:950; font-size:20px; }
.gk-cta-strip-sub{ color: rgba(255,255,255,.78); margin-top:6px; }

/* Footer */
.gk-footer{ background: var(--gk-navy); color:#fff; padding:42px 0; }
.gk-footer .muted{ color: rgba(255,255,255,.7); font-size:14px; }

/* Hide auto WP titles */
.page-title,.entry-title,.section-title,.wp-block-post-title{ display:none !important; }

/* Responsive */
@media (max-width: 900px){
  .gk-nav{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .gk-cards{ grid-template-columns:1fr; }
  .gk-cards-2{ grid-template-columns:1fr; }
  .gk-grid-3{ grid-template-columns:1fr; }
}

/* WP menu */
.gk-menu{ list-style:none; display:flex; gap:16px; margin:0; padding:0; align-items:center; }
.gk-menu li{ margin:0; padding:0; }
.gk-menu a{ color: rgba(255,255,255,.88); font-weight:800; }
.gk-menu a:hover{ color: var(--gk-gold); }
.gk-nav-cta{ margin-left: 8px; }

/* =========================
   Contact page (FORCE STYLE)
   ========================= */

/* largeur confortable */
.gk-narrow{ max-width: 980px; }

/* petit hero clair (pas le hero sombre) */
.gk-page-hero{
  background: var(--gk-bg);
  padding: 34px 0 18px;
  border-bottom: 1px solid rgba(11,16,32,.06);
}
.gk-page-title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  color: #111;
}
.gk-page-sub{
  margin: 0;
  color: rgba(17,17,17,.65);
  max-width: 880px;
}

/* formulaire */
.gk-form{
  margin-top: 18px;
  border: 1px solid rgba(11,16,32,.10);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11,16,32,.07);
}

/* honeypot caché */
.gk-hp{
  position:absolute;
  left:-9999px;
  top:-9999px;
  height:0;
  overflow:hidden;
}

.gk-form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.gk-field label{
  display:block;
  margin: 0 0 6px;
  font-weight: 900;
  color:#111;
}

.gk-field input,
.gk-field select,
.gk-field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(11,16,32,.16);
  background: #fff;
  font: inherit;
  outline: none;
}

.gk-field input[readonly]{
  background: rgba(11,16,32,.04);
  border-color: rgba(11,16,32,.10);
}

.gk-field textarea{ resize: vertical; }

.gk-field input:focus,
.gk-field select:focus,
.gk-field textarea:focus{
  border-color: rgba(11,16,32,.35);
  box-shadow: 0 0 0 4px rgba(249,177,64,.20);
}

.gk-help{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(17,17,17,.60);
}

.gk-form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

/* bouton secondaire clair pour les pages claires */
.gk-btn.secondary{
  background: transparent;
  color: #111;
  border: 1px solid rgba(11,16,32,.18);
}

/* alertes */
.gk-alert{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 900;
}
.gk-alert.ok{
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  color: #14532d;
}
.gk-alert.ko{
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  color: #7f1d1d;
}

.gk-legal-note{
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(17,17,17,.60);
}

/* responsive */
@media (max-width: 900px){
  .gk-form-row{ grid-template-columns: 1fr; }
}

/* FAQ details premium */
.wp-block-details{
  border: 1px solid rgba(11,16,32,.10);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fff;
}
.wp-block-details summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}
.wp-block-details summary::-webkit-details-marker{ display:none; }
.wp-block-details summary:after{
  content:"▾";
  float:right;
  opacity:.65;
}
.wp-block-details[open] summary:after{
  content:"▴";
}
.wp-block-details p, .wp-block-details ul{
  margin-top: 10px;
  color: rgba(17,17,17,.72);
}
