/* théa.fr — page d'accueil
   Généré depuis les <style> inline. Aucune étape de build. */

.page{padding-top:48px;}

/* ── HERO — 3-col grid, full width ── */
.hero{
  display:grid;
  grid-template-columns:160px 1fr 80px;
  min-height:calc(100vh - 38px);
  padding:48px 40px;
  border-bottom:1px solid var(--rule-strong);
  align-items:center;
  position:relative;
}
.hero-left{display:flex;flex-direction:column;gap:24px;align-self:center;}
.hero-meta-block{display:flex;flex-direction:column;gap:3px;}
.hero-num{font-size:10px;color:var(--text-muted);margin-bottom:6px;}
.hero-meta-line{font-size:11px;color:var(--text-muted);line-height:1.8;}
.hero-center{text-align:left;padding:0 24px;}
.hero-title{font-size:clamp(44px,7vw,88px);font-weight:400;letter-spacing:-4px;line-height:0.96;color:var(--text-on-dark);margin-bottom:20px;}
.hero-sub{font-size:11px;color:var(--text-muted);display:flex;gap:18px;justify-content:flex-start;flex-wrap:wrap;}
/* Mots-clés du hero — filtrent la section work au clic. */
.hero-key{font:inherit;color:inherit;letter-spacing:inherit;background:none;border:none;padding:0;position:relative;transition:color 0.2s ease;}
.hero-key::after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:1px;background:var(--rule-strong);transform:scaleX(0);transform-origin:left;transition:transform 0.25s ease;}
.hero-key:hover,.hero-key:focus-visible{color:var(--text-on-dark);}
.hero-key:focus-visible{outline:1px solid var(--rule-strong);outline-offset:4px;border-radius:2px;}
.hero-key:hover::after,.hero-key:focus-visible::after{transform:scaleX(1);}
.hero-key.is-active{color:var(--text-on-dark);}
.hero-key.is-active::after{transform:scaleX(1);}
@media(prefers-reduced-motion:reduce){.hero-key::after{transition:none;}}
.hero-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;height:100%;align-self:stretch;}
.hero-scroll-hint{font-size:10px;color:var(--text-muted);writing-mode:vertical-rl;letter-spacing:0.3px;}

/* ── WORK ── */
.work-header{
  display:grid;
  grid-template-columns:200px 1fr 1fr;
  align-items:center;
  padding:16px 40px;
  border-bottom:1px solid var(--rule-strong);
}
.sec-num{font-size:13px;color:var(--text-muted);letter-spacing:-0.2px;}
.sec-label{font-size:13px;letter-spacing:-0.3px;}
.filter-bar{display:flex;gap:5px;justify-content:flex-end;flex-wrap:wrap;}
.filter-btn{font-size:10px;padding:2px 10px;border-radius:99px;border:0.5px solid var(--text-muted);background:transparent;color:var(--text-muted);transition:background 0.2s,color 0.2s;}
.filter-btn.active,.filter-btn:hover{background:var(--light);color:var(--dark);border-color:var(--light);}
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;border-bottom:1px solid var(--rule-strong);}
.work-card{position:relative;overflow:hidden;aspect-ratio:3/4;background:var(--rule);display:block;}
.work-card img,.work-card video{width:100%;height:100%;object-fit:cover;transition:transform 0.5s ease;}
.work-card:hover img,.work-card:hover video{transform:scale(1.03);}
.work-card-info{position:absolute;bottom:0;left:0;right:0;padding:14px;background:linear-gradient(transparent,rgba(0,0,0,0.72));}
.work-card-title{font-size:12px;font-weight:500;letter-spacing:-0.3px;color:#f5f0ee;}
.work-card-desc{font-size:11px;margin-top:3px;line-height:1.4;color:rgba(245,240,238,0.65);}
.work-card-tags{font-size:10px;margin-top:4px;color:rgba(245,240,238,0.45);}
.work-ph{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;aspect-ratio:3/4;background:var(--rule);}
.work-ph .ph-title{font-size:12px;letter-spacing:-0.2px;}
.work-ph .ph-tags{font-size:10px;color:var(--text-muted);}
#work-loading{text-align:center;padding:60px 0;font-size:12px;color:var(--text-muted);grid-column:1/-1;}

/* ── ABOUT ── */
.about-section{padding:64px 40px;border-bottom:1px solid var(--rule-strong);border-top:1px solid var(--rule-strong);}
.about-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:48px;}
.about-header-num{font-size:13px;color:var(--text-muted);letter-spacing:-0.3px;display:flex;align-items:center;gap:8px;}
.about-header-label{font-size:13px;letter-spacing:-0.3px;}
.about-grid{display:grid;grid-template-columns:1fr 280px 1fr;gap:56px;align-items:start;}
.about-headline{font-size:22px;font-weight:400;letter-spacing:-0.7px;line-height:1.35;color:var(--text-on-dark);}
.about-photo{width:100%;aspect-ratio:3/4;object-fit:cover;background:var(--rule);display:block;}
.about-photo-empty{width:100%;aspect-ratio:3/4;background:var(--rule);display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--text-muted);}
.about-right{}
.about-body{font-size:15px;letter-spacing:-0.3px;line-height:1.7;color:var(--text-on-dark);}
.about-body strong{font-weight:500;}
.about-rule{border:none;border-top:1px solid var(--rule);margin:28px 0;}
.tools-list{display:flex;flex-wrap:wrap;gap:8px;}
.tool-tag{font-size:12px;padding:5px 14px;border:1px solid var(--rule-strong);border-radius:99px;color:var(--text-on-dark);}
.cv-link{display:inline-block;margin-top:20px;font-size:13px;border-bottom:1px solid var(--rule-strong);padding-bottom:2px;color:var(--text-on-dark);transition:opacity 0.2s;}
.cv-link:hover{opacity:0.55;}

