/* :root {
    --bg: #f9f6f1;
    --bg-2: #f3ede5;
    --bg-3: #ede6db;
    --ink: #1c1a18;
    --ink-mid: #5c5550;
    --ink-light: #9c9490;
    --terracotta: #b85c38;
    --terracotta-light: #d4785a;
    --terracotta-pale: #f5e8e2;
    --forest: #2d5a3d;
    --forest-light: #4a7a5a;
    --forest-pale: #e2ede5;
    --sand: #d4b896;
    --sand-light: #e8d4be;
    --sand-pale: #f8f2ea;
    --radius: 4px;
} */

:root {
    --bg: #ffffff;
    --bg-2: #f5f5f5;
    --bg-3: #ebebeb;
    --ink: #111111;
    --ink-mid: #444444;
    --ink-light: #777777;
    --terracotta: #2f2f2f;
    --terracotta-light: #4a4a4a;
    --terracotta-pale: #e6e6e6;
    --forest: #1f1f1f;
    --forest-light: #3a3a3a;
    --forest-pale: #dcdcdc;
    --sand: #5a5a5a;
    --sand-light: #8a8a8a;
    --sand-pale: #f0f0f0;
    --radius: 4px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Figtree', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
}

a {
    text-decoration: none;
}

main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

::selection {
    background: var(--terracotta-pale);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0 52px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(249, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--bg-3);
    transition: border-color 0.3s;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--ink);
    text-decoration: none;
}

.logo-mark {
    width: 22px;
    height: 22px;
    display: block;
}

.logo .t {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--terracotta);
    padding-bottom: 1px;
    transition: all 0.2s;
}

.nav-cta:hover {
    color: var(--terracotta-light);
    border-color: var(--terracotta-light);
}

/* HERO */
.hero {
    padding: 110px 52px 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    position: relative;
    overflow: hidden;
}

.hero-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s forwards;
}

.kicker-line {
    width: 32px;
    height: 1px;
    background: var(--terracotta);
}

.kicker-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
}

.hero-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(52px, 6vw, 86px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.9s 0.35s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--terracotta);
}

.hero-desc {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards;
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.9s 0.65s forwards;
}

.btn-terra {
    background: var(--terracotta);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}

.btn-terra:hover {
    background: var(--terracotta-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.2);
}

.btn-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-mid);
    text-decoration: none;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
    transition: all 0.2s;
}

.btn-link:hover {
    color: var(--ink);
    border-color: var(--ink-light);
}

/* HERO IMAGE SIDE */
.hero-right {
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
    position: relative;
}

.hero-img-placeholder {
    background: var(--bg-3);
    aspect-ratio: 4/5;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.hero-img-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e8ddd0 0%, #d4c9ba 40%, #c4b8a8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 42px;
}

