/*!
Theme Name: Grandvaux 2026 WP Theme
Author: Gilston Digital SA
Author URI: https://gilston.digital/
Description: Theme de départ pour wordpress
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: grandvaux2026
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
-----------------------------------------------------*/

/* NORMALIZED
--------------------------------------------- */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
}

body {
  margin: 0;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body {
  background-color: #8266aa;
}

#content {}

a,
img,
header#masthead,
#left-logo,
#content,
.nav-link {
  transition: all ease-in 0.2s;
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #fff;
  font-family: "Liter", Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: 300;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

/* Links 
---------------------------------------------- */
a {
  text-decoration: none;
  color: #2d1d43;
}

a:hover {
  color: #212121;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

/* CONTENT
--------------------------------------------- */
body {

  background-image: url('img/bg-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: fixed;
  background-position: left 230px;
  background-size: auto calc(100% - 300px);
}

#content.site-content {
  padding-top: 200px;
}

.btn.btn-primary {
  background-color: #2d1d43;
  border-color: #2d1d43;
}

.btn.btn-primary:hover {
  background-color: #212121;
  border-color: #212121;
}

.btn.btn-outline-primary {
  color: #2d1d43;
  border-color: #2d1d43;
}

.btn.btn-outline-primary:hover {
  color: #fff;
  border-color: #212121;
  background-color: #212121;
}

.bg-primary {
  background-color: #212121 !important;
}

.entry-title {
  font-size: 2.5rem;
  line-height: 2.5rem;
  padding: 1.1rem 0;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.spark {
  display: block;
  width: 40px;
  height: 40px;
  position: relative;
  top: -25px;
  left: -10px;
  background-image: url('img/spark.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.spark-right {
  right: -10px;
  bottom: -25px;
  top: auto;
  left: auto;
}

/* NAV
--------------------------------------------- */

header#masthead {
  background-color: #8266aa;
  box-shadow: 0 12px 12px rgba(130, 102, 170, 1);
  margin-bottom: 0;
  padding: 0;
  height: 200px;
  width: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 1000;
}

header#masthead .container {
  height: 100%;
}

header#masthead #left-logo {}

header#masthead #left-logo img {
  height: 70px;
}

header#masthead #mobile-logo img {
  height: 30px;
}

#left-logo:hover img {
  opacity: 0.7;
}

#masthead nav {
  padding: 0;
  height: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

#masthead .navbar-nav {
  flex-direction: row;
  justify-content: center;
}

#masthead #mobile-navbar-toggler {
  display: none;
  position: relative;
  z-index: 2001;
  border: 0;
  padding: 0;
}

#masthead #mobile-navbar-toggler,
#masthead #mobile-navbar-toggler:focus,
#masthead #mobile-navbar-toggler:hover,
#masthead #mobile-navbar-toggler:active {
  outline: none;
  border: 0 !important;
  border-style: none !important;
  box-shadow: none;
}

#masthead #mobile-navbar-toggler img {
  height: 18px;
}

#masthead #main-nav-flex-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#masthead #main-nav {
  padding-left: 0;
  padding-right: 0;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  left: -1rem;
  border-radius: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 1);
  border: 0;
  padding: 1rem 0;
  min-width: 300px;
}

.navbar-nav .dropdown-menu .nav-item {
  text-align: start;
  padding: 0 1rem;
  font-weight: 400;
}

.navbar-nav .dropdown-menu .nav-item .nav-link {
  position: relative;
  text-transform: uppercase;
}

.navbar-nav .dropdown-menu .nav-item .nav-link:hover,
.navbar-nav .dropdown-menu .nav-item.current_page_item .nav-link {
  color: #2d1d43000;
}

#masthead .navbar-nav>li>a {
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding: 0 1.5rem 0 0;
}

#masthead .navbar-nav>li>a:hover,
#masthead .navbar-nav>li.current_page_item>a {
  color: #2d1d43;
}

