@import url(https://fonts.googleapis.com/css2?family=Antonio:wght@300;400;500&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Poiret+One&display=swap);
@charset "UTF-8";
/*CLASSES MISE EN PAGES*/
.centre,
.center {
  text-align: center;
}

.inline-block {
  display: inline-block;
  vertical-align: top;
}

.border0 {
  border: 0;
}

.br-haut,
.remove_br_top {
  margin-top: 0;
}

.br-bas,
.remove_br_bottom {
  margin-bottom: 0;
}

.list-style-none {
  list-style-type: none;
}

/*CLASSES TEXTE STYLE*/
.bold,
.gras {
  font-weight: bold;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: inherit;
}

.souligne,
.underline {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.orange {
  color: var(--color-accent);
}

.padding-top {
  padding-top: 15px;
}

/* ── Eyebrow labels ── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

/* ── Orange heading divider ── */
.heading-divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 12px auto var(--space-sm);
  border: none;
}

/* ── Status badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.badge--sold {
  background: #fff3e0;
  color: #e65100;
}

.badge--retired {
  background: #ede7f6;
  color: #5e35b1;
}

.badge--dead {
  background: #f5f5f5;
  color: #757575;
}

.badge--prime {
  background: var(--color-night);
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

/* ── Horse listing grid ── */
.horse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

@media screen and (max-width: 900px) {
  .horse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 500px) {
  .horse-grid {
    grid-template-columns: 1fr;
  }
}
/* ── Horse card ── */
.horse-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text);
}

.horse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.horse-card__img {
  width: 100%;
  aspect-ratio: 100/69;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0;
}

.horse-card__body {
  padding: 14px 16px 18px;
}

.horse-card__name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.horse-card__meta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 6px;
}

.horse-card__parents {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-light);
  display: block;
  line-height: 1.5;
}

:root {
  --color-accent: #c9813a;
  --color-accent-dark: #b8702e;
  --color-night: #1a1714;
  --color-dark: #3a3530;
  --color-bg: #faf8f5;
  --color-bg-warm: #f0e8de;
  --color-border: #e8e0d4;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5248;
  --color-text-light: #888888;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 56px;
  --space-xl: 80px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --font-brand: "Poiret One", cursive;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Raleway", sans-serif;
  --font-title: "Antonio", sans-serif;
  --header-height: 80px;
  --header-height-scrolled: 68px;
}

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

html {
  font-size: 1em;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  color: var(--color-text);
  height: 100%;
  box-sizing: border-box;
  background: var(--color-bg);
  margin: 0;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  padding-top: calc(var(--header-height) + var(--space-sm));
}

body.is-homepage .main {
  padding-top: 0;
}

h1, h2 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(25px, 2.5vw, 31px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.15;
  font-weight: 300;
}

h3 {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  margin-top: var(--space-sm);
  margin-bottom: 10px;
  color: var(--color-text);
}
h3 > a {
  font-size: inherit;
  color: var(--color-text);
  font-style: inherit;
}
h3 > span {
  font-size: inherit;
  font-style: normal;
}

h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0;
  text-align: center;
}

h5 {
  text-align: center;
}
h5 > a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-accent);
  font-style: normal;
}

h6 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 15px 0;
  text-align: center;
}

p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.85;
}

em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: inherit;
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  font-size: 1rem;
  font-style: normal;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-dark);
}

iframe {
  margin-left: 12.5%;
  margin-top: 20px;
  width: 75%;
  height: 480px;
}

ul, ol {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.85;
  padding-left: var(--space-md);
}

li {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-muted);
  border-collapse: collapse;
  table-layout: fixed;
  width: 672px;
  margin: var(--space-sm) auto;
}

th {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  width: 224px;
  background: var(--color-accent);
  color: #ffffff;
  text-align: center;
}

td {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-text-muted);
  padding: 10px 20px;
  width: 224px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

@media screen and (max-width: 450px) {
  h2 {
    margin-bottom: 0;
  }
  .main {
    padding-bottom: 15px;
  }
  iframe {
    height: 300px;
    width: 90%;
    margin-left: 5%;
  }
}
@media screen and (max-width: 307px) {
  .main {
    padding-bottom: 35px;
  }
}
footer {
  background: var(--color-night);
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0;
}

