/* TSA Services — design system */
:root {
  --bg: #ffffff;
  --bg-alt: #faf7f6;
  --bg-navy: #14184f;
  --ink: #14184f;
  --ink-soft: #565b86;
  --red: #b20d2f;
  --red-soft: #d3123a;
  --amber: #f0a23a;
  --navy: #14184f;
  --line: #e6dfdb;
  --whatsapp: #25d366;
  --shadow: 0 1px 0 rgba(20, 24, 79, 0.06);
  --shadow-lg: 0 20px 60px rgba(20, 24, 79, 0.18);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.display { font-family: "Segoe UI", "Arial Black", -apple-system, sans-serif; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.eyebrow {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.74rem; font-weight: 600; color: var(--red);
  display: inline-flex; align-items: center; gap: 8px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px clamp(20px, 4vw, 48px); max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand img { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.navlinks { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.navlinks a { text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.social-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); text-decoration: none; transition: background 0.15s ease; }
.social-ico:hover { background: var(--line); }
.social-ico svg { width: 17px; height: 17px; }
.navcta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease;
}
.navcta:hover { background: var(--red-soft); }
.navcta svg { width: 16px; height: 16px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }
@media (max-width: 860px) {
  .navlinks { display: none; }
  .burger { display: flex; }
}
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 8px clamp(20px, 4vw, 48px) 18px; border-top: 1px solid var(--line); }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--ink); padding: 12px 4px; border-bottom: 1px dashed var(--line); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.hero-motif { position: absolute; inset: 0; opacity: 0.15; pointer-events: none; }
.hero-motif path, .hero-motif line { stroke: #fff; stroke-width: 1.6; fill: none; }
.hero-inner { position: relative; z-index: 1; padding: clamp(56px, 9vw, 108px) 0 clamp(70px, 10vw, 130px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } }
.hero .eyebrow { color: #ffe1a8; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.06; margin: 16px 0 16px; }
.hero p.lede { font-size: 1.08rem; color: rgba(255,255,255,0.88); max-width: 48ch; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 7px 14px; font-size: 0.82rem; font-weight: 600; }
.badge svg { width: 15px; height: 15px; }

.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.95rem; padding: 13px 24px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-outline { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1c2266; }
.btn-block { width: 100%; justify-content: center; }

.hero-logo-card { background: var(--navy); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.hero-logo-card img { border-radius: 12px; }

/* ---------- Sections ---------- */
section { padding: clamp(52px, 7vw, 92px) 0; }
.section-head { margin-bottom: 38px; max-width: 62ch; }
.section-head h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 10px 0 10px; color: var(--navy); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.1rem; color: var(--navy); }
.service-card p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.service-card.wide { grid-column: span 1; }

/* ---------- Zone / map ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 860px) { .zone-grid { grid-template-columns: 1fr; } }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }
.zone-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.zone-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--ink-soft); }
.zone-list svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }

/* ---------- Devis form ---------- */
.devis { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.devis-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .devis-grid { grid-template-columns: 1fr; } }
.devis-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.devis-points li { display: flex; gap: 14px; align-items: flex-start; }
.devis-points .num { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; flex: none; }
.devis-points strong { color: var(--navy); display: block; margin-bottom: 2px; font-size: 0.96rem; }
.devis-points span { color: var(--ink-soft); font-size: 0.88rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  font-family: inherit; font-size: 0.94rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 100px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-msg { margin-top: 14px; font-size: 0.9rem; font-weight: 600; padding: 12px 14px; border-radius: 10px; display: none; }
.form-msg.ok { display: block; background: #e6f7ec; color: #1a7a3d; }
.form-msg.err { display: block; background: #fdeceb; color: var(--red); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 0.98rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s ease; color: var(--red); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--ink-soft); }
.contact-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-icon.whatsapp { background: var(--whatsapp); }
.contact-icon.mail { background: var(--red); }
.contact-icon.phone { background: var(--navy); }
.contact-icon.pin { background: var(--amber); }
.contact-icon svg { width: 21px; height: 21px; color: #fff; }
.contact-card h3 { margin: 0 0 3px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 700; }
.contact-card p { margin: 0; font-size: 0.98rem; font-weight: 700; color: var(--navy); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,0.82); padding: 46px 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,255,255,0.6); padding-top: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.footer-socials svg { width: 16px; height: 16px; color: #fff; }

/* ---------- Floating buttons ---------- */
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); text-decoration: none; color: #fff; }
.fab.wa { background: var(--whatsapp); }
.fab.call { background: var(--navy); }
.fab svg { width: 26px; height: 26px; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 60px clamp(20px, 4vw, 48px) 90px; }
.legal-page h1 { color: var(--navy); }
.legal-page h2 { color: var(--navy); font-size: 1.1rem; margin-top: 34px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.96rem; }
.legal-page a.back { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; text-decoration: none; font-size: 0.9rem; margin-bottom: 20px; }
