/*
Theme Name: generatepress-child
Description: Thème enfant créé par Éole Digital
Author: Éole Digital
Template: generatepress
Version: 1.1.0
*/

/* =========================
   FONTS
   Base agence :
   - Fuzzy Bubbles : headings
   - Nunito  : corps
   Variantes volontairement limitées
   ========================= */

@font-face {
  font-family: 'Fuzzy Bubbles';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/fuzzy-bubbles-v9-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Fuzzy Bubbles';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fuzzy-bubbles-v9-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-v26-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/nunito-v26-latin-500.woff2') format('woff2');
}

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

/*
@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/nunito-v26-latin-italic.woff2') format('woff2');
}
*/

/* =========================
   BASE TYPO
   ========================= */

html {
  font-size: 100%;
}

body {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.10rem, calc(1.10rem + 0.10vw), 1.20rem);
  line-height: 1.6;
}

nav,
.main-navigation {
  font-size: clamp(1.07rem, calc(1.07rem + 0.03vw), 1.10rem);
}

/* =========================
   UTILITAIRES
   ========================= */

.shadow {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.btn-shadow {
  box-shadow: 3px 3px 7px 0 rgba(0, 0, 0, 0.2);
}

.wp-block-video [poster] {
	border-radius: 4px;
}

.mobile-display-none {
  display: none !important;
}

/* =========================
   HEADER / NAVIGATION
   ========================= */

#site-navigation.main-navigation {
  border-bottom: 1px solid #ddd;
}

.site-header {
  border-bottom: 0;
}

.main-navigation.has-branding .inside-navigation.grid-container {
  padding: 3px 20px;
}

/* =========================
   COMPOSANTS
   ========================= */

.neg-hero {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
}

.schema-faq-answer {
  margin-bottom: 1.5em;
  padding: 0.7em;
  border: 1px solid #3a6ea5;
  border-radius: 4px;
  background-color: #fff;
}

/* Cartes cliquables */
.js-card {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.js-card:hover {
  transform: translateY(-5px);
}

/* =========================
   ANIMATIONS
   ========================= */

.scale-in-center {
  animation: scale-in-center 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes scale-in-center {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .main-navigation.has-branding .inside-navigation.grid-container {
    padding: 0;
  }

  .top-bar .inside-top-bar {
    justify-content: flex-end;
    padding-right: 1px;
    padding-left: 1px;
  }

  .main-navigation .menu-toggle .gp-icon {
    transform: scale(1.6);
    transform-origin: center;
    padding: 0.75em 0.5em;
    color: #D86B10;
  }
}

@media (max-width: 480px) {
  .mobile-display-none {
    display: none !important;
  }
}