#main-footer {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

#main-footer .footer-col {
  min-width: 0; /* allows text-overflow ellipsis to work inside grid cell */
}

.footer-col__label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 15px;
  font-style: normal;
  line-height: 1.8;
  display: block;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color-accent);
}

.footer-col__label a {
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-style: normal;
  display: inline;
  line-height: inherit;
}

.footer-col__label a:hover {
  color: #ffffff;
}

.footer-col p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* Last-photos sepia effect */
#sepia {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  align-content: start;
}

#sepia .footer-col__label {
  grid-column: 1/-1;
}

#sepia a {
  display: block;
  overflow: hidden;
}

#sepia img {
  width: 100%;
  aspect-ratio: 151/104;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0;
  filter: sepia(1);
  transition: filter 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#sepia img:hover {
  filter: sepia(0);
}

.footer-news-desc {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-copyright {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-sm);
  text-align: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media screen and (max-width: 600px) {
  #main-footer {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
ul#filtre-etalon {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-sm);
}
ul#filtre-etalon li {
  display: inline-block;
}
ul#filtre-etalon a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
ul#filtre-etalon a:hover, ul#filtre-etalon a.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

/* Descendant filter transitions */
#list .descendant-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Cards fading out */
#list .descendant-card.is-hiding {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* Cards fully hidden after fade */
#list .descendant-card.is-hidden {
  display: none;
}

.main ul.galerie_mini_etalon {
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}
.main ul.galerie_mini_etalon li {
  width: 23%;
  height: 178px;
  margin-left: 1.5%;
}
.main ul.galerie_mini_etalon li p {
  text-align: center;
}
.main ul.galerie_mini_etalon li img {
  margin-left: 14%;
  width: 190px;
  height: auto;
}

@media screen and (max-width: 1100px) {
  .main ul#galerie_mini_etalon {
    margin-left: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
  }
  .main ul#galerie_mini_etalon li {
    display: inline-block;
    width: 33%;
    margin: 0 auto;
    float: left;
  }
}
@media screen and (max-width: 860px) {
  .presentation-mini {
    margin-left: 0;
  }
  .poulain-tableau {
    width: 70%;
  }
  iframe {
    height: 300px;
    width: 90%;
    margin-left: 5%;
  }
  .main ul.galerie_mini_etalon li {
    width: 33%;
    margin-left: 0;
  }
}
@media screen and (max-width: 750px) {
  .main ul.galerie_mini_etalon li {
    width: 50%;
    margin-left: 0;
  }
  .main ul.galerie_mini_etalon li img {
    margin-left: calc(50% - 105px);
    width: 210px;
  }
}
@media screen and (max-width: 600px) {
  .main ul.galerie_mini_etalon li {
    margin-left: 0;
    width: 100%;
    height: auto;
    margin-top: 1em;
  }
  .main ul.galerie_mini_etalon li img {
    width: 95%;
    margin-left: 2.5%;
  }
  .main ul.galerie_mini_etalon li p {
    margin-top: 0.7em;
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, height 0.4s ease, -webkit-backdrop-filter 0.4s ease;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, height 0.4s ease;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, height 0.4s ease, -webkit-backdrop-filter 0.4s ease;
}

header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(232, 224, 212, 0.6);
}

/* ── Logo ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: inherit;
  font-style: normal;
  color: inherit;
}

.header-logo:hover {
  color: inherit;
}

.header-logo__horse {
  height: 64px;
  width: auto;
  transition: height 0.4s ease;
  display: block;
}

header.scrolled .header-logo__horse {
  height: 52px;
}

.header-logo__text {
  display: flex;
  flex-direction: column;
}

.header-logo__name {
  font-family: var(--font-brand);
  font-size: 19px;
  letter-spacing: 2px;
  color: #ffffff;
  transition: color 0.4s ease, font-size 0.4s ease;
  line-height: 1.1;
}

.header-logo__name span {
  color: var(--color-accent);
}

header.scrolled .header-logo__name {
  color: var(--color-text);
  font-size: 17px;
}

body:not(.is-homepage) header:not(.scrolled) .header-logo__name {
  color: var(--color-text);
}

.header-logo__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
  transition: color 0.4s ease;
}

header.scrolled .header-logo__sub {
  color: var(--color-text-light);
}

body:not(.is-homepage) header:not(.scrolled) .header-logo__sub {
  color: var(--color-text-light);
}

/* ── Navigation desktop ── */
#cssmenu {
  display: flex;
  align-items: center;
}