/* ── CONTACT — column layout ── */
.contact-section{display:block;border-bottom:1px solid var(--rule-strong);}
.contact-cols{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule-strong);}
.contact-col{padding:32px 28px;}
.contact-col:not(:last-child){border-right:1px solid var(--rule);}
.contact-col-label{font-size:10px;color:var(--text-muted);letter-spacing:0.2px;margin-bottom:16px;text-transform:uppercase;}
.contact-email{font-size:clamp(22px,3.5vw,38px);font-weight:400;letter-spacing:-1.5px;line-height:1.1;color:var(--text-on-dark);border-bottom:1px solid var(--rule-strong);padding-bottom:2px;display:inline-block;transition:border-color 0.2s;}
.contact-email:hover{border-color:var(--text-muted);}
.contact-avail{font-size:13px;letter-spacing:-0.2px;line-height:1.7;color:var(--text-on-dark);}
.socials{display:flex;flex-direction:column;gap:8px;}
.socials a{font-size:13px;}

/* ── FOOTER ── */
footer{
  display:grid;
  grid-template-columns:240px 1fr 200px;
  padding:14px 40px;
  font-size:10px;color:var(--text-muted);
  border-top:1px solid var(--rule-strong);
}
.footer-center{text-align:center;}
.footer-right{text-align:right;}

/* ── Hero title sizing ── */
.hero-title{font-size:clamp(48px,8vw,100px);font-weight:400;letter-spacing:-4px;line-height:0.97;color:var(--text-on-dark);margin-bottom:20px;text-align:left;}

/* ── Arrows ── */
.arrow-float{position:absolute;width:32px;height:32px;animation:float 4s ease-in-out infinite alternate;pointer-events:none;}
.arrow-float:nth-child(1){animation-duration:3.8s;animation-delay:0s;}
.arrow-float:nth-child(2){animation-duration:4.4s;animation-delay:-1.1s;}
.arrow-float:nth-child(3){animation-duration:3.5s;animation-delay:-2.3s;}
.arrow-float:nth-child(4){animation-duration:4.9s;animation-delay:-0.6s;}
.arrow-float:nth-child(5){animation-duration:3.6s;animation-delay:-1.4s;}
.arrow-float:nth-child(6){animation-duration:4.7s;animation-delay:-2.1s;}
.arrow-float:nth-child(7){animation-duration:3.9s;animation-delay:-0.8s;}
.arrow-float:nth-child(8){animation-duration:4.2s;animation-delay:-1.7s;}
.arrow-float:nth-child(9){animation-duration:3.7s;animation-delay:-2.8s;}
.arrow-float:nth-child(10){animation-duration:4.6s;animation-delay:-0.3s;}
.arrow-float:nth-child(11){animation-duration:3.4s;animation-delay:-1.9s;}
.arrow-float:nth-child(12){animation-duration:4.3s;animation-delay:-2.5s;}
@keyframes float{from{transform:translateY(0);}to{transform:translateY(-14px);}}
.arrow-deco{width:32px;height:32px;opacity:0.45;will-change:transform;}
.arrow-deco svg{width:100%;height:100%;}

/* ── Filter buttons bigger ── */
.filter-btn{font-size:12px;padding:6px 16px;border-radius:99px;border:1px solid var(--rule-strong);background:transparent;color:var(--text-on-dark);transition:background 0.2s,color 0.2s,border-color 0.2s;letter-spacing:-0.2px;}
.filter-btn.active,.filter-btn:hover{background:var(--light);color:var(--dark);border-color:var(--light);}

/* ── Work card hover — image crossfade + cursor pulse ── */
.work-card{position:relative;overflow:hidden;aspect-ratio:3/4;background:var(--rule);display:block;}
.work-card .img-primary{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity 0.55s ease,transform 0.55s ease;}
.work-card .img-hover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 0.55s ease,transform 0.55s ease;}
.work-card:hover .img-primary{opacity:0;transform:scale(1.04);}
.work-card:hover .img-hover{opacity:1;transform:scale(1.04);}
.work-card video.img-primary,.work-card video.img-hover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}


