/*
Theme Name: A L'EST
Theme URI: https://associationalest.fr/
Author: A L'EST
Description: Theme vitrine one-page pour l'association A L'EST, cree a partir de la maquette Tailwind.
Version: 1.0.21
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: alest
*/

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Arimo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/arimo-latin.woff2") format("woff2");
}

section[id] {
  scroll-margin-top: 5.5rem;
}

body {
  font-family: "Arimo", Arial, sans-serif !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.afu0 {
  animation: fadeUp 0.8s 0s ease both;
}

.afu1 {
  animation: fadeUp 0.8s 0.1s ease both;
}

.afu2 {
  animation: fadeUp 0.8s 0.2s ease both;
}

.afu3 {
  animation: fadeUp 0.8s 0.3s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar-left-a1 {
  border-left: 4px solid #477c27 !important;
}

.pillar-left-a2 {
  border-left: 4px solid #f5c800 !important;
}

.pillar-left-a3 {
  border-left: 4px solid #2563a8 !important;
}

.alest-burger-line {
  background: #111;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 1.5rem;
}

.alest-header-socials {
  align-items: center;
  gap: 0.5rem;
}

.alest-social-link {
  align-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 2.25rem;
}

.alest-social-link:hover,
.alest-social-link:focus-visible {
  border-color: #477c27;
  color: #477c27;
  transform: translateY(-1px);
}

.alest-social-link svg {
  height: 1.1rem;
  width: 1.1rem;
}

.alest-mobile-socials {
  border-top: 1px solid rgb(0 0 0 / 8%);
  display: flex;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
}

.alest-hero-title {
  font-size: clamp(2.45rem, 11vw, 4rem);
  max-width: 100%;
}

.alest-hero-copy {
  max-width: 32.5rem !important;
  text-wrap: balance;
}

@keyframes partnersMarquee {
  to {
    transform: translateX(calc(-50% - 2rem));
  }
}

.alest-partners-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.alest-partners-track {
  animation: partnersMarquee 30s linear infinite;
  display: flex;
  gap: 4rem;
  width: max-content;
}

.alest-partners-marquee:hover .alest-partners-track {
  animation-play-state: paused;
}

.alest-partners-group {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 4rem;
  justify-content: space-around;
  min-width: 100vw;
}

.alest-partner-logo-card {
  align-items: center;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 0.75rem;
  display: flex;
  flex: 0 0 auto;
  height: 7rem;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
  width: clamp(9rem, 15vw, 12rem);
}

a.alest-partner-logo-card:hover,
a.alest-partner-logo-card:focus-visible {
  border-color: #477c27;
  transform: translateY(-2px);
}

.alest-partner-logo {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.alest-google-stars {
  color: #f5b301;
  display: flex;
  font-size: 1.55rem;
  gap: 0.2rem;
  letter-spacing: 0.02em;
}

.alest-google-reviews-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alest-google-review-card,
.alest-google-reviews-empty {
  background: #fff;
  border: 1px solid rgb(0 0 0 / 8%);
  border-radius: 0.85rem;
  padding: 1.4rem;
}

.alest-google-review-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.alest-google-review-avatar {
  border-radius: 999px;
  display: block;
  height: 2.75rem;
  object-fit: cover;
  width: 2.75rem;
}

.alest-google-review-avatar-fallback {
  align-items: center;
  background: #477c27;
  color: #fff;
  display: flex;
  font-family: "Arimo", Arial, sans-serif;
  font-weight: 700;
  justify-content: center;
}

.alest-google-review-rating {
  color: #f5b301;
  letter-spacing: 0.08em;
}

.alest-google-attribution {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.alest-google-attribution img {
  height: auto;
  width: 4.6rem;
}

.alest-google-attribution p {
  color: #666;
  font-size: 0.68rem;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 767px) {
	.alest-google-reviews-list {
    grid-template-columns: 1fr;
  }

	.alest-google-review-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .alest-hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .alest-hero-actions {
    align-items: center;
    flex-direction: column;
    width: 100%;
  }

  .alest-hero-actions a {
    width: min(100%, 270px);
  }

  .alest-hero-copy {
    max-width: 18rem !important;
  }
}

@media (max-width: 479px) {
  .alest-hero-title {
    font-size: clamp(1.7rem, 7.4vw, 2.1rem);
  }
}

.alest-privacy-content h2 {
  background: rgb(71 124 39 / 0.07);
  border-left: 4px solid #477c27;
  border-radius: 0 0.35rem 0.35rem 0;
  color: #111;
  font-family: "Arimo", Arial, sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 2.5rem 0 1rem;
  padding: 0.65rem 0.9rem;
  scroll-margin-top: 7rem;
}

@media (prefers-reduced-motion: reduce) {
  .alest-partners-track {
    animation: none;
    width: 100%;
  }

  .alest-partners-group {
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 100%;
    padding-inline: 1.5rem;
  }

  .alest-partners-group[aria-hidden="true"] {
    display: none;
  }
}

.admin-bar .alest-site-nav {
  top: 32px;
}

.admin-bar .alest-mobile-nav {
  top: 96px;
}

@media (max-width: 782px) {
  .admin-bar .alest-site-nav {
    top: 46px;
  }

  .admin-bar .alest-mobile-nav {
    top: 110px;
  }
}