.hero-schema-label {
    position: relative;
    z-index: 2;
    margin: 0 auto 20px;
    padding: 14px 24px 20px;
    max-width: 92%;
    font-family: 'EB Garamond', serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-align: center;
    line-height: 1.35;
    /* Pill + ligne pointillée = même langage que le schéma hexagonal */
    /* background: rgba(255, 255, 255, 0.5); */
    background: rgba(249, 246, 241, 0.92);
    /* border-radius: 999px; */
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* .hero-schema-label::after {
    content: '';
    display: block;
    width: 70px;
    height: 0;
    margin: 14px auto 0;
    border-top: 2px dashed var(--terracotta);
    opacity: 0.6;
} */

.hero-schema-label strong {
    color: var(--terracotta);
    font-weight: 600;
}

/* Orbite des outils IA — ils travaillent ensemble */
.hero-ai-orbit {
    position: absolute;
    inset: 15%;
    z-index: 1;
    color: var(--terracotta);
}

.hero-ai-svg {
    width: 100%;
    height: 100%;
    color: var(--terracotta);
    filter: drop-shadow(0 2px 8px rgba(184, 92, 56, 0.15));
}

/* Couche arrière : tirets et point passent sous les icônes */
.hero-ai-connector-layer {
    isolation: isolate;
    z-index: 0;
}

.hero-ai-foreground {
    isolation: isolate;
    z-index: 1;
}

.hero-ai-connector {
    color: rgba(184, 92, 56, 0.4);
    stroke-dasharray: 8 24;
    animation: heroConnectorFlow 2.5s linear infinite;
}

@keyframes heroConnectorFlow {
    to {
        stroke-dashoffset: -32;
    }
}

/* Groupe du point : animateMotion déplace ce g, l’opacité fait disparaître avant chaque icône */
.hero-ai-dot-wrap {
    animation: heroDotFadeAtCorners 7s linear infinite;
}

.hero-ai-dot {
    color: var(--terracotta);
    filter: drop-shadow(0 0 6px rgba(184, 92, 56, 0.5));
}

@keyframes heroDotFadeAtCorners {
    0% { opacity: 0; }
    3% { opacity: 1; }
    14% { opacity: 1; }
    17% { opacity: 0; }
    19% { opacity: 0; }
    22% { opacity: 1; }
    31% { opacity: 1; }
    34% { opacity: 0; }
    36% { opacity: 0; }
    39% { opacity: 1; }
    47% { opacity: 1; }
    50% { opacity: 0; }
    53% { opacity: 0; }
    56% { opacity: 1; }
    64% { opacity: 1; }
    67% { opacity: 0; }
    69% { opacity: 0; }
    72% { opacity: 1; }
    81% { opacity: 1; }
    84% { opacity: 0; }
    86% { opacity: 0; }
    89% { opacity: 1; }
    97% { opacity: 1; }
    100% { opacity: 0; }
}

/* Centre : icône IA (les process s’imbriquent dedans) */
/* Centre : pas d’animation, reste fixe */

.hero-ai-icon-ai {
    transform-origin: 12px 12px; /* centre de l’icône 24×24 */
    animation: heroIconBreathe 2.8s ease-in-out infinite;
}

.hero-ai-foreground > g:nth-child(3) .hero-ai-icon-ai { animation-delay: 0s; }   /* ChatGPT */
.hero-ai-foreground > g:nth-child(5) .hero-ai-icon-ai { animation-delay: 0.5s; }   /* Claude */
.hero-ai-foreground > g:nth-child(6) .hero-ai-icon-ai { animation-delay: 1s; }    /* Perplexity */

@keyframes heroIconBreathe {
    0%, 100% {
        transform: translate(-12px, -12px) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-12px, -12px) scale(1.22);
        opacity: 1;
    }
}

/* Lueur "en activité" en arrière-plan */
.hero-tools-pulse {
    position: absolute;
    inset: 20%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(184, 92, 56, 0.08) 0%,
        rgba(184, 92, 56, 0.02) 40%,
        transparent 70%
    );
    animation: heroPulseGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroPulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.hero-img-label {
    font-family: 'EB Garamond', serif;
    font-size: 120px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1;
    font-style: italic;
}

