/*
Theme Name: ADdrenaline
Description: Thème indépendant ADdrenaline pour les services, réalisations, applications et contact.
Version: 1.1.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: addrenaline
*/
:root { --addt-ink: #08091b; --addt-paper: #f5f3ef; --addt-blue: #098cfb; --addt-pink: #ff005c; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--addt-ink); background: var(--addt-paper); font-family: Archivo, system-ui, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 125px; }
.addt-shell { width: min(1500px, 100% - 48px); margin-inline: auto; }
.addt-skip { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 10px; background: white; color: var(--addt-ink); transform: translateY(-200%); }
.addt-skip:focus { transform: none; }
.addt-header { position: sticky; top: 0; z-index: 40; background: #08091b; color: #fff; border-bottom: 1px solid #313956; }
.admin-bar .addt-header { top: 32px; }
.addt-header-inner, #addt-menu { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 3vw, 42px); }
.addt-header-inner { min-height: 86px; }
.addt-brand { width: clamp(145px, 17vw, 220px); flex: 0 0 auto; }
.addt-brand img { display: block; width: 100%; max-height: 70px; object-fit: contain; }
.addt-menu-list, .addt-footer ul { display: flex; flex-wrap: wrap; gap: clamp(12px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.addt-menu-list li { position: relative; }
.addt-header a, .addt-footer a { color: inherit; text-decoration: none; }
.addt-menu-list a { display: inline-block; padding: 6px 0; font-weight: 700; font-size: 14px; background: linear-gradient(90deg,#098cfb,#ff005c) left bottom / 0 2px no-repeat; transition: background-size .25s ease; }
.addt-menu-list a:hover, .addt-menu-list a:focus-visible, .addt-menu-list a[aria-current="page"] { background-size: 100% 2px; }
.addt-menu-list .sub-menu { display: none; position: absolute; z-index: 1; min-width: 180px; padding: 12px 18px; margin: 0; list-style: none; background: #10122f; }
.addt-menu-list li:hover > .sub-menu, .addt-menu-list li:focus-within > .sub-menu { display: block; }
.addt-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 10px 20px; background: var(--addt-pink); color: #08091b; font-weight: 800; text-decoration: none; font-size: 14px; }
.addt-header a.addt-cta { color: #08091b; }
.addt-cta:hover { background: #ff78a8; }
.addt-menu-toggle { display: none; padding: 10px 14px; color: #fff; background: transparent; border: 1px solid #7784ac; font: inherit; }
.addt-standard { width: min(900px, 100% - 48px); min-height: 50vh; padding-block: 54px; overflow-wrap: anywhere; }
.addt-standard h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.05; }
.addt-footer { background: var(--addt-ink); color: #fff; padding: 30px 0; }
.addt-footer-main { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 30px; }
.addt-footer-main p { font-size: 14px; }
.addt-footer-main a:hover { text-decoration: underline; }
.addt-signature { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-top: 16px; margin: 16px 0 0; border-top: 1px solid #313956; font-size: 14px; }
.addt-signature b { color: #54b3ff; }
.addt-signature strong { color: #ff639c; }
.addt-fr { display: inline-block; vertical-align: middle; width: 22px; height: 15px; margin-left: 3px; border-radius: 2px; background: linear-gradient(90deg,#1763bc 33.33%,white 33.33% 66.66%,#ed2939 66.66%); }
@supports (background-clip: text) {
    .addt-inclusive { color: transparent; background: linear-gradient(90deg,#ff7077,#ffb75d,#f6e750,#76e598,#6abaff,#e09aff); background-clip: text; font-weight: 800; }
}
@media (forced-colors: active) { .addt-inclusive { color: CanvasText; } }
.addt-app-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 90% 10%,#202654,transparent 60%),var(--addt-ink); color: #fff; padding: clamp(65px, 9vw, 135px) 0; border-bottom: 4px solid; border-image: linear-gradient(90deg,#098cfb,#ff005c) 1; }
.addt-kicker { color: #54b3ff; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.addt-app-hero h1, .addt-catalogue h2 { font-size: clamp(36px, 7vw, 98px); line-height: 1.01; letter-spacing: -.06em; margin: 16px 0 25px; }
.addt-app-hero h1 em { color: #ff4588; font-family: 'Playfair Display', Georgia, serif; }
.addt-app-hero p:not(.addt-kicker) { font-size: 19px; max-width: 650px; }
.addt-app-hero .addt-cta { margin-top: 12px; }
.addt-catalogue { padding: 65px 0 85px; }
.addt-catalogue h2 { font-size: clamp(34px, 5vw, 68px); margin-bottom: 36px; }
.addt-catalogue .addt-kicker { color: #085aa0; }
.addt-model-carousel { grid-column: 2; min-width: 0; }
.add-work[hidden], .add-web-projects[hidden] { display: none; }
.addt-contact-form { padding: 0 0 1px; }
.addt-app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.addt-app-hero.addt-has-hero-images .addt-app-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.add-contact-page-hero.addt-has-hero-images .add-contact-page-hero-grid { align-items: center; }
.add-contact-page-hero .addt-contact-hero-title > p:not(.add-kicker) { font-size: 19px; line-height: 1.6; }
.add-contact-page-hero .add-actions { flex-wrap: wrap; gap: 16px 30px; }
.addt-screen-three { z-index: 2; width: 67%; height: 39%; bottom: -2%; right: 0; transform: rotate(5deg); }
.addt-app-hero .add-web-hero-visual, .add-contact-page-hero .add-web-hero-visual { min-height: 410px; position: relative; opacity: 1; inset: auto; }
.addt-app-hero .add-web-screen, .add-contact-page-hero .add-web-screen { height: 55%; }
.addt-app-hero .addt-screen-three, .add-contact-page-hero .addt-screen-three { height: 38%; }
.add-hero.addt-no-hero-images .add-hero-grid,
.add-web-hero.addt-no-hero-images .add-web-hero-grid { grid-template-columns: minmax(0, 850px); }
.addt-faq-answer { overflow-wrap: anywhere; }
.addt-editor-content { padding-block: 48px; }
@media (max-width: 780px) {
    .addt-app-hero.addt-has-hero-images .addt-app-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .addt-app-hero .add-web-hero-visual, .add-contact-page-hero .add-web-hero-visual { min-height: 320px; height: 320px; }
}
@media (max-width: 960px) {
    .addt-header-inner { flex-wrap: wrap; padding-block: 12px; }
    .addt-menu-toggle:not([hidden]) { display: inline-block; }
    .addt-menu-toggle:not([hidden]) + #addt-menu:not(.addt-open) { display: none; }
    #addt-menu, .addt-menu-list { align-items: flex-start; flex-direction: column; }
    #addt-menu { width: 100%; padding: 12px 0; }
    .addt-menu-list .sub-menu { display: block; position: static; }
    .addt-header-inner { min-height: 66px; }
}
@media (max-width: 782px) { .admin-bar .addt-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .addt-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .addt-menu-list a { transition: none; } }
