/*
Theme Name: Rodolphe Editorial Theme
Theme URI: https://rodolpheh.fr
Author: Rodolphe H.
Description: Thème WordPress éditorial luxe — Vogue Gallery. Direction artistique radicale : noir profond, titres XXL, grille magazine asymétrique, socials SVG premium, homepage galerie.
Version: 0.6.4
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 8.1
License: GPLv2 or later
Text Domain: rodolphe-editorial-theme
*/

:root{
  --ret-bg:#050505;
  --ret-bg-soft:#0b0b0b;
  --ret-bg-card:#0f0f0f;
  --ret-ink:#f1ede6;
  --ret-muted:#8a837b;
  --ret-muted-2:#5d5751;
  --ret-line:rgba(241,237,230,.12);
  --ret-line-strong:rgba(241,237,230,.22);
  --ret-gold:#bfa16a;
  --ret-gold-soft:#d8c294;
  --ret-max:1560px;
  --ret-radius:0px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--ret-bg);color:var(--ret-ink);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.48;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
body.ret-light{
  --ret-bg:#f2eee7;--ret-bg-soft:#faf6ef;--ret-bg-card:#fffaf2;
  --ret-ink:#0a0a0a;--ret-muted:#6c635a;--ret-muted-2:#8c8379;
  --ret-line:rgba(10,10,10,.12);--ret-line-strong:rgba(10,10,10,.22);
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--ret-gold)}
p{margin-top:0}
::selection{background:var(--ret-gold);color:#050505}

.ret-container{width:min(calc(100% - 44px),var(--ret-max));margin-inline:auto}
.ret-narrow{width:min(calc(100% - 44px),920px);margin-inline:auto}
.ret-serif{font-family:Georgia,"Times New Roman",serif}
.ret-kicker{
  font-size:10px;letter-spacing:.34em;text-transform:uppercase;
  color:var(--ret-gold);margin-bottom:18px;font-weight:500;
}
.ret-muted{color:var(--ret-muted)}
.ret-divider{height:1px;background:var(--ret-line);margin:44px 0}

/* Header — fashion index */
.ret-header{
  position:sticky;top:0;z-index:80;background:rgba(5,5,5,.76);
  backdrop-filter:blur(20px);border-bottom:1px solid var(--ret-line);
}
body.ret-light .ret-header{background:rgba(242,238,231,.78)}
.ret-header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.ret-brand{display:flex;align-items:center;gap:14px;min-width:0}
.ret-logo-img{max-height:42px;width:auto;object-fit:contain;filter:grayscale(1) contrast(1.08)}
.ret-logo-text{
  font-family:Georgia,serif;font-size:18px;letter-spacing:.18em;
  text-transform:uppercase;white-space:nowrap;
}
.ret-nav{
  display:flex;gap:22px;align-items:center;
  font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--ret-muted);
}
.ret-nav .menu{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.ret-menu-toggle{
  display:none;background:transparent;color:var(--ret-ink);border:1px solid var(--ret-line);
  padding:9px 13px;border-radius:0;letter-spacing:.18em;text-transform:uppercase;font-size:10px;
}
.ret-header-cta{
  border:1px solid var(--ret-line-strong);padding:10px 15px;border-radius:0;color:var(--ret-ink);
}
.ret-header-cta:hover{border-color:var(--ret-gold);background:transparent;color:var(--ret-gold)}

/* SVG socials */
.ret-socials{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ret-social-link{
  display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;border:1px solid var(--ret-line);border-radius:50%;
  color:var(--ret-muted);background:rgba(255,255,255,.015);
  transition:all .28s ease;
}
.ret-footer .ret-social-link{width:48px;height:48px}
.ret-social-link svg{width:18px;height:18px;fill:currentColor}
.ret-footer .ret-social-link svg{width:20px;height:20px}
.ret-social-link:hover{color:var(--ret-gold);border-color:var(--ret-gold);box-shadow:0 0 30px rgba(191,161,106,.16);transform:translateY(-2px)}
.ret-nav-socials{margin-left:4px}
.ret-footer-socials{margin-top:22px}

/* Hero — cover */
.ret-hero{
  min-height:calc(100svh - 76px);display:grid;align-items:end;position:relative;overflow:hidden;
  border-bottom:1px solid var(--ret-line);
}
.ret-hero-media{position:absolute;inset:0;opacity:.72}
.ret-hero-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(.14) saturate(.74) contrast(1.12)}
.ret-hero:before{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.36),rgba(0,0,0,.74)),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.94));
}
body.ret-light .ret-hero:before{
  background:linear-gradient(90deg,rgba(242,238,231,.92),rgba(242,238,231,.38),rgba(242,238,231,.80));
}
.ret-hero-content{position:relative;z-index:2;padding:112px 0 78px}
.ret-hero-signature{max-width:200px;max-height:100px;object-fit:contain;margin-bottom:28px;opacity:.86;filter:grayscale(1)}
.ret-title{
  font-family:Georgia,serif;font-size:clamp(54px,10vw,172px);
  line-height:.82;letter-spacing:-.075em;margin:0;max-width:1220px;text-wrap:balance;
  text-transform:uppercase;
}
.ret-subtitle{
  max-width:700px;color:#cfc7be;font-size:clamp(15px,1.45vw,21px);
  margin:30px 0 0;letter-spacing:.02em;
}
body.ret-light .ret-subtitle{color:#3a352f}
.ret-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:38px}