.hero-img-overlay {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    z-index: 10;
    background: rgba(249, 246, 241, 0.92);
    backdrop-filter: blur(10px);
    padding: 10px 24px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.overlay-num {
    font-family: 'EB Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
}

.overlay-label {
    font-size: 11px;
    color: var(--ink-light);
    margin-top: 2px;
}

/* HERO BOTTOM STRIP */
.hero-strip {
    border-top: 1px solid var(--bg-3);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.strip-item {
    padding: 28px 0;
    border-right: 1px solid var(--bg-3);
    padding-right: 32px;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.strip-item:last-child {
    border-right: none;
}

.strip-icon {
    width: 40px;
    height: 40px;
    background: var(--terracotta-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.strip-icon-svg {
    width: 20px;
    height: 20px;
}

.strip-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}

.strip-sub {
    font-size: 12px;
    color: var(--ink-light);
    margin-top: 2px;
}

/* SECTION */
.s {
    padding: 96px 52px;
}

.s.bg-2 {
    background: var(--bg-2);
}

.s.bg-3 {
    background: var(--bg-3);
}

.s.white {
    background: white;
}

#temoignages {
    display: none;
}

.c {
    max-width: 1100px;
    margin: 0 auto;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--terracotta);
}

.s-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin-bottom: 20px;
}

.s-title em {
    font-style: italic;
    color: var(--terracotta);
}

.s-sub {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.8;
    max-width: 520px;
}

.s-sub a {
    color: var(--terracotta);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.s-sub a:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

/* MANIFESTO */
.manifesto-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.manifesto-text {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.85;
    margin-bottom: 24px;
}

.manifesto-text strong {
    color: var(--ink);
    font-weight: 600;
}

.manifesto-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.manifesto-cta-line {
    width: 32px;
    height: 1px;
    background: var(--terracotta);
}

.manifesto-cta a {
    font-size: 14px;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: opacity 0.2s;
}

.manifesto-cta a:hover {
    opacity: 0.7;
}

.values {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--bg-3);
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    align-items: start;
    transition: padding-left 0.3s;
}

.value-item:first-child {
    border-top: 1px solid var(--bg-3);
}

.value-item:hover {
    padding-left: 8px;
}

.value-n {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--sand);
    margin-top: 2px;
}

.value-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.value-desc {
    font-size: 14px;
    color: var(--ink-mid);
    line-height: 1.65;
    font-weight: 300;
}

/* SERVICES — HORIZONTAL 3 COLUMNS */
.svc-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    margin-top: 56px;
}

.svc-row {
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    background: white;
    border: 1px solid var(--bg-3);
    transition: all 0.3s;
    cursor: default;
}

.svc-row:hover {
    background: var(--bg-2);
}

.svc-row:hover .svc-r-title {
    color: var(--terracotta);
}

.svc-r-num {
    font-family: 'EB Garamond', serif;
    font-size: 48px;
    font-style: italic;
    color: var(--sand);
    line-height: 0.9;
    margin-bottom: 24px;
}

.svc-row:hover .svc-r-num {
    color: var(--terracotta-light);
}

.svc-r-head {
    margin-bottom: 20px;
}

.svc-r-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 6px;
}

.svc-r-title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    transition: color 0.3s;
    margin-bottom: 12px;
}

.svc-r-meta {
    font-size: 12px;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bg-3);
}

.svc-r-meta strong {
    color: var(--ink-mid);
    font-weight: 600;
}

.svc-r-public {
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 24px;
}

.svc-r-public strong {
    color: var(--terracotta);
    font-weight: 600;
}

.svc-r-objectives {
    margin-bottom: 24px;
}

.svc-r-obj-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-mid);
    margin-bottom: 12px;
}

.svc-r-obj-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svc-r-obj-item {
    font-size: 13px;
    color: var(--ink-mid);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.svc-r-obj-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: bold;
}

.svc-r-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.svc-r-chips span {
    font-size: 11px;
    color: var(--ink-light);
    background: var(--bg-2);
    border: 1px solid var(--bg-3);
    border-radius: 100px;
    padding: 4px 10px;
    transition: all 0.3s;
}

.svc-r-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--bg-3);
}

.svc-r-cta {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--terracotta);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}

.svc-r-cta:hover {
    opacity: 0.7;
}

/* NUMBERS */
.numbers-panel {
    background: var(--ink);
    padding: 64px 52px;
}

.numbers-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 80px;
    align-items: center;
}

.nl-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nl-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--terracotta-light);
}

.nl-title {
    font-family: 'EB Garamond', serif;
    font-size: 44px;
    font-weight: 500;
    color: var(--bg);
    line-height: 1.15;
    max-width: 320px;
}

.nl-title em {
    font-style: italic;
    color: var(--sand-light);
}