#cssmenu > ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: static;
}

#cssmenu ul li {
  display: inline-block;
  vertical-align: top;
  margin-left: 0;
}

#cssmenu ul ul li a,
#cssmenu ul li a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-style: normal;
  position: relative;
  padding: 5px 0 3px;
  display: inline-block;
  border: none;
  transition: color 0.3s ease;
}

#cssmenu ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

#cssmenu ul li a:hover {
  color: var(--color-accent);
  border: none;
}

#cssmenu ul li a:hover::after {
  width: 100%;
}

header.scrolled #cssmenu ul li a {
  color: var(--color-dark);
}

header.scrolled #cssmenu ul li a:hover {
  color: var(--color-accent);
}

body:not(.is-homepage) header:not(.scrolled) #cssmenu ul li a {
  color: var(--color-dark);
}

body:not(.is-homepage) header:not(.scrolled) #cssmenu ul li a:hover {
  color: var(--color-accent);
}

/* Hide the old hamburger trigger link */
#cssmenu ul li.active > a {
  display: none;
}

/* ── Mobile hamburger button ── */
#nav-icon {
  display: none;
  position: absolute;
  top: 20px;
  right: var(--space-sm);
  width: 28px;
  height: 22px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

#nav-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

@media screen and (min-width: 1001px) {
  #cssmenu > ul {
    display: flex !important;
  }
  #nav-icon {
    display: none !important;
  }
}
@media screen and (min-width: 1001px) and (max-width: 1200px) {
  .header-logo__name {
    font-size: 15px;
  }
  .header-logo__sub {
    display: none;
  }
  .header-logo__horse {
    height: 44px;
  }
  header.scrolled .header-logo__horse {
    height: 36px;
  }
  #cssmenu > ul {
    gap: 14px;
  }
  #cssmenu ul li a {
    font-size: 11px;
    letter-spacing: 1px;
  }
}
@media screen and (max-width: 1000px) {
  header {
    height: var(--header-height);
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 14px;
    background: rgba(250, 248, 245, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--color-border) !important;
  }
  .header-logo__name {
    color: var(--color-text) !important;
  }
  .header-logo__sub {
    color: var(--color-text-light) !important;
  }
  #nav-icon {
    display: flex;
  }
  #cssmenu {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }
  #cssmenu > ul {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: rgba(250, 248, 245, 0.97);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    border-top: 1px solid var(--color-border);
    padding: 0;
  }
  #cssmenu ul li {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  #cssmenu ul li a {
    display: block !important;
    padding: 14px var(--space-sm);
    color: var(--color-dark) !important;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    letter-spacing: 2px;
  }
  #cssmenu ul li a::after {
    display: none;
  }
  #cssmenu ul li a:hover {
    background: var(--color-bg-warm);
  }
  #cssmenu ul li.active > a {
    display: block !important;
  }
}
section#news > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: 15px auto;
  padding: 5px;
}
section#news > div.news-container {
  box-shadow: 0px 1px 4px 0px #c5c5c5;
  -webkit-box-shadow: 0px 1px 4px 0px #c5c5c5;
  -moz-box-shadow: 0px 1px 4px 0px #c5c5c5;
  padding: 0.5rem;
}
section#news > div.news-container > div {
  margin-right: 1rem;
}
section#news > div.news-container .news-title-container {
  display: flex;
  align-items: center;
}
section#news > div.news-container .news-title-container > p:first-child {
  min-width: 180px;
  margin-right: 1rem;
}
section#news > div.news-tableau {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
section#news > div.news-tableau > div a {
  font-size: 19px;
}

