/* ==========================================================
   TOUBA TECH — Feuille de style principale
   Palette : bleu ciel & blanc, accents bleu nuit
   ========================================================== */

:root {
  --sky-50: #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-300: #7DD3FC;
  --sky-400: #38BDF8;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-700: #0369A1;
  --navy: #0B2545;
  --navy-2: #13315C;
  --ink: #0B2545;
  --muted: #3A5571;
  --muted-2: #46607A;
  --white: #FFFFFF;
  --green: #16A34A;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 30px 60px -35px rgba(2, 132, 199, .45);
  --shadow-sm: 0 14px 30px -18px rgba(11, 37, 69, .25);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-700); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--sky { background: var(--sky-50); }
.section--navy { background: var(--navy); color: #CFE3F3; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 10px; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sky-700); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--sky-300); }
.section-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; font-weight: 800; }
.section-lead { font-size: 17px; color: var(--muted); max-width: 620px; margin-top: 16px; }
.section--navy .section-lead { color: #CFE3F3; }
.section-head { margin-bottom: 52px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--sky-600); color: var(--white); }
.btn--primary:hover { color: var(--white); background: var(--sky-700); box-shadow: 0 14px 28px -12px rgba(2, 132, 199, .7); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--sky-200); }
.btn--ghost:hover { color: var(--ink); border-color: var(--sky-400); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: 0 14px 28px -12px rgba(11, 37, 69, .5); }
.btn--sky { background: var(--sky-400); color: var(--navy); }
.btn--sky:hover { color: var(--navy); background: var(--sky-300); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sky-100);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(11, 37, 69, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--sky-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sky-700); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--sky-200); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.header-cta { display: inline-flex; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--sky-100);
    padding: 8px 24px 24px; box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--sky-50); font-size: 17px; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; }
}
@media (min-width: 1001px) { .nav .btn { display: none; } }

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 100%); }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, .5) 0%, rgba(125, 211, 252, 0) 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 88px 24px 104px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--sky-200);
  font-size: 13px; font-weight: 700; color: var(--sky-700);
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-500); box-shadow: 0 0 0 4px rgba(14, 165, 233, .18); }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; margin: 24px 0; }
.hero h1 span { color: var(--sky-600); }
.hero-text { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; font-size: 14px; font-weight: 600; color: var(--muted); list-style: none; padding: 0; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--sky-600); }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 40px 60px rgba(2, 132, 199, .25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding-top: 64px; } }

/* Photo du hero avec cartes flottantes */
.hero-photo { position: relative; padding: 24px 0 24px 24px; isolation: isolate; }
.hero-photo-frame {
  border-radius: 32px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--sky-100);
  box-shadow: 0 40px 80px -40px rgba(2, 132, 199, .55); border: 6px solid var(--white);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: ""; position: absolute; right: -22px; top: 0; width: 70%; height: 80%;
  border-radius: 32px; background: linear-gradient(135deg, var(--sky-300), var(--sky-600)); z-index: -1;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  background: var(--white); border: 1px solid var(--sky-100); border-radius: 18px;
  box-shadow: 0 20px 40px -20px rgba(11, 37, 69, .35); animation: float 7s ease-in-out infinite;
}
.float-card .icon-box { width: 44px; height: 44px; border-radius: 13px; }
.float-card .icon-box svg { width: 20px; height: 20px; }
.float-card strong { display: block; font-size: 14px; }
.float-card small { display: block; font-size: 12px; color: var(--muted-2); }
.float-card--top { right: -10px; top: 0; }
.float-card--bottom { left: 0; bottom: 0; animation-delay: -3.5s; }
@media (max-width: 520px) { .hero-photo { padding-left: 0; } .float-card--top { right: 0; } }

.offices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Bandeau pages internes ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-50), var(--white)); padding: 80px 0 72px; text-align: center; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: -260px; width: 760px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(125, 211, 252, .45), rgba(125, 211, 252, 0) 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1.08; margin: 18px 0 18px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 660px; margin: 0 auto; }
.breadcrumb { display: inline-flex; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted-2); }
.breadcrumb a { text-decoration: none; }

