/*
Theme Name: bref.cd
Theme URI: https://bref.cd/
Author: Custom WordPress Theme
Description: Landing page éditoriale minimaliste pour bref.cd.
Version: 1.0.0
Text Domain: bref-cd
*/

:root{
  --bref-red:#ff1018;
  --bref-red-dark:#b90008;
  --bref-black:#050607;
  --bref-panel:rgba(13,16,20,.82);
  --bref-border:rgba(255,255,255,.13);
  --bref-white:#fff;
  --bref-muted:rgba(255,255,255,.68);
  --bref-radius:18px;
  --bref-width:680px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--bref-white);
  background:var(--bref-black);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
a{color:inherit;text-decoration:none}
button,input{font:inherit}

.bref-page{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.70)),
    url("assets/images/bref-background.png") center top / cover fixed no-repeat;
}

.bref-page::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 50% 20%,rgba(255,16,24,.09),transparent 34%),
    linear-gradient(180deg,transparent 55%,rgba(0,0,0,.32));
  pointer-events:none;
}

.bref-shell{
  width:min(calc(100% - 32px),var(--bref-width));
  margin:0 auto;
  padding:38px 0 28px;
}

.bref-header{
  text-align:center;
  padding:4px 0 26px;
}

.bref-logo{
  display:block;
  width:min(290px,72vw);
  height:auto;
  margin:0 auto 9px;
  filter:drop-shadow(0 12px 30px rgba(0,0,0,.35));
}

.bref-tagline{
  margin:0;
  font-size:clamp(16px,2.5vw,20px);
  font-weight:650;
  letter-spacing:-.02em;
}

.bref-description{
  margin:8px auto 0;
  color:var(--bref-muted);
  font-size:14px;
  line-height:1.5;
}

.bref-links{
  display:grid;
  gap:12px;
}

.bref-link{
  position:relative;
  display:grid;
  grid-template-columns:56px 1fr 30px;
  align-items:center;
  min-height:76px;
  padding:10px 18px 10px 12px;
  border:1px solid var(--bref-border);
  border-radius:var(--bref-radius);
  background:linear-gradient(135deg,rgba(18,22,27,.92),rgba(7,9,12,.88));
  box-shadow:0 12px 32px rgba(0,0,0,.25);
  backdrop-filter:blur(10px);
  transition:transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.bref-link::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(100deg,rgba(255,16,24,.10),transparent 45%);
  opacity:0;
  transition:opacity .22s ease;
  pointer-events:none;
}

.bref-link:hover,
.bref-link:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(255,16,24,.52);
  background:linear-gradient(135deg,rgba(27,30,36,.96),rgba(9,11,14,.94));
  box-shadow:0 18px 42px rgba(0,0,0,.34),0 0 0 1px rgba(255,16,24,.08);
  outline:none;
}

.bref-link:hover::after,
.bref-link:focus-visible::after{opacity:1}

.bref-link--featured{
  background:linear-gradient(135deg,#ff161e,#c90008);
  border-color:rgba(255,255,255,.16);
}
.bref-link--featured:hover,
.bref-link--featured:focus-visible{
  background:linear-gradient(135deg,#ff252c,#d60009);
  border-color:rgba(255,255,255,.32);
}

.bref-icon{
  position:relative;
  z-index:1;
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:rgba(255,255,255,.07);
  color:var(--bref-red);
}
.bref-link--featured .bref-icon{
  background:rgba(255,255,255,.15);
  color:#fff;
}

.bref-icon svg{
  width:25px;
  height:25px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.bref-copy{
  position:relative;
  z-index:1;
  min-width:0;
  padding:0 12px;
  text-align:left;
}
.bref-title{
  display:block;
  font-size:17px;
  line-height:1.25;
  font-weight:750;
  letter-spacing:-.015em;
}
.bref-subtitle{
  display:block;
  margin-top:4px;
  color:var(--bref-muted);
  font-size:12px;
}
.bref-link--featured .bref-subtitle{color:rgba(255,255,255,.82)}

.bref-arrow{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.68);
  font-size:24px;
  transition:transform .22s ease,color .22s ease;
}
.bref-link:hover .bref-arrow{transform:translateX(3px);color:#fff}

.bref-social-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:30px 0 15px;
  color:rgba(255,255,255,.58);
  font-size:10px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.bref-social-title::before,
.bref-social-title::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.16);
}

.bref-socials{
  display:flex;
  justify-content:center;
  gap:12px;
}

.bref-social{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  background:rgba(7,9,12,.72);
  color:#fff;
  transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease;
}
.bref-social:hover,
.bref-social:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(255,16,24,.55);
  color:var(--bref-red);
  outline:none;
}
.bref-social svg{
  width:20px;
  height:20px;
  fill:currentColor;
}

.bref-footer{
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.10);
  text-align:center;
  color:rgba(255,255,255,.48);
  font-size:11px;
}
.bref-footer-logo{
  width:120px;
  height:auto;
  margin:0 auto 9px;
  opacity:.9;
}
.bref-footer p{margin:0}

.bref-empty{
  padding:28px;
  text-align:center;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:var(--bref-radius);
  color:var(--bref-muted);
}

@media (max-width:600px){
  .bref-page{background-attachment:scroll}
  .bref-shell{
    width:min(calc(100% - 24px),var(--bref-width));
    padding:24px 0 20px;
  }
  .bref-header{padding-bottom:22px}
  .bref-logo{width:min(245px,70vw)}
  .bref-link{
    grid-template-columns:50px 1fr 24px;
    min-height:68px;
    padding-right:12px;
    border-radius:16px;
  }
  .bref-icon{width:44px;height:44px;border-radius:12px}
  .bref-icon svg{width:22px;height:22px}
  .bref-title{font-size:15px}
  .bref-subtitle{font-size:11px}
  .bref-copy{padding:0 8px}
}

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

/* Section partenaires */
.bref-partners{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.8fr);gap:24px;align-items:center;margin-top:28px;padding:24px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:linear-gradient(135deg,rgba(8,10,13,.92),rgba(15,10,11,.80));box-shadow:0 16px 42px rgba(0,0,0,.28);backdrop-filter:blur(12px)}
.bref-partners-kicker{display:block;margin-bottom:7px;color:var(--bref-red);font-size:10px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.bref-partners h2{margin:0 0 10px;font-size:clamp(24px,4vw,34px);line-height:1;letter-spacing:-.035em}.bref-partners h2 em{color:var(--bref-red);font-style:italic}
.bref-partners p{margin:0;color:var(--bref-muted);font-size:13px;line-height:1.55}.bref-partners-logos{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:10px}.bref-partner-card{min-height:118px;display:grid;place-items:center;padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:#fff;overflow:hidden}.bref-partner-card img{display:block;width:100%;max-width:170px;height:auto;object-fit:contain}
@media(max-width:600px){.bref-partners{grid-template-columns:1fr;gap:18px;padding:18px;border-radius:16px}.bref-partners-logos{grid-template-columns:repeat(2,minmax(0,1fr))}.bref-partner-card{min-height:100px}}
