/* AAS Building Lyon – feuille de style */
:root {
  --navy: #1d2350;
  --navy-2: #2b3270;
  --orange: #f28b20;
  --orange-d: #c96a0c;
  --orange-l: #fff3e6;
  --ink: #1b1f33;
  --muted: #5b6075;
  --line: #e4e6ee;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(29, 35, 80, .10);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--orange-d); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; letter-spacing: -.01em; }
.brand-text small { font-size: .8rem; color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-weight: 550; font-size: .97rem;
}
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--orange-d); }
.nav a.lang { border: 1px solid var(--line); margin-left: 6px; font-size: .9rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer;
  }
  .nav-toggle span:first-child,
  .nav-toggle span:first-child::before,
  .nav-toggle span:first-child::after {
    display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative;
    transition: transform .2s;
  }
  .nav-toggle span:first-child::before,
  .nav-toggle span:first-child::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span:first-child::before { top: -6px; }
  .nav-toggle span:first-child::after { top: 6px; }
  .nav-open .nav-toggle span:first-child { background: transparent; }
  .nav-open .nav-toggle span:first-child::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
  .nav a { padding: 12px; }
  .nav a.lang { margin: 8px 0 0; text-align: center; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 650; text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); color: #fff; }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(242, 139, 32, .35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero h1, .hero h2 { color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 20px 80px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 14px;
}
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 36em; }
.hero-gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.hero-gallery img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.hero-gallery img:not(:first-child) { aspect-ratio: 4 / 3; }

.page-hero { padding: 0; }
.page-hero .hero-inner { padding: 56px 20px 60px; grid-template-columns: 1fr; }
.page-hero.has-img .hero-inner { grid-template-columns: 1.2fr .8fr; }
.page-hero .hero-img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.crumbs { font-size: .88rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .9); }

/* Bandeau d'infos clés */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 26px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-size: 1.5rem; color: var(--navy); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .93rem; }

/* Sections */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split-form { grid-template-columns: 1.4fr 1fr; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--orange-l); color: var(--orange-d);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card .price { color: var(--navy); font-weight: 700; margin-top: auto; }
.card .more { font-weight: 650; text-decoration: none; margin-top: 10px; }
.card .more::after { content: " →"; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c96a0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.price-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; border-top: 5px solid var(--orange);
}
.price-box .from { color: var(--muted); font-size: .95rem; margin: 0; }
.price-box .amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 4px 0 2px; }
.price-box .unit { color: var(--muted); margin-bottom: 18px; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.tags li.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.note { font-size: .92rem; color: var(--muted); }

/* Bandeau appel à l'action */
.cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 24px;
  padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta .actions { margin: 0; }

/* Carte et contact */
.map { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--bg-soft); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h2 { font-size: 1.3rem; }
.info-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.info-card dt { color: var(--muted); }
.info-card dd { margin: 0; font-weight: 550; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd3df; border-radius: 10px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy-2); outline: 3px solid rgba(43, 50, 112, .15); }
.form textarea { min-height: 150px; resize: vertical; }
.form .req { color: var(--orange-d); }
.form button { border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; }
.alert-ok { background: #e8f6ee; color: #155d33; border: 1px solid #b8e2c8; }
.alert-err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

.partners { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }

/* Pied de page */
.site-footer { background: #12163a; color: rgba(255, 255, 255, .78); margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-nav li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .hero-inner, .page-hero.has-img .hero-inner, .split, .split-form { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 48px 20px 56px; }
  .cards { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .cta { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .map { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
