/* Malo Événements : reconstitution du thème Odoo (réglages faits dans l'éditeur du site),
   sur Bootstrap 5. Chargé entre bootstrap.min.css et malo.css (la surcouche d'origine, inchangée).

   Réglages Odoo repris (notes du 14/11/2026) :
   - palette : o-color-1 orange #FB5822, o-color-2 rose #FFC2C2, o-color-3 crème #FBEEE3,
     o-color-4 blanc #FFFFFF, o-color-5 marine #050A30 ; olive #5C700C pour les sur-titres ;
   - polices : Playfair Display pour les titres (graisse 400), Montserrat pour le texte ;
   - o-cc1, o-cc2 : bouton primaire et liens en marine ; o-cc5 : fond marine, bouton primaire crème ;
   - boutons secondaires en contour, coins de 2 px ; en-tête « logo à gauche, menu à droite » ;
     pied de page sur fond marine. */

:root {
  --o-color-1: #FB5822;
  --o-color-2: #FFC2C2;
  --o-color-3: #FBEEE3;
  --o-color-4: #FFFFFF;
  --o-color-5: #050A30;
  --malo-olive: #5C700C;
  --malo-fond: #FFFCF8;
  --body-font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --headings-font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --bs-body-font-family: var(--body-font-family);
  --bs-body-color: #050A30;
  --bs-body-color-rgb: 5, 10, 48;
  --bs-body-bg: #FFFCF8;
  --bs-emphasis-color: #050A30;
  --bs-secondary-color: rgba(5, 10, 48, .66);
  --bs-heading-color: inherit;
  --bs-link-color: #050A30;
  --bs-link-color-rgb: 5, 10, 48;
  --bs-link-hover-color: #FB5822;
  --bs-link-hover-color-rgb: 251, 88, 34;
  --bs-border-color: rgba(5, 10, 48, .16);
  --bs-focus-ring-color: rgba(251, 88, 34, .25);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body-font-family);
  color: #050A30;
  background-color: #FFFCF8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

#wrapwrap { min-height: 100vh; display: flex; flex-direction: column; }
#wrapwrap > main { flex: 1 0 auto; }

/* --- Titres --------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--headings-font-family);
  font-weight: 400;
  line-height: 1.2;
}

/* Tailles Odoo (*-fs) : même échelle que Bootstrap, réduite sous 1200 px */
.display-1-fs { font-size: calc(1.625rem + 4.5vw); }
.display-2-fs { font-size: calc(1.575rem + 3.9vw); }
.display-3-fs { font-size: calc(1.525rem + 3.3vw); }
.display-4-fs { font-size: calc(1.475rem + 2.7vw); }
.display-5-fs { font-size: calc(1.425rem + 2.1vw); }
.display-6-fs { font-size: calc(1.375rem + 1.5vw); }
.h1-fs { font-size: calc(1.375rem + 1.5vw); }
.h2-fs { font-size: calc(1.325rem + .9vw); }
.h3-fs { font-size: calc(1.3rem + .6vw); }
.h4-fs { font-size: calc(1.275rem + .3vw); }
.h5-fs { font-size: 1.25rem; }
.h6-fs { font-size: 1rem; }
.base-fs { font-size: 1rem; }
@media (min-width: 1200px) {
  .display-1-fs { font-size: 5rem; }
  .display-2-fs { font-size: 4.5rem; }
  .display-3-fs { font-size: 4rem; }
  .display-4-fs { font-size: 3.5rem; }
  .display-5-fs { font-size: 3rem; }
  .display-6-fs { font-size: 2.5rem; }
  .h1-fs { font-size: 2.5rem; }
  .h2-fs { font-size: 2rem; }
  .h3-fs { font-size: 1.75rem; }
  .h4-fs { font-size: 1.5rem; }
}

/* --- Combinaisons de couleurs Odoo (o_cc) ---------------------------------- */
.o_cc1 { background-color: var(--o-color-4); color: var(--o-color-5); }
.o_cc2 { background-color: var(--o-color-3); color: var(--o-color-5); }
.o_cc5 { background-color: var(--o-color-5); color: var(--o-color-3); --bs-secondary-color: rgba(251, 238, 227, .72); }
.o_cc5 a:not(.btn) { color: var(--o-color-3); }
.o_cc5 a:not(.btn):hover { color: var(--o-color-1); }

