/* ══════════════════════════════════════════════════════════════
   TYPOGRAPHIE UNIFIÉE — Sensé Studio
   Une seule police (Helvetica) et une échelle de 5 tailles.
   Chargé en dernier sur chaque page : supprimer ce fichier
   (et sa ligne <link>) remet l'ancienne typographie.
   ══════════════════════════════════════════════════════════════ */

:root {
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ── Une seule police partout ── */
:root:root:root body,
:root:root:root body *:not(svg):not(path) {
  font-family: var(--font) !important;
}

/* ── Espacement des lettres resserré (ordi + mobile) ──
   Texte et titres : espacement normal (0, comme Canva).
   Petites majuscules : très léger espacement pour rester lisibles. */
:root {
  --tracking-caps: 0.05em;
  --title-leading: 1.02;
}
:root:root:root body,
:root:root:root body *:not(svg):not(path) {
  letter-spacing: 0 !important;
}
:root:root:root body .manifeste-label,
:root:root:root body .concepts-label,
:root:root:root body .cta-eyebrow,
:root:root:root body .intro-label,
:root:root:root body .brand-section-label,
:root:root:root body .goals-label,
:root:root:root body .feed-label,
:root:root:root body .cdc-caption,
:root:root:root body .media-caption,
:root:root:root body .contact-label,
:root:root:root body .coord-label,
:root:root:root body .about-section-label,
:root:root:root body .about-hero-caption,
:root:root:root body .svc-ed-num,
:root:root:root body .concept-cta,
:root:root:root body .concept-sub,
:root:root:root body p.animate,
:root:root:root body .hero-shop,
:root:root:root body #hero h1.hero-tagline,
:root:root:root body #hero h1.hero-tagline span,
:root:root:root body .form-group label,
:root:root:root body nav a,
:root:root:root body nav span,
:root:root:root body .nav-overlay a,
:root:root:root body footer a,
:root:root:root body .footer-copy,
:root:root:root body .cta-btn,
:root:root:root body .manifeste-btn,
:root:root:root body .svc-cta-btn,
:root:root:root body .btn-submit,
:root:root:root body .about-cta-link,
:root:root:root body .svc-ed-link,
:root:root:root body .lang-btn {
  letter-spacing: var(--tracking-caps) !important;
}

/* ── Interligne des titres : 1.02 (resserré) ── */
:root:root:root body h1:not(.hero-tagline),
:root:root:root body h2,
:root:root:root body .intro-title,
:root:root:root body .brand-title,
:root:root:root body .manifeste-title,
:root:root:root body .cta-title,
:root:root:root body .insta-title,
:root:root:root body .svc-ed-title,
:root:root:root body .contact-title,
:root:root:root body .about-section-title,
:root:root:root body .svc-cta-phrase {
  line-height: var(--title-leading) !important;
  letter-spacing: var(--title-tracking) !important;
}
/* Espacement des lettres des titres : 1.13 comme dans Canva
   (Canva compte en millièmes de la taille du texte → 0.00113em) */
:root { --title-tracking: 0.00113em; }
:root:root:root body h1:not(.hero-tagline) span,
:root:root:root body h2 span,
:root:root:root body h2 em { letter-spacing: inherit !important; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — 5 tailles seulement
   11px  étiquettes, menus, boutons, légendes (majuscules)
   14px  texte courant
   16px  sous-titres (noms de services, titres de projets)
   24px  titres de section
   14px  logo
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Texte courant : 14px */
  :root:root:root body p,
  :root:root:root body li,
  :root:root:root body .brand-desc,
  :root:root:root body .manifeste-body,
  :root:root:root body .insta-desc,
  :root:root:root body .svc-ed-desc,
  :root:root:root body .intro-desc,
  :root:root:root body .contact-desc,
  :root:root:root body .about-section-aside,
  :root:root:root body .about-valeurs-statement,
  :root:root:root body .coord-value,
  :root:root:root body .insta-handle {
    font-size: 14px !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
  }

  /* Étiquettes, menus, légendes : 11px majuscules */
  :root:root:root body .manifeste-label,
  :root:root:root body .concepts-label,
  :root:root:root body .cta-eyebrow,
  :root:root:root body .intro-label,
  :root:root:root body .brand-section-label,
  :root:root:root body .goals-label,
  :root:root:root body .feed-label,
  :root:root:root body .cdc-caption,
  :root:root:root body .media-caption,
  :root:root:root body .contact-label,
  :root:root:root body .coord-label,
  :root:root:root body .about-section-label,
  :root:root:root body .about-hero-caption,
  :root:root:root body .svc-ed-num,
  :root:root:root body .concept-cta,
  :root:root:root body p.animate,
  :root:root:root body .hero-shop,
  :root:root:root body #hero h1.hero-tagline,
  :root:root:root body .form-group label,
  :root:root:root body nav a,
  :root:root:root body nav span,
  :root:root:root body .nav-overlay-lang a,
  :root:root:root body footer a {
    font-size: 11px !important;
    line-height: 1.4 !important;
    letter-spacing: var(--tracking-caps) !important;
  }

  /* Boutons : 11px, zone de clic confortable */
  :root:root:root body .cta-btn,
  :root:root:root body .manifeste-btn,
  :root:root:root body .svc-cta-btn,
  :root:root:root body .btn-submit {
    font-size: 11px !important;
    letter-spacing: var(--tracking-caps) !important;
    padding: 13px 24px !important;
    margin-top: 0 !important;
  }

  /* Sous-titres : 16px */
  :root:root:root body h3,
  :root:root:root body .svc-ed-name,
  :root:root:root body .concept-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
  }

  /* Titres de section : 24px, même style partout */
  :root:root:root body h1:not(.hero-tagline),
  :root:root:root body h2,
  :root:root:root body .intro-title,
  :root:root:root body .brand-title,
  :root:root:root body .manifeste-title,
  :root:root:root body .cta-title,
  :root:root:root body .insta-title,
  :root:root:root body .svc-ed-title,
  :root:root:root body .contact-title,
  :root:root:root body .about-section-title,
  :root:root:root body .svc-cta-phrase {
    font-size: 24px !important;
    line-height: var(--title-leading) !important;
    letter-spacing: var(--title-tracking) !important;
    font-weight: 400 !important;
    text-transform: none !important;
  }
  :root:root:root body h1:not(.hero-tagline) span,
  :root:root:root body h2 span,
  :root:root:root body h2 em {
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
  }

  /* Logo : 14px */
  :root:root:root body .nav-logo,
  :root:root:root body .nav-logo span {
    font-size: 14px !important;
  }

  /* Pied de page : tout en 11px */
  :root:root:root body footer,
  :root:root:root body footer p,
  :root:root:root body .footer-copy {
    font-size: 11px !important;
    letter-spacing: var(--tracking-caps) !important;
  }

  /* Champs du formulaire : 16px (évite le zoom automatique de l'iPhone) */
  :root:root:root body input,
  :root:root:root body textarea {
    font-size: 16px !important;
  }
}

