/*
 * Astreative.io - Design system 2026
 * Refonte complète : studio technique éditorial.
 * Papier chaud + encre profonde + bleu électrique de marque + accent corail.
 * Typographie : Fraunces (display) / Hanken Grotesk (corps) / JetBrains Mono (labels).
 * Aucune dépendance Webflow : cette feuille remplace l'ancien thème.
 */

/* =========================================================
 * 1. Tokens
 * ========================================================= */
:root {
    /* Couleurs */
    --ink: #14181f;
    --ink-soft: #232a36;
    --paper: #f4f1ea;
    --paper-2: #fbf9f4;
    --card: #ffffff;
    --blue: #484dff;
    --blue-700: #3338e0;
    --blue-100: rgba(72, 77, 255, 0.1);
    --coral: #ff5b3a;
    --muted: #5d6677;
    --muted-2: #828da0;
    --line: #e4ddd0;
    --line-2: #e6ecf5;

    /* Alias conservés pour le système de mockups (.mk-*) */
    --ast-blue: #484dff;
    --ast-blue-dark: #3338e0;
    --ast-navy: #1a2333;
    --ast-slate: #5d6677;
    --ast-purple: #7b41f1;
    --ast-light: #eef1f8;
    --ast-green: #18a567;
    --ast-orange: #ff7a2e;
    --ast-red: #e0436a;
    --ast-line: #e7ebf3;

    /* Typo */
    --display: "Newsreader", Georgia, serif;
    --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

    /* Mesures */
    --maxw: 1200px;
    --radius: 18px;
    --radius-lg: 26px;
}

/* =========================================================
 * 2. Reset / base
 * ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--ink);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--display);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--ink);
}

p {
    margin: 0;
}

/* Esperluette : Newsreader a un & propre et lisible, on le laisse dans la
   police d'affichage (héritage complet du titre). Classe conservée pour
   pouvoir ajuster le glyphe ponctuellement si besoin. */
.amp {
    font: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background-color: var(--blue);
    color: #fff;
}

/* =========================================================
 * 3. Utilitaires de mise en page
 * ========================================================= */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 120px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background-color: var(--blue);
}

.section-index {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    color: var(--muted-2);
    text-transform: uppercase;
}

.lead {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border-radius: 50px;
    border: 1px solid transparent;
    font-family: var(--body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background-color: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--blue-700);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--ink);
    border-color: rgba(20, 24, 31, 0.18);
}

.btn-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.btn-arrow::after {
    content: "→";
    font-family: var(--mono);
}

/* =========================================================
 * 4. Header / navigation
 * ========================================================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(244, 241, 234, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px;
}

/* Logo (mark SVG + wordmark) */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.logo-mark {
    display: block;
    flex-shrink: 0;
}