/* --- Boutons ---------------------------------------------------------------- */
.btn {
  --bs-btn-font-family: var(--body-font-family);
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: .8125rem;
  --bs-btn-line-height: 1.5;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .75rem;
  --bs-btn-border-radius: 2px;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(251, 88, 34, .25);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-lg { --bs-btn-font-size: .875rem; --bs-btn-padding-x: 2rem; --bs-btn-padding-y: 1rem; --bs-btn-border-radius: 2px; }
.btn-sm { --bs-btn-font-size: .75rem; --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .5rem; --bs-btn-border-radius: 2px; }

.btn-primary {
  --bs-btn-color: #FBEEE3; --bs-btn-bg: #050A30; --bs-btn-border-color: #050A30;
  --bs-btn-hover-color: #050A30; --bs-btn-hover-bg: #FB5822; --bs-btn-hover-border-color: #FB5822;
  --bs-btn-active-color: #050A30; --bs-btn-active-bg: #FB5822; --bs-btn-active-border-color: #FB5822;
  --bs-btn-disabled-color: #FBEEE3; --bs-btn-disabled-bg: #050A30; --bs-btn-disabled-border-color: #050A30;
}
.btn-secondary {
  --bs-btn-color: #050A30; --bs-btn-bg: transparent; --bs-btn-border-color: #050A30;
  --bs-btn-hover-color: #FBEEE3; --bs-btn-hover-bg: #050A30; --bs-btn-hover-border-color: #FB5822;
  --bs-btn-active-color: #FBEEE3; --bs-btn-active-bg: #050A30; --bs-btn-active-border-color: #050A30;
}
.o_cc5 .btn-primary {
  --bs-btn-color: #050A30; --bs-btn-bg: #FBEEE3; --bs-btn-border-color: #FBEEE3;
}
.o_cc5 .btn-secondary {
  --bs-btn-color: #FBEEE3; --bs-btn-border-color: #FBEEE3;
  --bs-btn-hover-color: #050A30; --bs-btn-hover-bg: #FBEEE3;
}

/* --- Divers Odoo -------------------------------------------------------------- */
section { position: relative; }
.o_force_ltr { unicode-bidi: isolate; direction: ltr; }
.transition-none { transition: none !important; }
.o_skip_to_content { z-index: 1100; }
.o_container_small {
  width: 100%;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .o_container_small { max-width: 540px; } }
@media (min-width: 768px) { .o_container_small { max-width: 720px; } }
.s_instagram_page iframe { display: block; min-height: 300px; }

/* --- En-tête -------------------------------------------------------------------- */
header#top { position: sticky; top: 0; z-index: 1030; transition: box-shadow .3s ease; }
header#top.is-scrolled { box-shadow: 0 1px 0 rgba(5, 10, 48, .06), 0 10px 30px rgba(5, 10, 48, .06); }
header#top .navbar {
  --bs-navbar-padding-y: .875rem;
  --bs-navbar-toggler-border-color: transparent;
  --bs-navbar-toggler-focus-width: 2px;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23050A30' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.6' d='M5 9h20M5 15h20M5 21h20'/%3e%3c/svg%3e");
}
header#top .navbar-toggler:focus { box-shadow: none; }
header#top .navbar-toggler:focus-visible { box-shadow: 0 0 0 2px rgba(251, 88, 34, .45); }
header#top .navbar-brand { padding: 0; }
header#top .navbar-brand img { height: 52px; width: auto; display: block; }
header#top .navbar-nav .nav-link {
  font-weight: 500;
  font-size: .9375rem;
  padding: .375rem 0;
  margin: 0 .875rem;
  transition: color .2s ease, border-color .2s ease;
}
header#top .btn_cta { margin-left: 1.25rem; white-space: nowrap; }
@media (max-width: 991.98px) {
  header#top .navbar-brand img { height: 42px; }
  header#top .offcanvas { --bs-offcanvas-width: 320px; }
  header#top .offcanvas-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(5, 10, 48, .08); }
  header#top .offcanvas-body { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  header#top .navbar-nav .nav-link { font-size: 1.0625rem; margin: 0; padding: .75rem 0; display: inline-block; }
  header#top .btn_cta { margin-left: 0; align-self: flex-start; }
}

