/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** COULEURS   ***************/
.nav-dark .nav>li>a { color: hsla(0, 0%, 100%, 1); }
.dark .widget a, .dark a { color: #fff; }

/*************** FONTS   ***************/
@media screen and (min-width: 48em) {
h1, .h1 { font-size: 50px; line-height: 1; font-family: Montserrat; font-weight: 800; }
h2, .h2 { font-size: 40px; line-height: 1; font-family: Montserrat; font-weight: 800; }
h3, .h3 { font-size: 25px; line-height: 1; font-family: Montserrat; font-weight: 800; }
p.sub-title { font-family: Montserrat; font-size: 25px; line-height: 1; }
}
@media screen and (max-width: 48em) {
h1, .h1 { font-size: 35px; line-height: 1; font-family: Montserrat; font-weight: 800; }
h2, .h2 { font-size: 30px; line-height: 1; font-family: Montserrat; font-weight: 800; }
h3, .h3 { font-size: 22px; line-height: 1; font-family: Montserrat; font-weight: 800; }
p.sub-title { font-family: Montserrat; font-size: 22px; line-height: 1; }
}


/**** SLIDER ****/
.slider-nav-dots-dashes-spaced .flickity-page-dots .dot {
    border-radius: 0;
    height: 2px;
    width: 20px;
}
.flickity-page-dots .dot {
    border: 1px solid #111;
}

/****** BUTTONS ******/
.button { font-family: Montserrat; }

.button.primary.is-link, a.button.white.is-link { display: inline-flex; align-items: center; gap: 8px; }

.button.primary.is-link::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("https://notaire-nouvelle-vague.notaires.fr/wp-content/uploads/2026/10/Arrow-button-purple.svg") no-repeat center / contain;
}
a.button.white.is-link::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("https://notaire-nouvelle-vague.notaires.fr/wp-content/uploads/2026/10/Arrow-button-white.svg") no-repeat center / contain;
}