.logo-word {
    font-family: var(--body);
    font-weight: 700;
    font-size: 21px;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.logo-word i {
    font-style: normal;
    color: var(--blue);
}

.logo--light .logo-word {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    font-size: 15.5px;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.18s ease;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-cta .btn {
    padding: 11px 22px;
    font-size: 15px;
}

.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: var(--paper-2);
    cursor: pointer;
    position: relative;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-burger span {
    top: 50%;
    margin-top: -1px;
}

.nav-burger span::before {
    content: "";
    top: -6px;
}

.nav-burger span::after {
    content: "";
    top: 6px;
}

.nav-burger.is-open span {
    background-color: transparent;
}

.nav-burger.is-open span::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
}

.nav-burger.is-open span::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 28px 24px;
    border-bottom: 1px solid var(--line);
    background-color: var(--paper);
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* =========================================================
 * 5. Hero
 * ========================================================= */
.hero {
    position: relative;
    padding: 84px 0 96px;
    overflow: hidden;
}

/* Trame blueprint subtile */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 25%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 70% at 70% 25%, #000 0%, transparent 75%);
    opacity: 0.55;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-copy {
    max-width: 580px;
}

.hero h1 {
    margin: 22px 0 24px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

.hero h1 em {
    font-style: italic;
    color: var(--blue);
}

.hero .lead {
    margin-bottom: 34px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-transform: uppercase;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--coral);
}

/* Cluster de fenêtres applicatives en hero */
.hero-stage {
    position: relative;
    min-height: 510px;
}

.hero-stage .mk {
    position: absolute;
    box-shadow: 0 30px 70px -20px rgba(20, 24, 31, 0.4);
    border-radius: 14px;
}

.hero-stage .mk-1 {
    top: 0;
    right: 0;
    width: 86%;
    z-index: 2;
    animation: floatUp 0.8s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-stage .mk-2 {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 200px;
    z-index: 3;
    animation: floatUp 0.8s 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-badge {
    position: absolute;
    bottom: 28px;
    right: -6px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background-color: var(--ink);
    color: #fff;
    box-shadow: 0 20px 40px -16px rgba(20, 24, 31, 0.5);
    animation: floatUp 0.8s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-badge b {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.hero-badge span {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9aa6c4;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Révélation au chargement (copie hero) */
.reveal {
    animation: reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.16s; }
.reveal-3 { animation-delay: 0.27s; }
.reveal-4 { animation-delay: 0.38s; }
.reveal-5 { animation-delay: 0.49s; }

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Hero : effets de vie ---- */

/* Halo ambiant très léger, dérivant lentement derrière les maquettes */
.hero-stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -16% -10%;
    background:
        radial-gradient(42% 48% at 62% 38%, rgba(72, 77, 255, 0.16), transparent 70%),
        radial-gradient(38% 44% at 38% 72%, rgba(123, 65, 241, 0.12), transparent 72%);
    filter: blur(42px);
    pointer-events: none;
    animation: heroGlow 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from { transform: translate(-2.5%, -2%) scale(1); }
    to { transform: translate(3.5%, 2.5%) scale(1.07); }
}

/* Dashboard vivant : pastille « temps réel » qui pulse (hero uniquement) */
.hero-stage .mk-h em {
    position: relative;
    padding-left: 17px;
}

.hero-stage .mk-h em::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #fff;
    animation: heroPulse 1.7s ease-out infinite;
}

@keyframes heroPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Dashboard vivant : barres du graphe qui respirent */
.hero-stage .mk-chart i {
    transform-origin: bottom;
    animation: heroBar 2.8s ease-in-out infinite;
}

.hero-stage .mk-chart i:nth-child(1) { animation-delay: 0s; }
.hero-stage .mk-chart i:nth-child(2) { animation-delay: 0.22s; }
.hero-stage .mk-chart i:nth-child(3) { animation-delay: 0.44s; }
.hero-stage .mk-chart i:nth-child(4) { animation-delay: 0.66s; }
.hero-stage .mk-chart i:nth-child(5) { animation-delay: 0.88s; }
.hero-stage .mk-chart i:nth-child(6) { animation-delay: 1.1s; }

@keyframes heroBar {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.84); }
}

/* Saut de ligne forcé après "pour" : le verbe démarre toujours sa propre ligne,
 * la mise en page au-dessus reste stable quelle que soit la longueur du mot. */
.hero-break {
    display: inline;
}

/* Titre dynamique : verbe qui alterne, avec largeur animée pour un glissement fluide */
.rotator {
    display: inline-block;
    position: relative;
    color: var(--blue);
    white-space: nowrap;
    transition: width 0.5s cubic-bezier(0.45, 0, 0.2, 1);
}

.rot-word {
    display: inline-block;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.rot-word.is-out {
    opacity: 0;
    transform: translateY(-0.3em);
}

.rot-word.is-in {
    opacity: 0;
    transform: translateY(0.3em);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-stage .mk,
    .hero-badge,
    .hero-stage::before,
    .hero-stage .mk-h em::before,
    .hero-stage .mk-chart i {
        animation: none;
    }
    .rotator {
        transition: none;
    }
}

/* =========================================================
 * 6. Bande "pour qui" (tailles d'entreprise)
 * ========================================================= */
.audience {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-color: var(--paper-2);
    padding: 30px 0;
}

.audience-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 40px;
    justify-content: space-between;
}

.audience-label {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    max-width: 180px;
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
}

.audience-list li {
    display: flex;
    flex-direction: column;
}

.audience-list b {
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
    color: var(--ink);
}

.audience-list span {
    font-size: 13.5px;
    color: var(--muted);
}

/* =========================================================
 * 7. Bloc titre de section
 * ========================================================= */
.sec-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 60px;
}

.sec-head h2 {
    font-size: clamp(34px, 4.4vw, 52px);
    max-width: 760px;
}

.sec-head .lead {
    max-width: 620px;
}

.sec-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

/* =========================================================
 * 8. Expertises
 * ========================================================= */
.expertise {
    background-color: var(--paper);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--paper-2);
}

