/* tools-hub.css — styles du hub outils (.ot-*). Externalise depuis inline <style>. Ne pas inliner. */
.ot-page{ padding-top:72px; }
.ot-section{ padding: clamp(48px, 6vw, 96px) 0; }
.ot-section--surface{ background: var(--surface); }
.ot-section--bg2{ background: var(--bg2); }

/* HERO */
.ot-hero{
  position:relative; overflow:hidden;
  padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 550px at 80% -10%, var(--gold-glow), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, var(--gold-glow), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.ot-hero::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(30,26,22,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
  pointer-events:none;
}
.ot-hero .container{ position:relative; z-index:1; }

.ot-hero-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.ot-hero-eyebrow .dot{ width:6px; height:6px; background: var(--gold); border-radius: 50%; }

.ot-h1{
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 300; line-height: 1.05; letter-spacing: -1.5px;
  color: var(--ivory);
  margin: 0 0 24px; max-width: 22ch;
}
.ot-h1 em{ color: var(--gold); font-style: italic; font-weight: 300; }

.ot-lede{
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6; color: var(--muted);
  max-width: 680px; margin: 0 0 28px;
}

.ot-hero-checks{
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 24px;
  font-size: 13px; color: var(--muted); font-weight: 500;
}
.ot-hero-checks span{ display: inline-flex; align-items: center; gap: 6px; white-space:nowrap; }
.ot-hero-checks span::before{ content:"✓"; color: var(--gold); font-weight: 700; font-size: 12px; }

.ot-hero-stats{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 32px; margin-top: 48px;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
@media (max-width:600px){ .ot-hero-stats{padding:24px;} }
.ot-hero-stat-value{
  font-family: var(--font-display);
  font-size: 40px; font-weight: 300;
  color: var(--gold); line-height: 1; letter-spacing: -1px;
}
.ot-hero-stat-label{
  font-family: var(--font-body);
  font-size: 11px; color: var(--muted);
  margin-top: 8px; line-height: 1.3;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500;
}

.ot-h2{
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300; line-height: 1.1; letter-spacing: -1px;
  color: var(--ivory); margin: 0 0 12px;
}
.ot-h2 em{ color: var(--gold); font-style: italic; font-weight: 300; }

.ot-section-intro{ margin-bottom: 44px; max-width: 680px; }
.ot-section-intro > p{ font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.ot-manifesto{
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px 64px;
  align-items: start;
}
@media (max-width:780px){ .ot-manifesto{grid-template-columns:1fr; gap:20px;} }
.ot-manifesto-label{
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold);
  padding-top: 14px; border-top: 2px solid var(--gold);
  display: inline-block;
}
.ot-manifesto-body p{
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300; line-height: 1.45;
  color: var(--ivory); margin: 0 0 18px;
}
.ot-manifesto-body p:last-child{ margin-bottom: 0; }
.ot-manifesto-body em{ color: var(--gold); font-style: italic; }

.ot-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.ot-card{
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.ot-card::before{
  content:""; position: absolute; top:0; left:0; right:0; height:2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--spring);
}
.ot-card:hover{
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.ot-card:hover::before{ transform: scaleX(1); }

.ot-card-icon{
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gold-dim); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.ot-card-tag{
  font-family: var(--font-body);
  font-size: 11px; font-weight: 600;
  color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px; display: block;
}
.ot-card h3{
  font-family: var(--font-display);
  font-size: 26px; font-weight: 300;
  letter-spacing: -0.5px; line-height: 1.2;
  color: var(--ivory); margin: 0 0 10px;
}
.ot-card h3 em{ color: var(--gold); font-style: italic; }

.ot-card-desc{
  font-family: var(--font-body);
  color: var(--muted);
  font-size: 14px; line-height: 1.6;
  margin: 0 0 20px; flex-grow: 1;
}

.ot-card-kpi{
  display: flex; gap: 20px;
  padding: 14px 0; margin-bottom: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ot-card-kpi div{ flex: 1; min-width: 0; }
.ot-card-kpi b{
  display: block;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 300;
  color: var(--gold); line-height: 1;
  font-feature-settings: "tnum";
}
.ot-card-kpi span{
  font-family: var(--font-body);
  font-size: 10px; color: var(--muted);
  margin-top: 6px; display: block;
  text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.3;
}

.ot-card-cta{
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  color: var(--gold); font-weight: 600; font-size: 14px;
}
.ot-card-cta::after{ content: "→"; transition: transform var(--transition); font-size: 16px; }
.ot-card:hover .ot-card-cta::after{ transform: translateX(5px); }

.ot-embed-cta{
  margin-top: 40px;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--gold-glow) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.ot-embed-cta-text strong{
  font-family: var(--font-display);
  display: block; font-size: 22px; font-weight: 300;
  color: var(--ivory); margin-bottom: 6px; letter-spacing: -0.3px;
}
.ot-embed-cta-text strong em{ color: var(--gold); font-style: italic; }
.ot-embed-cta-text p{
  font-family: var(--font-body);
  color: var(--muted); margin: 0;
  font-size: 14px; max-width: 58ch; line-height: 1.6;
}
@media (max-width:600px){
  .ot-embed-cta{ padding:24px; }
  .ot-embed-cta-text strong{ font-size:20px; }
}

.ot-usecase-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.ot-usecase{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.ot-usecase:hover{ border-color: var(--gold); transform: translateY(-2px); }
.ot-usecase-icon{
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-dim); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.ot-usecase h3{
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300; letter-spacing: -0.3px;
  margin: 0 0 8px; color: var(--ivory);
}
.ot-usecase > p{
  font-family: var(--font-body);
  font-size: 13.5px; color: var(--muted);
  margin: 0 0 18px; line-height: 1.6;
}
.ot-usecase ul{ list-style: none; padding: 0; margin: 0; }
.ot-usecase li{
  padding: 10px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 13px;
}
.ot-usecase li:first-child{ border-top: none; }
.ot-usecase li a{
  font-family: var(--font-body);
  color: var(--gold); text-decoration: none; font-weight: 600;
}
.ot-usecase li a:hover{ text-decoration: underline; }
.ot-usecase li span:last-child{
  color: var(--muted); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.5px;
}

.ot-presse-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}
.ot-presse-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ot-presse-card h3{
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300; letter-spacing: -0.3px;
  margin: 0 0 10px; color: var(--ivory);
}
.ot-presse-card > p{
  font-family: var(--font-body);
  font-size: 13.5px; color: var(--muted);
  margin: 0 0 16px; line-height: 1.6;
}
.ot-presse-links{ display: flex; flex-wrap: wrap; gap: 8px; }
.ot-presse-links a{
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  background: var(--gold-dim); color: var(--gold);
  text-decoration: none;
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition);
}
.ot-presse-links a:hover{ background: var(--gold); color: #fff; }
.ot-presse-cite{
  background: var(--bg2); border: 1px dashed var(--border2);
  border-radius: 8px; padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--text); line-height: 1.55;
  overflow-x: auto; white-space: pre-wrap;
}

.ot-faq{ max-width: 820px; margin: 0 auto; }
.ot-faq details{
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 10px;
  transition: border-color var(--transition);
}
.ot-faq details[open]{ border-color: var(--gold); }
.ot-faq summary{
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--ivory);
}
.ot-faq summary::-webkit-details-marker{ display: none; }
.ot-faq summary::after{
  content: "+"; font-size: 24px; font-weight: 300;
  color: var(--gold); transition: transform var(--transition); line-height: 1;
}
.ot-faq details[open] summary::after{ transform: rotate(45deg); }
.ot-faq details p{
  font-family: var(--font-body);
  color: var(--muted); margin: 14px 0 0;
  line-height: 1.7; font-size: 14px;
}
.ot-faq details a{ color: var(--gold); font-weight: 600; text-decoration: none; }
.ot-faq details a:hover{ text-decoration: underline; }
.ot-faq details strong{ color: var(--ivory); }

.ot-finalcta{
  background:
    radial-gradient(900px 500px at 50% 0%, var(--gold-glow), transparent 60%),
    var(--bg2);
  text-align: center;
  border-top: 1px solid var(--border);
}
.ot-finalcta .ot-h2{ margin-bottom: 18px; }
.ot-finalcta p{
  font-family: var(--font-body);
  font-size: 17px; max-width: 58ch; margin: 0 auto 32px;
  color: var(--muted); line-height: 1.65;
}
.ot-finalcta-btns{ display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: no-preference){
  .ot-card{ opacity: 0; transform: translateY(10px); animation: otFadeUp .55s ease forwards; }
  .ot-card:nth-child(1){animation-delay:.05s;}
  .ot-card:nth-child(2){animation-delay:.12s;}
  .ot-card:nth-child(3){animation-delay:.19s;}
  .ot-card:nth-child(4){animation-delay:.26s;}
  .ot-card:nth-child(5){animation-delay:.33s;}
  .ot-card:nth-child(6){animation-delay:.40s;}
}

/* OT-QUICKNAV — grilla 3×2 bajo el H1 hero */
.ot-quicknav{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin:24px 0 8px;
  max-width:780px;
}
@media (max-width:680px){.ot-quicknav{grid-template-columns:repeat(2, 1fr);}}
@media (max-width:420px){.ot-quicknav{grid-template-columns:1fr;}}
.ot-quicknav-item{
  display:flex;align-items:center;gap:10px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px 14px;
  text-decoration:none;
  color:var(--ivory);
  font-family:var(--font-body);
  font-size:13.5px;font-weight:500;
  transition:border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ot-quicknav-item:hover{
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.ot-quicknav-icon{
  font-size:18px;
  flex-shrink:0;
  width:24px;text-align:center;
}
.ot-quicknav-label{
  flex:1;min-width:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ot-quicknav-item strong{font-weight:600;color:inherit;}

@keyframes otFadeUp{ to{ opacity: 1; transform: translateY(0); } }
