/* ==========================================================================
   Les Nuits de Montseveroux — feuille de style unique
   Site 100% statique : aucun framework, aucune dépendance.

   Sommaire :
     1. Polices
     2. Variables & base
     3. Boutons
     4. Header (barre de navigation + menu mobile)
     5. Hero (accueil + pages internes)
     6. Sections (stats, carrousel, partenaires, FAQ, à propos)
     7. Formulaires (champs flottants, select, alertes)
     8. Footer
   Points de rupture (identiques à Material UI) :
     sm = 600px, md = 900px
   ========================================================================== */

/* 1. Polices
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Akagi Pro';
  src: url('../fonts/AkagiPro_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Akagi Pro';
  src: url('../fonts/AkagiPro_Medium_Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Akagi Pro';
  src: url('../fonts/AkagiPro_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Akagi Pro';
  src: url('../fonts/AkagiPro_Bold_Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins_Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables & base
   -------------------------------------------------------------------------- */
:root {
  --jaune: #F5BB11;
  --jaune-fonce: rgb(172, 131, 12);          /* survol bouton jaune */
  --bleu: #1A3761;
  --bleu-fonce: rgb(18, 39, 68);             /* survol bouton bleu */
  --fond: #F8F8F8;
  --texte: rgba(0, 0, 0, 0.87);
  --texte-secondaire: rgba(0, 0, 0, 0.6);
  --font-akagi: 'Akagi Pro', 'Poppins', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texte);
  background-color: var(--fond);
}

body.no-scroll {
  overflow: hidden;
}

/* Comme sur l'ancien site, les images restent « inline » par défaut. */

p {
  margin: 0;
}

/* Texte « Akagi » : équivalent des composants Typography de l'ancien site */
.akagi {
  font-family: var(--font-akagi);
}

.t-h2 {
  font-family: var(--font-akagi);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.00833em;
  margin: 0;
}

.t-h5 {
  font-family: var(--font-akagi);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.334;
  letter-spacing: 0;
  margin: 0;
}

.t-h6 {
  font-family: var(--font-akagi);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.0075em;
  margin: 0;
}

/* 3. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-akagi);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 26px;
  padding: 14px 20px;
  margin-top: 6px;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--primary {
  background-color: var(--jaune);
  color: #000000;
}

.btn--primary:hover {
  background-color: var(--jaune-fonce);
}

.btn--secondary {
  background-color: var(--bleu);
  color: #FFFFFF;
}

.btn--secondary:hover {
  background-color: var(--bleu-fonce);
}

.btn--tertiary {
  background-color: #FFFFFF;
  color: #163760;
}

.btn--tertiary:hover {
  background-color: rgb(179, 179, 179);
}

.btn--outlined {
  background-color: transparent;
  color: var(--jaune);
  border: 1px solid rgba(245, 187, 17, 0.5);
}

.btn--outlined:hover {
  border-color: var(--jaune);
  background-color: rgba(245, 187, 17, 0.04);
}

.btn--block {
  width: 100%;
}

/* Icône « ouvrir dans un nouvel onglet » en fin de bouton */
.btn svg {
  margin-left: 8px;
  margin-right: -4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Bouton icône rond (façon IconButton) */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  color: var(--jaune);
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  background-color: rgba(245, 187, 17, 0.04);
}

.icon-btn svg {
  width: 24px;
  height: 24px;
}

.icon-btn--large svg {
  width: 35px;
  height: 35px;
}

/* 4. Header
   -------------------------------------------------------------------------- */
.appbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 16px 0;
}

.toolbar {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
}

.toolbar__logo {
  flex-grow: 1;
}

.toolbar__logo img {
  width: 42px;
  height: 27px;
}

.toolbar__nav {
  display: none;
  align-items: baseline;
}

.toolbar__nav > a:not(.btn) {
  margin-left: 24px;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-inter);
  font-size: 1rem;
}

.toolbar__nav .btn {
  margin-left: 16px;
}

.menu-toggle {
  margin-left: -12px;
}

@media (min-width: 600px) {
  .toolbar {
    min-height: 64px;
    padding: 0 24px;
  }

  .toolbar__nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (min-width: 900px) {
  .appbar {
    padding: 16px 72px;
  }
}

/* Menu mobile plein écran (façon Drawer) */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  color: #FFFFFF;
  transform: translateX(-105%);
  transition: transform 225ms cubic-bezier(0, 0, 0.2, 1);
  visibility: hidden;
}

.drawer.open {
  transform: none;
  visibility: visible;
  box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2),
    0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12);
}

.drawer__close {
  text-align: right;
  margin: 16px 16px 16px 0;
  padding: 8px 0;
}

