/*
Theme Name:     Hybride Conseil
Theme URI:
Description:    Theme enfant de Hello Elementor pour Hybride Conseil, agence de communication a Perpignan. Synchronise avec le design system officiel (v1.1.0).
Author:         Hybride Conseil
Author URI:
Template:       hello-elementor
Version:        1.1.0
Text Domain:    hybrideconseil
*/

/* ---------- Reset & tokens ---------- */
:root{
  --hc-ink:#0E100D;
  --hc-paper:#F4F6F2;
  --hc-white:#FFFFFF;
  --hc-accent:#7EE8A8;
  --hc-accent-deep:#3FA76C;
  --hc-accent-alt:#F08CC8;
  --hc-line:rgba(14,16,13,0.12);
  --hc-line-inv:rgba(244,246,242,0.14);
  --hc-muted:rgba(14,16,13,0.62);
  --hc-muted-inv:rgba(244,246,242,0.7);
  --hc-display:"Archivo",system-ui,sans-serif;
  --hc-body:"Sora",system-ui,sans-serif;
  --hc-mono:"IBM Plex Mono",ui-monospace,monospace;
  --hc-max:1280px;
  --hc-gutter:40px;
}
body{background:var(--hc-paper);color:var(--hc-ink);font-family:var(--hc-body)}
h1,h2,h3,h4{font-family:var(--hc-display);font-weight:800;letter-spacing:-0.035em;line-height:1.02}
::selection{background:var(--hc-accent);color:var(--hc-ink)}

/* ---------- Layout ---------- */
.hc-wrap{max-width:var(--hc-max);margin:0 auto;padding:0 var(--hc-gutter)}
.hc-section{padding:110px 0;background:var(--hc-paper)}
.hc-section--tight{padding:0 0 110px;background:var(--hc-paper)}
.hc-dark{background:var(--hc-ink);color:var(--hc-paper)}
.hc-dark a:hover{color:var(--hc-accent)}
.hc-light{background:var(--hc-white);border-top:1px solid rgba(14,16,13,0.09)}
.hc-grid{display:grid;gap:24px}
.hc-grid--3{grid-template-columns:repeat(3,1fr)}
.hc-grid--4{grid-template-columns:repeat(4,1fr)}
.hc-grid--2{grid-template-columns:repeat(2,1fr)}
.hc-split{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:end}