.exp-card {
    padding: 34px 30px 38px;
    border-right: 1px solid var(--line);
    transition: background-color 0.2s ease;
}

.exp-card:last-child {
    border-right: none;
}

.exp-card:hover {
    background-color: #fff;
}

.exp-num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--blue);
    letter-spacing: 0.06em;
}

.exp-card h3 {
    margin: 18px 0 12px;
    font-size: 23px;
    line-height: 1.1;
}

.exp-card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

/* =========================================================
 * 9. Réalisations (centre névralgique)
 * ========================================================= */
.realisations {
    background-color: var(--ink);
    color: #fff;
}

.realisations .eyebrow,
.realisations .exp-num {
    color: #8c8fff;
}

.realisations .eyebrow::before {
    background-color: #8c8fff;
}

.realisations h2 {
    color: #fff;
}

.realisations .lead {
    color: #aeb6c8;
}

.realisations .section-index {
    color: #707a90;
}

.rea-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.rea-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--ink-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rea-card:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 143, 255, 0.5);
}

.rea-visual {
    padding: 26px 26px 0;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(72, 77, 255, 0.18), transparent 70%),
        #1a212e;
}

.rea-body {
    padding: 24px 28px 30px;
}

.rea-sector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8c8fff;
    margin-bottom: 14px;
}

.rea-body h3 {
    color: #fff;
    font-size: 25px;
    line-height: 1.08;
    margin-bottom: 12px;
}

.rea-body p {
    color: #aab2c4;
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.rea-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rea-tags li {
    padding: 5px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c4cbda;
    font-size: 13px;
    font-weight: 500;
}

.rea-foot {
    margin-top: 54px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.rea-foot p {
    color: #aeb6c8;
    font-size: 17px;
}

/* =========================================================
 * 10. Approche / méthode
 * ========================================================= */
.approche {
    background-color: var(--paper);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--ink);
}

.step-num {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--blue);
    letter-spacing: 0.08em;
}

.step h3 {
    margin: 12px 0 10px;
    font-size: 24px;
}

.step p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

/* =========================================================
 * 11. Iterop
 * ========================================================= */
.iterop {
    background-color: var(--paper-2);
    border-top: 1px solid var(--line);
}

.iterop-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.iterop-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.iterop-row:last-child {
    border-bottom: none;
}

.iterop-row.reverse .iterop-media {
    order: 2;
}

.iterop-media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line-2);
    background-color: #fff;
    box-shadow: 0 24px 60px -30px rgba(20, 24, 31, 0.4);
}

.iterop-text h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.iterop-text .eyebrow {
    margin-bottom: 16px;
}

.iterop-text ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iterop-text li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.5;
}

.iterop-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background-color: var(--blue);
    transform: rotate(45deg);
}

.iterop-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}

.iterop-top .sec-head {
    margin-bottom: 0;
}

.iterop-stamp {
    flex-shrink: 0;
}

.iterop-stamp img {
    width: 190px;
    height: 190px;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(26, 48, 102, 0.16));
}

.iterop-intro {
    max-width: 620px;
    margin-bottom: 0;
}

.iterop-intro a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
 * 12. Fondateur / manifeste
 * ========================================================= */
.founder {
    background-color: var(--ink);
    color: #fff;
}

.founder-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: center;
}

.founder-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder blockquote {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
    font-weight: 400;
}

.founder blockquote .hl {
    color: #8c8fff;
    font-style: italic;
}