.drawer__center {
  display: flex;
  align-items: center;
  flex: 1;
}

.drawer__content {
  width: 100vw;
}

.drawer__socials {
  margin: 8px 0 0 8px;
}

@media (min-width: 600px) {
  .drawer {
    display: none;
  }
}

/* Liste de navigation (menu mobile + footer) */
.nav-menu__title {
  font-family: var(--font-akagi);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: var(--jaune);
  margin: 0 0 0 16px;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.nav-menu ul a {
  display: block;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-akagi);
  padding: 12px 16px;
}

.nav-menu ul a:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-menu .btn {
  margin-left: 16px;
}

/* Réseaux sociaux */
.socials {
  display: flex;
}

/* Fond bleu nuit avec texture de bruit */
.noise {
  background-color: var(--bleu);
  background-image: url('../noise_texture.webp');
  background-blend-mode: overlay;
  background-repeat: repeat;
  background-size: cover;
}

/* 5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  width: 100%;
  background-image: url('../hero.webp');
  background-repeat: no-repeat;
  background-position-x: center;
  background-size: cover;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

@media (min-width: 900px) {
  .hero {
    flex-direction: row;
    padding: 96px;
  }
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 670px;
}

.hero__logo {
  margin-top: 24px;
  width: 280px;
  height: 200px;
}

@media (min-width: 600px) {
  .hero__logo {
    width: 510px;
    height: 300px;
  }
}

@media (min-width: 900px) {
  .hero__logo {
    width: 670px;
    height: 350px;
  }
}

.hero__tagline {
  margin: 48px 0;
  color: #FFFFFF;
  text-align: center;
  font-family: var(--font-akagi);
}

.hero__dates {
  font-family: var(--font-akagi);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 32px;
  text-align: center;
}

.hero__dates strong {
  color: var(--jaune);
  font-weight: 700;
}

/* Paire de boutons côte à côte (hero + page infos) */
.btn-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.btn-pair > div {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-pair .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .btn-pair {
    flex-direction: row;
  }

  .btn-pair > div {
    width: calc(50% - 8px);
  }

  .btn-pair > div:first-child {
    justify-content: flex-end;
  }

  .btn-pair > div:last-child {
    justify-content: flex-start;
  }

  .btn-pair .btn {
    width: auto;
  }
}

/* Hero réduit des pages internes (infos, mentions légales, CGU, confidentialité) */
.page-hero {
  height: 464px;
  width: 100%;
  background-image: url('../hero.webp');
  background-repeat: no-repeat;
  background-position-x: center;
  background-size: cover;
  padding: 16px;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 96px;
  }
}

.page-hero__title {
  color: var(--jaune);
  font-style: italic;
  margin-bottom: 48px;
}

.page-hero__text {
  color: #FFFFFF;
  font-family: var(--font-akagi);
}

/* 6. Sections de l'accueil
   -------------------------------------------------------------------------- */

/* Bandeau « quelques chiffres » */
.stats-section {
  padding: 96px 0;
  text-align: center;
}

.stats-section__title {
  color: #FFFFFF;
  margin-bottom: 48px;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 96px;
}

.stat {
  display: flex;
  text-align: left;
}

.stat__divider {
  border-right: 1px solid #FFFFFF;
}

.stat__body {
  margin-left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.stat__value {
  font-family: var(--font-akagi);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
}

.stat__value strong {
  color: var(--jaune);
  font-weight: 700;
}

.stat__label {
  font-family: var(--font-akagi);
  color: #FFFFFF;
}

@media (min-width: 900px) {
  .stats-section {
    padding: 192px 0;
  }

  .stats-section__title {
    margin-bottom: 96px;
  }

  .stats-grid {
    flex-direction: row;
  }

  .stats-grid .stat {
    width: calc(25% - 24px);
  }
}

/* Carrousel des archives */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

.carousel__slide {
  width: 100%;
  flex-shrink: 0;
  height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.carousel__slide-text {
  padding: 0 64px;
}

.carousel__slide-caption {
  text-align: center;
  font-family: var(--font-akagi);
  color: var(--jaune);
}

.carousel__slide-title {
  text-align: center;
  font-family: var(--font-akagi);
  font-size: 3rem;
  font-weight: 700;
  color: #FFFFFF;
}

.carousel__prev,
.carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #FFFFFF;
}

.carousel__prev {
  left: 16px;
}

.carousel__next {
  right: 16px;
}

.carousel__prev:hover,
.carousel__next:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .carousel__prev {
    left: 32px;
  }

  .carousel__next {
    right: 32px;
  }
}