/* ---------- Eyebrow / mono bits ---------- */
.hc-eyebrow{display:flex;align-items:center;gap:14px;font-family:var(--hc-mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--hc-accent);margin-bottom:40px}
.hc-eyebrow span.rule{width:40px;height:1px;background:currentColor}
.hc-crumbs{font-family:var(--hc-mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:rgba(244,246,242,.5);margin-bottom:32px}
.hc-label{font-family:var(--hc-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(14,16,13,.6)}

/* ---------- Buttons ---------- */
.hc-btn{display:inline-flex;align-items:center;gap:12px;padding:20px 32px;border-radius:999px;font-weight:600;font-size:15px;border:1px solid transparent;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.hc-btn--accent{background:var(--hc-accent);color:var(--hc-ink)}
.hc-btn--accent:hover{background:var(--hc-paper);color:var(--hc-ink)}
.hc-btn--ink{background:var(--hc-ink);color:var(--hc-paper)}
.hc-btn--ink:hover{background:var(--hc-accent);color:var(--hc-ink)}
.hc-btn--ghost{border-color:rgba(244,246,242,.28);color:var(--hc-paper)}
.hc-btn--ghost:hover{border-color:var(--hc-paper);color:var(--hc-paper)}
.hc-btn .arrow{font-family:var(--hc-mono)}

/* ---------- Header ---------- */
.hc-header{position:sticky;top:0;z-index:50;background:var(--hc-ink);color:var(--hc-paper);border-bottom:1px solid var(--hc-line-inv)}
.hc-header__inner{max-width:var(--hc-max);margin:0 auto;padding:0 var(--hc-gutter);height:84px;display:flex;align-items:center;justify-content:space-between;gap:40px}
.hc-logo{display:flex;align-items:baseline;gap:2px;font-family:var(--hc-display);font-weight:900;font-size:26px;letter-spacing:-.03em;text-transform:lowercase;color:var(--hc-paper);text-decoration:none}
.hc-logo .s1{color:var(--hc-accent)}
.hc-logo .s2{color:var(--hc-accent-alt)}
.hc-logo img{max-height:44px;width:auto}
.hc-nav{display:flex;align-items:center;gap:36px}
.hc-nav ul{display:flex;align-items:center;gap:36px;list-style:none;margin:0;padding:0;font-size:14px;font-weight:500}
.hc-nav li a{display:block;padding-bottom:6px;border-bottom:2px solid transparent;color:var(--hc-paper);text-decoration:none}
.hc-nav li.current-menu-item>a,.hc-nav li.current_page_item>a{border-bottom-color:var(--hc-accent)}
.hc-nav li a:hover{border-bottom-color:var(--hc-accent-alt);color:var(--hc-paper)}
.hc-header .hc-btn{padding:12px 20px}
.hc-burger{display:none!important;background:none;border:0;color:inherit;font-family:var(--hc-mono);font-size:13px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;padding:10px 0}

/* ---------- Media placeholders ---------- */
.hc-media{border-radius:6px;background:repeating-linear-gradient(135deg,#E7EAE3 0 10px,#DDE1D8 10px 20px);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hc-media--dark{background:repeating-linear-gradient(135deg,#1B1F19 0 10px,#232821 10px 20px)}
.hc-media--hero{height:420px}
.hc-media--4x3{aspect-ratio:4/3}
.hc-media--4x5{aspect-ratio:4/5}
.hc-media--3x4{aspect-ratio:3/4}
.hc-media--map{height:220px}
.hc-media span{font-family:var(--hc-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(14,16,13,.45)}
.hc-media--dark span{color:rgba(244,246,242,.5);font-size:12px}
.hc-media img{width:100%;height:100%;object-fit:cover}

/* ---------- Section heads ---------- */
.hc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:64px}
.hc-head h2{font-size:clamp(34px,4vw,56px);max-width:20ch}
.hc-head p{margin:0;font-size:16px;color:var(--hc-muted);max-width:40ch}
.hc-link-mono{font-family:var(--hc-mono);font-size:13px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:4px;white-space:nowrap;color:inherit;text-decoration:none}

/* ---------- Poles ---------- */
.hc-pole{display:flex;flex-direction:column;gap:20px;background:var(--hc-white);border:1px solid rgba(14,16,13,.09);border-radius:6px;padding:36px 32px 40px;min-height:260px;transition:border-color .18s ease,transform .18s ease;text-decoration:none;color:inherit}
.hc-pole:hover{border-color:var(--hc-ink);transform:translateY(-3px);color:inherit}
.hc-pole__num{font-family:var(--hc-mono);font-size:12px;letter-spacing:.1em;color:var(--hc-accent-deep)}
.hc-pole h3{font-weight:700;font-size:26px;letter-spacing:-.02em}
.hc-pole p{margin:0;font-size:15px;color:var(--hc-muted)}
.hc-pole__arrow{margin-top:auto;font-family:var(--hc-mono);font-size:13px}

/* ---------- Stats ---------- */
.hc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.hc-stat{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--hc-line);padding-top:24px}
.hc-stat b{font-family:var(--hc-display);font-weight:900;font-size:clamp(40px,5vw,64px);line-height:1;letter-spacing:-.04em}
.hc-stat span{font-size:14px;color:var(--hc-muted)}

/* ---------- Works ---------- */
.hc-work{display:flex;flex-direction:column;gap:18px;text-decoration:none;color:inherit}
.hc-work__meta{display:flex;align-items:baseline;justify-content:space-between;gap:20px}
.hc-work h3{font-weight:700;font-size:24px;letter-spacing:-.02em}
.hc-work__tag{font-family:var(--hc-mono);font-size:12px;color:rgba(14,16,13,.5)}
.hc-work:hover .hc-media{opacity:.86}

/* ---------- CTA band ---------- */
.hc-cta{background:var(--hc-accent);color:var(--hc-ink);padding:120px 0}
.hc-cta__inner{display:grid;grid-template-columns:1.4fr 1fr;gap:80px;align-items:center}
.hc-cta h2{font-weight:900;font-size:clamp(38px,5.4vw,72px);line-height:.98;letter-spacing:-.04em}
.hc-cta__side{display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.hc-cta p{margin:0;font-size:17px}

/* ---------- Agence ---------- */
.hc-manifesto{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.hc-manifesto h2{font-size:clamp(30px,3.6vw,48px)}
.hc-manifesto p{color:rgba(14,16,13,.7);margin:0 0 1.2em}
.hc-member{display:flex;flex-direction:column;gap:16px}
.hc-member b{font-family:var(--hc-display);font-weight:700;font-size:19px;letter-spacing:-.015em}
.hc-member span{font-size:13px;color:rgba(14,16,13,.58)}
.hc-value{display:flex;flex-direction:column;gap:16px;border-top:1px solid var(--hc-line-inv);padding-top:28px}
.hc-value__num{font-family:var(--hc-mono);font-size:12px;letter-spacing:.1em;color:var(--hc-accent)}
.hc-value h3{font-weight:700;font-size:28px;letter-spacing:-.02em}
.hc-value p{margin:0;font-size:15px;color:rgba(244,246,242,.65)}

/* ---------- Contact ---------- */
.hc-contact{display:grid;grid-template-columns:1.25fr 1fr;gap:100px;align-items:start}
.hc-form{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.hc-field{display:flex;flex-direction:column;gap:10px}
.hc-field--full{grid-column:span 2}
.hc-form input[type=text],.hc-form input[type=email],.hc-form input[type=tel],.hc-form select,.hc-form textarea{font-family:var(--hc-body);font-size:16px;padding:16px 0;border:0;border-bottom:1px solid rgba(14,16,13,.25);background:transparent;outline:none;color:var(--hc-ink);width:100%;border-radius:0}
.hc-form input:focus,.hc-form select:focus,.hc-form textarea:focus{border-bottom-color:var(--hc-accent-deep)}
.hc-form textarea{resize:vertical}
.hc-form__foot{grid-column:span 2;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:8px}
.hc-form__note{font-size:13px;color:rgba(14,16,13,.55);max-width:42ch}
.hc-aside{display:flex;flex-direction:column;gap:36px}
.hc-aside__block{display:flex;flex-direction:column;gap:8px;border-top:1px solid rgba(14,16,13,.16);padding-top:24px}
.hc-aside__block>*:last-child{font-size:17px;line-height:1.55}

/* ---------- Footer ---------- */
.hc-footer{background:var(--hc-ink);color:var(--hc-paper);padding:90px 0 40px}
.hc-footer__top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:60px;padding-bottom:60px;border-bottom:1px solid var(--hc-line-inv)}
.hc-footer__brand p{margin:0;font-size:15px;color:rgba(244,246,242,.6);max-width:34ch}
.hc-footer__brand{display:flex;flex-direction:column;gap:20px}
.hc-footer__col{display:flex;flex-direction:column;gap:14px}
.hc-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.hc-footer__col a{font-size:15px;color:rgba(244,246,242,.8);text-decoration:none}
.hc-footer__title{font-family:var(--hc-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(244,246,242,.45)}
.hc-footer__bottom{padding-top:28px;display:flex;align-items:center;justify-content:space-between;gap:30px;font-family:var(--hc-mono);font-size:12px;color:rgba(244,246,242,.45)}
.hc-footer__bottom ul{display:flex;gap:28px;list-style:none;margin:0;padding:0}
.hc-footer__bottom a{color:inherit;text-decoration:none}

/* ---------- Reveal on scroll ---------- */
.hc-reveal{opacity:0;transform:translateY(18px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
.hc-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.hc-reveal{opacity:1;transform:none;transition:none}}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .hc-grid--4,.hc-stats{grid-template-columns:repeat(2,1fr)}
  .hc-grid--3{grid-template-columns:repeat(2,1fr)}
  .hc-split,.hc-cta__inner,.hc-manifesto,.hc-contact{grid-template-columns:1fr;gap:48px}
  .hc-footer__top{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:768px){
  :root{--hc-gutter:22px}
  .hc-section{padding:72px 0}
  .hc-burger{display:inline-flex!important}
  .hc-nav{position:absolute;top:84px;left:0;right:0;background:var(--hc-ink);border-bottom:1px solid var(--hc-line-inv);flex-direction:column;align-items:stretch;gap:0;padding:16px var(--hc-gutter) 28px;display:none}
  .hc-nav.is-open{display:flex}
  .hc-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .hc-nav li a{padding:16px 0;border-bottom:1px solid var(--hc-line-inv)}
  .hc-grid--2,.hc-grid--3,.hc-grid--4,.hc-stats{grid-template-columns:1fr}
  .hc-head{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:40px}
  .hc-form{grid-template-columns:1fr}
  .hc-field--full,.hc-form__foot{grid-column:span 1}
  .hc-form__foot{flex-direction:column;align-items:flex-start}
  .hc-footer__top,.hc-footer__bottom{grid-template-columns:1fr;flex-direction:column;align-items:flex-start;gap:28px}
  .hc-media--hero{height:240px}
}

/* ---------- Elementor ---------- */
.elementor-element-4a90e01{margin-bottom:0!important}
body.hc-has-elementor .elementor-section.elementor-section-boxed > .elementor-container{max-width:var(--hc-max)}
.hc-elementor-full{padding:0}
body.hc-canvas{background:var(--hc-paper)}
.elementor-button.hc-btn{text-decoration:none}
.elementor-widget-button .hc-btn--accent .elementor-button-content-wrapper{gap:12px}
body.hc-has-elementor .elementor-heading-title{font-family:var(--hc-display);letter-spacing:-.035em;line-height:1.02}
.elementor-element.hc-dark,.elementor-element.hc-dark *{color:var(--hc-paper)}
.elementor-element.hc-dark a:hover{color:var(--hc-accent)}
.elementor-form .elementor-field-group{flex-direction:column;gap:10px}
.elementor-form .elementor-field-label{font-family:var(--hc-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:rgba(14,16,13,.6)}
.elementor-form .elementor-field-textual{font-family:var(--hc-body);font-size:16px;padding:16px 0;border:0;border-bottom:1px solid rgba(14,16,13,.25);background:transparent;border-radius:0}
.elementor-form .elementor-field-textual:focus{border-bottom-color:var(--hc-accent-deep);box-shadow:none}
.elementor-form .elementor-button{border-radius:999px;padding:20px 34px;background:var(--hc-ink);color:var(--hc-paper);font-family:var(--hc-body);font-weight:600;font-size:15px}
.elementor-form .elementor-button:hover{background:var(--hc-accent);color:var(--hc-ink)}
body.elementor-editor-active .hc-reveal,
body.elementor-editor-preview .hc-reveal{opacity:1;transform:none}