@media screen and (max-width: 1100px) {
  section#news > div {
    width: 95%;
  }
}
@media screen and (max-width: 800px) {
  section#news > div > p,
  section#news > div > div:nth-child(1) {
    width: 62%;
  }
  section#news > div > p {
    width: 58%;
    margin-right: 10px;
  }
}
@media screen and (max-width: 600px) {
  section#news > div {
    width: 100%;
  }
  section#news > div > p,
  section#news > div > div:nth-child(1) {
    width: 58%;
    margin: 15px 1px;
  }
}
@media screen and (max-width: 510px) {
  section#news > div > p,
  section#news > div > div:nth-child(1) {
    width: 100%;
  }
  section#news > div > div:nth-child(2) {
    display: none;
    width: 0;
  }
}
@media screen and (max-width: 350px) {
  section#news > div > div,
  .presentation-mini {
    width: 0;
  }
  section#news > div > p {
    width: 90%;
    margin: 0 10px 0 10px;
  }
}
#sales .category_title {
  font-size: 1.2rem;
  display: inline-block;
  font-style: italic;
  vertical-align: top;
  color: #e28f2b;
  border-top: 1px solid #e28f2b;
  width: 15%;
  text-align: right;
  padding: 0.5em;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
@media screen and (max-width: 815px) {
  #sales .category_title {
    display: block;
    position: initial;
    width: 100%;
  }
}
#sales .sell_container {
  position: relative;
}
#sales .sell_container .sell_horses_container {
  margin-left: 15%;
}
@media screen and (max-width: 815px) {
  #sales .sell_container .sell_horses_container {
    margin-left: 0%;
  }
}
@media screen and (max-width: 675px) {
  #sales .sell_container .sell_horses_container {
    text-align: center;
  }
}
#sales .sell_container .sell_horse_container.colonnes {
  width: 49%;
  max-width: 400px;
}
@media screen and (max-width: 675px) {
  #sales .sell_container .sell_horse_container.colonnes {
    width: 100%;
  }
}
#sales .sell_container img {
  width: 100%;
  margin: 0;
}
#sales .sell_container .description_sell_horse_container {
  height: 110px;
  box-shadow: 0 3px 30px 0px #c5c5c5;
  padding: 0.5em 1em;
  margin-top: -0.2em;
}
@media screen and (max-width: 675px) {
  #sales .sell_container .description_sell_horse_container {
    height: auto;
  }
}
#sales .sell_container .description_sell_horse_container .horse_solded {
  float: right;
  margin: 0.5em;
  background-color: #e28f2b;
  padding: 0 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.8em;
  padding: 0 0.5em;
  font-style: normal;
}
#sales .sell_container .description_sell_horse_container h3 {
  text-align: left;
  margin-bottom: 0.5em;
  font-style: normal;
  font-weight: bold;
  font-size: 1.2em;
}
#sales .sell_container .description_sell_horse_container .horse_to_sell_description {
  font-style: normal;
  color: #000000;
  margin: 0.5em 0;
}
#sales .sell_container .description_sell_horse_container .horse_to_sell_description > p:first-child {
  margin-bottom: 0;
}
#sales .sell_container .description_sell_horse_container .horse_to_sell_description > p:last-child {
  margin-top: 0;
}

/*ICONES*/
#dp_swf_engine {
  display: none;
}

section {
  width: 100%;
  padding-bottom: 30px;
}

div.colonnes {
  display: inline-block;
  vertical-align: bottom;
  width: 32%;
  margin-left: 0.5%;
  margin-top: 30px;
}

div.colonnes img,
div.centrer-poulain img,
div.colonnes-descendant img {
  width: 95%;
  height: auto;
  margin-left: 2.5%;
  transition: 0.5s;
}

div.colonnes a img,
div.centrer-poulain img,
div.colonnes-descendant img,
div.colonnesx3 img,
.main ul.galerie_mini_etalon li img {
  border: 0;
}

div.colonnes img:hover,
div.centrer-poulain img:hover,
div.colonnesx3 img:hover {
  filter: brightness(115%);
  -webkit-filter: brightness(115%);
  -moz-filter: brightness(115%);
  -o-filter: brightness(115%);
  -ms-filter: brightness(115%);
}

div.colonnes > p,
div.centrer-poulain > p,
div.colonnes-descendant > p {
  text-align: center;
  margin: 0;
}

.centrer-poulain {
  width: 30%;
  margin: 0 auto;
}