@media only screen and (max-width: 991px) {

  /** before large **/
  #content.site-content {
    padding-top: 50px;
  }

  #bg-logo {
    position: fixed;
    top: .5rem;
    left: .5rem;
    opacity: 0.05;
    height: 90%;
    max-width: 90%;
    z-index: 10000;
  }

  header#masthead {
    height: 50px;
  }

  header#masthead #left-logo {
    opacity: 1;
  }

  header#masthead #left-logo img {
    height: 30px;
  }

  #masthead #mobile-navbar-toggler {
    display: block;
  }

  #masthead #main-nav-flex-container {
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(130, 102, 170, 0.9);
  }

  #masthead .navbar-nav {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
  }

  #masthead .dropdown-menu {
    padding-top: 0 !important;
    width: 100% !important;
  }

  #masthead .navbar-nav .dropdown-menu .nav-item {
    text-align: center;
  }

  #masthead .navbar-nav>li>a {
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 1.3rem;
    text-align: center;
  }

}


#site-footer {
  position: relative;
  color: #FFF;
}

#site-footer #gd_credit-inline img {
  height: 18px;
}

#site-footer #credits {
  position: absolute;
  top: 10px;
  right: 6px;
  display: flex;
  flex-direction: column;
}

#site-footer #gd_credit img {
  width: 14px;
}

#site-footer #gd_credit-inline img {
  height: 18px;
}

.simply-countdown-losange {
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  font-family: Inter, sans-serif
}

.simply-countdown-losange>.simply-section {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: .5rem;
  transition: .2s ease-in-out
}

.simply-countdown-losange>.simply-section>div {
  transform: rotate(45deg);
  display: flex;
  flex-direction: column;
  line-height: 1.2
}

.simply-countdown-losange>.simply-section .simply-amount,
.simply-countdown-losange>.simply-section .simply-word {
  display: block;
  text-align: center
}

.simply-countdown-losange>.simply-section .simply-amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff
}

.simply-countdown-losange>.simply-section .simply-word {
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  text-transform: uppercase;
  letter-spacing: .05em
}

@media (min-width:640px) {
  .simply-countdown-losange>.simply-section {
    width: 80px;
    height: 80px
  }

  .simply-countdown-losange>.simply-section .simply-amount {
    font-size: 1.5rem
  }

  .simply-countdown-losange>.simply-section .simply-word {
    font-size: .7rem
  }
}

@media (min-width:1024px) {
  .simply-countdown-losange>.simply-section {
    width: 90px;
    height: 90px
  }

  .simply-countdown-losange>.simply-section .simply-amount {
    font-size: 1.75rem
  }

  .simply-countdown-losange>.simply-section .simply-word {
    font-size: .75rem
  }
}

#clock {
  margin-top: 60px;
  margin-bottom: 60px;
}

.simply-countdown-losange>.simply-section {
  background: #2d1d43 !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full,
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background-color: #8266aa;
  color: #fff !important;
  border-color: #fff !important;
  border-radius: 8px;
  padding: 20px;
}

div.wpforms-container-full .wpforms-confirmation-container-full *,
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) * {
  color: #fff !important;
}
div.wpforms-container-full input[type="submit"]:not(:hover):not(:active), div.wpforms-container-full button[type="submit"]:not(:hover):not(:active), div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full input[type="submit"]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full button[type="submit"]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active){
  background-color: #2d1d43 !important;
  border-color: #2d1d43 !important;
}
div.wpforms-container-full input[type="submit"]:hover, div.wpforms-container-full input[type="submit"]:active, div.wpforms-container-full button[type="submit"]:hover, div.wpforms-container-full button[type="submit"]:active, div.wpforms-container-full .wpforms-page-button:hover, div.wpforms-container-full .wpforms-page-button:active, .wp-core-ui div.wpforms-container-full input[type="submit"]:hover, .wp-core-ui div.wpforms-container-full input[type="submit"]:active, .wp-core-ui div.wpforms-container-full button[type="submit"]:hover, .wp-core-ui div.wpforms-container-full button[type="submit"]:active, .wp-core-ui div.wpforms-container-full .wpforms-page-button:hover, .wp-core-ui div.wpforms-container-full .wpforms-page-button:active{
  background-color: #212121 !important;
  border-color: #212121 !important;
}
div.wpforms-container-full .wpforms-form label.wpforms-error, div.wpforms-container-full .wpforms-form em.wpforms-error{
  color: #FFF!important;
}