/*
Theme Name: Agence Gladiateur
Theme URI: https://agence-gladiateur.fr/
Author: Agence Gladiateur
Description: Thème WordPress sur-mesure pour Agence Gladiateur — design noir/orange, Colisée, SEO, webdesign et formation.
Version: 5.2.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: agence-gladiateur
*/

:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --paper: #fff;
  --ink: #111111;
  --muted: #aaa69d;
  --accent: #ff4d17;
  --accent-2: #ffb000;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
}
::selection {
  background: var(--accent);
  color: white;
}
:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
}
img.site-header__logo{
	width: auto !important;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff4b1b;
  font-weight: 800;
}
.eyebrow::before {
  content: none;
  display: none;
}
/* Surtitres uniformes, y compris ceux portant l'utilitaire text-dark. */
html body .eyebrow,
html[data-theme] body .eyebrow {
  color: #ff4b1b !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: 0.22s;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255, 77, 23, 0.3);
}

footer {
  padding: 48px 0;
  color: #8d8981;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  flex-wrap: wrap;
}
.footer-row strong {
  color: #fff;
}
.footer-brand {
  display: block;
  width: min(360px, 70vw);
}
.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  text-align: right;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-page {
  min-height: 70vh;
  padding: 140px 0 100px;
  background: var(--paper);
  color: var(--ink);
}
.content-page__header {
  max-width: 980px;
  margin-bottom: 50px;
}
.content-page__title {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin: 14px 0 0;
}
.content-page__body {
  max-width: 850px;
  font-size: 1.05rem;
  line-height: 1.75;
}
.content-page__body > *:first-child {
  margin-top: 0;
}
.content-page__body a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.post-list {
  border-bottom: 1px solid #c9c3b9;
}
.post-card {
  padding: 28px 0;
  border-top: 1px solid #c9c3b9;
}
.post-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}
.not-found {
  text-align: center;
  background: var(--bg);
  color: #fff;
}
.not-found .content-page__header {
  margin-inline: auto;
}
.not-found .eyebrow {
  justify-content: center;
}
.not-found__title {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
  margin: 24px 0;
}
.not-found__title span {
  color: var(--accent);
}
.text-dark {
  color: #111 !important;
}
.text-dark::before {
  background: #111;
}
.text-muted {
  color: var(--muted);
}

.agf2-project-card:hover h3{
  color: var(--accent) !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 24px, var(--max));
  }
}








@media (max-width: 620px) {
  .footer-row {
    align-items: flex-start;
  }
  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}






.standard-page {
  background: #0b0b0b;
  color: #fff;
}