/* Buttons — severe */
.ret-button,.wp-element-button,input[type=submit],button.ret-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:13px 23px;border:1px solid var(--ret-gold);
  color:#050505;background:var(--ret-gold);border-radius:0;
  font-size:10px;letter-spacing:.22em;text-transform:uppercase;cursor:pointer;
  transition:all .22s ease;
}
.ret-button:hover,.wp-element-button:hover,input[type=submit]:hover{
  background:transparent;color:var(--ret-gold);box-shadow:0 0 32px rgba(191,161,106,.12)
}
.ret-button.secondary{background:transparent;color:var(--ret-ink);border-color:var(--ret-line-strong)}
.ret-button.secondary:hover{border-color:var(--ret-gold);color:var(--ret-gold)}

/* Sections */
.ret-section{padding:112px 0;border-top:1px solid var(--ret-line)}
.ret-section.compact{padding:80px 0}
.ret-section-head{display:flex;align-items:end;justify-content:space-between;gap:34px;margin-bottom:46px}
.ret-section h1,.ret-section h2,.ret-page-title{
  font-family:Georgia,serif;font-size:clamp(42px,6vw,104px);
  line-height:.9;letter-spacing:-.065em;margin:0;text-wrap:balance;text-transform:uppercase;
}
.ret-section-lead{font-size:18px;color:var(--ret-muted);max-width:740px}
.ret-two{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ret-three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ret-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}
.ret-grid .ret-card:nth-child(1){grid-column:span 7}
.ret-grid .ret-card:nth-child(2){grid-column:span 5}
.ret-grid .ret-card:nth-child(3){grid-column:span 4}
.ret-grid .ret-card:nth-child(4){grid-column:span 4}
.ret-grid .ret-card:nth-child(5){grid-column:span 4}
.ret-grid .ret-card:nth-child(n+6){grid-column:span 6}

/* Cards — magazine brutal */
.ret-card{
  position:relative;background:var(--ret-bg-card);border:1px solid var(--ret-line);
  overflow:hidden;border-radius:0;box-shadow:none;
}
.ret-card:before{display:none}
.ret-card-media{aspect-ratio:4/5;background:#111;overflow:hidden}
.ret-grid .ret-card:nth-child(1) .ret-card-media{aspect-ratio:16/10}
.ret-grid .ret-card:nth-child(2) .ret-card-media{aspect-ratio:4/5}
.ret-card-media.wide{aspect-ratio:16/10}
.ret-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .75s ease,opacity .75s ease;filter:grayscale(.05) saturate(.78) contrast(1.08)}
.ret-card:hover .ret-card-media img{transform:scale(1.035);opacity:.88}
.ret-card-body{padding:20px;position:relative;z-index:1;border-top:1px solid var(--ret-line)}
.ret-card-title{font-family:Georgia,serif;font-size:clamp(24px,2.3vw,38px);line-height:.96;margin:0 0 10px;letter-spacing:-.045em;text-transform:uppercase}
.ret-card-meta{font-size:10px;text-transform:uppercase;letter-spacing:.22em;color:var(--ret-muted);margin-bottom:10px}
.ret-card-excerpt{font-size:13px;color:var(--ret-muted);margin-top:14px}
.ret-badge{display:inline-flex;border:1px solid var(--ret-line);padding:6px 9px;font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:var(--ret-muted);margin-right:6px;margin-bottom:6px;border-radius:0}

