/*
Theme Name: SLAM Studio
Theme URI: https://slamstudio.fr
Author: SLAM Studio
Author URI: https://slamstudio.fr
Description: Thème sur-mesure pour SLAM Studio, consultante en organisation digitale. Conforme à la charte graphique v6.0 (juillet 2026).
Version: 2.0
License: Proprietary
Text Domain: slam-studio
*/

/* ==========================================================================
   0. POLICES — Poppins & Liberation Sans, auto-hébergées (licence SIL OFL,
      embarquables sans restriction, cf. charte graphique v6.0 p.10)
   ========================================================================== */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Liberation Sans';
    src: url('assets/fonts/LiberationSans-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Liberation Sans';
    src: url('assets/fonts/LiberationSans-Italic.ttf') format('truetype');
    font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
    font-family: 'Liberation Sans';
    src: url('assets/fonts/LiberationSans-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Liberation Sans';
    src: url('assets/fonts/LiberationSans-BoldItalic.ttf') format('truetype');
    font-weight: 700; font-style: italic; font-display: swap;
}

/* ==========================================================================
   1. TOKENS — charte graphique v6.0
   ========================================================================== */
:root {
    /* Dégradé de marque */
    --slam-violet: #8C52FF;
    --slam-mauve: #C872A1;
    --slam-orange: #FF914D;
    --slam-gradient: linear-gradient(90deg, var(--slam-violet) 0%, var(--slam-mauve) 50%, var(--slam-orange) 100%);

    /* Neutres et texte */
    --slam-ink: #101014;
    --slam-indigo: #3634CC;
    --slam-paper: #F6F6F6;
    --slam-white: #FFFFFF;
    --slam-ink-soft: rgba(16, 16, 20, 0.66);
    --slam-ink-faint: rgba(16, 16, 20, 0.4);
    --slam-border: rgba(16, 16, 20, 0.1);

    /* Palette étendue — une seule teinte par visuel/secteur */
    --slam-ardoise: #696D7D;   /* experts-comptables */
    --slam-sable: #CDC6A5;
    --slam-vertdegris: #6F9283; /* avocats */
    --slam-lin: #F0DCCA;
    --slam-ambre: #F6BD60;    /* architectes */
    --slam-ivoire: #F7EDE2;
    --slam-corail: #F28482;   /* accents transverses */
    --slam-rosepoudre: #F5CAC3;
    --slam-sauge: #84A59D;
    --slam-olive: #8D9F87;

    /* Typographie — Poppins (titrage) et Liberation Sans (texte), auto-hébergées */
    --font-title: 'Poppins', Arial, sans-serif;
    --font-text: 'Liberation Sans', Arial, sans-serif;

    /* Rythme */
    --container-w: 1160px;
    --radius-s: 10px;
    --radius-m: 18px;
    --radius-l: 28px;
    --space-section: clamp(64px, 9vw, 128px);
}

/* ==========================================================================
   2. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slam-ink);
    background: var(--slam-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); margin: 0; color: var(--slam-ink); }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
section { padding: var(--space-section) 0; }

/* ==========================================================================
   3. TYPOGRAPHIE
   ========================================================================== */
.eyebrow {
    display: inline-block;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--slam-indigo);
    margin-bottom: 14px;
}
h1, .h1 {
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.012em;
}
h2, .h2 {
    font-weight: 600;
    font-size: clamp(1.6rem, 3vw, 2.05rem);
    line-height: 1.25;
}
h3, .h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.4; }
.lede {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slam-ink-soft);
    max-width: 640px;
}
.section-header { max-width: 720px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.gradient-text {
    background: var(--slam-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slam-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 12px 0; gap: 16px; }
.site-logo img { height: 30px; width: auto; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav ul { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.main-nav a {
    display: inline-block; padding: 8px 12px; border-radius: 100px;
    font-size: 0.88rem; font-weight: 500; color: var(--slam-ink);
    white-space: nowrap;
    transition: background .15s ease;
}
.main-nav a:hover { background: var(--slam-paper); }
.header-cta { margin-left: 12px; }
.nav-toggle {
    display: none; background: none; border: none; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--slam-ink); margin: 5px 0; border-radius: 2px; }

/* ==========================================================================
   5. BOUTONS
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 100px;
    font-family: var(--font-text); font-weight: 700; font-size: 0.96rem;
    border: none; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--slam-gradient); color: var(--slam-white);
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(140, 82, 255, 0.36); }
.btn-ghost { background: var(--slam-white); color: var(--slam-ink); border: 1.5px solid var(--slam-border); }
.btn-ghost:hover { border-color: var(--slam-ink); }
.btn-large { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   6. HERO
   ========================================================================== */
.hero { position: relative; padding: 88px 0 80px; overflow: hidden; }
.hero-bg-shape {
    position: absolute; inset: -20% -10% auto auto; width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(140,82,255,0.14), transparent 70%);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-reassurance { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--slam-ink-faint); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual img { max-width: 420px; }

/* ==========================================================================
   7. CARTES / GRILLES GÉNÉRIQUES
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--slam-white);
    border: 1px solid var(--slam-border);
    border-radius: var(--radius-m);
    padding: 32px;
}
.card-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--slam-paper); color: var(--slam-violet);
    margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slam-ink-soft); font-size: 0.96rem; }

/* Bandeau / stat strip */
.stat-strip { background: var(--slam-paper); }
.stat-strip .grid-3 { gap: 32px; }
.stat-item { text-align: left; }
.stat-item .stat-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slam-ink-faint); margin-bottom: 6px; }
.stat-item .stat-value { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; }

/* ==========================================================================
   8. MÉTHODE / OFFRES — étapes numérotées
   ========================================================================== */
.step-card {
    position: relative;
    background: var(--slam-white);
    border: 1px solid var(--slam-border);
    border-radius: var(--radius-l);
    padding: 40px;
    display: flex; flex-direction: column; gap: 18px;
}
.step-card.is-featured { border: 2px solid transparent; background:
    linear-gradient(var(--slam-white), var(--slam-white)) padding-box,
    var(--slam-gradient) border-box;
}
.step-number {
    font-family: var(--font-title); font-weight: 700; font-size: 0.85rem;
    color: var(--slam-white); background: var(--slam-gradient);
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.step-price { font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; }
.step-price small { display: block; font-family: var(--font-text); font-weight: 400; font-size: 0.78rem; color: var(--slam-ink-faint); margin-top: 4px; }
.step-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.step-list li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--slam-ink-soft); }
.step-list svg { flex-shrink: 0; margin-top: 3px; color: var(--slam-violet); }
.step-note { font-size: 0.85rem; color: var(--slam-ink-faint); font-style: italic; border-top: 1px dashed var(--slam-border); padding-top: 14px; margin-top: auto; }