.numbers-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.num-block {
    padding: 36px 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s;
}

.num-block:hover {
    background: rgba(184, 92, 56, 0.1);
}

.nb-n {
    font-family: 'EB Garamond', serif;
    font-size: 56px;
    font-weight: 500;
    color: var(--bg);
    line-height: 1;
    margin-bottom: 8px;
}

.nb-l {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(249, 246, 241, 0.4);
    margin-bottom: 6px;
}

.nb-d {
    font-size: 13px;
    color: rgba(249, 246, 241, 0.3);
    line-height: 1.5;
    font-weight: 300;
}

/* PROCESS */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-top: 56px;
}

.p-card {
    padding: 48px 40px;
    background: white;
    border: 1px solid var(--bg-3);
    transition: background 0.3s;
}

.p-card:hover {
    background: var(--bg-2);
}

.p-tag {
    font-family: 'EB Garamond', serif;
    font-size: 56px;
    font-style: italic;
    color: var(--bg-3);
    line-height: 0.9;
    margin-bottom: 24px;
}

.p-title {
    font-family: 'EB Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.p-desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.75;
}

/* TESTIMONIALS */
.testi-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2px;
    margin-top: 56px;
}

.testi-card {
    padding: 48px 36px;
    background: white;
    border: 1px solid var(--bg-3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
}

.testi-card:hover {
    background: var(--bg-2);
}

.testi-card.terra {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.testi-card.terra:hover {
    background: var(--terracotta-light);
}

.tc-quote {
    font-family: 'EB Garamond', serif;
    font-size: 19px;
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 32px;
}

.testi-card.terra .tc-quote {
    color: white;
}

.tc-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.tc-role {
    font-size: 12px;
    color: var(--ink-light);
    margin-top: 3px;
}

.testi-card.terra .tc-name {
    color: white;
}

.testi-card.terra .tc-role {
    color: rgba(255, 255, 255, 0.65);
}

.tc-open {
    font-family: 'EB Garamond', serif;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.15);
    line-height: 0.8;
    margin-bottom: 16px;
}

/* Témoignages : slider si > 3 */
.testimonials-wrap {
    margin-top: 56px;
}

.testi-slider {
    position: relative;
}

.testi-viewport {
    overflow: hidden;
    width: 100%;
}

.testi-track {
    display: flex;
    transition: transform 0.4s ease;
}

.testi-slide {
    display: flex;
    flex: 0 0 50%;
    min-width: 0;
    box-sizing: border-box;
}

.testi-slide .testi-card {
    flex: 0 0 33.333%;
    min-width: 0;
    box-sizing: border-box;
}

.testi-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.testi-prev,
.testi-next {
    width: 44px;
    height: 44px;
    border: 1px solid var(--bg-3);
    background: white;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.testi-prev:hover,
.testi-next:hover {
    background: var(--terracotta-pale);
    border-color: var(--terracotta);
    color: var(--terracotta);
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--bg-3);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.testi-dot:hover {
    background: var(--ink-light);
}

.testi-dot.active {
    background: var(--terracotta);
    transform: scale(1.2);
}

/* SIMULATOR */
.simulator-section {
    background: white;
    padding: 96px 52px;
}

.simulator-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.simulator-header {
    margin-bottom: 56px;
}

.sim-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.sim-input-group {
    display: flex;
    flex-direction: column;
}

.sim-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.sim-label-sub {
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 400;
    margin-top: 3px;
}

.sim-input {
    padding: 12px 16px;
    border: 1px solid var(--bg-3);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.2s;
}

.sim-input:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--bg);
}

.sim-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-3);
    cursor: pointer;
    accent-color: var(--terracotta);
}

/* Piste (Chrome, Safari, Edge) */
.sim-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-3);
}

.sim-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -7px;
    border-radius: 50%;
    background: var(--terracotta);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(184, 92, 56, 0.25);
    transition: box-shadow 0.2s, transform 0.2s;
}