/* Blocks */
.ret-manifesto{
  font-family:Georgia,serif;font-size:clamp(36px,5.6vw,98px);
  line-height:.94;letter-spacing:-.065em;margin:0;color:var(--ret-ink);text-transform:uppercase;
}
.ret-luxury-panel{
  border:1px solid var(--ret-line);border-radius:0;
  padding:0;background:transparent;
}
.ret-luxury-panel .ret-block-image{height:100%;min-height:520px}
.ret-process-step{
  padding:0;border:1px solid var(--ret-line);background:var(--ret-bg-soft);border-radius:0;
}
.ret-process-step > span{display:block;color:var(--ret-gold);margin:22px 22px 14px;font-size:10px;letter-spacing:.24em;text-transform:uppercase}
.ret-process-step h3,.ret-process-step p{padding-inline:22px}
.ret-process-step p{padding-bottom:24px;color:var(--ret-muted)}
.ret-block-image{
  border-radius:0;overflow:hidden;border:1px solid var(--ret-line);
  background:var(--ret-bg-card);box-shadow:none;
}
.ret-block-image img{width:100%;height:100%;object-fit:cover;filter:grayscale(.08) saturate(.75) contrast(1.10)}
.ret-block-image.is-portrait{aspect-ratio:4/5}
.ret-block-image.is-wide{aspect-ratio:16/10}
.ret-block-image.is-square{aspect-ratio:1}
.ret-trust-line{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;color:var(--ret-muted);font-size:10px;letter-spacing:.18em;text-transform:uppercase}
.ret-trust-line span{border:1px solid var(--ret-line);padding:8px 10px;border-radius:0;background:rgba(255,255,255,.01)}
.ret-split-reverse .ret-block-image{order:2}
.ret-split-reverse .ret-split-content{order:1}
.ret-strip{display:flex;gap:18px;overflow:auto;padding-bottom:14px;scroll-snap-type:x mandatory}
.ret-strip .ret-card{min-width:min(420px,84vw);scroll-snap-align:start}