/* Mobile : texte aligné à gauche, flèche à la suite du dernier mot */
@media screen and (max-width: 48em) {
  .button.primary.is-link, a.button.white.is-link {
    display: inline-block;
    text-align: left;
    line-height: 1.3;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .button.primary.is-link span, a.button.white.is-link span {
    display: inline;
    line-height: inherit;
  }
  .button.primary.is-link::after, a.button.white.is-link::after {
    vertical-align: -5px;
    margin-left: 8px;
  }
}

/**** STICKY HEADER ****/
.stuck .header-main { background: #f3eee7; }
.stuck ul.mobile-nav.nav.nav-right { top: -10px; }

/* Align sticky header menu items to the bottom */
.stuck .header-inner > .flex-col:not(#logo) { align-self: flex-end; }

.stuck .header-inner .header-nav-main { align-items: flex-end; }

.nav-column li.active>a, .nav-column li>a:hover, .nav-dropdown li.active>a, .nav-dropdown>li>a:hover, .nav-vertical-fly-out>li.active>a, .nav-vertical-fly-out>li>a:hover, .nav>li.active>a, .nav>li.current>a, .nav>li>a.active, .nav>li>a.current, .nav>li>a:hover {
    color: hsl(289.66deg 50.88% 22.35%);
}

/**** BG TEXTURES ****/
.bg-texture-aubergine .fill {
    background: url(https://notaire-nouvelle-vague.notaires.fr/wp-content/uploads/2026/11/bg-texture-aubergine-tile.jpg);
}

/**** MOBILE MENU ****/
.sidebar-menu { background: #f3eee7; }
.nav-vertical li li.menu-item-has-children>a, .nav-vertical>li>a, .nav-vertical>li>ul>li a {font-family: Montserrat;}

@media screen and (max-width: 48em) { .transparent #logo img { max-height: 70px!important; } }

/**** MEGA MENU ****/
.nav-dropdown .menu-item-has-children>a, .nav-dropdown .nav-dropdown-col>a  {
    color: #998741;
    font-size: 0.9em;
    font-weight: bolder;
    text-transform: uppercase;
	font-family:Montserrat;
}
.nav-column>li>a { color: #4d1d50; font-family:Montserrat; }

.nav-dropdown>li.image-column, .nav-dropdown>li.nav-dropdown-col {
    min-width: max-content;
    width: auto;
}
li.current-dropdown>.nav-dropdown-full, li.has-dropdown:hover>.nav-dropdown-full {
    justify-content: space-between;
    padding: 40px;
	gap: 40px;
}
/* Méga-menu « Vos projets » : grille de 3 colonnes égales pour aligner les titres d'une ligne à l'autre */
.nnv-mega-projets.current-dropdown > .nav-dropdown,
.nnv-mega-projets.has-dropdown:hover > .nav-dropdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    bottom: auto !important; /* Flatsome fixe top+bottom en ligne : sans ça le fond ne fait que 40 px */
    padding: 40px;
    gap: 40px; /* 40 px entre colonnes et entre les deux lignes de rubriques */
    max-width: 1200px;
}
.nnv-mega-projets .nav-dropdown > li.nav-dropdown-col { min-width: 0; width: auto; }
.nav-dropdown li a {
    font-family: Montserrat;
	color:#4d1d50;
}
.nav-slide-header .toggle {
    font-family: 'Montserrat';
}
.nav-vertical li li.menu-item-has-children>a {
    color: #998741;
}



/**** ACCORDION ****/
/* Title: flex row, no side padding, white bottom border */
.eneko-accordion .accordion-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-left: 0;
	padding-right: 0;
	border-bottom: 2px solid #fff;
}

/* Text on the left, flush with the left border */
.eneko-accordion .accordion-title span {
	order: 1;
	margin: 0;
	padding: 0;
}
.eneko-accordion .accordion-title {
    border-top: inherit;
    font-size: 20px;
    padding: 5px 0 5px 0;
    font-family: Montserrat;
    font-weight: bold;
}
.eneko-accordion .accordion-inner { padding: 20px 0 0 0; }

/* Toggle on the right, flush with the right border */
.eneko-accordion .accordion-title .toggle {
	order: 2;
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	margin: 0;
	padding: 0;
	width: 1em;
	height: 1em;
	flex: 0 0 1em;
}

/* Hide the original angle-down icon */
.eneko-accordion .accordion-title .toggle i {
	display: none;
}

.eneko-accordion {
	--eneko-toggle-thickness: 3px; /* try 3px, 4px, 5px... */
}
.eneko-accordion .toggle {opacity:1;}

/* "+" and "-" drawn with two bars, spanning the full toggle width */
.eneko-accordion .accordion-title .toggle::before,
.eneko-accordion .accordion-title .toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: var(--eneko-toggle-thickness);
	background: currentColor;
	transform: translateY(-50%);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Vertical bar: turns the "-" into a "+" when closed */
.eneko-accordion .accordion-title .toggle::after {
	transform: translateY(-50%) rotate(90deg);
}

/* Open state: the vertical bar disappears, leaving "-" */
.eneko-accordion .accordion-title.active .toggle::after,
.eneko-accordion .accordion-title[aria-expanded="true"] .toggle::after {
	transform: translateY(-50%) rotate(0deg);
	opacity: 0;
}
.accordion a {
    text-decoration: none!important;
}

/*** ENEKO MENU ****/
.eneko-menu .ux-menu-link { font-family: Montserrat; }
.eneko-menu .ux-menu-link__link {
	min-height: 1.7em;
    padding-bottom: 0;
    padding-top: 0;
}
.eneko-menu .ux-menu-link__link:hover {
    text-decoration: underline;
}

/**** MARQUEE ****/
.marquee-etudes {
  width: 100%;
  overflow: hidden;
  background: #4c1c56; /* violet du bandeau : filet de sécurité si un blanc apparaît */
}

.marquee-etudes-track {
  display: flex;
  width: max-content;
  animation: marquee-etudes-scroll 50s linear infinite;
  will-change: transform;
}

.marquee-etudes-group {
  display: flex;
  flex: 0 0 auto;
}

.marquee-etudes-item {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.marquee-etudes-item img {
  display: block;
  width: auto;
  height: 50px;
  max-width: none;
}

/* Marquees fond violet : texture tissu en fond (les SVG violets sont transparents) */
/*.marquee-etudes:has(img[src*="fond-violet"]) {
  background: #4d1e51 url("/wp-content/uploads/2026/11/bg-texture-aubergine-tile-2.jpg") repeat;
} */

@keyframes marquee-etudes-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}



/**** FOOTER ****/
.absolute-footer { display:none; }
	
/*** BLOG ***/
span.post_comments.op-8.block.is-xsmall { display: none; }
.social-icons { color: #978440;font-size: 20px; }

/*** POST CATEGORIES ***/
.post-categories-nav { margin-top: 20px; }
.post-categories-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.post-categories-nav__item { margin: 0; }
.post-categories-nav__item a {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: .9em;
	text-decoration: none;
	transition: background .2s, color .2s;
}
.post-categories-nav__item a:hover,
.post-categories-nav__item.is-active a {
	background: #111;   /* adjust to the site's brand color */
	border-color: #111;
	color: #fff;
}

/**** STYLE GENERAL ****/

/**** GRAVITY FORM ****/
.gform_wrapper .select-resize-ghost, .gform_wrapper .select2-container .select2-choice, .gform_wrapper .select2-container .select2-selection, .gform_wrapper input[type=date], .gform_wrapper input[type=email], .gform_wrapper input[type=number], .gform_wrapper input[type=password], .gform_wrapper input[type=search], .gform_wrapper input[type=tel], .gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper select, .gform_wrapper textarea {
    background-color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: inherit;
    color: #4c1c56;
    font-size: 1em!important;
    height: 50px;
    padding: 13px 20px !important;
    transition: color .3s, border .3s, background .3s, opacity .3s;
}
.gform_wrapper ::placeholder {
    color: #4c1c56;
    opacity: 0.6;
}
.gform_wrapper.gravity-theme .gfield--type-phone .gform-phone__country-selector {
    align-items: center;
    background-color: #fff;
    border: none;
    border-end-end-radius: 0;
    border-start-end-radius: 0;
    cursor: pointer;
    display: flex;
    gap: 8px;
    margin-inline-end: -1px;
    padding-block: 15px;
    padding-inline: 12px;
    position: relative;
    z-index: 1;
    border-end-start-radius: 10px;
    border-start-start-radius: 10px;
}
.gform_wrapper label, .gform_wrapper legend {
    font-size: 16px;
}
.gform_wrapper.gravity-theme .ginput_container_consent {
    line-height: 1.2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.ginput_container_consent input {
    min-width: 30px;
    min-height: 30px;
}
.gform_wrapper .button, .gform_wrapper input[type=button].button, .gform_wrapper input[type=reset].button, .gform_wrapper input[type=submit], .gform_wrapper input[type=submit].button {
    background-color: #e29ec6;
    border-color: rgba(0, 0, 0, .05);
    color: #4c1c56 !important;
    border-radius: 10px;
    min-height: 50px;
}
.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    border-radius: 10px;
}

label, legend { font-weight: inherit; }

/*************** TABLEAU RESPONSIVE (régimes matrimoniaux) ***************/
.nnv-table-wrap { width: 100%; margin: 10px 0 30px; }
.nnv-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.nnv-table th, .nnv-table td { padding: 18px 20px; vertical-align: top; text-align: left; border: 0; border-bottom: 1px solid rgba(255,255,255,.25); color: inherit; }
.nnv-table thead th { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: #e29ec6; border-bottom: 2px solid #e29ec6; padding-top: 0; }
.nnv-table tbody th { font-family: Montserrat, sans-serif; font-weight: 800; width: 24%; }
.nnv-table tbody td:nth-child(2) { width: 42%; }
.nnv-table tbody tr:last-child th, .nnv-table tbody tr:last-child td { border-bottom: 0; }
.nnv-table thead th:first-child, .nnv-table tbody th { padding-left: 0; }
.nnv-table a { color: #e29ec6; text-decoration: underline; text-underline-offset: 3px; }
.nnv-table a:hover { color: #fff; }
/* Version claire si le tableau est placé hors d'une section sombre */
:not(.dark) .nnv-table th, :not(.dark) .nnv-table td { border-bottom-color: rgba(76,28,86,.2); }
.dark .nnv-table th, .dark .nnv-table td { border-bottom-color: #fff; }
.dark .nnv-table thead th { border-bottom-color: #e29ec6; }

/* Mobile / tablette portrait : une carte par régime */
@media screen and (max-width: 849px) {
  .nnv-table, .nnv-table thead, .nnv-table tbody, .nnv-table tr, .nnv-table th, .nnv-table td { display: block; width: 100% !important; }
  .nnv-table thead { position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nnv-table tbody tr { margin-bottom: 20px; padding: 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.06); }
  .nnv-table tbody tr:last-child { margin-bottom: 0; }
  .nnv-table tbody th, .nnv-table tbody td { padding: 0; border: 0 !important; }
  .nnv-table tbody th { font-size: 20px; line-height: 1.2; color: #e29ec6; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25) !important; }
  .nnv-table tbody td + td { margin-top: 14px; }
  .nnv-table tbody td::before { content: attr(data-label); display: block; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 4px; color: #fff; }
}
/*************** PHOTOS ÉQUIPE LIÉES À L'ACCORDÉON ***************/
.nnv-team-photos .img { display: none; }
.nnv-team-photos .img.is-visible { display: block; animation: nnvTeamFade .35s ease; }
.nnv-team-photo-inline { display: none; }
@keyframes nnvTeamFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* Desktop / tablette : la photo reste visible pendant la lecture */
@media screen and (min-width: 550px) {
  .nnv-team-photos > .col-inner { position: sticky; top: 120px; }
}
/* Mobile : colonne masquée, photo affichée dans l'item ouvert */
@media screen and (max-width: 549px) {
  .nnv-team-photos { display: none !important; }
  .nnv-team-photo-inline { display: block; max-width: 260px; margin: 0 0 20px; animation: nnvTeamFade .35s ease; }
  .nnv-team-photo-inline img { display: block; width: 100%; height: auto; }
}
/*************** HORAIRES D'OUVERTURE (bureaux) ***************/
.nnv-hours { background: #f7f0e8; color: #4c1c56; border-radius: 18px; padding: 22px 24px; margin: 0px 0 30px; box-shadow: 6px 6px 0 #4c1c56; max-width: 460px; }
.nnv-hours__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.nnv-hours__title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.nnv-hours__status { display: inline-flex; align-items: center; gap: 8px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: #4c1c56; color: #fff; }
.nnv-hours__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e29ec6; }
.nnv-hours__status.is-open::before { background: #8fd18a; animation: nnvPulse 1.6s ease-out infinite; }
@keyframes nnvPulse { 0% { box-shadow: 0 0 0 0 rgba(143,209,138,.7); } 100% { box-shadow: 0 0 0 8px rgba(143,209,138,0); } }
.nnv-hours .nnv-hours__list { list-style: none; margin: 0; padding: 0; }
.nnv-hours .nnv-hours__list li { margin-left: 0; }
.nnv-hours__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 0; padding: 12px 0; border-top: 1px dashed rgba(76,28,86,.3); }
.nnv-hours__day { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 15px; }
.nnv-hours__slots { display: flex; flex-wrap: wrap; gap: 6px; }
.nnv-hours__slots span { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 1.5px solid #4c1c56; white-space: nowrap; }
.nnv-hours__list li.is-closed .nnv-hours__slots span { border-style: dashed; opacity: .6; }
.nnv-hours__list li.is-today .nnv-hours__day::after { content: "aujourd’hui"; margin-left: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #4c1c56; background: #e29ec6; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.nnv-hours__list li.is-today:not(.is-closed) .nnv-hours__slots span { background: #4c1c56; color: #fff; }
/*************** PAGE 404 ***************/
.nnv-404-stamp { width: min(300px, 70vw); height: auto; color: #e29ec6; fill: currentColor; font-family: Montserrat, sans-serif; transform: rotate(-12deg); transition: transform .6s ease; }
.nnv-404-stamp text { fill: currentColor; }
.nnv-404-stamp:hover { transform: rotate(-2deg) scale(1.03); }
@media (prefers-reduced-motion: no-preference) {
  .nnv-404-stamp { animation: nnvStampIn .7s cubic-bezier(.2, 1.5, .4, 1) .2s both; }
}
@keyframes nnvStampIn { from { opacity: 0; transform: rotate(-35deg) scale(1.7); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.nnv-404 .searchform-wrapper { max-width: 460px; margin: 25px 0 10px; }
.nnv-404-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.nnv-404-links a { font-family: Montserrat, sans-serif; font-weight: 600; font-size: 14px; padding: 6px 14px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.nnv-404-links a:hover, .nnv-404-links a:focus { background: #e29ec6; border-color: #e29ec6; color: #4c1c56; }

/* nnv-liens-texte : liens soulignés dans les paragraphes et listes (hors boutons, menus) */
div#content a {color:inherit;text-decoration:underline;}
a.button {text-decoration: none !important;}


/* nnv-tel : raccord sans encoche entre le sélecteur de pays et le champ téléphone */
.gform_wrapper.gravity-theme .gfield--type-phone .ginput_container_phone{display:flex;align-items:stretch;gap:0}
.gform_wrapper.gravity-theme .gfield--type-phone .gform-phone__country-selector{margin-inline-end:0;border-start-end-radius:0;border-end-end-radius:0;border-start-start-radius:10px;border-end-start-radius:10px}
.gform_wrapper.gravity-theme .gfield--type-phone input[type=tel]{border-start-start-radius:0!important;border-end-start-radius:0!important;border-start-end-radius:10px;border-end-end-radius:10px;margin-inline-start:0}


/* nnv-tel-largeur : le champ téléphone occupe toute la largeur de sa colonne */
.gform_wrapper .gfield--type-phone .ginput_container_phone > .gform-phone{flex:1 1 auto;width:100%;}

/* nnv-merci : page de remerciement après formulaire */
.nnv-merci-check{display:block;width:240px;max-width:70%;height:auto;margin:0 auto;overflow:visible}
.nnv-merci-check .nnv-c{stroke-dasharray:100;stroke-dashoffset:100;animation:nnvMerciDraw .7s .5s ease-out forwards}
.nnv-merci-check .nnv-w{animation:nnvMerciWave 3.5s ease-in-out infinite}
@keyframes nnvMerciDraw{to{stroke-dashoffset:0}}
@keyframes nnvMerciWave{50%{transform:translateX(-14px)}}
@media (prefers-reduced-motion:reduce){.nnv-merci-check .nnv-c{animation:none;stroke-dashoffset:0}.nnv-merci-check .nnv-w{animation:none}}
.nnv-merci-done{display:inline-block;vertical-align:middle;margin-left:6px;padding:2px 10px;border-radius:20px;background:#4c1c56;color:#fff;font-size:.65em;letter-spacing:.05em;text-transform:uppercase}
.nnv-merci-urgent{text-align:center;font-size:1.05em}
.nnv-merci-urgent a{white-space:nowrap}

/* nnv-consent-espace : espace entre la case RGPD et le bouton d’envoi (mobile compris) */
.gform_wrapper.gravity-theme .gfield--type-consent .ginput_container_consent{padding-bottom:4px}
.gform_wrapper.gravity-theme .gfield--type-consent .ginput_container_consent label{margin-bottom:0}
.gform_wrapper.gravity-theme .gform_footer{margin-top:28px !important;padding-top:0}
@media (max-width:549px){.gform_wrapper.gravity-theme .gform_footer{margin-top:45px !important}}

/* nnv-mega-centre : méga-menu « Vos projets » centré sur la page (positionné par rapport à .header-main et non plus à l’élément de menu) */
.header-nav-main:has(> .nnv-mega-projets),
.header-nav-main > .nnv-mega-projets { position: static !important; }
.nnv-mega-projets > a { position: relative; } /* garde le soulignement sous « Vos projets » */
.nnv-mega-projets.current-dropdown > .nav-dropdown,
.nnv-mega-projets.has-dropdown:hover > .nav-dropdown {
    left: 50% !important;
    right: auto !important;
    top: 100% !important;
    transform: translateX(-50%);
    width: calc(100% - 40px) !important;
}
/*** COOKIE YES ***/
button.cky-btn.cky-btn-reject, button.cky-btn.cky-btn-accept, button.cky-btn.cky-btn-preferences  {
    background-color: #4c1c56 !important;
    border-color: #4c1c56 !important;
}
button.cky-btn.cky-btn-customize {
    color: #4c1c56 !important;
    border-color: #4c1c56 !important;
}
.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
    background-color: #4c1c56 !important;
}