/*
Theme Name: Formota - Child
Theme URI: http://harutheme.com/formota
Author: HaruTheme
Author URI: http://harutheme.com/
Description: This is child theme of Formota
Template: formota
Version: 1.0.0

*/

/*---------------------------------
    Write your css code from here
------------------------------------*/

body,
input,
textarea,
select,
button {
    font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.haru-page-title-wrapper h2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600;
}

/* Le menu de navigation (haru-main-menu) hérite parfois de la police par défaut du thème */
.haru-main-menu > li > a,
.haru-nav-mobile-menu a {
    font-family: 'Poppins', sans-serif !important;
}

/* Reduce header bar height */
.header-1 .haru-header-nav-wrap .header-nav-above {
    height: 68px;
}
.header-1 .haru-header-nav-wrap .header-nav-above .header-center .header-navigation .menu-wrap .haru-main-menu > li > a {
    line-height: 68px;
}
.header-1 .haru-header-nav-wrap .header-logo img {
    max-height: 44px;
}

/* Header bar: bordeaux at rest, on every page */
.haru-main-header {
    background-color: #641317 !important;
}
.haru-main-header .haru-main-menu > li > a {
    color: #f4e9dc !important;
}
.haru-main-header .haru-main-menu > li.current-menu-item > a,
.haru-main-header .haru-main-menu > li > a:hover {
    color: #c9a862 !important;
}
.haru-main-header .header-elements-item a.header-icon,
.haru-main-header .header-elements-item i.header-icon {
    color: #f4e9dc !important;
}

/* Sticky header turns dark grey (theme default) on scroll */
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky {
    background-color: #333333 !important;
}
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .haru-main-menu > li > a {
    color: #ffffff !important;
}
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .haru-main-menu > li.current-menu-item > a,
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .haru-main-menu > li > a:hover {
    color: #c9a862 !important;
}
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .header-elements-item a.header-icon,
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .header-elements-item i.header-icon {
    color: #ffffff !important;
}