.founder-by {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.founder-by .logo-word {
    font-size: 18px;
}

.founder-by div b {
    display: block;
    font-family: var(--body);
    font-weight: 600;
    font-size: 16px;
}

.founder-by div span {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9aa6c4;
}

/* =========================================================
 * 12b. Clients (bande de confiance)
 * ========================================================= */
.clients {
    background-color: var(--paper);
    padding: 46px 0;
    border-bottom: 1px solid var(--line);
}

.clients-inner {
    /* Bande clients plus large que le conteneur standard (1200px) */
    max-width: 1480px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 80px;
}

.clients-label {
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.clients-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 80px;
}

.client-logo {
    width: auto;
    display: block;
}

.client-logo.is-danone {
    height: 72px;
}

.client-logo.is-ma {
    height: 84px;
}

.client-logo.is-terre-adelice {
    height: 112px;
    /* Logo fourni sur fond blanc : on fond le blanc dans la bande crème */
    mix-blend-mode: multiply;
}

.client-logo.is-ducasse {
    height: 78px;
    /* Logo fourni en JPG sur fond blanc : on fond le blanc dans la bande crème */
    mix-blend-mode: multiply;
}

/* =========================================================
 * 13. Partenaires
 * ========================================================= */
.partners {
    background-color: var(--paper);
    padding: 70px 0;
    border-top: 1px solid var(--line);
}

.partners-label {
    text-align: center;
    margin-bottom: 34px;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.partners-row img {
    height: 68px;
    width: auto;
    opacity: 1;
    filter: none;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.partners-row img:hover {
    opacity: 0.65;
    filter: grayscale(100%);
}

/* =========================================================
 * 14. Contact / CTA final
 * ========================================================= */
.contact {
    background-color: var(--blue);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.contact h2 {
    color: #fff;
    font-size: clamp(36px, 4.6vw, 54px);
    margin-bottom: 22px;
}

.contact-aside .eyebrow {
    color: #fff;
}

.contact-aside .eyebrow::before {
    background-color: #fff;
}

.contact-aside p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.contact-aside a.mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 3px;
}

.contact-card {
    background-color: var(--paper-2);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: var(--ink);
    box-shadow: 0 40px 80px -30px rgba(20, 24, 31, 0.45);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: #fff;
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    margin: 16px 0;
    font-size: 13.5px;
    color: var(--muted);
}

.form-submit {
    width: 100%;
    border: none;
}

.form-msg {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
}

/* Masquer le bloc au repos (aucun message affiché) */
.form-msg:empty {
    display: none;
}

.form-msg.ok {
    background-color: rgba(24, 165, 103, 0.12);
    color: #0f7a4b;
}

.form-msg.err {
    background-color: rgba(224, 67, 106, 0.12);
    color: #b32a4f;
}

/* =========================================================
 * 15. Footer
 * ========================================================= */
.site-footer {
    background-color: var(--ink);
    color: #aeb6c8;
    padding: 64px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 320px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-cols {
    display: flex;
    gap: 70px;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #707a90;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-col a {
    display: block;
    font-size: 15px;
    color: #c4cbda;
    margin-bottom: 10px;
    transition: color 0.18s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: 0.03em;
    color: #707a90;
}

.footer-bottom .heart {
    color: var(--coral);
}

/* =========================================================
 * 16. Responsive
 * ========================================================= */
@media screen and (max-width: 991px) {
    .section { padding: 90px 0; }
    .nav-links { display: none; }
    .nav-cta .btn-primary { display: none; }
    .nav-burger { display: block; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-stage { min-height: 380px; max-width: 520px; }
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-card:nth-child(2) { border-right: none; }
    .exp-card { border-bottom: 1px solid var(--line); }
    .exp-card:nth-child(3), .exp-card:nth-child(4) { border-bottom: none; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .founder-inner { grid-template-columns: 1fr; gap: 36px; }
    .founder-photo { max-width: 320px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media screen and (max-width: 767px) {
    body { font-size: 17px; }
    .section { padding: 76px 0; }
    .wrap { padding: 0 22px; }
    .rea-grid { grid-template-columns: 1fr; }
    .iterop-top { grid-template-columns: 1fr; gap: 30px; }
    .iterop-stamp { order: -1; }
    .iterop-stamp img { width: 150px; height: 150px; }
    .iterop-row { grid-template-columns: 1fr; gap: 28px; }
    .iterop-row.reverse .iterop-media { order: 0; }
    .sec-head-row { flex-direction: column; align-items: flex-start; }
    .audience-inner { flex-direction: column; align-items: flex-start; }
}

@media screen and (max-width: 479px) {
    .hero h1 { font-size: 31px; line-height: 1.03; }
    .hero { padding-top: 60px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .exp-card { border-right: none; border-bottom: 1px solid var(--line); }
    .exp-card:last-child { border-bottom: none; }
    .steps { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-cols { gap: 40px; }
    .contact-card { padding: 26px 22px; }
}