.standard-page__hero {
  padding: 155px 0 75px;
  background: linear-gradient(120deg, #101010, #080808);
  border-bottom: 1px solid var(--line);
}
.standard-page__hero h1 {
  max-width: 1000px;
  margin: 22px 0 0;
  font-size: clamp(3.6rem, 7vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.standard-page__hero p {
  max-width: 680px;
  color: #aaa69f;
  font-size: 1.08rem;
  line-height: 1.65;
}
.standard-page__article {
  padding: 90px 0 120px;
  background: #fff;
  color: #111;
}
.standard-page__layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 80px;
  align-items: start;
}
.standard-page__aside {
  position: sticky;
  top: 110px;
  padding-top: 15px;
  border-top: 2px solid var(--accent);
}
.standard-page__aside span {
  display: block;
  margin-bottom: 18px;
  color: #8a847b;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.standard-page__aside strong {
  font-size: 0.9rem;
  line-height: 1.5;
}
.prose-content {
  font-size: 1.05rem;
  line-height: 1.78;
}
.prose-content > *:first-child {
  margin-top: 0;
}
.prose-content h2 {
  margin: 2.2em 0 0.6em;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.prose-content h3 {
  margin: 2em 0 0.5em;
  font-size: 1.55rem;
}
.prose-content p,
.prose-content li {
  color: #55514b;
}
.prose-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-content ul,
.prose-content ol {
  padding-left: 1.4em;
}
.prose-content blockquote {
  margin: 45px 0;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--accent);
  font-size: 1.3rem;
}
.prose-content img {
  height: auto;
}
.prose-content .alignwide {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.prose-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .standard-page__layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .standard-page__aside {
    position: static;
  }
}
@media (max-width: 620px) {
  .standard-page__hero {
    padding-top: 120px;
  }
  .standard-page__article {
    padding: 65px 0 85px;
  }
}

/* Intros : un écran au minimum, sans tronquer les contenus longs. */
html body :is(.web-hero, .about-hero, .key-hero, .contact-layout, .standard-page__hero) {
  box-sizing: border-box;
  min-height: 100vh;
}
/* La scène d’accueil garde sa piste de défilement Three.js. */
html body .agf2-scene {
  box-sizing: border-box;
  height: 100vh;
  border-bottom: 1px solid rgba(17, 17, 17, 0.13);
}
/* Même survol pour les liens texte dans les deux modes. */
html[data-theme] body :is(.site-footer .site-footer-cta__link, .site-navigation__links a, .web-link, .key-source, .agf2-text-link, .contact-direct a):is(:hover, :focus-visible) {
  color: #ff4b1b;
}

/* Effet commun des boutons orange, repris des cartes Packs web. */
html body :is(.btn-primary, .agf2-btn, .web-btn:not(.web-btn--light), .studio-page:not(.key-page) .studio-button, .site-navigation__contact, .site-footer-cta__button) {
  --cta-hover-surface:#111;
  --cta-hover-ink:#fff;
  transition:background-color .22s, color .22s, transform .22s, box-shadow .22s;
  border: 1px solid var(--agf2-orange);
}
html[data-theme="light"] body :is(.btn-primary, .agf2-btn, .web-btn:not(.web-btn--light), .studio-page:not(.key-page) .studio-button, .site-navigation__contact, .site-footer-cta__button) {
  --cta-hover-surface:#fff;
  --cta-hover-ink:#111;
}
html body :is(.btn-primary, .agf2-btn, .web-btn:not(.web-btn--light), .studio-page:not(.key-page) .studio-button, .site-navigation__contact, .site-footer-cta__button):not(:disabled):is(:hover, :focus-visible) {
  background:var(--cta-hover-surface);
  color:var(--cta-hover-ink) !important;
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(255,77,23,.3);
}
@media(prefers-reduced-motion:reduce) {
  html body :is(.btn-primary, .agf2-btn, .web-btn:not(.web-btn--light), .studio-page:not(.key-page) .studio-button, .site-navigation__contact, .site-footer-cta__button) { transition:none; }
  html body :is(.btn-primary, .agf2-btn, .web-btn:not(.web-btn--light), .studio-page:not(.key-page) .studio-button, .site-navigation__contact, .site-footer-cta__button):is(:hover, :focus-visible) { transform:none; }
}

/*(contact)*/
.page-id-389 section.site-footer-cta{
	display: none;
}

.site-navigation__contact{
	border: 1px solid #ff4b1b !important;
}

.standard-page__hero{
	min-height: auto !important;
}






/*DARK*/
h1 span,
h2 span {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    -webkit-text-stroke: 2px #fff !important;
	text-shadow: none !important;
}
/*LIGHT*/
html[data-theme="light"] h1 span,
html[data-theme="light"] h2 span {
    -webkit-text-stroke-color: #111 !important;
}
@media (max-width: 667px) {
    h1 span,
    h2 span {
        --mobile-title-fill: #080808;
        --mobile-title-outline: #fff;
        -webkit-text-stroke: 0 !important;
        color: var(--mobile-title-fill) !important;
        -webkit-text-fill-color: var(--mobile-title-fill) !important;
        text-shadow:
            -1px -1px 0 var(--mobile-title-outline),
             1px -1px 0 var(--mobile-title-outline),
            -1px  1px 0 var(--mobile-title-outline),
             1px  1px 0 var(--mobile-title-outline),
             0   -1px 0 var(--mobile-title-outline),
             0    1px 0 var(--mobile-title-outline),
            -1px  0   0 var(--mobile-title-outline),
             1px  0   0 var(--mobile-title-outline) !important;
    }
    /* LIGHT MODE */
    html[data-theme="light"] body h1 span,
    html[data-theme="light"] body h2 span {
        --mobile-title-fill: #fff;
        --mobile-title-outline: #111;
    }
	/* Réalisations */
	#realisations h2 span {
		color: #f3f3f1 !important;
		-webkit-text-fill-color: #f3f3f1 !important;
	}
	/* FAQ */
	.web-faq h2 span {
		color: var(--agf2-orange) !important;
		-webkit-text-fill-color: var(--agf2-orange) !important;
	}
}