div.colonnes-descendant {
  display: inline-block;
  vertical-align: top;
  width: 32%;
  margin-left: 0.5%;
  margin-top: 30px;
}

div.colonnesx3 {
  display: inline-block;
  vertical-align: bottom;
  width: 19.5%;
}
div.colonnesx3 img {
  width: 100%;
  margin: 0;
  transition: 0.5s;
}
div.colonnesx3 h3 {
  margin-bottom: 0;
}

section#sales h3 {
  margin-top: 0;
}

section#sales div.colonnes,
section#sales div.centrer-poulain {
  margin-bottom: 30px;
  margin-top: 0;
}

.poulain-tableau {
  width: 70%;
  margin: 0 auto;
}
.poulain-tableau a {
  font-size: 17px;
}

.poulain-t {
  display: inline-block;
  padding: 10px;
  width: 19%;
}

img {
  width: 100%;
  margin: 0;
}

#section-cheval-detail > div:nth-child(2) {
  text-align: center;
}

.main img.presentation-max {
  width: 640px;
  margin: 0 auto;
}

.main img.presentation-mini {
  width: 190px;
  height: 140px;
  margin: 0;
}

div#galerie {
  width: 100%;
  margin-top: 30px;
}

ul#galerie_mini {
  padding: 0;
  list-style-type: none;
}
ul#galerie_mini li {
  display: inline-block;
  vertical-align: top;
  width: 12.2%;
}
ul#galerie_mini a img {
  margin: 2px 2.5%;
  border: 1px solid #dcb;
  width: 95%;
  height: auto;
}

ul#list {
  list-style-type: none;
}

div#galerie > dl#photo > dd > img#big_pict {
  width: 58%;
  margin-left: 21%;
}

div#galerie > dl > dt {
  color: transparent;
}

.main img {
  width: 95%;
  height: auto;
  margin-left: 2.5%;
}

ul#filtre li {
  display: inline-block;
}

ul#filtre a {
  margin-right: 5px;
  padding: 5px 10px;
  font-weight: bold;
  text-decoration: none;
}

ul#filtre a:hover,
ul#filtre a.current {
  color: #888;
}

ul#filtre a.current {
  background-color: #ddd;
}

div.columns-a-propos {
  -moz-column-count: 3;
  column-count: 3;
  -moz-column-gap: 40px;
  column-gap: 40px;
}

div.columns-a-propos-manouche,
div.columns-a-propos-manouche1 {
  flex: 1;
  min-width: 200px;
}

.particularites-grid {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

ul.performance {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  padding-left: 20px;
}

ul.performance > li {
  list-style-type: none;
}

div.colonnes h3 {
  margin-top: 0;
}

.colonnesx3 h3 > a {
  font-size: 17px;
  color: #000000;
}

@media screen and (max-width: 1100px) {
  .main img.presentation-mini {
    margin: 0;
  }
  .poulain-tableau {
    width: 60%;
  }
  div.colonnes {
    width: 49%;
    margin-left: 0;
  }
}
@media screen and (max-width: 900px) {
  table {
    width: 100%;
    max-width: 672px;
    margin-left: 0;
  }
}
@media screen and (max-width: 840px) {
  ul#galerie_mini li {
    width: 18.5%;
    margin-left: 0.8%;
  }
}
@media screen and (max-width: 800px) {
  .presentation-mini {
    margin-left: 0;
  }
  .poulain-tableau {
    width: 70%;
  }
  iframe {
    height: 300px;
    width: 90%;
    margin-left: 5%;
  }
}
@media screen and (max-width: 677px) {
  .main img.presentation-max {
    width: 99%;
    margin-left: 0.5%;
  }
}
@media screen and (max-width: 650px) {
  div.columns-a-propos {
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-gap: 40px;
    column-gap: 40px;
  }
  div.columns-a-propos-manouche,
  div.columns-a-propos-manouche1 {
    width: 100%;
    margin-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .poulain-tableau {
    width: 80%;
  }
  div.colonnes-descendant {
    width: 49%;
  }
  ul#galerie_mini li {
    width: 23.5%;
  }
}
@media screen and (max-width: 530px) {
  div.columns-a-propos {
    -moz-column-count: 1;
    column-count: 1;
  }
  ul.performance {
    width: 44%;
    padding-left: 4%;
  }
}
@media screen and (max-width: 510px) {
  .poulain-tableau {
    width: 100%;
  }
  .presentation-mini {
    width: 100%;
    height: auto;
  }
  table {
    width: 95%;
    margin-left: 2.5%;
  }
}
@media screen and (max-width: 465px) {
  ul#galerie_mini li {
    width: 31.5%;
  }
  ul.performance {
    width: 98%;
  }
}
@media screen and (max-width: 450px) {
  aside > nav > ul > a > li {
    padding: 15px 5px 15px 10px;
  }
  div.colonnes,
  div.centrer-poulain,
  div.colonnesx3 {
    width: 100%;
    margin-left: 0;
  }
  #photo {
    width: 100%;
  }
  #photo dd {
    margin: 0;
  }
  #etalon,
  #jument,
  #poulain,
  #vente {
    content: none;
  }
  div.colonnes-descendant {
    width: 90%;
    margin-left: 5%;
    margin-top: 10px;
  }
  .poulain-t {
    width: 30%;
  }
}
.conditionsSaillies__horsesContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.conditionsSaillies__horsesContainer a {
  display: block;
  flex: 0 0 auto;
}