/* Sections avec titre + sous-titre centrés (partenaires, FAQ) */
.section {
  padding: 96px 0;
}

.section--noise {
  text-align: center;
}

.section__title {
  text-align: center;
  margin-bottom: 8px;
}

.section--noise .section__title,
.section--noise .section__subtitle {
  color: #FFFFFF;
}

.section__subtitle {
  text-align: center;
  font-family: var(--font-akagi);
  margin: 0 24px 24px;
}

.section__subtitle a {
  color: #000000;
}

.section--noise .section__subtitle a {
  color: #FFFFFF;
}

@media (min-width: 900px) {
  .section {
    padding: 192px 0;
  }

  .section__title {
    margin-bottom: 16px;
  }

  .section__subtitle {
    margin: 0 96px 48px;
  }
}

/* Logos partenaires — rangée fixe (ordinateur) */
.partners-row {
  display: none;
}

@media (min-width: 900px) {
  .partners-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 96px;
  }
}

/* Logos partenaires — défilement automatique (mobile / tablette) */
.partners-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.partners-marquee__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scrollRight 15s linear infinite;
}

.partners-marquee__track > * {
  flex: 0 0 auto;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0%);
  }
}

@media (min-width: 900px) {
  .partners-marquee {
    display: none;
  }
}

/* FAQ — accordéons en <details>/<summary>, sans JavaScript */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px;
}