/* ── Word-by-word animation ── */
.reveal-word{display:inline-block;opacity:0;transform:translateY(18px);transition:opacity 0.5s ease, transform 0.5s ease;}
.reveal-word.visible{opacity:1;transform:translateY(0);}
.reveal-line{overflow:hidden;}
.reveal-from-right{opacity:0;transform:translateX(32px);transition:opacity 0.6s ease,transform 0.6s ease;}
.reveal-from-right.visible{opacity:1;transform:translateX(0);}
.reveal-from-left{opacity:0;transform:translateX(-32px);transition:opacity 0.6s ease,transform 0.6s ease;}
.reveal-from-left.visible{opacity:1;transform:translateX(0);}
.reveal-up{opacity:0;transform:translateY(24px);transition:opacity 0.55s ease,transform 0.55s ease;}
.reveal-up.visible{opacity:1;transform:translateY(0);}



/* ── TABLET ── */
@media(max-width:1024px){
  .hero{grid-template-columns:160px 1fr 60px;}
  nav{padding:0 24px;}
}

/* ── MOBILE ── */
@media(max-width:700px){

  .page{padding-top:48px;}

  /* Hero — compact, no wasted space */
  .hero{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    padding:20px 20px 28px;
    min-height:calc(100svh - 48px);
    gap:0;
    align-content:space-between;
  }
  .hero-left{
    grid-row:1;
    gap:2px;
  }
  .hero-meta-block:last-child{display:none;}
  .hero-num{font-size:10px;margin-bottom:3px;}
  .hero-meta-line{font-size:11px;line-height:1.8;}
  .hero-center{
    grid-row:2;
    padding:32px 0 0;
    text-align:left;
  }
  .hero-right{display:none;}
  /* Title: force "identités," on one line */
  .hero-title{
    font-size:clamp(28px,8.5vw,44px);
    letter-spacing:-1.5px;
    line-height:1.08;
    margin-bottom:14px;
    hyphens:none;
  }
  .hero-sub{
    grid-row:3;
    font-size:10px;
    gap:10px;
    flex-wrap:wrap;
    padding-top:20px;
  }

  /* Arrows — dense like desktop, on the edges */
  .arrow-float{display:none !important;}
  .arrow-float:nth-child(1){display:block !important;width:22px;height:22px;top:8%;left:2%;}
  .arrow-float:nth-child(2){display:block !important;width:20px;height:20px;top:14%;left:8%;}
  .arrow-float:nth-child(3){display:block !important;width:18px;height:18px;top:22%;left:1%;}
  .arrow-float:nth-child(4){display:block !important;width:22px;height:22px;top:8%;right:2%;}
  .arrow-float:nth-child(5){display:block !important;width:20px;height:20px;top:18%;right:6%;}
  .arrow-float:nth-child(6){display:block !important;width:18px;height:18px;top:28%;right:1%;}
  .arrow-float:nth-child(7){display:block !important;width:22px;height:22px;top:72%;left:2%;}
  .arrow-float:nth-child(8){display:block !important;width:20px;height:20px;top:80%;left:7%;}
  .arrow-float:nth-child(9){display:block !important;width:22px;height:22px;top:72%;right:2%;}
  .arrow-float:nth-child(10){display:block !important;width:20px;height:20px;top:82%;right:5%;}
  .arrow-deco{width:100%;height:100%;}

  /* Work header */
  .work-header{
    grid-template-columns:auto 1fr;
    gap:12px;
    padding:14px 20px 10px;
    flex-wrap:wrap;
    display:flex;
    align-items:flex-start;
  }
  .sec-num,.sec-label{font-size:12px;}
  .filter-bar{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    justify-content:flex-start;
    margin-top:4px;
    padding-bottom:4px;
  }
  .filter-btn{font-size:11px;padding:5px 13px;}

  /* Work grid — 2 columns */
  .work-grid{grid-template-columns:repeat(2,1fr);gap:2px;}
  .work-card-title{font-size:11px;letter-spacing:-0.2px;}
  .work-card-desc{display:none;}
  .work-card-tags{font-size:9px;margin-top:2px;}

  /* About */
  .about-section{padding:32px 20px;}
  .about-header{margin-bottom:20px;}
  .about-grid{grid-template-columns:1fr;gap:24px;}
  .about-headline{font-size:18px;letter-spacing:-0.5px;}
  #about-photo-wrap{max-width:180px;}
  .about-body{font-size:14px;}
  .tools-list{gap:6px;}
  .tool-tag{font-size:11px;padding:4px 11px;}

  /* Contact */
  .contact-section{border-bottom:1px solid var(--rule-strong);}
  .contact-cols{grid-template-columns:1fr;}
  .contact-col{padding:20px 20px;}
  .contact-col:not(:last-child){border-right:none;border-bottom:1px solid var(--rule);}
  .contact-email{font-size:clamp(20px,7vw,30px);}

  /* Footer */
  footer{grid-template-columns:1fr;padding:14px 20px;gap:6px;}
  .footer-center,.footer-right{text-align:left;}

}