.conditionsSaillies__horsesContainer img {
  width: clamp(80px, 25vw, 180px);
  height: auto;
  margin: 0;
  display: block;
}

/* ══ Horse Detail Page ══ */
/* Top 2-column layout */
.horse-detail-top {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
}

.horse-detail-photo {
  width: 100%;
  aspect-ratio: 100/69;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0;
}

.horse-detail-identity {
  padding-top: var(--space-xs);
}

.horse-detail-name {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.1;
  margin: 0 0 4px;
  text-align: left;
}

.horse-detail-meta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.horse-detail-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.horse-detail-lineage {
  margin-bottom: var(--space-sm);
}

.horse-detail-lineage dl {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 8px;
  margin: 0;
}

.horse-detail-lineage dt {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding-top: 2px;
}

.horse-detail-lineage dd {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.horse-detail-lineage dd a {
  color: var(--color-text-muted);
  font-style: normal;
  font-size: 14px;
}

.horse-detail-lineage dd a:hover {
  color: var(--color-accent);
}

.horse-detail-pedigree-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
  margin-top: 10px;
  font-style: normal;
}

/* Section separator */
.horse-detail-section {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
}

.horse-detail-section-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  text-align: left;
}

/* Gallery */
.horse-gallery-grid {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}

.horse-gallery-grid.horse-gallery-grid--few {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.horse-gallery-cell {
  overflow: hidden;
  cursor: pointer;
}

.horse-gallery-cell img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cover variant — background-image, fixed ratio (used for news gallery) */
.horse-gallery-cell--cover {
  aspect-ratio: 100/69;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.horse-gallery-cell:hover img {
  transform: scale(1.05);
}

.horse-gallery-cell--more {
  background: var(--color-night);
  display: flex;
  align-items: center;
  justify-content: center;
}

.horse-gallery-cell--more span {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Description & Performances */
.horse-detail-freetext {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.horse-detail-freetext strong {
  font-weight: 600;
  color: var(--color-text);
}

.horse-detail-freetext em {
  font-style: italic;
}

.horse-perf-text {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.85;
}

/* Offspring performance banner */
.offspring-perf-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #faf4ec;
  border: 1px solid #e8d8c0;
  border-left: 3px solid var(--color-accent);
  padding: 12px 16px;
  margin-top: var(--space-sm);
  gap: var(--space-sm);
}

.offspring-perf-banner__text {
  flex: 1;
}

.offspring-perf-banner__title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  display: block;
  margin-bottom: 3px;
}

.offspring-perf-banner__sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-light);
}

.offspring-perf-banner__btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 7px 14px;
  white-space: nowrap;
  text-decoration: none;
  font-style: normal;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.offspring-perf-banner__btn:hover {
  background: var(--color-accent);
  color: #ffffff;
}

