/* Refonte 2026 : en-tête, bandeaux et pied de page bleu nuit, contenu sur fond blanc (pages internes) */

:root { --primary: #2a6ff0; --primary-dark: #1a5ac0; --gradient-main: #2a6ff0; --gradient-text: linear-gradient(to right, #8db8ff, #3d8bff); --text-main: #0f172a; --text-light: #475569; --bg-light: #f6f9ff; }
body { color: #0f172a; background: #ffffff; }
img { max-width: 100%; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(10, 24, 48, 0.96); border-bottom: 1px solid #21396b; backdrop-filter: blur(8px); }
.site-header .bar { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .logo img { height: 40px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.site-nav > a, .site-nav .dd > button { color: #eef3ff; text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 8px 0; }
.site-nav > a:hover, .site-nav .dd > button:hover { color: #8db8ff; }
.dd { position: relative; }
.dd-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 240px; background: #11244a; border: 1px solid #21396b; border-radius: 14px; padding: 8px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.dd-menu a { display: block; color: #eef3ff; text-decoration: none; padding: 9px 12px; border-radius: 9px; }
.dd-menu a:hover { background: #18346a; color: #ffffff; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.head-cta { display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #ffffff !important; text-decoration: none; font-weight: 700; padding: 10px 18px 10px 14px; border-radius: 999px; min-height: 44px; box-sizing: border-box; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid #21396b; border-radius: 10px; width: 44px; height: 44px; color: #eef3ff; cursor: pointer; font-size: 20px; }

/* Pied de page */
.site-footer { background: #06101f; color: #a9b8d8; font-size: 15px; }
.site-footer .cols { max-width: 1200px; margin: 0 auto; padding: 56px 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer .cols > div { display: flex; flex-direction: column; gap: 6px; }
.site-footer .cols img { align-self: flex-start; width: auto !important; }
.site-footer .ft { color: #ffffff; font-weight: 700; margin-bottom: 4px; }
.site-footer a { color: #a9b8d8; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.site-footer .copy { max-width: 1200px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid #16294d; font-size: 14px; }

/* Bouton WhatsApp flottant */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #ffffff !important; text-decoration: none; font-weight: 700; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.wa-float svg { width: 28px; height: 28px; }

/* Boutons */
.btn-primary { background: #2a6ff0; box-shadow: 0 10px 20px -10px rgba(42, 111, 240, 0.6); }
.btn-primary:hover { background: #1a5ac0; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #ffffff !important; text-decoration: none; font-weight: 700; font-size: 17px; padding: 12px 22px 12px 16px; border-radius: 999px; }

/* Bandeau de titre bleu nuit (pages métier et solution) */
.hero { background: #0d1d3b; color: #eef3ff; padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid #21396b; }
.hero-text h1 { color: #ffffff; }
.hero-text p { color: #a9b8d8; }
.hero .btn-secondary { background: transparent; color: #eef3ff; border: 1px solid #3a5a93; }
.hero .btn-secondary:hover { background: #18346a; }
.hero .circle-gradient { display: none; }
.hero-benefits-row { color: #0f172a; }
.hero-services-row { border-top-color: #21396b; }
.hero-services-row img { background: #ffffff; border-radius: 12px; padding: 6px; }
.hero .glass-card { background: #ffffff; color: #0f172a; }

/* Bandeau de titre des pages simples (articles, conseils, contact, légal…) */
.tm-banner { background: #0d1d3b; color: #eef3ff; border-bottom: 1px solid #21396b; }
.tm-banner .in { max-width: 1000px; margin: 0 auto; padding: 64px 24px 56px; }
.tm-banner .kicker { color: #ffc93c; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.tm-banner .kicker a { color: #ffc93c; text-decoration: none; }
.tm-banner h1 { color: #ffffff; font-size: 44px; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.tm-banner p { color: #a9b8d8; font-size: 19px; margin: 0; max-width: 760px; }
.tm-banner .byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: #a9b8d8; font-size: 15px; }
.tm-banner .byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tm-banner .byline strong { color: #ffffff; }

/* Articles */
.article-wrap { padding-top: 3rem !important; }
.article-wrap a { color: #1a5ac0; }
.article-wrap .btn-primary { color: #ffffff; }
.article-cta { background: #0d1d3b !important; color: #eef3ff; border-radius: 22px !important; }
.article-cta p { color: #dbe8ff; }
.conseils-wrap { padding-top: 3rem !important; }

/* Bloc contact (audit gratuit + formulaire) */
.tm-contact { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.tm-contact .card { background: #3d8bff; color: #ffffff; border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.tm-contact h2 { font-size: 40px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; color: #ffffff; }
.tm-contact .lead { font-size: 18px; margin: 0 0 22px; color: #dbe8ff; }
.tm-form { flex: 1 1 420px; min-width: 0; background: #ffffff; color: #0f172a; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.tm-form > strong { font-size: 20px; }
.tm-form label { display: block; min-width: 0; font-size: 13px; font-weight: 700; color: #475569; }
.tm-form input[type=text], .tm-form input[type=email], .tm-form input[type=tel], .tm-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; font: 16px 'Outfit', sans-serif; color: #0f172a; background: #ffffff; }
.tm-form input:focus, .tm-form textarea:focus { outline: 2px solid #2a6ff0; outline-offset: 1px; border-color: #2a6ff0; }
.tm-form .row { display: flex; flex-wrap: wrap; gap: 12px; }
.tm-form .row label { flex: 1 1 200px; }
.tm-form .chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-form .chips legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tm-form .chips label { flex: none; cursor: pointer; }
.tm-form .chips input { position: absolute; opacity: 0; pointer-events: none; }
.tm-form .chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #ffffff; color: #1a5ac0; border: 1px solid #cfe0ff; }
.tm-form .chips input:checked + span { background: #2a6ff0; color: #ffffff; border-color: #2a6ff0; }
.tm-form .chips input:focus-visible + span { outline: 2px solid #0b2a5b; outline-offset: 2px; }
.tm-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tm-form button { background: #2a6ff0; color: #ffffff; border: 0; border-radius: 999px; padding: 15px; font: 700 17px 'Outfit', sans-serif; cursor: pointer; }
.tm-form button:disabled { opacity: 0.6; cursor: wait; }
.tm-form .tm-msg { margin: 0; font-weight: 600; }
.tm-form .tm-msg:empty { display: none; }
.tm-form .tm-msg.ok { color: #15803d; }
.tm-form .tm-msg.err { color: #b91c1c; }
.tm-form .small { margin: 0; font-size: 13px; color: #64748b; }
.tm-form .small a { color: #1a5ac0; }

/* Équipe */
.tm-team { max-width: 1100px; margin: 0 auto; padding: 72px 24px 24px; display: flex; flex-direction: column; gap: 72px; }
.tm-person { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tm-person.rev { flex-direction: row-reverse; }
.tm-person .ph { flex: 0 1 380px; position: relative; }
.tm-person .ph::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: #ffc93c; border-radius: 26px; }
.tm-person .ph img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px; }
.tm-person .tx { flex: 1 1 420px; min-width: 0; }
.tm-person h2 { font-size: 36px; margin: 0 0 4px; }
.tm-person .role { color: #1a5ac0; font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.tm-person p { color: #475569; font-size: 18px; margin: 0 0 18px; }
.tm-person ul { display: flex; flex-direction: column; gap: 10px; }
.tm-person li { padding-left: 30px; position: relative; color: #0f172a; }
.tm-person li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #2a6ff0; font-weight: 800; }
.tm-values { max-width: 1100px; margin: 0 auto; padding: 48px 24px 0; }
.tm-values h2 { font-size: 34px; margin: 0 0 24px; }
.tm-values .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tm-values .grid > div { background: #f6f9ff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px; }
.tm-values strong { display: block; font-size: 18px; margin-bottom: 6px; }
.tm-values span { color: #475569; }

/* Contact : coordonnées */
.tm-info { flex: 1 1 340px; }
.tm-info .item { margin-bottom: 22px; }
.tm-info .item b { display: block; color: #ffffff; font-size: 17px; margin-bottom: 4px; }
.tm-info .item span { color: #dbe8ff; }

@media (max-width: 1000px) {
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0a1830; border-bottom: 1px solid #21396b; padding: 8px 16px 16px; }
    .site-nav.open { display: flex; }
    .site-nav > a, .site-nav .dd > button { padding: 12px 4px; text-align: left; width: 100%; }
    .dd-menu { position: static; box-shadow: none; }
    .dd:hover .dd-menu { display: none; }
    .dd.open .dd-menu { display: block; }
    .head-cta span { display: none; }
    .head-cta { padding: 10px; }
}
@media (max-width: 900px) {
    .hero { padding-top: 48px; padding-bottom: 48px; }
}
@media (max-width: 640px) {
    .site-header .bar { padding: 12px 16px; }
    .site-header .logo img { height: 32px; }
    .tm-banner .in { padding: 44px 16px 40px; }
    .tm-banner h1 { font-size: 32px; }
    .tm-contact { padding: 48px 16px; }
    .tm-contact .card { padding: 28px 20px; border-radius: 24px; }
    .tm-contact h2 { font-size: 30px; }
    .tm-form { padding: 22px; }
    .tm-team { padding: 48px 16px 8px; gap: 56px; }
    .tm-person h2 { font-size: 30px; }
    .tm-values { padding: 32px 16px 0; }
    .wa-float span { display: none; }
    .wa-float { padding: 14px; }
}
@media (max-width: 640px) { .tm-person .ph { margin-right: 18px; } }