.sim-range::-webkit-slider-thumb:hover {
    box-shadow: 0 3px 12px rgba(184, 92, 56, 0.35);
}

/* Piste + curseur (Firefox) */
.sim-range::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-3);
    border: none;
}

.sim-range::-moz-range-progress {
    height: 8px;
    border-radius: 4px 0 0 4px;
    background: var(--terracotta-pale);
}

.sim-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--terracotta);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(184, 92, 56, 0.25);
    transition: box-shadow 0.2s;
}

.sim-range::-moz-range-thumb:hover {
    box-shadow: 0 3px 12px rgba(184, 92, 56, 0.35);
}

.sim-value {
    font-size: 13px;
    color: var(--ink-mid);
    margin-top: 8px;
}

.sim-results {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    padding: 40px;
    background: var(--bg);
    border: 1px solid var(--bg-3);
    border-radius: var(--radius);
}

.sim-result-item {
    text-align: center;
}

.sim-result-value {
    font-family: 'EB Garamond', serif;
    font-size: 44px;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 8px;
}

.sim-result-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.sim-result-sub {
    font-size: 12px;
    color: var(--ink-light);
    font-weight: 300;
}

.sim-cta {
    text-align: center;
    margin-top: 40px;
}

.sim-cta-btn {
    display: inline-block;
    background: var(--terracotta);
    color: white;
    padding: 13px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}

