
/****************************************************
 FINAL FUSIONNÉ — TDL QUÉBEC
 Bleu principal : #001489
 Header + Menu + Boutons + Sections + Footer Vagues
*****************************************************/

/******************** 1 — VARIABLES ********************/
:root,
[data-theme] {
    --primary: #001489 !important;
    --primary-alt: #000f6a !important;
    --secondary: #001489 !important;
    --secondary-alt: #000f6a !important;
    --highlight: #001489 !important;
    --accent: #001489 !important;
}

/******************** 2 — HEADER ********************/
header,
.header,
.portal-header,
.header-container,
.header-top,
.top-bar,
#header {
    background: #001489 !important;
    border: none !important;
    padding: 12px 0 !important;
}

header a,
.header a,
.header-top a,
.top-bar a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

header img {
    max-height: 58px !important;
    object-fit: contain !important;
}

/******************** 3 — MENU ********************/
.navbar,
nav,
.menu-vertical-items {
    background: #001489 !important;
    border: none !important;
    padding: 8px 0 !important;
}

.navbar-nav > li > a,
.menu-vertical-items li a,
nav a {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
}

.navbar-nav > li > a:hover,
nav a:hover {
    background: #000f6a !important;
    color: #ffffff !important;
}

.navbar-nav > li.active > a {
    background: #000f6a !important;
    color: #ffffff !important;
}

/******************** 4 — TYPO ********************/
body,
p,
label {
    font-family: "Montserrat", Arial, sans-serif !important;
}

h1, h2, h3 {
    color: #001489 !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
}

/******************** 5 — SECTIONS ********************/
.section,
.block,
.card,
.portal-content {
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 1px solid #e5e5e5 !important;
    padding: 32px !important;
    margin-bottom: 36px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
}

/******************** 6 — FORMULAIRES ********************/
input,
select,
textarea {
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
}

/******************** 7 — BOUTONS ********************/
.btn,
button,
input[type='submit'] {
    border-radius: 40px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: 0.2s ease-in-out !important;
}

.btn-primary,
button.primary {
    background: #001489 !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-primary:hover {
    background: #000f6a !important;
}

.btn-success,
button.success {
    background: #c1d82f !important;
    color: #001489 !important;
    border: none !important;
}

.btn-success:hover {
    filter: brightness(0.9) !important;
}

/******************** 8 — FOOTER WAVES (CSS ONLY) ********************/
footer, .footer, .site-footer {
    position: relative;
    background: #001489 !important;
    color: #ffffff !important;
    padding: 80px 20px 60px 20px !important;
    text-align: center !important;
    overflow: hidden !important;
    border: none !important;
}

footer::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 180px;
    background: radial-gradient(circle at 50% 120%, #3b74d8 35%, transparent 75%),
                radial-gradient(circle at 20% 100%, #3270d2 30%, transparent 70%),
                radial-gradient(circle at 80% 110%, #2e6acc 30%, transparent 70%);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    opacity: 0.9;
}

footer::after {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 140px;
    background: radial-gradient(circle at 40% 100%, #4a87ec 35%, transparent 80%),
                radial-gradient(circle at 70% 110%, #3f7be0 30%, transparent 85%);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
    opacity: 0.7;
}

footer > * {
    position: relative;
    z-index: 3;
}

footer .copyright {
    margin-top: 25px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/******************** 9 — GAP FIX ********************/
body > section:last-of-type:not(.footer):not(.site-footer) {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/******************** 10 — MINI FOOTER YAPLA ********************/
.yapla-footer {
    background: #ffffff !important;
    color: #777 !important;
    padding: 12px !important;
    font-size: 12px !important;
    border-top: 1px solid #e0e0e0 !important;
}