.faq details {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon-btn {
  color: rgba(0, 0, 0, 0.54);
  flex-shrink: 0;
}

.faq summary .icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.faq details[open] .faq__plus,
.faq details:not([open]) .faq__minus {
  display: none;
}

.faq__answer {
  color: var(--texte-secondaire);
  font-family: var(--font-akagi);
  text-align: left;
  margin: 8px 0 16px;
}

.faq details[open] .faq__answer {
  animation: faq-open 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Boutons de la page infos */
.info-buttons {
  padding-bottom: 40px;
}

/* Pas de marge basse : la section FAQ (fond blanc) touche le footer */
.page-body {
  padding: 40px 0 0;
}

@media (min-width: 900px) {
  .info-buttons {
    padding-bottom: 80px;
  }

  .page-body {
    padding: 80px 0 0;
  }
}

/* Section « à propos » */
.about {
  padding: 64px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about__photo {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

.about__text {
  max-width: 500px;
}

.about__text .t-h5 {
  margin-bottom: 8px;
}

.about__text p {
  font-family: var(--font-akagi);
  margin-bottom: 4px;
}

@media (min-width: 900px) {
  .about {
    padding: 96px 48px;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .about__photo-cell {
    width: calc(33.333% - 16px);
  }

  .about__text {
    width: calc(66.666% - 16px);
  }

  .about__text .t-h5 {
    margin-bottom: 16px;
  }

  .about__text p {
    margin-bottom: 8px;
  }
}

.about__photo-cell {
  width: 100%;
  max-width: 500px;
}

/* Section FAQ sur fond blanc (page infos) */
.faq-section {
  padding: 48px 0;
  background-color: #FFFFFF;
}

@media (min-width: 900px) {
  .faq-section {
    padding: 96px 0;
  }
}

/* Pages de texte légal : les titres et paragraphes gardent les styles
   par défaut du navigateur, comme sur l'ancien site. */
.prose {
  padding: 40px;
}

.prose p {
  margin: 1em 0;
}

@media (min-width: 900px) {
  .prose {
    padding: 80px;
  }
}

/* 7. Formulaires
   -------------------------------------------------------------------------- */
.contact-form {
  padding: 40px 16px;
}

.contact-form__stack {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 900px) {
  .contact-form {
    padding: 80px 32px;
  }

  .contact-form__stack {
    gap: 32px;
  }
}

/* Dans l'ancien site, le Stack MUI annulait la marge haute du bouton */
.contact-form__stack .btn {
  margin-top: 0;
}

/* Champ avec étiquette flottante (équivalent TextField « outlined » de MUI) */
.field {
  position: relative;
  display: block;
  background-color: #FFFFFF;
  border-radius: 26px;
  font-family: var(--font-akagi);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: none;
  outline: none;
  background: none;
  margin: 0;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4375;
  color: var(--bleu);
  padding: 16.5px 14px;
  border-radius: 26px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='rgba(0,0,0,0.54)' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
}

.field textarea {
  resize: vertical;
}

/* Le contour est dessiné par un <fieldset>, comme dans MUI,
   pour ouvrir une encoche autour de l'étiquette flottante. */
.field__outline {
  position: absolute;
  inset: -5px 0 0;
  margin: 0;
  padding: 0 8px;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 26px;
}

.field:hover .field__outline {
  border-color: rgba(0, 0, 0, 0.87);
}

.field:focus-within .field__outline {
  border-color: var(--jaune);
  border-width: 2px;
}

.field__outline legend {
  float: unset;
  width: auto;
  overflow: hidden;
  padding: 0;
  height: 11px;
  font-size: 0.75em;
  visibility: hidden;
  max-width: 0.01px;
  white-space: nowrap;
  transition: max-width 50ms cubic-bezier(0, 0, 0.2, 1);
}

.field__outline legend > span {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  opacity: 0;
}

.field__label {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  transform-origin: top left;
  transform: translate(14px, 16px) scale(1);
  transition: transform 200ms cubic-bezier(0, 0, 0.2, 1),
    color 200ms cubic-bezier(0, 0, 0.2, 1),
    max-width 200ms cubic-bezier(0, 0, 0.2, 1);
  color: var(--texte-secondaire);
  font-size: 1rem;
  line-height: 1.4375;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

/* Étiquette flottée : champ avec focus, rempli, ou select avec valeur choisie */
.field:focus-within .field__label,
.field input:not(:placeholder-shown) ~ .field__label,
.field textarea:not(:placeholder-shown) ~ .field__label,
.field select:valid ~ .field__label {
  transform: translate(14px, -9px) scale(0.75);
  max-width: calc(133% - 32px);
}

.field:focus-within .field__label {
  color: var(--jaune);
}

/* Ouverture de l'encoche dans le contour */
.field:focus-within .field__outline legend,
.field input:not(:placeholder-shown) ~ .field__outline legend,
.field textarea:not(:placeholder-shown) ~ .field__outline legend,
.field select:valid ~ .field__outline legend {
  max-width: 100%;
}

/* Le texte d'exemple n'apparaît qu'au focus, comme dans MUI */
.field input::placeholder,
.field textarea::placeholder {
  color: currentColor;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.field:focus-within input::placeholder,
.field:focus-within textarea::placeholder {
  opacity: 0.42;
}

/* Select vide : même couleur que l'étiquette (texte invisible derrière elle) */
.field select:invalid {
  color: transparent;
}

/* Alertes de confirmation / d'erreur */
.alert {
  display: flex;
  align-items: flex-start;
  border-radius: 26px;
  padding: 6px 16px;
  font-family: var(--font-akagi);
  font-size: 0.875rem;
  line-height: 1.43;
}

.alert[hidden] {
  display: none;
}

.alert svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 12px;
  padding: 7px 0;
  box-sizing: content-box;
  opacity: 0.9;
}

.alert__message {
  padding: 8px 0;
}

.alert--success {
  background-color: rgb(237, 247, 237);
  color: rgb(30, 70, 32);
}

.alert--success svg {
  color: #2e7d32;
}

.alert--error {
  background-color: rgb(253, 237, 237);
  color: rgb(95, 33, 32);
}

.alert--error svg {
  color: #d32f2f;
}

/* 8. Footer
   -------------------------------------------------------------------------- */
.footer {
  color: #FFFFFF;
  padding: 48px 16px;
}

@media (min-width: 900px) {
  .footer {
    padding: 48px 96px;
  }
}

.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 900px) {
  .footer__grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__brand {
    width: calc(25% - 36px);
  }

  .footer__menu {
    width: calc(33.333% - 32px);
  }

  .footer__newsletter {
    width: calc(41.666% - 28px);
  }
}

.footer__brand img {
  width: 173px;
  height: 173px;
}

.footer__brand .socials {
  margin: 8px 0 0 -8px;
}

.footer__menu {
  margin-left: -16px;
}

@media (min-width: 900px) {
  .footer__menu {
    margin-left: 0;
  }
}

.footer__newsletter-title {
  margin-bottom: 24px;
}

.footer__newsletter-text {
  font-family: var(--font-akagi);
}

.newsletter-form {
  margin: 8px 0;
}

.newsletter-form__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  column-gap: 16px;
}

.newsletter-form__row .field {
  width: 100%;
}

.newsletter-form__row .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .newsletter-form__row {
    flex-direction: row;
  }

  .newsletter-form__row .field {
    width: 75%;
  }

  .newsletter-form__row .btn {
    width: 25%;
  }
}

.newsletter-form .alert {
  margin-top: 8px;
}

.footer__divider {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin: 48px 0;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  font-family: var(--font-akagi);
}

.footer__bottom a {
  color: #FFFFFF;
}

.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 900px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__copyright {
    width: 58.333%;
  }

  .footer__legal {
    width: calc(41.666% - 16px);
  }
}