/* ==========================================================================
   9. SECTEURS
   ========================================================================== */
.sector-card {
    border-radius: var(--radius-l);
    padding: 40px;
    color: var(--slam-ink);
}
.sector-card.sector-comptables { background: var(--slam-sable); }
.sector-card.sector-avocats { background: var(--slam-lin); }
.sector-card.sector-architectes { background: var(--slam-ivoire); }
.sector-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
    background: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.sector-card ul { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.sector-card li { display: flex; gap: 10px; font-size: 0.95rem; }
.sector-callout {
    background: rgba(255,255,255,0.6); border-radius: var(--radius-s);
    padding: 16px 18px; font-size: 0.88rem; margin-top: 8px;
}

/* ==========================================================================
   10. NE FAIS PAS
   ========================================================================== */
.no-list { display: flex; flex-direction: column; gap: 16px; }
.no-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--slam-border); }
.no-item:last-child { border-bottom: none; }
.no-mark {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255, 145, 77, 0.14); color: var(--slam-orange);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}

/* ==========================================================================
   11. À PROPOS
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.about-photo {
    aspect-ratio: 4/5; border-radius: var(--radius-l);
    background: var(--slam-gradient);
    display: flex; align-items: center; justify-content: center;
    color: var(--slam-white); font-family: var(--font-title); font-size: 4rem; font-weight: 700;
    overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.pillar strong { display: block; font-family: var(--font-title); margin-bottom: 6px; }
.certif-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.certif-badge {
    font-size: 0.8rem; font-weight: 600; padding: 8px 16px; border-radius: 100px;
    border: 1px solid var(--slam-border); color: var(--slam-ink-soft);
}

/* ==========================================================================
   12. CONFIANCE
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.trust-item h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.trust-item h3 svg { color: var(--slam-violet); }
.trust-item p { color: var(--slam-ink-soft); font-size: 0.95rem; }

/* ==========================================================================
   13. CTA FINAL
   ========================================================================== */
.cta-section {
    background: var(--slam-ink); color: var(--slam-white);
    border-radius: var(--radius-l);
    padding: 72px 48px; text-align: center; margin: 0 24px;
}
.cta-section h2 { color: var(--slam-white); }
.cta-section .lede { color: rgba(255,255,255,0.7); margin: 0 auto 30px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-section .btn-ghost { background: transparent; color: var(--slam-white); border-color: rgba(255,255,255,0.28); }
.cta-section .btn-ghost:hover { border-color: var(--slam-white); }
.cta-mention { margin-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.site-footer { background: var(--slam-paper); padding: 64px 0 24px; margin-top: var(--space-section); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--slam-border); }
.footer-logo img { height: 24px; margin-bottom: 14px; }
.footer-tagline { color: var(--slam-ink-soft); font-size: 0.92rem; max-width: 280px; }
.footer-heading { font-family: var(--font-title); font-size: 0.95rem; font-weight: 600; margin-bottom: 16px; }
.footer-email { display: block; margin-bottom: 16px; color: var(--slam-indigo); font-weight: 600; }
.footer-legal-info p { font-size: 0.88rem; color: var(--slam-ink-soft); margin: 0 0 4px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.footer-links a { font-size: 0.88rem; color: var(--slam-ink-soft); }
.footer-links a:hover { color: var(--slam-ink); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-copyright { font-size: 0.82rem; color: var(--slam-ink-faint); }

/* ==========================================================================
   15. PAGES LÉGALES
   ========================================================================== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--slam-ink-soft); font-size: 0.96rem; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-updated { color: var(--slam-ink-faint); font-size: 0.88rem; margin-bottom: 40px; }

/* ==========================================================================
   16. UTILITAIRES / REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .hero-inner, .about-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; }
    .grid-2, .grid-3, .grid-4, .trust-grid, .pillars, .footer-inner { grid-template-columns: 1fr; }
    .main-nav ul, .header-cta { display: none; }
    .nav-toggle { display: block; }
    .site-header.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--slam-white); padding: 20px 24px; border-bottom: 1px solid var(--slam-border); }
    .site-header.nav-open .main-nav ul { display: flex; flex-direction: column; width: 100%; }
    .site-header.nav-open .header-cta { display: block; margin: 14px 0 0; }
    .cta-section { margin: 0 16px; padding: 48px 24px; }
}
