/* =========================================================================
 * Site public sur téléphone (≤ 680 px) : textes un cran plus petits.
 * Chargée en dernier : s'applique au site OINTECH GROUP et à l'Academy.
 * La version ordinateur n'est pas concernée.
 * ====================================================================== */
@media (max-width: 680px) {

	/* ---- Base ------------------------------------------------------------ */
	body { font-size: .9375rem; line-height: 1.65; }                 /* 15 px */
	h1 { font-size: 1.65rem; }                                        /* ≈ 26 px */
	h2 { font-size: 1.35rem; }                                        /* ≈ 22 px */
	h3 { font-size: 1.05rem; }
	.lead, .hero .lead, .page-hero .lead, .section-head .lead { font-size: .975rem; }
	.eyebrow { font-size: .72rem; margin-bottom: 12px; }
	.btn { font-size: .9rem; padding: 14px 22px; }
	.btn--sm { font-size: .85rem; padding: 11px 18px; }
	.link-arrow { font-size: .9rem; }
	.checklist { gap: 10px; }

	/* ---- En-tête et menu ------------------------------------------------- */
	.nav__link { font-size: 1rem; padding: 15px 4px; }
	.mega__title { font-size: .72rem; }
	.mega__link { font-size: .9rem; }

	/* ---- Héros et en-têtes de page --------------------------------------- */
	.hero h1 { font-size: 1.65rem; }
	.hero__trust { font-size: .875rem; }
	.hero__float strong { font-size: .875rem; }
	.hero__float span span { font-size: .78rem; }
	.page-hero h1, .page-hero--minimal h1 { font-size: 1.6rem; }

	/* ---- Sections de l'accueil ------------------------------------------- */
	.media-stack__badge strong { font-size: .9rem; }
	.media-stack__badge span { font-size: .8rem; }
	.statement__label { font-size: .8rem; }
	.numbered-list__num { font-size: 1.15rem; }
	.numbered-list h3 { font-size: 1rem; }
	.values-band__item h3 { font-size: 1rem; }
	.approach-flow__label { font-size: .8rem; }
	.approach-flow span { font-size: .85rem; }
	.quote { font-size: 1.1rem; }
	.quote-band__sub { font-size: .9rem; }
	.link-row__title { font-size: 1.05rem; }
	.link-row__text { font-size: .875rem; }
	.subhead { font-size: 1.15rem; }

	/* ---- Services -------------------------------------------------------- */
	.service-nav__list a { font-size: .8rem; }
	.service-row__num { font-size: 1.8rem; }
	.service-row__label { font-size: .75rem; }
	.timeline h3 { font-size: 1rem; }
	.timeline__meta { font-size: .85rem; }
	.step h4 { font-size: .9rem; }

	/* ---- Bandeau d'appel, contact, formulaires ---------------------------- */
	.cta-band h2 { font-size: 1.3rem; }
	.cta-band p { font-size: .925rem; }
	.form-card h2 { font-size: 1.3rem; }
	.field label { font-size: .85rem; }
	.form-note { font-size: .8rem; }
	.contact-card b, .contact-card a { font-size: .95rem; }
	.contact-card small { font-size: .72rem; }
	.notice { font-size: .9rem; }

	/* ---- Actualités ------------------------------------------------------ */
	.post-card h3 { font-size: 1.05rem; }
	.post-card--featured h3 { font-size: 1.2rem; }
	.post-card__meta { font-size: .8rem; }
	.prose { font-size: .975rem; }
	.prose h2 { font-size: 1.3rem; }
	.prose h3 { font-size: 1.1rem; }
	.prose blockquote { font-size: 1.05rem; }

	/* ---- Pied de page ---------------------------------------------------- */
	.site-footer { font-size: .9rem; }
	.site-footer h4 { font-size: .95rem; }
	.footer__bottom { font-size: .8rem; }

	/* ---- Pages logiciels ------------------------------------------------- */
	.sol-hero h1 { font-size: 1.5rem; }
	.sol-module h3 { font-size: .98rem; }
	.sol-module p { font-size: .9rem; }
	.sol-steps b { font-size: .95rem; }
	.sol-steps span { font-size: .85rem; }
	.sol-label { font-size: .8rem; }
	.sol-other__text b { font-size: .95rem; }
	.sol-other__text { font-size: .85rem; }

	/* ---- Ointech Academy ------------------------------------------------- */
	.ac-kicker { font-size: .75rem; }
	.ac-hero h1 { font-size: 1.6rem; }
	.ac-hero__lead { font-size: .975rem; }
	.ac-format h3, .ac-pillar h3, .ac-three h3 { font-size: 1rem; }
	.ac-pillar p, .ac-format p { font-size: .9rem; }
	.ac-dark__note { font-size: .9rem; }
	.ac-motto { font-size: .75rem; }
	.ac-course__title { font-size: 1.05rem; }
	.ac-course__meta { font-size: .8rem; }
	.ac-course__lead { font-size: .9rem; }
	.ac-fpage__body h1 { font-size: 1.45rem; }
	.ac-facts dt { font-size: .7rem; }
	.ac-facts dd { font-size: .9rem; }
	.ac-fpage__desc > h2 { font-size: 1.15rem; }
	.ac-ask b { font-size: .95rem; }
	.ac-ask p { font-size: .9rem; }
	.ac-signup-head h1 { font-size: 1.3rem; }
	.ac-signup-head__label { font-size: .78rem; }
	.ac-signup__aside h2 { font-size: 1.15rem; }
	.ac-steps-list b { font-size: .92rem; }
	.ac-steps-list span { font-size: .82rem; }
	.ac-contact p { font-size: .875rem; }
	.ac-modal h2 { font-size: 1.45rem; }
	.ac-modal p { font-size: .925rem; }
	.ac-cta h2 { font-size: 1.3rem; }
	.ac-cta p { font-size: .925rem; }
}