/* --- FAQ (accordéon) ------------------------------------------------------------ */
.accordion {
  --bs-accordion-color: #050A30;
  --bs-accordion-active-color: #050A30;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23050A30' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}
.accordion-button:focus-visible { outline: 2px solid rgba(251, 88, 34, .5); outline-offset: 4px; }

/* --- Formulaire ------------------------------------------------------------------ */
.s_website_form_label { display: inline-block; }
.s_website_form_dnone { display: none !important; }
.form-control::placeholder { color: rgba(5, 10, 48, .38); }
.malo-form-erreur {
  display: block;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-left: 3px solid #B3261E;
  background-color: rgba(179, 38, 30, .06);
  color: #B3261E;
  font-size: .9375rem;
  text-align: left;
}
.s_website_form_send:disabled { opacity: .7; cursor: progress; }

/* --- Pied de page ----------------------------------------------------------------- */
footer#bottom { font-size: .9375rem; border-top: 1px solid rgba(251, 238, 227, .14); }
footer#bottom p { max-width: none; }
footer#bottom ul li { margin-bottom: .5rem; }
footer#bottom .o_footer_copyright {
  border-top: 1px solid rgba(251, 238, 227, .14);
  padding: 1.25rem 0;
  color: rgba(251, 238, 227, .72);
}

/* --- Espacements Odoo : ptN / pbN = padding-top / padding-bottom de N px --------------- */
.pt0{padding-top:0px!important}.pt4{padding-top:4px!important}.pt8{padding-top:8px!important}.pt16{padding-top:16px!important}.pt24{padding-top:24px!important}.pt32{padding-top:32px!important}.pt40{padding-top:40px!important}.pt48{padding-top:48px!important}.pt56{padding-top:56px!important}.pt64{padding-top:64px!important}.pt72{padding-top:72px!important}.pt80{padding-top:80px!important}.pt88{padding-top:88px!important}.pt96{padding-top:96px!important}.pt104{padding-top:104px!important}.pt112{padding-top:112px!important}.pt120{padding-top:120px!important}.pt128{padding-top:128px!important}.pt136{padding-top:136px!important}.pt144{padding-top:144px!important}.pt152{padding-top:152px!important}.pt160{padding-top:160px!important}.pt168{padding-top:168px!important}.pt176{padding-top:176px!important}.pt184{padding-top:184px!important}.pt192{padding-top:192px!important}.pt200{padding-top:200px!important}.pt208{padding-top:208px!important}.pt216{padding-top:216px!important}.pt224{padding-top:224px!important}.pt232{padding-top:232px!important}.pt240{padding-top:240px!important}.pt248{padding-top:248px!important}.pt256{padding-top:256px!important}
.pb0{padding-bottom:0px!important}.pb4{padding-bottom:4px!important}.pb8{padding-bottom:8px!important}.pb16{padding-bottom:16px!important}.pb24{padding-bottom:24px!important}.pb32{padding-bottom:32px!important}.pb40{padding-bottom:40px!important}.pb48{padding-bottom:48px!important}.pb56{padding-bottom:56px!important}.pb64{padding-bottom:64px!important}.pb72{padding-bottom:72px!important}.pb80{padding-bottom:80px!important}.pb88{padding-bottom:88px!important}.pb96{padding-bottom:96px!important}.pb104{padding-bottom:104px!important}.pb112{padding-bottom:112px!important}.pb120{padding-bottom:120px!important}.pb128{padding-bottom:128px!important}.pb136{padding-bottom:136px!important}.pb144{padding-bottom:144px!important}.pb152{padding-bottom:152px!important}.pb160{padding-bottom:160px!important}.pb168{padding-bottom:168px!important}.pb176{padding-bottom:176px!important}.pb184{padding-bottom:184px!important}.pb192{padding-bottom:192px!important}.pb200{padding-bottom:200px!important}.pb208{padding-bottom:208px!important}.pb216{padding-bottom:216px!important}.pb224{padding-bottom:224px!important}.pb232{padding-bottom:232px!important}.pb240{padding-bottom:240px!important}.pb248{padding-bottom:248px!important}.pb256{padding-bottom:256px!important}
