/* American-Cars.fr — feuille de style de la prévisualisation */
#logo_menu img#logo_image {
    width: clamp(155px, 36vw, 310px);
    max-width: 100%;
    height: auto;
    min-height: 0;
    min-width: 0;
}
#logo_menu #menu :is(.navbar-brand, .nav-link, .dropdown-item):not([data-news-language]) {
    text-transform: lowercase;
}
#logo_menu #menu a:is([href="/contact"], [href^="/contact?"], [href="#Contact" i]) {
    display: inline-flex !important;
    align-items: center;
    gap: .35em;
    padding: .35em .6em;
    background: #0d5b8c;
    border-radius: .4em;
    color: #fff !important;
    text-shadow: none;
    white-space: nowrap;
}
#logo_menu #menu a:is([href="/contact"], [href^="/contact?"], [href="#Contact" i]):is(:hover,:focus-visible) {
    background: #09456e;
}
#logo_menu #menu a:is([href="/contact"], [href^="/contact?"], [href="#Contact" i])::before {
    content: "";
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

#video-container { position: relative; isolation: isolate; overflow: hidden; background: #101820; }
#video-container video { display: block; }
#video-container .ac-hero-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; padding: 3% 6%;
  color: #fff; background: linear-gradient(90deg,rgba(0,0,0,.92),rgba(0,0,0,.72) 35%,transparent 80%);
}
#video-container .ac-hero-copy h1 {
  max-width: 19ch; font-size: clamp(1.7rem,4vw,4.25rem); line-height: 1.06;
  letter-spacing: -.03em; color: inherit; margin: 0 0 .24em; text-shadow: 0 2px 8px #000;
}
#video-container .ac-hero-copy p { margin: 0 0 .8em; text-shadow: 0 2px 6px #000; }
.ac-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.ac-hero-actions a {
  border-radius: .4rem; padding: .55rem .8rem; background: #0d5b8c; border: 1px solid #0d5b8c;
  color: #fff; text-decoration: none; font-weight: 650; line-height: 1.25;
}
.ac-hero-actions a:last-child { background: rgba(0,0,0,.65); border-color: #fff; }
.ac-hero-actions a:hover, .ac-hero-actions a:focus-visible { color: #fff; background: #09456e; }
#home-seo-intro { display: none; }
@media(max-width: 650px) {
  #video-container .ac-hero-copy { position: relative; inset: auto; padding: 1rem; background: #101820; }
  #video-container .ac-hero-copy h1 { max-width: 24ch; }
  #video-container .ac-hero-copy p, .ac-hero-actions a { font-size: .88rem; }
}
#video-container[style*="height: 0px"] .ac-hero-copy { visibility: hidden; }

/* Bandeau de la maquette */
#logo_menu img#logo_image { width: clamp(185px, 43vw, 375px); max-width: 100%; }
#video-container .ac-hero-copy { padding-inline: clamp(20px, 4vw, 64px); }
#video-container .ac-hero-copy h1 {
  max-width: 14ch; font-size: clamp(1.85rem, 4.15vw, 4.35rem);
  line-height: 1.05; margin: 0;
}
#video-container .ac-hero-copy h1::after {
  content: ""; display: block; width: 60px; height: 4px;
  margin: .62em 0 .42em; background: #ed272e;
}
#video-container .ac-hero-copy p {
  max-width: 24ch; font-size: clamp(.95rem, 1.9vw, 1.4rem);
  line-height: 1.3; margin: 0 0 1.15em;
}
.ac-hero-actions { align-items: stretch; text-align: center; gap: .65rem; }
@media(max-width:650px) {
  #video-container .ac-hero-copy h1 { max-width: 20ch; }
}

/* Typographie et proportions du bandeau de test */
#video-container .ac-hero-copy, #logo_menu .ac-preview-nav {
  font-family: "Avenir Next", Avenir, "Century Gothic", system-ui, sans-serif;
}
#video-container .ac-hero-copy h1 {
  font-family: inherit; font-weight: 750;
  font-size: clamp(1.85rem, 4.2vw, 4.5rem);
  letter-spacing: -.024em;
}
#video-container .ac-hero-copy p { font-weight: 500; }
#video-container .ac-hero-actions {
  width: min(100%, clamp(240px, 29vw, 360px));
  gap: clamp(.55rem, 1.3vw, 1rem);
}
#video-container .ac-hero-actions a {
  display:flex; justify-content:center; align-items:center; min-height: clamp(44px, 4.5vw, 62px);
  padding: .55em .8em; font-size: clamp(.95rem, 1.8vw, 1.27rem); font-weight: 650;
}
#logo_menu #menu .ac-preview-nav {
  font-size: clamp(.87rem, 1.45vw, 1.075rem);
  gap: .4rem clamp(.6rem, 1.35vw, 1.25rem);
}
#logo_menu #menu .ac-preview-nav .ac-preview-contact { padding: .48em .8em; }
@media(max-width:700px) {
  #logo_menu #menu .ac-preview-nav { font-size: .85rem; gap: .4rem .65rem; }
}

/* Affiner les proportions d’après la comparaison avec la maquette. */
#video-container .ac-hero-copy h1 {
  font-size: clamp(1.65rem, 3.55vw, 3.85rem);
  font-weight: 650;
  max-width: 13ch;
}
#video-container .ac-hero-copy p {
  font-size: clamp(.9rem, 1.6vw, 1.23rem);
  font-weight: 400;
}
#video-container .ac-hero-actions {
  width: min(100%, clamp(216px, 25vw, 316px));
  gap: clamp(.55rem, 1.15vw, .9rem);
}
#video-container .ac-hero-actions a {
  min-height: clamp(38px, 3.9vw, 50px);
  padding: .48em .75em;
  font-size: clamp(.87rem, 1.52vw, 1.1rem);
  font-weight: 550;
}
#logo_menu #menu .ac-preview-nav a { font-weight: 500; }
@media(max-width:650px) {
  #video-container .ac-hero-copy h1 { max-width: 20ch; }
  #video-container .ac-hero-actions a { min-height: 44px; }
}

/* Titre en graisse intermédiaire et boutons moins hauts. */
#video-container .ac-hero-copy h1 { font-weight: 500; }
#video-container .ac-hero-actions a {
  min-height: clamp(32px, 3.2vw, 40px);
  padding-block: .28em;
}
@media(max-width:650px) {
  #video-container .ac-hero-actions a { min-height: 36px; }
}