/* Corrections ciblées */
:root:root:root body #hero h1.hero-tagline { font-family: var(--font) !important; }
@media (max-width: 768px) {
  :root:root:root body .contact-coord span:not(.coord-label):not(.coord-value) {
    font-size: 11px !important;
    letter-spacing: var(--tracking-caps) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   ESPACE TEXTE → BOUTON
   Même respiration partout : 40px sur ordinateur, 32px sur mobile.
   ══════════════════════════════════════════════════════════════ */
:root { --btn-gap: 40px; }
@media (max-width: 768px) { :root { --btn-gap: 32px; } }

/* Accueil — manifeste : paragraphe → « Découvrir notre studio » */
:root:root:root body .manifeste-body { margin-bottom: var(--btn-gap) !important; }
:root:root:root body .manifeste-btn,
:root:root:root body .mfst-btn-outer { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Accueil — CTA final : titre → « Démarrer un projet » */
:root:root:root body .cta-section .cta-title { margin: 0 auto var(--btn-gap) !important; }
:root:root:root body .cta-section .cta-btn { margin-top: 0 !important; margin-bottom: 0 !important; }

/* Services — phrase finale → « Parlons de votre projet » */
:root:root:root body .svc-cta { gap: var(--btn-gap) !important; }
:root:root:root body .svc-cta .svc-cta-phrase { margin: 0 !important; }
:root:root:root body .svc-cta .svc-cta-btn { margin: 0 !important; }

/* Contact — dernier champ → « Envoyer » */
:root:root:root body .contact-form .form-group:last-of-type { margin-bottom: 0 !important; }
:root:root:root body .contact-form .btn-submit { margin-top: calc(var(--btn-gap) - 36px) !important; } /* le formulaire ajoute déjà 36px entre chaque élément */

/* Accueil — « Tous nos services → » : plus proche des colonnes */
:root:root:root body .svc-ed-footer { margin-top: 8px !important; }

/* ══════════════════════════════════════════════════════════════
   MOBILE — retouches accueil + titres
   ══════════════════════════════════════════════════════════════ */

/* Titres : le bas des lettres (g, y, p) n'est plus coupé.
   Les titres cachent ce qui dépasse (pour l'animation d'apparition) ;
   avec un interligne serré, les jambages passaient dessous.
   On ajoute un peu d'air en bas, compensé pour ne rien décaler. */
:root:root:root body h1:not(.hero-tagline),
:root:root:root body h2,
:root:root:root body .intro-title,
:root:root:root body .brand-title,
:root:root:root body .manifeste-title,
:root:root:root body .cta-title,
:root:root:root body .insta-title,
:root:root:root body .svc-ed-title,
:root:root:root body .contact-title,
:root:root:root body .about-section-title,
:root:root:root body .svc-cta-phrase {
  padding-bottom: 0.14em !important;
  margin-bottom: -0.14em;
}

@media (max-width: 768px) {
  /* Accueil — « Social Media Management » et « Explore → » plus discrets */
  :root:root:root body #hero h1.hero-tagline,
  :root:root:root body #hero h1.hero-tagline span,
  :root:root:root body .hero-shop {
    font-size: 9px !important;
  }

  /* Accueil — Notre univers : les deux projets côte à côte, plus compacts */
  :root:root:root body .concepts-section { padding-bottom: 40px !important; }
  :root:root:root body .concepts-header { padding: 40px 16px 20px !important; }
  :root:root:root body .concepts-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 0 16px !important;
  }
  :root:root:root body .concept-block {
    height: auto !important;
    aspect-ratio: 4 / 5;
  }
  :root:root:root body .concept-cta { display: none !important; }
  :root:root:root body .concept-info { padding: 32px 12px 12px !important; }
  :root:root:root body .concept-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 768px) {
  /* Accueil — « We craft visual worlds… » : plus d'air avant le paragraphe */
  :root:root:root body .manifeste-title { margin-bottom: 24px !important; }
}
