/* amendes.lat — Atlas Routes & Tunnels France */
:root {
  --aml-bordeaux: #6B1D3A;
  --aml-bordeaux-dark: #4A1226;
  --aml-slate: #4A5568;
  --aml-sand: #F5F0E8;
  --aml-copper: #C4A574;
  --aml-white: #FFFFFF;
  --aml-text: #2D3748;
  --aml-muted: #718096;
  --aml-font-title: Garamond, "Palatino Linotype", Georgia, serif;
  --aml-font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --aml-max: 1240px;
  --aml-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--aml-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--aml-text);
  background: var(--aml-sand);
}

h1, h2, h3, h4 {
  font-family: var(--aml-font-title);
  color: var(--aml-bordeaux-dark);
  line-height: 1.25;
  margin: 0 0 1rem;
}

a { color: var(--aml-bordeaux); }
a:hover { color: var(--aml-slate); }

.aml-wrap {
  width: 100%;
  max-width: var(--aml-max);
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.aml-top {
  background: var(--aml-white);
  border-bottom: 1px solid #E2D8CE;
  position: sticky;
  top: 0;
  z-index: 50;
}

.aml-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 12px;
}

.aml-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--aml-bordeaux-dark);
  font-weight: 700;
}

.aml-brand__sig {
  width: 38px;
  height: 38px;
  background: var(--aml-bordeaux);
  color: var(--aml-sand);
  display: grid;
  place-items: center;
  font-family: var(--aml-font-title);
  font-size: 0.9rem;
  border-radius: 4px;
}

.aml-menu__btn {
  display: none;
  border: 1px solid #D4C4B0;
  background: var(--aml-sand);
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.aml-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.aml-menu__link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aml-slate);
}

.aml-menu__link.is-on,
.aml-menu__link:hover { color: var(--aml-bordeaux); }

.aml-menu__cta {
  background: var(--aml-bordeaux);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 4px;
}

.aml-menu__cta:hover { background: var(--aml-bordeaux-dark); color: #fff !important; }

/* Hero asymmetric */
.aml-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 48px 0 64px;
  background: #1a1a1a;
}

.aml-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.aml-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(74,18,38,0.85) 0%, rgba(74,85,104,0.4) 55%, transparent 100%);
}

.aml-hero__card {
  position: relative;
  z-index: 2;
  background: var(--aml-white);
  padding: 36px 40px;
  max-width: 620px;
  margin-left: max(22px, calc((100% - var(--aml-max)) / 2 + 22px));
  border-left: 6px solid var(--aml-copper);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.aml-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aml-copper);
  font-weight: 700;
  margin-bottom: 10px;
}

.aml-hero__card h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }

.aml-hero__card p { color: var(--aml-muted); margin-bottom: 1.5rem; }

/* Buttons */
.aml-btn {
  display: inline-block;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 4px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.aml-btn--fill { background: var(--aml-bordeaux); color: #fff; }
.aml-btn--fill:hover { background: var(--aml-bordeaux-dark); color: #fff; }

.aml-btn--line {
  border-color: var(--aml-bordeaux);
  color: var(--aml-bordeaux);
  background: transparent;
}

/* Sections */
.aml-block { padding: 64px 0; }
.aml-block--pale { background: var(--aml-white); }
.aml-block--dark {
  background: var(--aml-bordeaux-dark);
  color: #E8DDD0;
}
.aml-block--dark h2 { color: #fff; }

.aml-intro { max-width: 760px; margin-bottom: 36px; }
.aml-intro p { color: var(--aml-muted); }

/* Cards media-top */
.aml-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aml-tile {
  background: var(--aml-white);
  border-radius: var(--aml-radius);
  overflow: hidden;
  border: 1px solid #E8DDD0;
}

.aml-tile__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.aml-tile__body { padding: 20px 22px 24px; }

.aml-tile__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--aml-copper);
  font-weight: 700;
}

/* Steps */
.aml-path { counter-reset: step; list-style: none; padding: 0; margin: 0; }

.aml-path li {
  counter-increment: step;
  padding: 20px 0 20px 56px;
  position: relative;
  border-bottom: 1px dashed #D4C4B0;
}

.aml-path li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  background: var(--aml-bordeaux);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Table */
.aml-scroll { overflow-x: auto; }

.aml-data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.aml-data th, .aml-data td {
  border: 1px solid #E2D8CE;
  padding: 11px 13px;
  text-align: left;
}

.aml-data th {
  background: var(--aml-bordeaux-dark);
  color: #fff;
  font-family: var(--aml-font-title);
}

/* FAQ */
.aml-acc { border: 1px solid #E2D8CE; border-radius: var(--aml-radius); overflow: hidden; }

.aml-acc__btn {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: var(--aml-white);
  border: none;
  border-bottom: 1px solid #E2D8CE;
  font-family: var(--aml-font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aml-bordeaux-dark);
  cursor: pointer;
}

.aml-acc__body {
  display: none;
  padding: 16px 18px;
  background: #FAF7F2;
  border-bottom: 1px solid #E2D8CE;
}

.aml-acc__item.is-open .aml-acc__body { display: block; }

/* Forms */
.aml-field { margin-bottom: 16px; }

.aml-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.aml-field input,
.aml-field select,
.aml-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D4C4B0;
  border-radius: 4px;
  font: inherit;
}

.aml-field textarea { min-height: 130px; }

.aml-consent {
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--aml-muted);
  margin-bottom: 16px;
}

/* Banner */
.aml-pagehead {
  background: var(--aml-slate);
  color: #fff;
  padding: 48px 0;
}

.aml-pagehead h1 { color: #fff; }

.aml-crumb { font-size: 0.84rem; color: #CBD5E0; margin-bottom: 10px; }
.aml-crumb a { color: #E8DDD0; }

/* Footer */
.aml-foot {
  background: #2D2428;
  color: #B8A99A;
  padding: 52px 0 0;
}

.aml-foot__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.aml-foot h4 { color: #F5F0E8; margin-bottom: 12px; font-size: 0.95rem; }

.aml-foot ul { list-style: none; margin: 0; padding: 0; }

.aml-foot li { margin-bottom: 7px; }

.aml-foot a { color: #D4C4B0; text-decoration: none; }
.aml-foot a:hover { color: #fff; }

.aml-foot address { font-style: normal; line-height: 1.75; font-size: 0.88rem; }

.aml-foot__bar {
  margin-top: 36px;
  padding: 16px 0;
  border-top: 1px solid #4A3F45;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

:focus-visible { outline: 3px solid var(--aml-copper); outline-offset: 2px; }

@media (max-width: 880px) {
  .aml-grid { grid-template-columns: 1fr 1fr; }
  .aml-foot__cols { grid-template-columns: 1fr 1fr; }
  .aml-hero__card { margin: 0 22px; max-width: none; }
}

@media (max-width: 600px) {
  .aml-menu__btn { display: block; }
  .aml-menu__list {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--aml-white);
    padding: 16px 22px;
    border-bottom: 1px solid #E2D8CE;
  }
  .aml-menu__list.is-open { display: flex; }
  .aml-top { position: relative; }
  .aml-grid, .aml-foot__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
