/*
Theme Name: Astra Child
Template: astra
Author: Akelion
Version: 1.2
Description: Thème enfant d'Astra pour Akelion (version HTTPS + WWW)
*/

/* === Déclaration des polices === */

/* Gotham Book (texte normal) */
@font-face {
  font-family: "Gotham";
  src: url("https://www.akelion-solutions.com/wp-content/themes/astra-child/fonts/Gotham-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Gotham Bold (titres) */
@font-face {
  font-family: "Gotham";
  src: url("https://www.akelion-solutions.com/wp-content/themes/astra-child/fonts/Gotham-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* TT Octosquares Light */
@font-face {
  font-family: "TTOctosquares";
  src: url("https://www.akelion-solutions.com/wp-content/themes/astra-child/fonts/TTOctosquares-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* TT Octosquares Medium */
@font-face {
  font-family: "TTOctosquares";
  src: url("https://www.akelion-solutions.com/wp-content/themes/astra-child/fonts/TTOctosquares-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* === Application des polices === */
body, p, li, span, a {
  font-family: "Gotham", Arial, sans-serif !important;
  font-weight: 400;
}

h2, h3, h4, h5, h6,
.uagbp-heading-text {
  font-family: "Gotham", Arial, sans-serif !important;
  font-weight: 700 !important;
}

h1 {
  font-family: "TTOctosquares", sans-serif !important;
  font-weight: 500 !important;
}

.site-logo,
.ast-site-identity .site-title {
  font-family: "TTOctosquares", sans-serif !important;
  font-weight: 500 !important;
}

/* Variantes optionnelles */
.ttocto-light {
  font-family: "TTOctosquares", sans-serif !important;
  font-weight: 300 !important;
}
.ttocto-medium {
  font-family: "TTOctosquares", sans-serif !important;
  font-weight: 500 !important;
}

/* === Supprimer la barre verte Astra === */
.main-header-bar {
  display: none !important;
}

/* === Supprimer complètement le footer Astra par défaut === */
.site-footer,
.site-footer .ast-builder-grid-row,
.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-layout-element,
.site-footer .ast-footer-overlay,
.site-footer .ast-footer-copyright {
  display: none !important;
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* === Footer personnalisé Akelion (Spectra) === */
.footer-akelion {
  background: #1b1a36; /* fond bleu nuit */
  border-top: 2px solid #c3d200; /* liseré vert Akelion */
  color: #ffffff;
  font-family: "Gotham", sans-serif;
  font-size: 14px;
  text-align: center;
  padding: 20px 10px;
}

/* Copyright à l’intérieur */
.footer-akelion .footer-copyright {
  border-top: 1px solid #c3d200;
  margin-top: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: #ffffff;
}

/* Icône LinkedIn */
.linkedin-footer {
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1); /* icône blanche */
  transition: transform 0.2s ease, filter 0.2s ease;
}
.linkedin-footer:hover {
  transform: scale(1.2);
  filter: none; /* couleur originale au hover */
}

/* Boutons formulaire Akelion */
.wpforms-submit,
input[type="submit"],
button[type="submit"] {
  background-color: #c3d200 !important;  /* vert Akelion */
  color: #1b1a36 !important;             /* texte bleu nuit */
  border: none !important;
  border-radius: 4px;
  padding: 10px 20px;
  font-family: "Gotham", sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.wpforms-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: #a6b500 !important;  /* vert foncé au hover */
  color: #ffffff !important;             /* texte blanc */
}

/* Bouton retour en haut */
.ast-scroll-top-icon {
  bottom: 60px !important;
  right: 20px !important;
}

/* === Optimisation mobile === */
@media screen and (max-width: 768px) {
  .titreHeroMobile {
    font-size: 28px !important;
    line-height: 1.2em;
    white-space: normal !important;
    text-align: center;
  }

  h1.uag-heading-text.titreHeroMobile {
    font-size: 10px !important;
    line-height: 1.2em;
    white-space: normal !important;
    text-align: center;
    max-width: 90vw;
    margin: 0 auto;
  }
}