/* Footer */
footer.ltp-footer {
    background-color: #16181c;
    border-top: 4px solid #c9a862;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    line-height: 1.7;
}
.ltp-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 84px 24px 0 24px;
}
.ltp-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 56px;
    padding-bottom: 64px;
}
.ltp-footer-brand img {
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 0 22px -14px;
}
.ltp-footer-brand p,
.ltp-footer-col p {
    margin: 0 0 18px 0;
    color: rgba(255, 255, 255, 0.65);
}
.ltp-footer-col h4 {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-weight: 600;
    color: #c9a862;
    margin: 6px 0 22px 0;
    letter-spacing: 0.2px;
}
.ltp-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ltp-footer-links li { margin: 0 0 12px 0; }
.ltp-footer-links a {
    color: rgba(255, 255, 255, 0.72);
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}
.ltp-footer-links a:hover {
    color: #c9a862;
    transform: translateX(4px);
}
.ltp-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ltp-footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ltp-footer-contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #c9a862;
}
.ltp-footer-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid #c9a862;
    border-radius: 30px;
    color: #c9a862;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease;
}
.ltp-footer-btn:hover {
    background: #c9a862;
    color: #16181c;
}
.ltp-footer-bottom {
    border-top: 1px solid rgba(201, 168, 98, 0.25);
    padding: 26px 0 30px 0;
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) {
    .ltp-footer-inner { padding-top: 60px; }
    .ltp-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
}
@media (max-width: 560px) {
    .ltp-footer-grid { grid-template-columns: 1fr; }
}
/* Mobile header: bordeaux bar under the logo, no account/search icons in the side menu */
.haru-mobile-header-wrap { background-color: #641317 !important; }
.mobile-header-elements { display: none !important; }
.haru-mobile-header .toggle-mobile-menu .toggle-icon span { background-color: #c9a862 !important; }
.haru-mobile-header .toggle-mobile-menu .toggle-icon::before,
.haru-mobile-header .toggle-mobile-menu .toggle-icon::after,
.haru-mobile-header .toggle-mobile-menu .toggle-icon span::before,
.haru-mobile-header .toggle-mobile-menu .toggle-icon span::after { background-color: #c9a862 !important; }
.haru-mobile-header .haru-mobile-header-container { background-color: #641317 !important; }
.haru-mobile-header .haru-mobile-header-wrap { border-bottom: 0 !important; }

/* Hero: phrase d'accroche puis titre, en boucle sur 28 s (duree de la video) */
.ltp-hero .ltp-hero-inner {
    position: static;
    display: grid;
    justify-items: center;
    align-items: start;
}
.ltp-hero .ltp-hero-inner > * {
    grid-area: 1 / 1;
}
.ltp-hero-phrase {
    position: relative;
    z-index: 3;
    top: 9vh;
    max-width: 900px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: none;
    opacity: 0;
    animation: ltp-phrase-cycle 28s linear 0.8s infinite;
}
.ltp-hero-phrase .ltp-brand {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.15em;
    letter-spacing: 0;
    color: #fff;
}
.ltp-hero-main {
    position: relative;
    z-index: 3;
    top: 9vh;
    opacity: 0;
    animation: ltp-main-cycle 28s linear 0.8s infinite;
}
.ltp-hero .ltp-hero-main h1 {
    font-size: 36px;
    margin-bottom: 14px;
}
.ltp-hero .ltp-hero-main h1 .ltp-lead,
.ltp-hero .ltp-hero-main h1 .ltp-serif.ltp-gold {
    font-size: 1.15em;
}
.ltp-hero .ltp-hero-main p {
    font-size: 15px;
    max-width: 520px;
}
@keyframes ltp-phrase-cycle {
    0%   { opacity: 0; transform: translateY(14px); }
    4%   { opacity: 1; transform: translateY(0); }
    30%  { opacity: 1; transform: translateY(0); }
    35%  { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes ltp-main-cycle {
    0%, 36% { opacity: 0; }
    41%     { opacity: 1; }
    94%     { opacity: 1; }
    99%, 100% { opacity: 0; }
}
@media (max-width: 768px) {
    .ltp-hero-phrase { font-size: 26px; top: 6vh; }
    .ltp-hero-main { top: 6vh; }
    .ltp-hero .ltp-hero-main h1 { font-size: 26px; }
    .ltp-hero .ltp-hero-main p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .ltp-hero-phrase { display: none; animation: none; }
    .ltp-hero-main { opacity: 1; animation: none; }
}
/* Language switcher FR | EN in the menus */
.haru-main-menu > li.lang-item > a,
.haru-nav-mobile-menu li.lang-item > a {
    letter-spacing: 1px;
}
.header-nav-above {
    position: relative;
}
.header-nav-above .header-center,
.header-nav-above .header-navigation {
    position: static;
}
.haru-main-menu > li.lang-item {
    position: absolute;
    top: 0;
    margin: 0;
}
.haru-main-menu > li.lang-item + li.lang-item {
    position: absolute;
    right: -20px;
}
.haru-main-menu > li.lang-item-first {
    right: 41px;
}
.haru-main-menu > li.lang-item + li.lang-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 14px;
    margin-top: -7px;
    background: rgba(244, 233, 220, 0.4);
}
.haru-main-header .haru-main-menu > li.lang-item.current-lang > a,
.haru-nav-mobile-menu li.lang-item.current-lang > a {
    color: #c9a862 !important;
}
.header-sticky.sticky .haru-header-nav-wrap.nav-sticky .haru-main-menu > li.lang-item.current-lang > a {
    color: #c9a862 !important;
}

/* Hero: la video (slider SR7) suit la hauteur du bandeau au lieu d'etre figee a 900 px */
.ltp-hero-slider sr7-module,
.ltp-hero-slider sr7-content,
.ltp-hero-slider sr7-slide,
.ltp-hero-slider sr7-mask,
.ltp-hero-slider sr7-bg,
.ltp-hero-slider sr7-media {
    height: 100% !important;
}
.ltp-hero .ltp-hero-overlay {
    background: linear-gradient(180deg, rgba(16, 18, 20, 0.5) 0%, rgba(16, 18, 20, 0.3) 45%, rgba(16, 18, 20, 0.5) 100%);
}
/* Test: marque en Poppins gras blanc */
.ltp-hero-phrase .ltp-brand { font-family: 'Poppins', sans-serif; font-style: normal; font-weight: 700; font-size: 1em; letter-spacing: -0.5px; color: #fff; }
/* Test: marque en majuscules */
.ltp-hero-phrase .ltp-brand { text-transform: uppercase; }
/* Test: ligne votre portail plus grande */
.ltp-hero-phrase { font-size: 46px; }
.ltp-hero-phrase .ltp-brand { font-size: 36px; }
@media (max-width: 768px) { .ltp-hero-phrase { font-size: 34px; } .ltp-hero-phrase .ltp-brand { font-size: 26px; } }
/* Test: ligne votre portail en Playfair italique */
.ltp-hero-phrase { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; letter-spacing: 0; }
/* Maroc: gras et un peu plus grand */
.ltp-hero .ltp-hero-main h1 .ltp-serif.ltp-gold { font-weight: 700; font-size: 1.3em; }
/* Durees: phrase et titre ~11 s chacun sur 28 s */
@keyframes ltp-phrase-cycle { 0% { opacity: 0; transform: translateY(14px); } 4% { opacity: 1; transform: translateY(0); } 44% { opacity: 1; transform: translateY(0); } 49% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes ltp-main-cycle { 0%, 49% { opacity: 0; } 54% { opacity: 1; } 94% { opacity: 1; } 99%, 100% { opacity: 0; } }
/* Voile uniforme sur la video du bandeau */
.ltp-hero .ltp-hero-overlay { background: rgba(16, 18, 20, 0.45); }
/* Reflet sur LA TERRE PROMISE MAROC (reste blanc) */
.ltp-hero-phrase .ltp-brand { color: #fff; background-color: #fff; background-image: linear-gradient(105deg, #fff 0%, #fff 38%, #e3c98d 50%, #fff 62%, #fff 100%); background-size: 200% 100%; background-position: -35% 0; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ltp-hero-phrase .ltp-brand.ltp-shine { animation: ltp-shine 1.6s cubic-bezier(0.4, 0, 0.3, 1) 0.35s 1 both; }
/* Reflet de la marque plus lent */ .ltp-hero-phrase .ltp-brand.ltp-shine { animation-duration: 3.2s; }
/* Marque en dore comme Maroc, reflet identique mais lent */ .ltp-hero-phrase .ltp-brand { color: #c9a862; background-color: #c9a862; background-image: linear-gradient(105deg, #c9a862 0%, #c9a862 38%, #fff4d6 50%, #c9a862 62%, #c9a862 100%); }
/* Fondu discret au bouclage de la video */ .ltp-hero-veil { position: absolute; inset: 0; z-index: 2; background: #101214; opacity: 0; pointer-events: none; transition: opacity 0.6s ease; }
/* Textes cales sur la video (JS) */ .ltp-hero.ltp-synced .ltp-hero-phrase, .ltp-hero.ltp-synced .ltp-hero-main { animation: none; transition: opacity 0.8s ease, transform 0.8s ease; } .ltp-hero.ltp-synced .ltp-hero-phrase { opacity: 0; transform: translateY(14px); } .ltp-hero.ltp-synced .ltp-hero-main { opacity: 0; } .ltp-hero.ltp-synced[data-phase="phrase"] .ltp-hero-phrase { opacity: 1; transform: translateY(0); } .ltp-hero.ltp-synced[data-phase="title"] .ltp-hero-main { opacity: 1; }
/* Fluidite: textes lents, voile progressif */ .ltp-hero-veil { transition-timing-function: cubic-bezier(0.45, 0, 0.25, 1); } .ltp-hero.ltp-synced .ltp-hero-phrase { transition: opacity 1.2s ease, transform 1.2s ease; } .ltp-hero.ltp-synced[data-phase="phrase"] .ltp-hero-phrase { transition: opacity 2.4s ease, transform 2.4s ease; } .ltp-hero.ltp-synced .ltp-hero-main { transition: opacity 1.2s ease; } .ltp-hero.ltp-synced[data-phase="title"] .ltp-hero-main { transition: opacity 1.6s ease; }