/* Très petits écrans */
@media (max-width: 380px) {
	h1, .hero h1, .page-hero h1, .ac-hero h1 { font-size: 1.5rem; }
	h2 { font-size: 1.25rem; }
}

@media (max-width: 680px) {
	/* « Nos coordonnées » (taille écrite directement dans la page Contact) */
	.split--contact h2 { font-size: 21px !important; }
	/* Champs de formulaire un peu moins hauts (le texte reste en 16 px : pas de zoom automatique sur iPhone) */
	.field input, .field select { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
	.field textarea { min-height: 120px; }
	.ac-sexe span { padding: 10px 18px; font-size: .9rem; }
}

/* ==========================================================================
   Téléphone : une seule échelle de texte pour toutes les pages
   (titre de page 24 px, titres de section 21 px, sous-titres 16 px, texte 15 px)
   ========================================================================== */
@media (max-width: 680px) {
	body h1 { font-size: 24px !important; line-height: 1.2; }
	body main h2, body .site-main h2, body section h2 { font-size: 21px !important; line-height: 1.25; }
	body main h3, body section h3 { font-size: 16px !important; }
	body .lead, body [class$="__lead"], body .prose p, body .prose li, body .ac-prose p, body .ac-prose li { font-size: 15px !important; }
	body .quote { font-size: 17px !important; }
}

/* Téléphone : texte des champs de formulaire à la taille du texte (15 px), champs un peu moins hauts */
@media (max-width: 680px) {
	body .field input, body .field select, body .field textarea,
	body .dv-form input, body .dv-form select, body .dv-form textarea,
	body .ac-search input, body .ox-chat__form textarea { font-size: 15px !important; }
	body .field input:not([type=checkbox]):not([type=radio]), body .field select { min-height: 46px; height: 46px; padding-top: 0; padding-bottom: 0; }
	body .field textarea { min-height: 110px; }
}

/* ==========================================================================
 * Standard unique des textes sur téléphone (OINTECH GROUP) :
 * titres 24 / 21 / 16 px · texte courant 15 px · texte secondaire 13 px · petits titres 11,5 px · boutons 14,4 px.
 * ======================================================================== */
@media (max-width: 680px) {
	/* Texte courant : 15 px */
	body .sol-modules .sol-module p, body .post-card__body p:not(.post-card__meta), body .cta-band p, body .quote-band__sub,
	body .footer__brand p, body .ox-msg__bubble p, body .link-row__text { font-size: 15px; }
	/* Sous-titres : 16 px */
	body .link-row__title { font-size: 16px; }
	/* Texte secondaire : 13 px */
	body .post-card__meta, body .hero__trust span, body .timeline__meta, body .sol-steps span, body .approach-flow span,
	body .statement__label, body .approach-flow__label, body .media-stack__badge span, body .form-note, body .field label span,
	body .ox-chat-note, body .ox-chat__who small, body .service-nav span, body .service-row__label,
	body .hero__float span span, body .sol-others .sol-other__text, body .video__soon, body .footer__bottom, body .footer__bottom .container,
	body .article__footer .social > span { font-size: 13px; }
	body .sol-others .sol-other__text b { font-size: 16px; }
	/* Étiquette en majuscules : même taille que les petits titres */
	body .sol-label { font-size: 11.52px; }
}