/* Conditions de saillies banner */
.saillies-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-night);
  border-left: 3px solid var(--color-accent);
  padding: 16px 20px;
  gap: var(--space-sm);
  text-decoration: none;
  transition: background 0.2s ease;
}

.saillies-banner:hover {
  background: #2a2520;
  color: inherit;
}

.saillies-banner__text {
  flex: 1;
}

.saillies-banner__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: #ffffff;
  display: block;
  margin-bottom: 4px;
}

.saillies-banner__sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.saillies-banner__btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 8px 16px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.saillies-banner:hover .saillies-banner__btn {
  background: var(--color-accent);
  color: #ffffff;
}

/* Descendants mini-grid */
.descendants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.descendant-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease;
}

.descendant-card:hover {
  transform: translateY(-2px);
}

.descendant-card__img {
  width: 100%;
  aspect-ratio: 100/69;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0;
}

.descendant-card__info {
  padding: 10px 12px 14px;
}

.descendant-card__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text);
  display: block;
  line-height: 1.3;
  margin-bottom: 2px;
}

.descendant-card__year {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 1px;
  display: block;
  margin-top: 2px;
}

.descendant-card__type {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-text-light);
  display: block;
  margin-top: 1px;
}

@media screen and (max-width: 700px) {
  .horse-detail-top {
    grid-template-columns: 1fr;
  }
}
/* ══ Layout B: Full-width hero + description/genealogy side by side ══ */
.horse-hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--color-night);
  display: flex;
  align-items: flex-end;
  margin-top: var(--header-height);
}

.horse-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.88) 0%, rgba(20, 16, 12, 0.45) 55%, rgba(20, 16, 12, 0.15) 100%);
}

.horse-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}

.horse-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-xs);
}

.horse-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(29px, 4vw, 53px);
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 8px;
  text-align: left;
  line-height: 1.05;
}

.horse-hero__meta {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 var(--space-sm);
}

.horse-hero__badges {
  display: flex;
  gap: 6px;
}

/* Override .main padding-top for Layout B (hero already provides offset) */
.horse-main-b {
  padding-top: var(--space-md) !important;
}

/* 2-column content grid */
.horse-layout-b {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--space-lg);
  align-items: start;
  padding-bottom: var(--space-sm);
}

/* First section inside columns: no top border */
.horse-detail-section--first {
  border-top: none;
  padding-top: 0;
}

@media screen and (max-width: 800px) {
  .horse-layout-b {
    grid-template-columns: 1fr;
  }
  .horse-layout-b__aside {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
  }
}
/* ══ Homepage Hero ══ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("/public/images/troupeau-arabe-shagya-elevage-des-charmes.jpg");
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.35);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero__logo {
  height: clamp(120px, 14vw, 200px);
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: var(--space-sm);
}

.hero__title {
  font-family: var(--font-brand);
  font-size: clamp(37px, 6vw, 97px);
  letter-spacing: 8px;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-align: center;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: clamp(12px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Preload images */
body:after {
  content: url(/images/close.png?0cfd6489536ec0987466795401497368) url(/images/loading.gif?f657825a2eeed04632b01ed85f528407) url(/images/prev.png?0edc57ccafb3ea81859786274edf7897) url(/images/next.png?62074ac70bd3cfc10445d325a205a3cf);
  display: none;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  border-radius: 3px;
  margin: 0;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: 4px;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(/images/loading.gif?f657825a2eeed04632b01ed85f528407) no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 100;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url("data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==");
}

.lb-prev,
.lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url(/images/prev.png?0edc57ccafb3ea81859786274edf7897) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url(/images/next.png?62074ac70bd3cfc10445d325a205a3cf) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 14px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 13px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url(/images/close.png?0cfd6489536ec0987466795401497368) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

#contact-infos {
  text-align: center;
}
#contact-infos #contact-frame {
  border: 2px solid #e28f28;
  padding: 0.5rem 1rem;
  margin: 0 auto;
  text-align: center;
  display: inline-block;
  vertical-align: top;
}
#contact-infos #contact-frame p {
  margin: 0;
}

/* Scroll reveal — elements start hidden, become visible via JS */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delay for grid children */
.js-reveal:nth-child(1) {
  transition-delay: 0s;
}

.js-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.js-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.js-reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.js-reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