/* ---------- Bande de valeurs ---------- */
.strip { border-top: 1px solid var(--sky-100); border-bottom: 1px solid var(--sky-100); background: var(--white); }
.strip-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 34px 24px; }
.strip-item { display: flex; align-items: center; gap: 14px; }
.strip-item strong { display: block; font-family: var(--font-display); font-size: 16px; }
.strip-item span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .strip-inner { grid-template-columns: 1fr; } }

/* ---------- Icônes ---------- */
.icon-box {
  flex: none; width: 54px; height: 54px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--sky-600);
}
.icon-box svg { width: 25px; height: 25px; }
.icon-box--solid { background: linear-gradient(135deg, var(--sky-300), var(--sky-600)); color: var(--white); border: none; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--sky-100); border-radius: var(--radius);
  padding: 30px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.service-card { display: flex; flex-direction: column; gap: 14px; }
.service-card h3 { font-size: 19px; line-height: 1.3; }
.service-card p { font-size: 15px; color: var(--muted); }

.service-detail { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.service-detail h3 { font-size: 21px; margin-bottom: 8px; }
.service-detail p { color: var(--muted); font-size: 15.5px; }
.tick-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.tick-list svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--sky-500); }

/* ---------- Méthode ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 20px; padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(125, 211, 252, .2); }
.step-num { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-400); color: var(--navy); font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { font-size: 15px; color: #CFE3F3; }
.section--light-steps .step { background: var(--white); border-color: var(--sky-100); }
.section--light-steps .step p { color: var(--muted); }
.glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .25), rgba(56, 189, 248, 0) 70%); pointer-events: none; }
.glow--bl { left: -220px; bottom: -260px; }
.glow--tr { right: -220px; top: -260px; }

.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.mini-card { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(125, 211, 252, .25); }
.mini-card strong { display: block; font-family: var(--font-display); color: var(--sky-300); margin-bottom: 4px; }
.mini-card span { font-size: 14px; }
@media (max-width: 520px) { .mini-cards { grid-template-columns: 1fr; } }

/* ---------- Projets ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--sky-200);
  background: var(--white); color: var(--ink); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--sky-400); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.project-card:hover { color: var(--ink); }
.project-card .thumb { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sky-100); }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .thumb img { transform: scale(1.05); }
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--sky-100); color: var(--sky-700); font-size: 12px; font-weight: 800; }
.project-body h3 { font-size: 20px; }
.project-body p { font-size: 15px; color: var(--muted); }
.is-hidden { display: none !important; }

/* ---------- Tarifs ---------- */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 38px 32px; border-radius: var(--radius-lg); }
.plan h3 { font-size: 23px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .plan-desc { font-size: 15px; color: var(--muted); }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
.plan .price small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.plan hr { border: 0; height: 1px; background: var(--sky-100); margin: 0; }
.plan .tick-list { margin: 0; flex: 1; }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan--featured h3 { color: var(--white); }
.plan--featured .plan-desc, .plan--featured .price small { color: #CFE3F3; }
.plan--featured hr { background: rgba(125, 211, 252, .3); }
.plan--featured .tick-list svg { color: var(--sky-300); }
.pill-hot { padding: 6px 12px; border-radius: 999px; background: var(--sky-400); color: var(--navy); font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--sky-100); border-radius: 18px; background: var(--white); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--sky-300); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--sky-600); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); }