/* Single editorial */
.ret-editorial-single{padding:84px 0}
.ret-editorial-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:end;margin-bottom:60px}
.ret-editorial-title{font-family:Georgia,serif;font-size:clamp(50px,8.5vw,144px);line-height:.84;letter-spacing:-.075em;margin:0;text-transform:uppercase}
.ret-statement{font-size:19px;color:var(--ret-muted);white-space:pre-line}
.ret-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.ret-gallery figure{margin:0;background:#151515;border-radius:0;overflow:hidden}
.ret-gallery img{width:100%;height:auto}
.ret-meta-panel{display:grid;gap:10px;padding:20px;border:1px solid var(--ret-line);background:var(--ret-bg-soft);border-radius:0}
.ret-meta-line{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid var(--ret-line);padding-bottom:8px;color:var(--ret-muted);font-size:12px}
.ret-meta-line:last-child{border-bottom:0;padding-bottom:0}

/* Forms */
.ret-form,.recore-project-form{
  display:grid;gap:16px;padding:26px;background:var(--ret-bg-soft);border:1px solid var(--ret-line);border-radius:0;
}
.ret-form input,.ret-form textarea,.ret-form select,
.recore-project-form input,.recore-project-form textarea,.recore-project-form select{
  width:100%;background:#070707;color:var(--ret-ink);border:1px solid var(--ret-line);padding:14px;border-radius:0;font:inherit;
}
body.ret-light .ret-form input,body.ret-light .ret-form textarea,body.ret-light .ret-form select,
body.ret-light .recore-project-form input,body.ret-light .recore-project-form textarea,body.ret-light .recore-project-form select{background:#fff;color:#111}
.ret-form label,.recore-project-form label{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ret-muted)}

/* Footer — magazine index */
.ret-footer{padding:70px 0;border-top:1px solid var(--ret-line);color:var(--ret-muted);font-size:13px}
.ret-footer-inner{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:start}
.ret-footer nav .menu{display:flex;gap:16px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.ret-footer-logo-img{max-height:64px;margin-bottom:18px;opacity:.82;filter:grayscale(1)}
.ret-footer .ret-logo-text{font-family:Georgia,serif;font-size:clamp(28px,5vw,70px);line-height:.9;letter-spacing:-.055em;text-transform:uppercase}

/* Utilities */
.ret-empty{padding:24px;border:1px dashed var(--ret-line);color:var(--ret-muted);border-radius:0}
.ret-private-notice{padding:18px;border:1px solid var(--ret-line);background:rgba(191,161,106,.06);color:var(--ret-muted);border-radius:0}
.ret-mobile-sticky-cta{
  display:none;position:fixed;left:14px;right:14px;bottom:14px;z-index:90;justify-content:center;
  box-shadow:0 18px 50px rgba(0,0,0,.38);
}

/* Responsive */
@media(max-width:1100px){
  .ret-grid{grid-template-columns:repeat(2,1fr)}
  .ret-grid .ret-card{grid-column:auto!important}
  .ret-three{grid-template-columns:1fr 1fr}
  .ret-two,.ret-editorial-intro{grid-template-columns:1fr;gap:36px}
  .ret-luxury-panel .ret-block-image{min-height:auto}
}
@media(max-width:760px){
  .ret-container,.ret-narrow{width:min(calc(100% - 28px),var(--ret-max))}
  .ret-header-inner{height:auto;min-height:68px}
  .ret-logo-img{max-height:38px}
  .ret-logo-text{font-size:15px;letter-spacing:.16em}
  .ret-menu-toggle{display:inline-flex}
  .ret-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--ret-bg);border-bottom:1px solid var(--ret-line);padding:18px 20px;flex-direction:column;align-items:flex-start}
  .ret-nav .menu{flex-direction:column}
  body.ret-menu-open .ret-nav{display:flex}
  .ret-nav-socials{display:none}
  .ret-grid,.ret-three,.ret-gallery{grid-template-columns:1fr}
  .ret-section{padding:76px 0}
  .ret-section.compact{padding:62px 0}
  .ret-section-head{display:block}
  .ret-footer-inner{grid-template-columns:1fr}
  .ret-hero{min-height:calc(92svh - 68px)}
  .ret-hero-content{padding:86px 0 64px}
  .ret-hero-signature{max-width:170px;max-height:82px}
  .ret-title{font-size:clamp(48px,17vw,84px)}
  .ret-subtitle{font-size:16px}
  .ret-hero-actions .ret-button{width:100%}
  .ret-section h1,.ret-section h2,.ret-page-title{font-size:clamp(38px,13vw,66px)}
  .ret-manifesto{font-size:clamp(38px,12vw,66px)}
  .ret-block-image.is-portrait,.ret-block-image.is-wide,.ret-block-image.is-square{aspect-ratio:4/5}
  .ret-mobile-sticky-cta{display:flex}
  body{padding-bottom:74px}
}


/* V0.6.0 — Typography controls */

/* Serif title font */
body.ret-serif-georgia .ret-title,
body.ret-serif-georgia .ret-section h1,
body.ret-serif-georgia .ret-section h2,
body.ret-serif-georgia .ret-page-title,
body.ret-serif-georgia .ret-card-title,
body.ret-serif-georgia .ret-manifesto,
body.ret-serif-georgia .ret-editorial-title,
body.ret-serif-georgia .ret-footer .ret-logo-text{
  font-family:Georgia,"Times New Roman",serif;
}

body.ret-serif-playfair .ret-title,
body.ret-serif-playfair .ret-section h1,
body.ret-serif-playfair .ret-section h2,
body.ret-serif-playfair .ret-page-title,
body.ret-serif-playfair .ret-card-title,
body.ret-serif-playfair .ret-manifesto,
body.ret-serif-playfair .ret-editorial-title,
body.ret-serif-playfair .ret-footer .ret-logo-text{
  font-family:"Playfair Display",Georgia,serif;
}

body.ret-serif-bodoni .ret-title,
body.ret-serif-bodoni .ret-section h1,
body.ret-serif-bodoni .ret-section h2,
body.ret-serif-bodoni .ret-page-title,
body.ret-serif-bodoni .ret-card-title,
body.ret-serif-bodoni .ret-manifesto,
body.ret-serif-bodoni .ret-editorial-title,
body.ret-serif-bodoni .ret-footer .ret-logo-text{
  font-family:"Libre Bodoni",Georgia,serif;
}