.sim-cta-btn:hover {
    background: var(--terracotta-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(184, 92, 56, 0.2);
}

/* Blog / Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.article-card {
    background: var(--bg-2);
    border: 1px solid var(--bg-3);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.article-card:hover {
    border-color: var(--terracotta-pale);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.article-card-link {
    display: block;
    padding: 28px;
    text-decoration: none;
    color: inherit;
}

.article-card-date {
    font-size: 13px;
    font-weight: 500;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-card-title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    margin: 12px 0 10px;
}

.article-card-excerpt {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.6;
    margin: 0 0 16px;
}

.article-card-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--terracotta);
}

.article-card:hover .article-card-cta {
    text-decoration: none;
}

/* Page article (détail) */
.article-page .article-back {
    margin-bottom: 24px;
}

.article-page .article-back a {
    font-size: 14px;
    color: var(--ink-mid);
    text-decoration: none;
}

.article-page .article-back a:hover {
    color: var(--terracotta);
}

.article-header {
    margin-bottom: 40px;
}

.article-date {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.article-body {
    max-width: 680px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--ink-mid);
}

.article-body p {
    margin: 0 0 1.2em;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body strong {
    font-weight: 600;
    color: var(--ink);
}

.article-body ul {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.article-body li {
    margin-bottom: 0.4em;
}

/* Page politique de confidentialité */
.legal-page .legal-updated {
    font-size: 14px;
    color: var(--ink-mid);
    margin-top: -8px;
    margin-bottom: 32px;
}

.legal-body {
    max-width: 680px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ink-mid);
}

.legal-body h2 {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 10px;
}

.legal-body h2:first-of-type {
    margin-top: 0;
}

.legal-body p {
    margin: 0 0 1em;
}

.legal-body ul {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.legal-body li {
    margin-bottom: 0.35em;
}

.legal-body a {
    color: var(--terracotta);
    text-decoration: none;
}

.legal-body a:hover {
    text-decoration: none;
}

.article-sources {
    display: none;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--bg-3);
    max-width: 680px;
}

.article-sources-title {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.article-sources-list {
    margin: 0;
    padding-left: 1.4em;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--ink-mid);
}

.article-sources-list a {
    color: var(--terracotta);
    text-decoration: none;
}

.article-sources-list a:hover {
    text-decoration: none;
}

.article-related {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--bg-3);
}

.article-related-title {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

.article-related .articles-grid {
    margin-top: 0;
}

/* Section Derniers articles (accueil) */
.articles-preview {
    padding: 96px 52px;
    background: var(--bg-1);
}

.articles-preview .c {
    max-width: 1100px;
    margin: 0 auto;
}

.articles-preview .articles-grid {
    margin-top: 40px;
}

.articles-preview .article-card {
    background: white;
}

.articles-preview .article-more {
    margin-top: 40px;
    text-align: center;
}

.articles-preview .article-more a {
    font-size: 16px;
    font-weight: 500;
    color: var(--terracotta);
    text-decoration: none;
}

.articles-preview .article-more a:hover {
    text-decoration: none;
}

/* CTA */
/* Études de cas */
.cas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.cas-card {
    padding: 32px;
    background: var(--bg-2);
    border: 1px solid var(--bg-3);
    border-radius: 12px;
}

.cas-sector {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.cas-title {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 16px;
    line-height: 1.3;
}

.cas-besoin,
.cas-solution,
.cas-result {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.6;
    margin: 0 0 12px;
}

.cas-result {
    margin-bottom: 0;
}

/* Bloc Qualiopi */
.qualiopi-block {
    background: var(--terracotta-pale);
    padding: 32px 52px;
    text-align: center;
}

.qualiopi-inner {
    max-width: 720px;
    margin: 0 auto;
}

.qualiopi-text {
    font-size: 15px;
    font-weight: 400;
    color: var(--ink);
    margin: 0;
    line-height: 1.6;
}

/* FAQ */
.faq-section {
    padding: 96px 52px;
    background: white;
}

.faq-list {
    max-width: 680px;
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--bg-3);
}

.faq-item:first-child {
    border-top: 1px solid var(--bg-3);
}

.faq-question {
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--terracotta);
    flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 20px;
}

.faq-answer p {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.7;
    margin: 0;
}

.cta-section {
    background: var(--bg-2);
    padding: 96px 52px;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    color: var(--terracotta);
}

.cta-desc {
    font-size: 17px;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: white;
    border: 1px solid var(--bg-3);
    transition: all 0.3s;
}

.cta-item:hover {
    border-color: var(--terracotta-pale);
    transform: translateX(4px);
}

a.cta-item:hover .ci-title,
a.cta-item:hover .ci-desc,
a.cta-item:hover .ci-arrow {
    color: var(--ink);
}

.ci-icon {
    width: 48px;
    height: 48px;
    background: var(--terracotta-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.ci-icon-svg {
    width: 24px;
    height: 24px;
}

.ci-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.ci-desc {
    font-size: 13px;
    color: var(--ink-mid);
    font-weight: 300;
}

.ci-arrow {
    margin-left: auto;
    color: var(--terracotta);
    font-size: 20px;
}

/* NEWSLETTER */
.newsletter-section {
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--terracotta-pale) 100%);
    padding: 72px 52px;
    border-top: 1px solid var(--bg-3);
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-family: 'EB Garamond', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.newsletter-sub {
    font-size: 16px;
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid rgba(28, 26, 24, 0.1);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    background: white;
    color: var(--ink);
    transition: all 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.newsletter-btn {
    padding: 13px 24px;
    background: var(--terracotta);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: all 0.25s;
}

.newsletter-btn:hover {
    background: var(--terracotta-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 92, 56, 0.2);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-consent {
    font-size: 12px;
    color: var(--ink-light);
    line-height: 1.5;
}

.newsletter-consent a {
    color: var(--terracotta);
    text-decoration: none;
}

.newsletter-consent a:hover {
    text-decoration: none;
}

.newsletter-message {
    margin-top: 16px;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: var(--radius);
    display: none;
}

.newsletter-message.success {
    background: #e2ede5;
    color: #2d5a3d;
    display: block;
}

.newsletter-message.error {
    background: #f5e8e2;
    color: #b85c38;
    display: block;
}


/* FOOTER */
footer {
    background: var(--ink);
    padding: 72px 52px 40px;
}

.foot-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(249, 246, 241, 0.07);
}

.foot-logo {
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--bg);
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.foot-logo .t {
    color: var(--terracotta-light);
}

.foot-tagline {
    font-size: 14px;
    color: rgba(249, 246, 241, 0.3);
    line-height: 1.7;
    font-weight: 300;
}

.foot-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sand-light);
    margin-bottom: 20px;
}

.foot-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-links a {
    font-size: 14px;
    color: rgba(249, 246, 241, 0.35);
    text-decoration: none;
    font-weight: 300;
    transition: color 0.2s;
}

.foot-links a:hover {
    color: var(--bg);
}

.foot-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(249, 246, 241, 0.18);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.d1 {
    transition-delay: 0.1s
}

.d2 {
    transition-delay: 0.2s
}

.d3 {
    transition-delay: 0.3s
}

@media (max-width: 1024px) {
    .hero {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-body {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-left {
        width: 100%;
        min-width: 0;
    }

    /* Animation visible en mobile : bloc pleine largeur */
    .hero-right {
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 24px auto 0;
        opacity: 1;
        animation: none;
    }

    /* Titre plus compact en mobile pour laisser place à l’animation */
    .hero-schema-label {
        margin-bottom: 40px;
        font-size: 14px;
        padding: 10px 16px 12px;
        max-width: 96%;
    }

    .hero-ai-orbit {
        top: 26%;
        right: 12%;
        bottom: 24%;
        left: 12%;
    }

    .hero-strip {
        grid-template-columns: 1fr 1fr;
    }

    .manifesto-cols {
        grid-template-columns: 1fr;
    }

    .svc-list {
        grid-template-columns: 1fr;
    }

    .numbers-inner {
        grid-template-columns: 1fr;
    }

    .numbers-right {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .testi-layout {
        grid-template-columns: 1fr;
    }

    .cas-grid {
        grid-template-columns: 1fr;
    }

    /* Slider témoignages : 2 cartes visibles sur tablette/mobile */
    .testi-slide .testi-card {
        flex: 0 0 50% !important;
    }
    .testi-slide--single .testi-card {
        flex: 0 0 100% !important;
    }

    .cta-inner {
        grid-template-columns: 1fr;
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 96px 16px 0;
    }

    .hero-desc {
        max-width: none;
    }

    .hero-schema-label {
        font-size: 12px;
        padding: 8px 12px 10px;
        margin-bottom: 24px;
    }

    .s {
        padding: 72px 16px;
    }

    .numbers-panel {
        padding: 60px 16px;
    }

    .cta-section {
        padding: 72px 16px;
    }

    .qualiopi-block {
        padding: 24px 16px;
    }

    .faq-section {
        padding: 72px 16px;
    }

    footer {
        padding: 60px 16px 32px;
    }

    .simulator-section {
        padding: 96px 16px;
    }

    .articles-preview {
        padding: 96px 16px;
    }

    .newsletter-section {
        padding: 72px 16px;
    }

    .hero-strip {
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--bg-3);
    }

    .strip-item:nth-child(3),
    .strip-item:nth-child(4) {
        border-top: 1px solid var(--bg-3);
    }

    .strip-item:nth-child(2n) {
        border-right: none;
    }

    .foot-grid {
        grid-template-columns: 1fr;
    }
}

/* Très petits écrans (iPhone, etc.) : contenu pleine largeur */
@media (max-width: 430px) {
    nav {
        padding: 0 12px;
    }

    .hero {
        padding: 96px 12px 0;
    }

    .s {
        padding: 72px 12px;
    }

    .numbers-panel {
        padding: 60px 12px;
    }

    .cta-section,
    .faq-section,
    .simulator-section,
    .articles-preview,
    .newsletter-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .qualiopi-block {
        padding-left: 12px;
        padding-right: 12px;
    }

    footer {
        padding-left: 12px;
        padding-right: 12px;
    }
}