.options-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sky-100); }
.options-table th, .options-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--sky-100); font-size: 15px; }
.options-table th { background: var(--sky-50); font-family: var(--font-display); font-size: 14px; letter-spacing: .02em; }
.options-table td:last-child { font-weight: 700; white-space: nowrap; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- À propos ---------- */
.about-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--sky-50); aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.article-cover { aspect-ratio: 16 / 9; background: var(--sky-100); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.values .card { text-align: left; }
.values h3 { font-size: 19px; margin: 16px 0 8px; }
.values p { color: var(--muted); font-size: 15px; }
.team-card { text-align: center; }
.team-card img { width: 128px; height: 128px; border-radius: 50%; margin: 0 auto 18px; }
.team-card h3 { font-size: 19px; }
.team-card p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.prose p + p { margin-top: 16px; }
.prose p { font-size: 17px; color: var(--muted); }

/* ---------- Blog ---------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--sky-100); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; font-weight: 700; color: var(--sky-700); display: flex; gap: 10px; flex-wrap: wrap; }
.post-meta span + span::before { content: "·"; margin-right: 10px; color: var(--muted-2); }
.post-body h3 { font-size: 19px; line-height: 1.35; }
.post-body p { font-size: 15px; color: var(--muted); }
.post-body .link-arrow { margin-top: auto; font-size: 14px; color: var(--sky-700); }

.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px; box-shadow: var(--shadow); }
.article h2 { font-size: 28px; margin: 44px 0 14px; }
.article p, .article li { font-size: 18px; line-height: 1.8; color: #2A4560; }
.article p + p { margin-top: 18px; }
.article ul { padding-left: 22px; margin: 18px 0; }
.article li + li { margin-top: 8px; }
.article blockquote { margin: 34px 0; padding: 26px 30px; border-radius: 20px; background: var(--sky-50); font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--navy); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  border-radius: 34px; padding: 64px 52px; color: var(--white);
  background: linear-gradient(120deg, var(--sky-600) 0%, var(--sky-400) 100%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .12); }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.cta-band p { color: var(--sky-50); font-size: 17px; margin-top: 10px; max-width: 600px; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-band { padding: 44px 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--sky-50); border: 1px solid var(--sky-100); text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.contact-item:hover { border-color: var(--sky-300); color: var(--ink); }
.contact-item .icon-box { background: var(--white); }
.contact-item small { display: block; font-size: 13px; color: var(--muted-2); font-weight: 600; }
.contact-item strong { font-size: 16px; }
.form-card { padding: 40px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--sky-100); box-shadow: var(--shadow); }
@media (max-width: 520px) { .form-card { padding: 26px; } }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--sky-200); background: #F8FCFF; transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 14px 16px; min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(14, 165, 233, .15); }
.field .error { font-size: 13px; color: #B42318; font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D92D20; }
.field.has-error .error { display: block; }
.form-note { font-size: 13px; color: var(--muted-2); text-align: center; margin-top: 14px; }
.form-success { display: none; padding: 16px 18px; border-radius: 14px; background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647; font-weight: 600; margin-top: 16px; }
.form-success.is-visible { display: block; }
.hp { position: absolute; left: -9999px; }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sky-100); }
.map iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #CFE3F3; padding: 72px 0 32px; margin-top: 104px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-col a { color: #CFE3F3; text-decoration: none; font-size: 15px; display: inline-block; padding: 6px 0; }
.footer-col a:hover { color: var(--sky-300); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); color: var(--sky-200); transition: background .2s; }
.socials a:hover { background: var(--sky-600); color: var(--white); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(125, 211, 252, .2); margin-top: 48px; padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #A9C4DB; }
.footer-bottom a { color: #A9C4DB; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--green); color: var(--white); font-weight: 800; text-decoration: none;
  box-shadow: 0 16px 32px -12px rgba(22, 163, 74, .65); transition: transform .2s;
}
.wa-float:hover { color: var(--white); transform: translateY(-3px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0 16px; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual img, .float-card { animation: none; }
  .card, .btn, .project-card .thumb img, .post-card .thumb img { transition: none; }
}

.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Messages (version PHP) ---------- */
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; font-size: 15px; }
.alert-error { background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; }
.alert-success { background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647; }
.field .error:empty { display: none !important; }