/* Sans text font */
body.ret-sans-inter{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.ret-sans-helvetica{
  font-family:"Helvetica Neue",Helvetica,Arial,ui-sans-serif,system-ui,sans-serif;
}
body.ret-sans-dmsans{
  font-family:"DM Sans",Inter,ui-sans-serif,system-ui,sans-serif;
}

/* Global text size */
body.ret-text-small{
  font-size:14px;
}
body.ret-text-default{
  font-size:16px;
}
body.ret-text-large{
  font-size:18px;
}

body.ret-text-small .ret-section-lead,
body.ret-text-small .ret-statement,
body.ret-text-small .ret-subtitle{
  font-size:clamp(14px,1.35vw,18px);
}
body.ret-text-large .ret-section-lead,
body.ret-text-large .ret-statement,
body.ret-text-large .ret-subtitle{
  font-size:clamp(18px,1.7vw,24px);
}

/* Title scale */
body.ret-title-normal .ret-title{
  font-size:clamp(44px,7vw,118px);
}
body.ret-title-large .ret-title{
  font-size:clamp(52px,8.5vw,148px);
}
body.ret-title-xl .ret-title{
  font-size:clamp(54px,10vw,172px);
}

body.ret-title-normal .ret-section h1,
body.ret-title-normal .ret-section h2,
body.ret-title-normal .ret-page-title{
  font-size:clamp(36px,4.8vw,76px);
}
body.ret-title-large .ret-section h1,
body.ret-title-large .ret-section h2,
body.ret-title-large .ret-page-title{
  font-size:clamp(40px,5.6vw,92px);
}
body.ret-title-xl .ret-section h1,
body.ret-title-xl .ret-section h2,
body.ret-title-xl .ret-page-title{
  font-size:clamp(42px,6vw,104px);
}

body.ret-title-normal .ret-editorial-title{
  font-size:clamp(42px,6vw,92px);
}
body.ret-title-large .ret-editorial-title{
  font-size:clamp(48px,7.4vw,122px);
}
body.ret-title-xl .ret-editorial-title{
  font-size:clamp(50px,8.5vw,144px);
}

body.ret-title-normal .ret-manifesto{
  font-size:clamp(32px,4.4vw,72px);
}
body.ret-title-large .ret-manifesto{
  font-size:clamp(34px,5vw,86px);
}
body.ret-title-xl .ret-manifesto{
  font-size:clamp(36px,5.6vw,98px);
}

/* Button scale */
body.ret-btn-small .ret-button,
body.ret-btn-small .wp-element-button,
body.ret-btn-small input[type=submit],
body.ret-btn-small button.ret-button{
  min-height:40px;
  padding:10px 16px;
  font-size:9px;
  letter-spacing:.22em;
}

body.ret-btn-default .ret-button,
body.ret-btn-default .wp-element-button,
body.ret-btn-default input[type=submit],
body.ret-btn-default button.ret-button{
  min-height:46px;
  padding:13px 23px;
  font-size:10px;
  letter-spacing:.22em;
}

body.ret-btn-large .ret-button,
body.ret-btn-large .wp-element-button,
body.ret-btn-large input[type=submit],
body.ret-btn-large button.ret-button{
  min-height:54px;
  padding:16px 30px;
  font-size:11px;
  letter-spacing:.20em;
}

@media(max-width:760px){
  body.ret-title-xl .ret-title,
  body.ret-title-large .ret-title,
  body.ret-title-normal .ret-title{
    font-size:clamp(44px,16vw,82px);
  }

  body.ret-title-xl .ret-section h1,
  body.ret-title-xl .ret-section h2,
  body.ret-title-large .ret-section h1,
  body.ret-title-large .ret-section h2,
  body.ret-title-normal .ret-section h1,
  body.ret-title-normal .ret-section h2{
    font-size:clamp(34px,12vw,64px);
  }

  body.ret-btn-large .ret-button,
  body.ret-btn-large .wp-element-button,
  body.ret-btn-large input[type=submit],
  body.ret-btn-large button.ret-button{
    min-height:50px;
    padding:14px 22px;
  }
}


/* V0.6.2 — built-in project form fallback */
.ret-form-message{padding:14px 16px;border:1px solid var(--ret-line);margin-bottom:18px;color:var(--ret-muted);background:rgba(191,161,106,.06)}
.ret-form-message.success{border-color:rgba(191,161,106,.45);color:var(--ret-gold)}
.ret-form-message.error{border-color:rgba(255,90,90,.45);color:#ff9b9b}
.ret-project-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:760px){.ret-project-form-row{grid-template-columns:1fr}}
