/*
Theme Name: Infinity Pro
Theme URI: http://my.studiopress.com/themes/infinity/
Description: This is the Infinity Pro theme created for the Genesis Framework.
Author: StudioPress
Author URI: http://www.studiopress.com/

Version: 1.3.3

Tags: one-column, two-columns, left-sidebar, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, e-commerce, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Template: genesis
Template Version: 2.4

License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: infinity-pro
Requires at least: 5.3
Requires PHP: 5.6
*/


/* Table of Contents
	- HTML5 Reset
		- Baseline Normalize
		- Box Sizing
		- Float Clearing
	- Defaults
		- Typographical Elements
		- Headings
		- Objects
		- Gallery
		- Forms
		- Tables
		- Screen Reader Text
	- Structure and Layout
		- Site Containers
		- Column Widths and Positions
		- Column Classes
	- Common Classes
		- Avatar
		- Genesis
		- Search Form
		- Titles
		- WordPress
	- Widgets
		- Featured Content
	- Plugins
		- Genesis eNews Extended
		- Jetpack
	- Skip Links
	- Site Header
		- Title Area
	- Site Navigation
		- Accessible Menu
		- Site Header Navigation
		- Primary Navigation
		- Footer Navigation
	- Content Area
		- Entries
		- Entry Meta
		- Pagination
		- Comments
	- Team Page
	- Sidebar
	- Offscreen Content
	- Footer Widgets
	- Site Footer
	- Fadein Effect
	- Media Queries
		- Max-width: 1340px
		- Max-width: 1200px
		- Max-width: 1023px
		- Max-width: 860px
	- Print Styles
*/


/* HTML5 Reset
---------------------------------------------------------------------------- */

/* Baseline Normalize
--------------------------------------------- */
/* normalize.css v4.1.1 | MIT License | http://necolas.github.io/normalize.css/ */

html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}template,[hidden]{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background-color:#ff0;color:#000}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}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:bold}button,input{overflow:visible}button,select{text-transform:none}button,html [type="button"],[type="reset"],[type="submit"]{-webkit-appearance:button}button::-moz-focus-inner,[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type="checkbox"],[type="radio"]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type="search"]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-cancel-button,[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:0.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}

/* Box Sizing
--------------------------------------------- */

html,
input[type="search"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}


/* Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.widget:before,
.wrap:before {
	content: " ";
	display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.widget:after,
.wrap:after {
	clear: both;
	content: " ";
	display: table;
}




@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&display=swap');



/* Defaults
---------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */

html {
	font-size: 62.5%; /* 10px browser default */
}

/* Chrome fix */
body > div {
	font-size: 2.2rem;
}

body {
	background-color: #fff;
	color: #000;
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	font-size: 2.2rem;
	font-weight: 400;
	line-height: 1.75;
	margin: 0;
	overflow-x: hidden;
}


html {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.front-page .overlay,
.gallery img,
.site-header {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition:    all 0.2s ease-in-out;
	-ms-transition:     all 0.2s ease-in-out;
	-o-transition:      all 0.2s ease-in-out;
	transition:         all 0.2s ease-in-out;
}

a {
	color: #d43c67;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #000;
	text-decoration: none;
}

p {
	margin: 0 0 30px;
	padding: 0;
}

ol,
ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

hr {
	border: 0;
	border-collapse: collapse;
	border-top: 1px solid currentColor;
	clear: both;
	color: #eee;
	margin: 1.65em auto;
}

b,
strong {
	font-weight: 700;
}

blockquote,
cite,
em,
i {
	font-style: italic;
}

mark {
	background: #ddd;
	color: #000;
}

blockquote {
	margin: 40px;
}

blockquote::before {
	content: "\201C";
	display: block;
	font-size: 30px;
	font-size: 3rem;
	height: 0;
	left: -20px;
	position: relative;
	top: -10px;
}


/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
}

h1 {
	font-size: 48px;
	font-size: 4.8rem;
}

h2 {
	font-size: 42px;
	font-size: 4.2rem;
}

h3 {
	font-size: 36px;
	font-size: 3.6rem;
}

.comment-respond h3,
.entry-comments h3,
.entry-pings h3 {
	margin-bottom: 10px;
}

h4 {
	font-size: 27px;
	font-size: 2.7rem;
}

.entry-content h4 {
	margin-top: 40px;
}

.landing-page .entry-content h4,
.lead-capture-page .entry-content h4 {
	margin-bottom: 40px;
	margin-top: 60px;
	text-align: center;
}

h5 {
	font-size: 24px;
	font-size: 2.4rem;
}

h6 {
	font-size: 20px;
	font-size: 2rem;
}

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
}

img.vertical {
	vertical-align: top;
}

figure {
	margin: 0;
}

/* Gallery
--------------------------------------------- */

.gallery {
	overflow: hidden;
}

.gallery-item {
	float: left;
	margin: 0 0 30px;
	text-align: center;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	width: 50%;
}

.gallery-columns-3 .gallery-item {
	width: 33%;
}

.gallery-columns-4 .gallery-item {
	width: 25%;
}

.gallery-columns-5 .gallery-item {
	width: 20%;
}

.gallery-columns-6 .gallery-item {
	width: 16.6666%;
}

.gallery-columns-7 .gallery-item {
	width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
	width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
	clear: left;
}

.gallery img {
	border: 1px solid #eee;
	height: auto;
	padding: 4px;
}

.gallery img:hover,
.gallery img:focus {
	border: 1px solid #999;
}

/* Forms
--------------------------------------------- */

input,
select,
textarea {
	background-color: #f5f5f5;
	border: 1px solid #eee;
	border-radius: 0;
	color: #000;
	font-family: 'Cormorant Garamond', serif;
	font-size: 20px;
	font-size: 2rem;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
	line-height: 1.5;
	padding: 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: #eee;
	outline: none;
}

input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
input[type="url"],
textarea {
	-webkit-appearance: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

::-ms-input-placeholder {
	color: #000;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #000;
	opacity: 1;
}

::placeholder {
	color: #000;
	opacity: 1;
}

button,
input[type="button"],
input[type="reset"],
input[type="select"],
input[type="submit"],
.button {
	background-color: #d43c67;
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: 'Raleway', sans-serif;
	font-size: 10px;
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1;
	padding: 12px 20px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: normal;
	width: auto;
}

.button.large {
	font-size: 12px;
	font-size: 1.2rem;
	padding: 20px 30px;
}

.landing-page .button.large,
.lead-capture-page .button.large {
	margin-top: 40px;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button:hover,
button:focus,
input:focus[type="button"],
input:focus[type="reset"],
input:focus[type="submit"],
.button:focus {
	background-color: #000;
	color: #fff;
}

.entry-content .button:hover,
.entry-content .button:focus {
	color: #fff;
}

.button {
	display: inline-block;
}

a.button.small,
button.small,
input[type="button"].small,
input[type="reset"].small,
input[type="submit"].small {
	padding: 8px 16px;
}

.site-container button:disabled,
.site-container button:disabled:hover,
.site-container input:disabled,
.site-container input:disabled:hover,
.site-container input[type="button"]:disabled,
.site-container input[type="button"]:disabled:hover,
.site-container input[type="reset"]:disabled,
.site-container input[type="reset"]:disabled:hover,
.site-container input[type="submit"]:disabled,
.site-container input[type="submit"]:disabled:hover {
	background-color: #f5f5f5;
	border-width: 0;
	color: #666;
	cursor: not-allowed;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

/* Tables
--------------------------------------------- */

table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
	width: 100%;
	word-break: break-all;
}

tbody {
	border-bottom: 1px solid #eee;
}

td,
th {
	line-height: 2;
	text-align: left;
	vertical-align: top;
}

td {
	padding: 0.5em;
}

tr {
	border-top: 1px solid #eee;
}

th {
	font-weight: 700;
	padding: 0.5em;
}

/* Screen Reader Text
--------------------------------------------- */

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus,
.genesis-nav-menu .search input[type="submit"]:focus,
.widget_search input[type="submit"]:focus {
	clip: auto !important;
	display: block;
	font-weight: bold;
	height: auto;
	padding: 20px 20px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.more-link {
	position: relative;
}


/* Structure and Layout
---------------------------------------------------------------------------- */

/* Site Containers
--------------------------------------------- */

.site-inner {
	clear: both;
	margin: 0 auto;
	max-width: 1280px;
	word-wrap: break-word;
}

.landing-page .site-inner,
.lead-capture-page .site-inner {
	margin-top: 0;
	max-width: 840px;
}

/* Column Widths and Positions
--------------------------------------------- */

/* Content */

.content {
	float: right;
	padding: 0 60px;
	width: 65%;
}

.content-sidebar .content {
	border-right: 1px solid #eee;
	float: left;
}

.sidebar-content .content {
	border-left: 1px solid #eee;
}

.full-width-content .content {
	border-right: none;
	float: none;
	margin-left: auto;
	margin-right: auto;
	max-width: 840px;
	width: 100%;
}

.full.full-width-content .content,
.full.landing-page .site-inner,
.full.lead-capture-page .site-inner {
	max-width: 100%;
}

/* Primary Sidebar */

.sidebar-primary {
	float: right;
	width: 35%;
}

.sidebar-content .sidebar-primary {
	float: left;
}

/* Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}


/* Common Classes
---------------------------------------------------------------------------- */

/* Avatar
--------------------------------------------- */

.avatar {
	border-radius: 50%;
	float: left;
}

.author-box .avatar,
.alignleft .avatar {
	margin-right: 24px;
}

.alignright .avatar {
	margin-left: 24px;
}

.comment .avatar {
	margin: 0 16px 24px 0;
}

/* Genesis
--------------------------------------------- */

.after-entry,
.archive-description,
.breadcrumb {
	text-align: center;
}

.after-entry {
	padding-bottom: 60px;
}

.author-box {
	line-height: 1.5;
	padding-bottom: 20px;
}

.breadcrumb {
	font-size: 18px;
	font-size: 1.8rem;
	padding-bottom: 10px;
}

.after-entry,
.archive-description,
.author-box,
.breadcrumb {
	border-bottom: 1px solid #eee;
	margin-bottom: 60px;
}


/* Search Form
--------------------------------------------- */

.search-form {
	overflow: hidden;
	position: relative;
}

.search-form:before {
	color: #999;
	content: "\f4a5";
	font-family: "ionicons";
	font-size: 20px;
	left: 15px;
	position: absolute;
	top: 6px;
}

.entry-content .search-form {
	margin-bottom: 40px;
	width: 50%;
}

.search-form input[type="search"] {
	font-size: 16px;
	font-size: 1.6rem;
	padding-bottom: 10px;
	padding-left: 40px;
	padding-top: 12px;
}

.post-password-form input[type="submit"],
.search-form input[type="submit"] {
	margin-top: 10px;
}

.widget_search input[type="submit"] {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 1px;
}

/* Titles
--------------------------------------------- */

.archive-description .entry-title,
.archive-title,
.author-box-title {
	font-size: 24px;
	font-size: 2.4rem;
	margin-bottom: 10px;
}

.entry-title {
	font-size: 48px;
	font-size: 4.8rem;
}

.entry-title a,
.sidebar .widget-title a {
	color: #000;
	text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
	color: #d43c67;
}

.widget-title {
	font-family: 'Raleway', sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	letter-spacing: 2px;
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
}

/* WordPress
--------------------------------------------- */

a.aligncenter img {
	display: block;
	margin: 0 auto;
}

a.alignnone {
	display: inline-block;
}

.alignleft {
	float: left;
	text-align: left;
}

.alignright {
	float: right;
	text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
	max-width: 100%;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 30px;
}

img.alignnone,
.alignnone {
	margin-bottom: 12px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
	margin: 0 20px 20px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
	margin: 0 0 20px 20px;
}

figcaption,
.gallery-caption,
.wp-caption-text {
	font-size: 18px;
	font-size: 1.8rem;
	font-style: italic;
	font-weight: 700;
	margin-bottom: 40px;
	margin-left: 0;
	margin-top: 10px;
	text-align: center;
}

.entry-content p.gallery-caption,
.entry-content p.wp-caption-text {
	margin-bottom: 0;
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-playlist,
.entry-content .wp-video {
	margin: 0 0 30px;
}


/* Widgets
---------------------------------------------------------------------------- */

.widget {
	word-wrap: break-word;
}

.widget p:last-child,
.widget ul > li:last-of-type,
.widget-area .widget:last-of-type {
	margin-bottom: 0;
}

.widget ul > li {
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.widget ul > li:last-of-type {
	padding-bottom: 0;
}

.widget ol > li {
	list-style-position: inside;
	list-style-type: decimal;
	padding-left: 20px;
	text-indent: -20px;
}

.widget li li {
	border: 0;
	margin: 0 0 0 30px;
	padding: 0;
}

.widget_calendar table {
	width: 100%;
}

.widget_calendar td,
.widget_calendar th {
	text-align: center;
}

/* Featured Content
--------------------------------------------- */

.featured-content .widget-title {
	margin-bottom: 30px;
}

.footer-widgets .featured-content .entry,
.sidebar .featured-content .entry {
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.footer-widgets .featured-content .entry-header,
.sidebar .featured-content .entry-header {
	text-align: left;
}

.footer-widgets .featured-content .entry-header::after,
.sidebar .featured-content .entry-header::after {
	display: none;
}

.footer-widgets .featured-content .entry-title,
.sidebar .featured-content .entry-title {
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.25;
	margin-bottom: 10px;
	margin-top: 10px;
}

.footer-widgets .featured-content .entry-meta,
.sidebar .featured-content .entry-meta {
	font-size: 12px;
	font-size: 1.2rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer-widgets .featured-content .entry-meta a,
.sidebar .featured-content .entry-meta a {
	color: #000;
	text-decoration: none;
}

.footer-widgets .featured-content .entry-meta a:hover,
.footer-widgets .featured-content .entry-meta a:focus,
.sidebar .featured-content .entry-meta a:hover,
.sidebar .featured-content .entry-meta a:focus {
	color: #d43c67;
}

.footer-widgets .featured-content .entry-image,
.sidebar .featured-content .entry-image {
	vertical-align: top;
}

.featured-content a.alignleft,
.featured-content a.alignright,
.featured-content .entry:last-of-type {
	margin-bottom: 0;
}

.featured-content a.aligncenter,
.featured-content a.alignleft,
.featured-content a.alignnone,
.featured-content a.alignright {
	border-bottom-width: 0;
}

.featured-content .entry:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.featured-content .more-posts-title {
	display: block;
	padding-top: 30px;
}


/* Plugins
---------------------------------------------------------------------------- */

/* Genesis eNews Extended
--------------------------------------------- */

.enews-widget,
.enews-widget input {
	text-align: center;
}

.after-entry .enews-widget,
.landing-page .enews-widget,
.lead-capture-page .enews-widget {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

.landing-page .enews-widget,
.lead-capture-page .enews-widget,
.offscreen-content .enews-widget {
	background-color: #f5f5f5;
	padding: 60px;
}

.enews-widget form {
	margin-left: 20px;
	margin-right: 20px;
}

.offscreen-content .enews-widget form {
	margin-left: 60px;
	margin-right: 60px;
}

.enews-widget p {
	margin-bottom: 20px;
}

.enews-widget form + p {
	margin-top: 20px;
}

.enews-widget input {
	font-size: 16px;
	font-size: 1.6rem;
	margin-bottom: 15px;
	padding-bottom: 10px;
	padding-top: 10px;
}

.landing-page .enews-widget input,
.lead-capture-page .enews-widget input,
.offscreen-content .enews-widget input {
	background-color: #fff;
}

.enews-widget input[type="submit"] {
	background-color: #000;
	color: #fff;
	font-size: 10px;
	font-size: 1rem;
	margin: 0;
	width: auto !important;
}

.enews-widget input:hover[type="submit"] {
	background-color: #d43c67;
}

/* Jetpack
--------------------------------------------- */

#wpstats {
	display: none;
}


/* Skip Links
---------------------------------------------------------------------------- */

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link li {
	height: 0;
	width: 0;
	list-style: none;
}

.genesis-skip-link a {
	background: #fff;
}

/* Display outline on focus */
:focus {
	color: #000;
	outline: #ccc solid 1px;
}


/* Site Header
---------------------------------------------------------------------------- */

.site-header {
	background-color: #fff;
	border-bottom: 1px solid #eee;
	padding-left: 30px;
	padding-right: 30px;
	position: fixed;
	width: 100%;
	z-index: 9990;
}

/* Title Area
--------------------------------------------- */

.title-area {
	float: left;
	padding-bottom: 27px;
	padding-top: 27px;
	width: 20%;
}

.header-image .title-area {
	margin-bottom: 4px;
	margin-top: 3px;
	min-height: 65px;
	padding:0;
	width: 200px;
}

.site-title {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1;
	text-transform: uppercase;
}

.site-title a,
.site-title a:hover,
.site-title a:focus {
	color: #000;
	text-decoration: none;
}

.header-image .site-title > a {
	background-size: contain !important;
	float: left;
	min-height: 65px;
	width: 200px;
}

.site-description,
.site-title {
	margin-bottom: 0;
}

.header-image .site-title,
.site-description {
	display: block;
	height: 0;
	text-indent: -9999px;
}


/* Site Navigation
---------------------------------------------------------------------------- */

.genesis-nav-menu {
	clear: both;
	line-height: 1;
	width: 100%;
}

.genesis-nav-menu .menu-item {
	display: inline-block;
	margin-bottom: 0;
	padding-bottom: 0;
	text-align: left;
}

.genesis-nav-menu a {
	color: #000;
	display: block;
	font-family: 'Raleway', sans-serif;
	font-size: 10px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 30px 20px;
	text-decoration: none;
	text-transform: uppercase;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu a:focus,
.genesis-nav-menu .current-menu-item > a,
.genesis-nav-menu .sub-menu .current-menu-item > a:hover,
.genesis-nav-menu .sub-menu .current-menu-item > a:focus {
	color: #d43c67;
	text-decoration: none;
}

.genesis-nav-menu .sub-menu {
	border-top: 1px solid #eee;
	left: -9999px;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 200px;
	z-index: 99;
}

.genesis-nav-menu .sub-menu a {
	background-color: #fff;
	border: 1px solid #eee;
	border-top: 0;
	padding: 20px;
	position: relative;
	width: 200px;
	word-wrap: break-word;
}

.genesis-nav-menu .sub-menu .sub-menu {
	margin: -52px 0 0 199px;
}

.genesis-nav-menu .menu-item:hover {
	position: static;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
	left: auto;
	opacity: 1;
}

/* Accessible Menu
--------------------------------------------- */

.menu .menu-item:focus {
	position: static;
}

.menu .menu-item > a:focus + ul.sub-menu,
.menu .menu-item.sfHover > ul.sub-menu {
	left: auto;
	opacity: 1;
}

.menu-toggle,
.sub-menu-toggle {
	display: none;
	visibility: hidden;
}

/* Site Header Navigation
--------------------------------------------- */

.site-header .genesis-nav-menu li li {
	margin-left: 0;
}

/* Primary Navigation
--------------------------------------------- */

.nav-primary {
	float: left;
	margin-top: 2px;
	text-align: center;
	width: 60%;
}

/* Footer Navigation
--------------------------------------------- */

.site-footer .genesis-nav-menu {
	padding-bottom: 30px;
}

.site-footer .genesis-nav-menu a {
	padding: 0 20px;
}


/* Content Area
---------------------------------------------------------------------------- */

/* Entries
--------------------------------------------- */

.entry,
.page.page-template-page_blog .content .entry {
	border-bottom: 1px solid #eee;
	/*margin-bottom: 60px;*/
	padding-bottom: 30px;
}

.page .content .entry {
	border-bottom: none;
}

.lead-capture-page .entry {
	margin-bottom: 0;
}

.page .content .entry,
.single .content .entry {
	padding-bottom: 0;
}

.entry-content ol,
.entry-content ul {
	margin-bottom: 30px;
	padding-left: 40px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.entry-content ol ul > li,
.entry-content ul ul > li {
	list-style-type: circle;
}

.entry-content code {
	background-color: #000;
	color: #eee;
}

.center {
	text-align: center;
}

.intro {
	font-size: 24px;
	font-size: 2.4rem;
	font-style: italic;
	margin-bottom: 40px;
	text-align: center;
}

/* Entry Meta
--------------------------------------------- */

.entry-header {
	text-align: center;
}

.entry-header::after {
	border-bottom: 1px solid #000;
	content: "";
	display: block;
	margin: 0 auto 40px;
	padding-bottom: 10px;
	width: 2.5%;
}

p.entry-meta {
	font-size: 20px;
	font-size: 2rem;
}

.entry-categories,
.entry-tags {
	display: block;
}

.entry-comments-link::before {
	content: "\2014";
	margin: 0 6px 0 2px;
}

/* Pagination
--------------------------------------------- */

.pagination {
	clear: both;
	margin: 40px 0;
}

.adjacent-entry-pagination {
	margin-bottom: 0;
}

.archive-pagination a {
	color: #000;
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
}

.archive-pagination a:hover,
.archive-pagination a:focus {
	color: #d43c67;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	background-color: #f5f5f5;
	color: #000;
	cursor: pointer;
	display: inline-block;
	font-family: 'Raleway', sans-serif;
	font-size: 10px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 8px 12px;
	text-decoration: none;
	text-transform: uppercase;
}

.archive-pagination li a:hover,
.archive-pagination li a:focus,
.archive-pagination li.active a {
	background-color: #000;
	color: #fff;
}

/* Comments
--------------------------------------------- */

.comment-respond,
.entry-comments,
.entry-pings {
	background-color: #fff;
	font-size: 20px;
	font-size: 2rem;
	margin-bottom: 40px;
}

.comment-list li {
	padding: 40px 0 0 30px;
}

.comment-list .depth-1 {
	padding-left: 0;
}

.comment-header {
	line-height: 1.5;
	margin-bottom: 30px;
}

.comment-content {
	clear: both;
}

.comment-content ul > li {
	list-style-type: disc;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	width: 50%;
}

.comment-respond label {
	display: block;
	margin-right: 12px;
}

.comment-header p {
	margin-bottom: 0;
}

.entry-pings .reply {
	display: none;
}


/* Team Page
---------------------------------------------------------------------------- */

.team-page .content {
	max-width: 100%;
}

.team-page .content .entry {
	margin-bottom: 40px;
}

.team-page h2.entry-title {
	font-size: 24px;
	font-size: 2.4rem;
	margin-bottom: 0;
	margin-top: 20px;
}

.team-page .one-fourth .entry {
	margin-bottom: 40px;
}

.team-page .one-fourth .entry-header::after {
	display: none;
}

.team-page .entry-content p:last-child,
.team-page .one-fourth .team-title {
	margin-bottom: 0;
}


/* Sidebar
---------------------------------------------------------------------------- */

.sidebar {
	font-size: 20px;
	font-size: 2rem;
}

.sidebar .widget {
	border-bottom: 1px solid #eee;
	padding: 50px 60px 60px;
}


/* Offscreen Content
---------------------------------------------------------------------------- */

.no-scroll {
	overflow: hidden;
}

.offscreen-content {
	background-color: rgba( 255, 255, 255, 1.0);
	display: none;
	height: 100%;
	left: 0;
	overflow-y: scroll;
	padding: 20px;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 9998;
}

.offscreen-content .wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 720px;
}

.offscreen-container {
	display: table;
	height: 100vh;
	overflow: hidden;
	table-layout: fixed;
	text-align: center;
	width: 100%;
}

.offscreen-container .widget-area {
	display: table-cell;
	padding-bottom: 20px;
	vertical-align: middle;
	width: 100%;
}

/* Offscreen Content Icon
--------------------------------------------- */

.ion-ios-close-empty,
.ion-ios-more {
	font-size: 36px;
	font-size: 3.6rem;
}

.ion-ios-close-empty {
	margin-right: 10px;
}

.offscreen-content-icon,
.offscreen-content-toggle {
	position: fixed;
	right: 20px;
	top: 18px;
	z-index: 9998;
}

.admin-bar .offscreen-content-icon,
.admin-bar .offscreen-content-toggle {
	top: 52px;
}

.offscreen-content button,
.offscreen-content-icon button {
	background-color: #fff;
	color: #000;
	font-size: 20px;
	font-size: 2rem;
	padding: 2px 10px 2px 12px;
}

.offscreen-content button:hover,
.offscreen-content-icon button:hover {
	color: #d43c67;
}


/* Footer Widgets
---------------------------------------------------------------------------- */

.footer-widgets {
	border-top: 1px solid #eee;
	font-size: 20px;
	font-size: 2rem;
	clear: both;
}

.footer-widgets .wrap {
	margin: 0 auto;
	max-width: 1280px;
	padding-left: 60px;
	padding-right: 60px;
}

.footer-widgets .widget-area {
	float: left;
	padding-bottom: 60px;
	padding-top: 60px;
}

.footer-widgets .widget {
	margin-bottom: 40px;
}

.footer-widgets-1,
.footer-widgets-3 {
	width: 30%;
}

.footer-widgets-2 {
	padding-left: 4%;
	padding-right: 4%;
	width: 40%;
}

.footer-widgets p {
	margin-bottom: 20px;
}

.footer-widgets .button {
	background-color: #000;
	color: #fff;
	margin-top: 10px;
}

.footer-widgets .button:hover {
	background-color: #d43c67;
}

/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
	border-top: 1px solid #eee;
	line-height: 1;
	padding: 60px 0;
	text-align: center;
}

.site-footer .wrap {
	margin: 0 auto;
	max-width: 1280px;
	padding-left: 60px;
	padding-right: 60px;
}

.site-footer p {
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 0;
}

.site-footer a {
	color: #000;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #d43c67;
}



/* =========================================
   BFG LUXURY HERO - FINAL POLISH
   ========================================= */

/* GLOBAL LUXURY TWEAK: Gold Text Selection */
::selection {
    background: #C5A059;
    color: #0A192F;
}

/* 1. SECTION CONTAINER */
.bfg-hero-section {
    --bfg-navy: #0A192F;
    --bfg-gold: #C5A059;
    --bfg-white: #FFFFFF;
    
    min-height: 90vh; /* Dominates the screen */
    
    /* Cinematic Background: Vignette Style */
    background-color: var(--bfg-navy);
    background-image: radial-gradient(circle at center, rgba(10,25,47,0.8) 0%, rgba(10,25,47,0.98) 100%), 
                      url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-12.jpg');
                      /*https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect for depth */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Breakout Logic */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -60px; /* Seamless merge with header */
    padding: 0;
}

.bfg-hero-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 60px;
    position: relative;
    z-index: 10;
}

/* 2. ANIMATIONS (The "Cinematic" Feel) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.bfg-animate-1 { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.2s; }
.bfg-animate-2 { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.4s; }
.bfg-animate-3 { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.6s; }
.bfg-animate-4 { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; animation-delay: 0.8s; }

/* 3. TYPOGRAPHY */
.bfg-eyebrow {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3em; /* Extremely wide spacing = Luxury */
    text-transform: uppercase;
    color: var(--bfg-gold);
    margin-bottom: 35px;
}

.bfg-eyebrow::after {
    content: "";
    height: 2px;
    width: 60px;
    background-color: var(--bfg-gold);
}

.bfg-headline {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 8vw, 7.5rem); 
    line-height: 1.05;
    font-weight: 500; /* Slightly lighter weight looks more elegant at large sizes */
    color: var(--bfg-white);
    margin-bottom: 40px;
    max-width: 1250px;
    text-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.bfg-headline .highlight {
    font-style: italic;
    color: var(--bfg-gold);
}

.bfg-subtext {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 65px;
    font-weight: 300;
    max-width: 850px;
}

/* 4. LUXURY BUTTONS */
.bfg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Primary: Metallic Gold */
.bfg-btn-primary {
    background: linear-gradient(135deg, #C5A059 0%, #E0C17E 100%); /* Subtle metallic gradient */
    color: #0A192F !important;
    padding: 32px 70px; /* Huge click area */
    
    /* Typography */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.4rem;  /* 22px+ */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    
    border: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.bfg-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(197, 160, 89, 0.4); /* Gold Glow */
    filter: brightness(1.1);
}

/* Secondary: Crystal Glass */
.bfg-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px); /* Heavy blur for premium glass look */
    -webkit-backdrop-filter: blur(20px);
    
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Thinner, sharper border */
    padding: 32px 70px;
    
    /* Typography */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    
    transition: all 0.4s ease;
}

.bfg-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFFFFF;
    transform: translateY(-5px);
}

/* Mobile Scaling */
@media (max-width: 768px) {
    .bfg-hero-section { min-height: auto; padding: 160px 0 120px; }
    .bfg-headline { font-size: 3.2rem; }
    .bfg-actions { flex-direction: column; width: 100%; gap: 20px; }
    .bfg-btn-primary, .bfg-btn-secondary { width: 100%; text-align: center; padding: 25px 20px; font-size: 1.1rem;}
}

/* =========================================
   BFG HEADER (DARK MODE) - "SEAMLESS IMMERSION"
   ========================================= */

/* 1. Header Layout - Dark Navy Background */
.site-header {
    background-color: #0A192F; /* Matches Hero Navy */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle divider */
    position: relative;
    z-index: 999;
}

.site-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*max-width: 1400px;*/
    padding: 20px 60px; /* Taller header for prestige */
}

/* Logo Area Width */
.title-area {
    float: none;
    width: auto;
    max-width: 280px; /* Slightly larger allow for logo detail */
    padding: 0;
    margin: 0;
}

/* Navigation Container - Pushed Right */
.nav-primary {
    float: none;
    width: auto;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.genesis-nav-menu {
    float: none;
    width: auto;
    text-align: right;
}

/* 2. Menu Item Styling - White Text */
.genesis-nav-menu .menu-item {
    display: inline-block;
    margin-left: 40px;
    margin-right: 0;
}

.genesis-nav-menu a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #FFFFFF !important; /* Pure White Text */
    font-size: 13px;
    font-weight: 600; /* Slightly lighter weight looks cleaner on dark */
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.85; /* Slight transparency for elegance */
}

/* 3. The "Gold Line" Hover Animation */
.genesis-nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #C5A059; /* Brand Gold */
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.genesis-nav-menu a:hover::after,
.genesis-nav-menu .current-menu-item > a::after {
    width: 100%; 
}

.genesis-nav-menu a:hover {
    color: #FFFFFF !important;
    opacity: 1; /* Brightens on hover */
    text-shadow: 0 0 20px rgba(255,255,255,0.5); /* Subtle glow */
}

/* Mobile Adjustments */
@media (max-width: 960px) {
    .site-header .wrap { padding: 15px 20px; }
    .genesis-nav-menu .menu-item { margin-left: 0; display: block; text-align: center; }
    .nav-primary { display: none; }
    
    /* Ensure Mobile Menu Toggle is Visible on Dark Background */
    .menu-toggle, .sub-menu-toggle {
        color: #FFFFFF !important;
        border-color: rgba(255,255,255,0.3) !important;
    }
}





/* =========================================
   SECTION 2: THE "SLOW-BURN LUXURY" GRID (DARK MODE)
   ========================================= */

.bfg-services-section {
    background: #081629; /* Deep Navy to bridge Hero and Access sections */
    padding: 140px 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.bfg-services-container {
    max-width: 1500px; 
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.bfg-section-header { text-align: center; margin-bottom: 100px; }
.bfg-section-eyebrow { color: #C5A059; font-family: "Helvetica Neue", sans-serif; font-size: 1.5rem; font-weight: 900; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 30px; display: block; }
.bfg-section-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4.5rem, 7vw, 6rem); color: #FFFFFF; line-height: 1.05; margin-bottom: 40px; font-weight: 700; }
.bfg-section-desc { font-family: "Helvetica Neue", sans-serif; font-size: 1.6rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; font-weight: 300; max-width: 1000px; margin: 0 auto; }

/* The Grid */
.bfg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; align-items: stretch; }

/* The Card - Glassmorphism */
.bfg-card {
    background: rgba(255, 255, 255, 0.02); /* Glass effect */
    border: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 80px 50px 70px; 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.8s ease, border-color 0.8s ease; 
    z-index: 1; 
}

.bfg-card::before {
    content: ''; position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%) scale(1); transform-origin: bottom center; 
    width: 140%; height: 140px; 
    background: linear-gradient(0deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.02) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transition: transform 6.0s cubic-bezier(0.1, 1, 0.1, 1), background 6.0s ease;
    z-index: -1;
}

.bfg-card:hover::before {
    transform: translateX(-50%) scale(12); 
    background: linear-gradient(0deg, rgba(197, 160, 89, 0.25) 0%, rgba(197, 160, 89, 0.05) 100%);
}

.bfg-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(197, 160, 89, 0.4); /* Gold border illuminates on hover */
}

/* Content Styling */
.bfg-icon-wrapper { width: 90px; height: 90px; margin-bottom: 35px; color: #C5A059; transition: all 1.5s ease; } /* Gold icon */
.bfg-card:hover .bfg-icon-wrapper { transform: translateY(-10px) scale(1.1); }

.bfg-card-title { font-family: "Cormorant Garamond", serif; font-size: 3.2rem; color: #FFFFFF; margin-bottom: 25px; font-weight: 600; line-height: 1.1; transition: transform 1.5s ease; }
.bfg-card-divider { width: 60px; height: 3px; background-color: rgba(255, 255, 255, 0.1); margin-bottom: 35px; transition: all 1.5s ease; }
.bfg-card:hover .bfg-card-divider { width: 120px; background-color: #C5A059; }

.bfg-card-text { font-family: "Helvetica Neue", sans-serif; font-size: 1.6rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; margin-bottom: 60px; flex-grow: 1; transition: transform 1.5s ease, color 1.5s ease; }
.bfg-card:hover .bfg-card-text { color: rgba(255, 255, 255, 0.85); transform: translateY(-5px); }

/* Card Button: Transparent Gold -> Solid Gold */
.bfg-card-btn {
    width: 100%; max-width: 320px; 
    background-color: transparent; 
    border: 1px solid #C5A059;
    color: #C5A059 !important;
    padding: 22px 30px; display: flex; justify-content: center; align-items: center; gap: 15px;
    font-family: "Helvetica Neue", sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; margin-top: auto; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.bfg-card-btn svg { width: 20px; height: 20px; transition: transform 0.3s ease; stroke: #C5A059; stroke-width: 2.5; }

.bfg-card:hover .bfg-card-btn {
    background-color: #C5A059; 
    color: #0A192F !important; 
    transform: translateY(5px);
}
.bfg-card:hover .bfg-card-btn svg { stroke: #0A192F; transform: translateX(5px); }

/* Mobile */
@media (max-width: 1200px) {
    .bfg-grid { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
    .bfg-card { padding: 60px 30px 60px; }
    .bfg-section-title { font-size: 4rem; }
    .bfg-card-title { font-size: 2.8rem; }
}


/* =========================================
   SECTION 3 : ACCÈS GFB - COMMAND CENTER (V7.1)
   ========================================= */

.bfg-access-section {
    background-color: #0A192F;
    background-image: radial-gradient(circle at 50% 40%, #112d55 0%, #0A192F 70%);
    padding: 80px 0; /* Réduction pour un look plus compact */
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 750px; /* Hauteur totale réduite */
    overflow: hidden;
}

.bfg-access-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 1. NAVIGATION (Écart augmenté) */
.bfg-access-radio { display: none; }

.bfg-nav-wrapper {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 90px; /* ESPACEMENT AUGMENTÉ sous le menu */
}

.bfg-nav-label {
    padding: 20px 50px;
    cursor: pointer;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    position: relative;
    transition: 0.3s;
}

#tab-tech:checked ~ .bfg-nav-wrapper label[for="tab-tech"],
#tab-train:checked ~ .bfg-nav-wrapper label[for="tab-train"],
#tab-mark:checked ~ .bfg-nav-wrapper label[for="tab-mark"],
#tab-admin:checked ~ .bfg-nav-wrapper label[for="tab-admin"] {
    color: #C5A059;
}

.bfg-nav-label::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; width: 100%; height: 4px;
    background: #C5A059;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#tab-tech:checked ~ .bfg-nav-wrapper label[for="tab-tech"]::after,
#tab-train:checked ~ .bfg-nav-wrapper label[for="tab-train"]::after,
#tab-mark:checked ~ .bfg-nav-wrapper label[for="tab-mark"]::after,
#tab-admin:checked ~ .bfg-nav-wrapper label[for="tab-admin"]::after {
    transform: scaleX(1);
}

/* 2. DIAPOSITIVES */
.bfg-slides-wrapper { position: relative; min-height: 550px; } /* Hauteur réduite */

.bfg-slide {
    position: absolute;
    top: 0; left: 0; width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: center;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

#tab-tech:checked ~ .bfg-slides-wrapper .slide-tech,
#tab-train:checked ~ .bfg-slides-wrapper .slide-train,
#tab-mark:checked ~ .bfg-slides-wrapper .slide-mark,
#tab-admin:checked ~ .bfg-slides-wrapper .slide-admin {
    opacity: 1; visibility: visible; transform: translateY(0);
}

/* TYPOGRAPHIE V7 */
.bfg-slide-eyebrow { 
    color: #C5A059; 
    font-size: 1.5rem; 
    font-weight: 900; 
    letter-spacing: 0.35em; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    display: block; 
}
.bfg-slide-title { font-family: "Cormorant Garamond", serif; font-size: clamp(3.5rem, 5vw, 4.8rem); color: #FFFFFF; line-height: 1.1; margin-bottom: 25px; }
.bfg-slide-desc { font-family: "Helvetica Neue", sans-serif; font-size: 1.6rem; color: rgba(255,255,255,0.8); line-height: 1.5; margin-bottom: 35px; }

/* LISTE PYRAMIDALE */
.bfg-slide-list { list-style: none; padding: 0; margin-bottom: 40px; }
.bfg-slide-list li { 
    color: #FFFFFF; font-size: 1.6rem; margin-bottom: 15px; 
    padding-left: 25px; position: relative; display: flex; align-items: center; 
}
.bfg-slide-list li::before { 
    content: ''; position: absolute; left: 0; 
    width: 12px; height: 12px; background: #C5A059; 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 
}

/* BOUTON */
.bfg-slide-btn { 
    display: inline-flex; border: 1px solid #C5A059; color: #C5A059; 
    padding: 20px 45px; font-size: 1.5rem; font-weight: 800; 
    text-transform: uppercase; text-decoration: none; transition: 0.3s; 
}
.bfg-slide-btn:hover { background: #C5A059; color: #0A192F; }

/* 3. VISUELS DASHBOARD */
.bfg-glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

/* TECH VISUAL */
.bfg-tech-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.bfg-panel { background: rgba(0,0,0,0.3); padding: 25px; border-radius: 4px; display: flex; flex-direction: column; }
.bfg-growth-viz { height: 120px; width: 100%; position: relative; margin-top: auto; border-bottom: 1px solid rgba(255,255,255,0.2); }
.bfg-growth-fill { 
    height: 100%; width: 100%; background: #C5A059; opacity: 0.4;
    clip-path: polygon(0 100%, 20% 70%, 40% 75%, 60% 40%, 80% 45%, 100% 10%, 100% 100%); 
}
.bfg-graph-title { color: rgba(255,255,255,0.6); text-transform: uppercase; font-size: 1.2rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; }

/* MARKETING (4 BARRES) */
.bfg-bar-chart { display: flex; align-items: flex-end; gap: 15px; height: 180px; margin-top: 20px; }
.bfg-bar { flex: 1; background: rgba(197,160,89,0.15); height: 0; transition: height 1.2s ease 0.3s; }
#tab-mark:checked ~ .bfg-slides-wrapper .b1 { height: 30%; }
#tab-mark:checked ~ .bfg-slides-wrapper .b2 { height: 50%; }
#tab-mark:checked ~ .bfg-slides-wrapper .b3 { height: 80%; }
#tab-mark:checked ~ .bfg-slides-wrapper .b4 { height: 100%; background: #C5A059; box-shadow: 0 0 20px #C5A059; }

/* FORMATION (3 COLONNES) */
.bfg-schedule-grid { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 20px; color: #FFF; font-size: 1.5rem; }
.bfg-sched-row { display: contents; }
.bfg-sched-row span { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.bfg-sched-header { font-weight: 900; color: #C5A059; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 1px; }

/* ADMIN (2 COLONNES) */
.bfg-admin-viz { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.bfg-task-item { background: rgba(255,255,255,0.05); padding: 18px; border-left: 4px solid #C5A059; color: #FFF; font-size: 1.3rem; }

/* =========================================
   MEDIA QUERIES : ACCÈS GFB MOBILE FRIENDLY
   ========================================= */

@media (max-width: 1024px) {
    .bfg-slide {
        grid-template-columns: 1fr; /* Stacking vertical */
        gap: 50px;
        text-align: center;
    }

    .bfg-slide-list li {
        justify-content: center;
        padding-left: 0;
    }

    .bfg-slide-list li::before {
        position: static;
        margin-right: 15px;
    }

    .bfg-slides-wrapper {
        min-height: 1000px; /* Ajustement pour le contenu empilé */
    }
}

@media (max-width: 768px) {
    .bfg-access-section {
        padding: 60px 0;
        min-height: auto;
    }

    /* 1. NAVIGATION SCROLLABLE */
    .bfg-nav-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 50px;
        padding-bottom: 5px;
        scrollbar-width: none; /* Cache la scrollbar sur Firefox */
    }

    .bfg-nav-wrapper::-webkit-scrollbar {
        display: none; /* Cache la scrollbar sur Chrome/Safari */
    }

    .bfg-nav-label {
        padding: 15px 25px;
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    /* 2. TYPOGRAPHIE & ESPACEMENT */
    .bfg-slide-title {
        font-size: 3.2rem;
    }

    .bfg-slide-desc {
        font-size: 1.4rem;
    }

    .bfg-slide-list li {
        font-size: 1.4rem;
        text-align: left;
        align-items: flex-start;
    }

    .bfg-glass-card {
        padding: 25px;
    }

    /* 3. ADAPTATION DES VISUELS */
    .bfg-tech-dash {
        grid-template-columns: 1fr; /* Stack les micro-panels tech */
    }

    .bfg-schedule-grid {
        grid-template-columns: 1fr; /* La grille de formation devient une liste */
        gap: 10px;
    }

    .bfg-sched-row {
        display: flex;
        flex-direction: column;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .bfg-sched-row span {
        padding: 2px 0;
        border-bottom: none;
    }

    .bfg-admin-viz {
        grid-template-columns: 1fr;
    }
    
    .bfg-slides-wrapper {
        min-height: 1100px; /* Sécurité pour le débordement */
    }
}

/* =========================================
   CORRECTIF GLOBAL : TRIANGLES DORÉS GFB
   ========================================= */

/* 1. Dans la section BFG Advantage (Cartes) */
.bfg-card-list li::before, 
.bfg-adv-list-item::before {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #C5A059 !important;
    /* Forme pyramidale */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    flex-shrink: 0;
    margin-top: 6px;
}

/* 2. Dans le Footer (Expertise & Accès) */
.bfg-footer-links li::before {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #C5A059 !important;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    flex-shrink: 0;
}

/* 3. Dans la section Accès GFB (Slides) */
.bfg-slide-list li::before {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-color: #C5A059 !important;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%) !important;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Sécurité pour mobile : On s'assure qu'ils ne disparaissent pas */
@media (max-width: 768px) {
    .bfg-slide-list li::before,
    .bfg-footer-links li::before {
        width: 10px !important;
        height: 10px !important;
    }
}




/* =========================================
   SECTION 4 : LE RÉSEAU D'INFLUENCE (DARK MODE)
   ========================================= */

.bfg-network-section {
    background-color: #050E1A;
    border-top: 1px solid rgba(255, 255, 255, 0.03); /* Subtle separation */
    padding: 100px 0; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
}

.bfg-network-container { max-width: 1600px; margin: 0 auto; padding: 0 40px; }

/* Header & Stats */
.bfg-network-header { text-align: center; margin-bottom: 80px; }
.bfg-network-eyebrow { color: #C5A059; font-size: 1.8rem; font-weight: 900; letter-spacing: 0.5em; text-transform: uppercase; margin-bottom: 20px; display: block; }
.bfg-network-title { font-family: "Cormorant Garamond", serif; font-size: clamp(2.8rem, 5vw, 5.5rem); color: #FFFFFF; font-weight: 700; margin-bottom: 25px; line-height: 1.1; }
.bfg-header-accent { width: 60px; height: 3px; background: #C5A059; margin: 0 auto; }

.bfg-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 80px auto; text-align: center; }
.bfg-stat-number { display: block; font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 6vw, 6.5rem); color: #FFFFFF; font-weight: 600; line-height: 1; margin-bottom: 15px; }
.bfg-stat-label { font-family: "Helvetica Neue", sans-serif; font-size: 1.4rem; color: #C5A059; text-transform: uppercase; letter-spacing: 4px; font-weight: 800; opacity: 0.9; }

/* Grid & Logos */
.bfg-logo-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.bfg-logo-item {
    background-color: rgba(255, 255, 255, 0.01); /* Barely visible glass */
    height: 120px; display: flex; align-items: center; justify-content: center; padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Helvetica Neue", sans-serif; font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4); /* Faded white text */
    position: relative; z-index: 1; text-align: center;
}

/* Gold Triangle */
.bfg-logo-item::before {
    content: "" !important; display: inline-block !important; width: 10px; height: 10px; background-color: #C5A059;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); margin-right: 12px; opacity: 0; transition: 0.3s; flex-shrink: 0;
}

/* Logo Hover */
.bfg-logo-item:hover {
    color: #C5A059;
    background-color: rgba(197, 160, 89, 0.05); /* Slight gold tint */
    box-shadow: inset 0 0 0 1px #C5A059, 0 15px 40px rgba(0,0,0,0.4);
    border-color: transparent; transform: translateY(-5px); z-index: 50; 
}
.bfg-logo-item:hover::before { opacity: 1; }

/* Accordion Logic remains identical */
.bfg-accordion-input { display: none; }
.bfg-accordion-wrapper { overflow: hidden; max-height: 0; transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1); margin-top: -15px; padding-top: 15px; padding-bottom: 15px; }
#bfg-network-toggle:checked ~ .bfg-accordion-wrapper { max-height: 1500px; }

/* Button - Transparent to Gold */
.bfg-accordion-trigger-wrap { text-align: center; margin-top: 40px; }
.bfg-accordion-label {
    display: inline-block; padding: 18px 50px;
    background: transparent; border: 1px solid #C5A059;
    color: #C5A059; font-family: "Helvetica Neue", sans-serif; font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; cursor: pointer; transition: 0.3s; user-select: none;
}
.bfg-accordion-label:hover { background: #C5A059; color: #050E1A; }
.bfg-accordion-label .hide-txt { display: none; }
#bfg-network-toggle:checked ~ .bfg-accordion-trigger-wrap .show-txt { display: none; }
#bfg-network-toggle:checked ~ .bfg-accordion-trigger-wrap .hide-txt { display: block; }

/* Mobile */
@media screen and (max-width: 1024px) { .bfg-logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 768px) {
    .bfg-network-section { padding: 60px 0; }
    .bfg-network-container { padding: 0 20px; }
    .bfg-network-title { font-size: 2.5rem; }
    .bfg-stats-grid { grid-template-columns: 1fr; gap: 40px; margin: 50px auto; }
    .bfg-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .bfg-logo-item { font-size: 0.9rem; padding: 10px; height: 100px; }
    .bfg-accordion-label { width: 100%; box-sizing: border-box; text-align: center; }
}


/* =========================================
   SECTION 5 : L'AVANTAGE GFB (DASHBOARD EXPERT)
   ========================================= */

.bfg-advantage-section {
    background-color: #050E1A;
    background-image: radial-gradient(circle at 70% 50%, #081629 0%, #050E1A 100%);
    padding: 120px 0;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    overflow: hidden;
}

.bfg-advantage-container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 0.7fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.bfg-adv-input { display: none !important; }

/* NAVIGATION LATÉRALE */
.bfg-adv-nav { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    position: relative; 
    z-index: 10; 
}

.bfg-adv-label {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bfg-adv-label .num {
    display: block; color: #C5A059; font-size: 1.5rem; 
    font-weight: 900; margin-bottom: 8px; letter-spacing: 3px;
}

.bfg-adv-label .txt {
    color: rgba(255, 255, 255, 0.75); 
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem; line-height: 1.2;
}

/* ÉTATS ACTIFS */
#adv1:checked ~ .bfg-advantage-container label[for="adv1"],
#adv2:checked ~ .bfg-advantage-container label[for="adv2"],
#adv3:checked ~ .bfg-advantage-container label[for="adv3"],
#adv4:checked ~ .bfg-advantage-container label[for="adv4"],
#adv5:checked ~ .bfg-advantage-container label[for="adv5"] {
    background: rgba(197, 160, 89, 0.1);
    border-left: 6px solid #C5A059;
    padding-left: 40px;
}

#adv1:checked ~ .bfg-advantage-container label[for="adv1"] .txt,
#adv2:checked ~ .bfg-advantage-container label[for="adv2"] .txt,
#adv3:checked ~ .bfg-advantage-container label[for="adv3"] .txt,
#adv4:checked ~ .bfg-advantage-container label[for="adv4"] .txt,
#adv5:checked ~ .bfg-advantage-container label[for="adv5"] .txt {
    color: #FFFFFF;
}

/* PANNEAUX DE CONTENU */
.bfg-adv-content-wrapper { position: relative; min-height: 850px; }
.bfg-adv-panel { display: none; animation: fadeInGFB 0.6s ease-out forwards; }

#adv1:checked ~ .bfg-advantage-container .panel-1,
#adv2:checked ~ .bfg-advantage-container .panel-2,
#adv3:checked ~ .bfg-advantage-container .panel-3,
#adv4:checked ~ .bfg-advantage-container .panel-4,
#adv5:checked ~ .bfg-advantage-container .panel-5 {
    display: block;
}

@keyframes fadeInGFB {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ENTÊTE AVEC LIGNE DORÉE */
.bfg-adv-header { 
    margin-bottom: 60px; 
    padding-left: 40px; 
    border-left: 2px solid #C5A059; 
}

.bfg-adv-eyebrow { 
    color: #C5A059; font-size: 1.5rem; font-weight: 900; 
    letter-spacing: 0.5em; text-transform: uppercase; margin-bottom: 20px; 
    display: block;
}

.bfg-adv-title { 
    font-family: "Cormorant Garamond", serif; font-size: 5rem; 
    color: #FFFFFF; line-height: 1.1; margin-bottom: 30px; 
}

.bfg-adv-text { 
    font-family: "Helvetica Neue", sans-serif; font-size: 1.8rem; 
    color: rgba(255, 255, 255, 0.85); line-height: 1.6; font-weight: 300; 
}

/* GRILLE DE 4 CARTES */
.bfg-adv-feature-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.bfg-adv-card { 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    padding: 40px; 
    transition: 0.4s; 
}

.bfg-adv-card:hover { 
    background: rgba(255, 255, 255, 0.04); 
    border-color: rgba(197, 160, 89, 0.4); 
    transform: translateY(-5px); 
}

.bfg-card-sub { 
    color: #C5A059; font-weight: 800; font-size: 1.75rem; 
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; 
    display: block; 
}

.bfg-card-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.bfg-card-list li { 
    font-size: 1.75rem; color: #FFFFFF; display: flex; align-items: flex-start; 
    gap: 15px; margin-bottom: 15px; line-height: 1.5; 
}

.bfg-card-list li::before { 
    content: '' !important; display: inline-block !important;
    width: 12px; height: 12px; background: #C5A059; 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    flex-shrink: 0; margin-top: 6px; 
}

/* =========================================
   ADAPTATION MOBILE (V16.2 - GRID COMPACTE)
   ========================================= */

@media (max-width: 1200px) {
    .bfg-advantage-container { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }

    /* 1. NAVIGATION EN PAIRES (GRILLE 2 COLONNES) */
    .bfg-adv-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Côte à côte en paires */
        gap: 10px; /* Espace très serré */
        flex-direction: row; /* Overwrite previous flex */
        overflow-x: visible; /* On retire le scroll */
    }

    /* 2. RÉDUCTION DRASTIQUE DE LA TAILLE DES SÉLECTEURS */
    .bfg-adv-label {
        padding: 12px 15px; /* Padding réduit au minimum */
        min-width: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: auto;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Le 5ème élément prend toute la largeur pour équilibrer la grille */
    .bfg-adv-label[for="adv5"] {
        grid-column: span 2;
    }

    .bfg-adv-label .num {
        font-size: 1rem; /* Chiffre réduit */
        margin-bottom: 2px;
        letter-spacing: 1px;
    }

    .bfg-adv-label .txt {
        font-size: 1.1rem; /* Texte réduit drastiquement */
        line-height: 1.2;
        font-family: "Helvetica Neue", sans-serif; /* Plus lisible en petit format */
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
    }

    /* 3. AJUSTEMENT DE L'ÉTAT ACTIF */
    #adv1:checked ~ .bfg-advantage-container label[for="adv1"],
    #adv2:checked ~ .bfg-advantage-container label[for="adv2"],
    #adv3:checked ~ .bfg-advantage-container label[for="adv3"],
    #adv4:checked ~ .bfg-advantage-container label[for="adv4"],
    #adv5:checked ~ .bfg-advantage-container label[for="adv5"] {
        background: #C5A059;
        border-left: none;
        border-bottom: none;
        padding-left: 15px;
    }

    #adv1:checked ~ .bfg-advantage-container label[for="adv1"] .txt,
    #adv1:checked ~ .bfg-advantage-container label[for="adv1"] .num,
    #adv2:checked ~ .bfg-advantage-container label[for="adv2"] .txt,
    #adv2:checked ~ .bfg-advantage-container label[for="adv2"] .num,
    #adv3:checked ~ .bfg-advantage-container label[for="adv3"] .txt,
    #adv3:checked ~ .bfg-advantage-container label[for="adv3"] .num,
    #adv4:checked ~ .bfg-advantage-container label[for="adv4"] .txt,
    #adv4:checked ~ .bfg-advantage-container label[for="adv4"] .num,
    #adv5:checked ~ .bfg-advantage-container label[for="adv5"] .txt,
    #adv5:checked ~ .bfg-advantage-container label[for="adv5"] .num {
        color: #050E1A !important; /* Texte sombre sur fond or pour contraste maximal */
    }

    .bfg-adv-content-wrapper { min-height: auto; }
}

@media (max-width: 768px) {
    .bfg-advantage-section { padding: 50px 0; }
    .bfg-adv-title { font-size: 2.8rem; }
    .bfg-adv-text { font-size: 1.5rem; }
    .bfg-adv-header { padding-left: 15px; margin-bottom: 30px; }
    
    /* Cartes restent en une colonne */
    .bfg-adv-feature-grid { grid-template-columns: 1fr; gap: 15px; }
    .bfg-adv-card { padding: 25px; }
    .bfg-card-sub { font-size: 1.1rem; margin-bottom: 15px; }
}

/* =========================================
   OPTIMISATION MOBILE : L'AVANTAGE GFB
   ========================================= */

@media (max-width: 1024px) {
    /* 1. HERO SECTION : Ajustement du texte */
    .bfg-internal-hero-advantage .bfg-headline {
        font-size: 3.5rem !important;
        margin-top: 15px;
    }
    
    .bfg-internal-hero-advantage .bfg-subtext {
        font-size: 1.6rem;
        padding-right: 0;
    }

    /* 2. GRILLES DE CONTENU (Planification, Retraite, etc.) */
    /* On force l'empilement vertical */
    .bfg-adv-grid, 
    .bfg-adv-grid.inverse {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .bfg-adv-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bfg-section-icon {
        margin: 0 auto 20px !important;
    }

    .bfg-adv-h2 {
        font-size: 3rem !important;
        text-align: center;
    }

    .bfg-adv-intro {
        text-align: center;
        margin-bottom: 20px;
    }

    /* 3. BOÎTES DE DÉTAILS (Glassmorphism) */
    .bfg-details-box-compact {
        padding: 25px !important;
    }

    .bfg-tactical-list h4, 
    .bfg-strategy-lead h4 {
        font-size: 1.6rem !important;
    }

    .bfg-card-list-static li {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 768px) {
    /* 4. LE TABLEAU DE BORD (SECTION 5) */
    .bfg-advantage-section {
        padding: 60px 0 !important;
    }

    .bfg-advantage-container {
        padding: 0 20px !important;
    }

    /* Ajustement de l'en-tête interne du panneau */
    .bfg-adv-header {
        padding-left: 20px !important;
        margin-bottom: 40px !important;
    }

    .bfg-adv-title {
        font-size: 3rem !important;
    }

    /* Grille de caractéristiques (2 colonnes -> 1 colonne) */
    .bfg-adv-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .bfg-adv-card {
        padding: 30px !important;
    }

    /* Ajustement du contenu pour éviter que les boîtes soient trop longues */
    .bfg-adv-content-wrapper {
        min-height: auto !important;
    }

    /* 5. FIX NAVIGATION (Les Boutons Or) */
    .bfg-adv-nav {
        margin-bottom: 40px;
    }

    .bfg-adv-label .txt {
        font-size: 1rem !important; /* Plus petit pour tenir sur deux colonnes */
    }
    
    /* Bouton CTA contextuel */
    .bfg-context-cta {
        display: block;
        text-align: center;
        width: 100%;
    }
}


/* =========================================
   FIX FOR SECTIONS 3, 5 AND DASHBOARD
   ========================================= */

@media (max-width: 991px) {
    /* 1. Force Logical Order in Sections 3 & 5 */
    /* This ensures Info (Title) always stays on top of the Details Box */
    .bfg-adv-grid, 
    .bfg-adv-grid.inverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Reset the order for the 'inverse' sections specifically */
    .bfg-adv-grid.inverse .bfg-adv-info {
        order: 1; /* Title stays first */
    }
    .bfg-adv-grid.inverse .bfg-adv-details {
        order: 2; /* Box goes second */
    }

    /* 2. Fix the Dashboard (Section 5 Navigation) */
    .bfg-advantage-container {
        display: block !important; /* Stack nav on top of content */
        padding: 0 20px !important;
    }

    .bfg-adv-nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 clean columns */
        gap: 8px !important;
        margin-bottom: 40px !important;
    }

    /* Make the 5th button span both columns for balance */
    .bfg-adv-label[for="adv5"] {
        grid-column: span 2;
    }

    .bfg-adv-label {
        padding: 15px 10px !important;
        text-align: center;
        border: 1px solid rgba(197, 160, 89, 0.3) !important;
    }

    .bfg-adv-label .num {
        font-size: 0.9rem !important;
        margin-bottom: 2px;
    }

    .bfg-adv-label .txt {
        font-size: 1rem !important;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* 3. Padding adjustments for Dark Sections (3 & 5) */
    .bfg-adv-section.bfg-dark-bg {
        padding: 80px 0 !important;
    }

    /* 4. Glass Boxes (Details) adjustments */
    .bfg-details-box-compact, 
    .bfg-details-box-compact.bfg-glass {
        margin: 0 !important;
        width: 100% !important;
        padding: 30px 20px !important;
    }
}

@media (max-width: 480px) {
    /* Hero Title fix for very small phones */
    .bfg-internal-hero-advantage .bfg-headline {
        font-size: 2.8rem !important;
    }
    
    /* Make nav buttons even more compact on small phones */
    .bfg-adv-label .txt {
        font-size: 0.85rem !important;
    }
}



/* =========================================
   SECTION 6 : BFG-CTA-SECTION (DARK MODE PRESTIGE)
   ========================================= */

.bfg-cta-section {
    background-color: #081629;
    /* Keeping the pattern, but dropping opacity heavily so it's a whisper of texture */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 20L90 80H10L50 20Z' fill='none' stroke='%23C5A059' stroke-width='0.4' stroke-opacity='0.03'/%3E%3C/svg%3E");
    padding: 140px 0; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; text-align: center;
}

.bfg-cta-card {
    max-width: 1100px; margin: 0 auto;
    background: rgba(255, 255, 255, 0.02); /* Glass box */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.15); /* Soft gold edge */
    padding: 100px 60px; position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

/* Double border of prestige */
.bfg-cta-card::after {
    content: ''; position: absolute; top: 20px; left: 20px; right: 20px; bottom: 20px;
    border: 1px solid rgba(197, 160, 89, 0.1); pointer-events: none; transition: all 0.3s ease;
}

.bfg-cta-title { font-family: "Cormorant Garamond", serif; font-size: clamp(2.8rem, 5vw, 5.2rem); color: #FFFFFF; line-height: 1.1; margin-bottom: 30px; font-weight: 700; }
.bfg-cta-text { font-family: "Helvetica Neue", sans-serif; font-size: 1.7rem; color: rgba(255, 255, 255, 0.7); max-width: 750px; margin: 0 auto 60px; line-height: 1.6; font-weight: 300; }

/* The Action Button: Solid Gold */
.bfg-cta-btn {
    display: inline-block;
    background: #C5A059;
    color: #050E1A !important;
    padding: 25px 70px; font-family: "Helvetica Neue", sans-serif; font-size: 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: 4px; text-decoration: none; border: 2px solid #C5A059; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; z-index: 5;
}

.bfg-cta-btn:hover {
    background: transparent;
    border-color: #C5A059;
    color: #C5A059 !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .bfg-cta-section { padding: 100px 0; }
    .bfg-cta-card { margin: 0 40px; padding: 80px 40px; }
}
@media (max-width: 768px) {
    .bfg-cta-section { padding: 80px 0; }
    .bfg-cta-card { margin: 0 20px; padding: 60px 25px; }
    .bfg-cta-card::after { top: 12px; left: 12px; right: 12px; bottom: 12px; }
    .bfg-cta-title { font-size: 3rem; margin-bottom: 20px; }
    .bfg-cta-text { font-size: 1.5rem; margin-bottom: 40px; }
    .bfg-cta-btn { padding: 20px 35px; font-size: 1.2rem; letter-spacing: 2px; width: 100%; max-width: 300px; }
}



/* =========================================
   SECTION 7 : PIED DE PAGE (V12.4 - RESPONSIVE)
   ========================================= */

.bfg-footer {
    background-color: #050E1A;
    padding: 80px 0 40px; 
    color: #FFFFFF;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}

.bfg-footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 80px;
}

/* 1. TYPOGRAPHIE (Standard 1.5 REM) */
.bfg-footer-brand h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.2rem;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.bfg-footer h4 {
    color: #C5A059;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 35px;
    font-weight: 900;
}

.bfg-footer-brand p, 
.bfg-footer-links a, 
.bfg-footer-contact li {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.5rem; /* Minimum 1.5rem */
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* 2. NAVIGATION ET TRIANGLES */
.bfg-footer-links {
    list-style: none !important;
    padding: 0 !important; 
    margin: 0 !important;
}

.bfg-footer-links li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 0 !important;
}

.bfg-footer-links li::before {
    content: '' !important;
    display: inline-block !important;
    width: 12px; height: 12px;
    background: #C5A059; 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); 
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    flex-shrink: 0;
}

.bfg-footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.bfg-footer-links a:hover { color: #FFFFFF; }

/* 3. CONTACT */
.bfg-footer-contact {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bfg-footer-contact li {
    margin-bottom: 12px;
    padding-left: 0 !important;
}

/* 4. BAS DE PAGE (1.3 REM) */
.bfg-footer-bottom-wrap {
    max-width: 1600px;
    margin: 60px auto 0; 
    padding: 30px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem; /* Taille réduite */
    color: rgba(255, 255, 255, 0.4);
}

.bfg-footer-legal a {
    color: inherit;
    text-decoration: none;
    margin-left: 40px;
}

.bfg-footer-legal a:hover { color: #C5A059; }

/* =========================================
   ADAPTATION MOBILE
   ========================================= */

@media (max-width: 1200px) {
    .bfg-footer-container {
        grid-template-columns: 1fr 1fr; /* 2 colonnes sur tablette */
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .bfg-footer { padding: 60px 0 40px; }
    
    .bfg-footer-container {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        gap: 50px;
    }

    .bfg-footer-brand h3 { font-size: 2.8rem; }
    
    .bfg-footer-bottom-wrap {
        flex-direction: column; /* Empilage des crédits */
        text-align: center;
        gap: 20px;
    }

    .bfg-footer-legal a {
        margin: 0 15px; /* Écartement égal pour les liens légaux */
    }
}
/* =========================================
   SECTION 7 : PIED DE PAGE (V15 - FINAL)
   ========================================= */

.bfg-footer {
    background-color: #050E1A;
    padding: 60px 0 30px; 
    color: #FFFFFF;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}

.bfg-footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
}

/* 1. BLOC MARQUE & CTA (GAUCHE) */
.bfg-footer-brand-col h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.bfg-brand-desc {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px; /* Réduit pour compacité */
    max-width: 450px;
}

.bfg-footer-cta-block p {
    font-size: 1.4rem;
    color: #C5A059;
    margin-bottom: 20px;
    font-weight: 300;
}

.bfg-footer-btn {
    display: inline-block;
    border: 1px solid #C5A059;
    color: #C5A059 !important;
    padding: 15px 30px;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.bfg-footer-btn:hover {
    background: #C5A059;
    color: #050E1A !important;
}

/* 2. TITRES DE COLONNES (1.6 REM) */
.bfg-footer h4 {
    color: #C5A059;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 900;
}

/* 3. ALIGNEMENT DES LISTES ET TRIANGLES */
.bfg-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bfg-footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center; /* TRIANGLES ALIGNÉS AVEC LE TEXTE */
    gap: 12px;
}

.bfg-footer-links li::before {
    content: '' !important;
    display: inline-block !important;
    width: 10px; height: 10px;
    background: #C5A059;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    flex-shrink: 0;
}

.bfg-footer-links a {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.bfg-footer-links a:hover { color: #FFFFFF; }

/* 4. BAS DE PAGE */
.bfg-footer-bottom-wrap {
    max-width: 1600px;
    margin: 50px auto 0;
    padding: 25px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.3);
}

.bfg-footer-legal a { color: inherit; text-decoration: none; margin-left: 25px; }

/* 5. MOBILE */
@media (max-width: 1200px) {
    .bfg-footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .bfg-footer-container { grid-template-columns: 1fr; gap: 40px; }
    .bfg-footer-btn { width: 100%; text-align: center; }
    .bfg-footer-bottom-wrap { flex-direction: column; text-align: center; gap: 15px; }
}


/* =========================================
   SECTION 7 : PIED DE PAGE (V16 - FINAL)
   ========================================= */

.bfg-footer {
    background-color: #050E1A;
    padding: 60px 0 30px; 
    color: #FFFFFF;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}

.bfg-footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
}

/* 1. BLOC MARQUE & CTA */
.bfg-footer-brand-col h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.bfg-brand-desc {
    font-size: 1.5rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    max-width: 450px;
}

/* TEXTE DORÉ AUGMENTÉ */
.bfg-cta-gold-text {
    font-size: 1.8rem !important; /* Taille augmentée selon demande */
    color: #C5A059;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Helvetica Neue", sans-serif;
}

.bfg-footer-btn {
    display: inline-block;
    border: 1px solid #C5A059;
    color: #C5A059 !important;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.bfg-footer-btn:hover { background: #C5A059; color: #050E1A !important; }

/* 2. TITRES DE COLONNES */
.bfg-footer h4 {
    color: #C5A059;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: 900;
}

/* 3. ALIGNEMENT DES LISTES ET TRIANGLES */
.bfg-footer-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }

.bfg-footer-links li {
    margin-bottom: 18px;
    display: flex;
    align-items: center; /* GARANTIT L'ALIGNEMENT EN LIGNE AVEC LE TEXTE */
    gap: 12px;
}

.bfg-footer-links li::before {
    content: '' !important;
    display: inline-block !important;
    width: 10px; height: 10px;
    background: #C5A059;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    flex-shrink: 0;
}

.bfg-footer-links a {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

/* 4. BAS DE PAGE */
.bfg-footer-bottom-wrap {
    max-width: 1600px;
    margin: 50px auto 0;
    padding: 25px 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.3);
}

/* 5. RESPONSIVE */
@media (max-width: 768px) {
    .bfg-cta-gold-text { font-size: 1.6rem !important; } /* Légère réduction pour mobile */
    .bfg-footer-container { grid-template-columns: 1fr; gap: 40px; }
}





/* --- VISUAL ELEMENTS STYLING --- */

/* 1. TECH DASHBOARD (Expanded) */
.bfg-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.bfg-dash-panel {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
}
.bfg-crm-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.bfg-crm-avatar {
    width: 60px; height: 60px; background: #C5A059; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #0A192F; font-size: 1.5rem;
}

/* CSS CHARTS */
.bfg-mini-chart-line {
    width: 100%; height: 100px; position: relative;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-top: 20px;
}
.bfg-mini-chart-line svg { width: 100%; height: 100%; overflow: visible; }
.bfg-mini-path {
    fill: none; stroke: #C5A059; stroke-width: 2;
    stroke-dasharray: 500; stroke-dashoffset: 500;
    animation: drawGraph 3s ease forwards 1s;
}

.bfg-asset-bars {
    display: flex; gap: 15px; height: 100px; align-items: flex-end; margin-top: 20px;
}
.bfg-asset-col {
    flex: 1; background: rgba(255,255,255,0.1); height: 100%; position: relative;
    border-radius: 2px; overflow: hidden;
}
.bfg-asset-fill {
    position: absolute; bottom: 0; left: 0; width: 100%; background: #C5A059;
    transition: height 1s ease;
}

/* 2. TRAINING SCHEDULE (Enhanced) */
.bfg-schedule-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Topic, Format, Date */
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0; color: #FFF; font-size: 1.3rem;
    align-items: center;
}
.bfg-badge {
    background: rgba(197, 160, 89, 0.2);
    color: #C5A059;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

/* 3. ADMIN TASK GRID (2 Columns) */
.bfg-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px; /* Row gap, Col gap */
}
.bfg-task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-left: 3px solid #C5A059;
}
.bfg-task-name {
    color: #FFF; font-size: 1.2rem; font-family: "Helvetica Neue", sans-serif;
}
.bfg-check-box {
    color: #C5A059; font-size: 1.2rem;
}

/* Mobile */
@media (max-width: 1200px) {
    .bfg-nav-wrapper { flex-direction: column; border-bottom: none; gap: 5px; margin-bottom: 50px; }
    .bfg-nav-label { border: 1px solid rgba(255,255,255,0.1); padding: 20px; text-align: center; }
    .bfg-nav-label::after { display: none; }
    .bfg-nav-label:hover, #tab-tech:checked ~ .bfg-nav-wrapper label[for="tab-tech"] { background: #C5A059; color: #0A192F; }
    
    .bfg-slide { grid-template-columns: 1fr; position: relative; opacity: 1; visibility: visible; display: none; text-align: center; gap: 40px;}
    .bfg-slide-list li { justify-content: center; padding-left: 0; }
    .bfg-slide-list li::before { display: none; }
    
    #tab-tech:checked ~ .bfg-slides-wrapper .slide-tech,
    #tab-train:checked ~ .bfg-slides-wrapper .slide-train,
    #tab-mark:checked ~ .bfg-slides-wrapper .slide-mark,
    #tab-admin:checked ~ .bfg-slides-wrapper .slide-admin { display: grid; }
    
    .bfg-visual-container { height: auto; padding-bottom: 50px; }
    .bfg-dashboard-grid { grid-template-columns: 1fr; }
    .bfg-admin-grid { grid-template-columns: 1fr; }
}





/* =========================================
   PAGE EXPERTISE : STYLE SIGNATURE (V20)
   ========================================= */

.bfg-expertise-page { background-color: #050E1A; color: #FFFFFF; font-size: 2.1rem; }
.bfg-expertise-container { max-width: 1700px; margin: 0 auto; padding: 0 40px; }

/* 1. HERO PRESTIGE */
.bfg-expertise-hero {
    padding: 240px 0 140px; text-align: center;
    background-image: radial-gradient(circle at 50% 50%, rgba(8, 22, 41, 1) 0%, #050E1A 100%);
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
}
.bfg-expertise-eyebrow { color: #C5A059; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 8px; margin-bottom: 40px; display: block; }
.bfg-expertise-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 8vw, 8rem); color: #FFFFFF; line-height: 1; margin-bottom: 40px; }
.bfg-expertise-title .gold-text { color: #C5A059; }
.bfg-expertise-lead { font-family: "Helvetica Neue", sans-serif; font-size: 2.4rem; color: rgba(255, 255, 255, 0.85); max-width: 1100px; margin: 0 auto; line-height: 1.5; font-weight: 300; }

/* 2. GRILLE DÉSÉQUILIBRÉE (1.8fr contenu / 1fr visuel) */
.bfg-exp-section { padding: 180px 0; }
.bfg-exp-section.alt-bg { background-color: #081629; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

.bfg-exp-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 120px; align-items: center; }
.bfg-exp-grid.inverse { grid-template-columns: 1fr 1.8fr; }

.bfg-expertise-title-small { font-family: "Cormorant Garamond", serif; font-size: 6rem; color: #FFFFFF; margin-bottom: 35px; line-height: 1; }
.bfg-expertise-text { font-size: 2.2rem; color: rgba(255, 255, 255, 0.9); line-height: 1.6; margin-bottom: 50px; font-weight: 300; }
.bfg-card-sub { color: #C5A059; font-size: 1.6rem; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 25px; display: block; }

/* 3. VISUELS : GLASS CARDS & ICÔNES SVG */
.bfg-glass-card { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(197, 160, 89, 0.2); padding: 90px 60px; text-align: center; }
.subtle-icon { width: 80px; height: 80px; margin-bottom: 40px; opacity: 0.8; }
.bfg-glass-card p { font-size: 2.1rem; color: #FFFFFF; line-height: 1.5; font-weight: 300; }

/* 4. LISTES ET CTA */
.bfg-card-list-static { list-style: none !important; padding: 0 !important; margin: 0 0 50px 0 !important; }
.bfg-card-list-static li { font-size: 1.9rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 25px; display: flex; align-items: flex-start; gap: 20px; }
.bfg-card-list-static li strong { color: #FFFFFF; font-weight: 700; }
.bfg-card-list-static li::before { content: ''; width: 12px; height: 12px; background: #C5A059; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); flex-shrink: 0; margin-top: 10px; }

.bfg-simple-cta {
    display: inline-block; font-family: "Helvetica Neue", sans-serif; font-size: 1.4rem; font-weight: 900;
    text-transform: uppercase; color: #C5A059; text-decoration: none; letter-spacing: 3px;
    padding-bottom: 10px; border-bottom: 2px solid rgba(197, 160, 89, 0.4); transition: 0.3s;
}
.bfg-simple-cta:hover { color: #FFFFFF; border-color: #FFFFFF; transform: translateX(10px); }

/* 5. RESPONSIVE */
@media (max-width: 1200px) {
    .bfg-exp-grid, .bfg-exp-grid.inverse { grid-template-columns: 1fr; text-align: center; gap: 80px; }
    .bfg-card-list-static li { text-align: left; }
    .bfg-expertise-title { font-size: 6rem; }
}


/* =========================================
   SECTION DE CLÔTURE : STYLE DÉFINITIF ENRICHI
   ========================================= */

.bfg-expertise-closing {
    padding: 180px 0;
    background-color: #050E1A; /* Bleu nuit institutionnel */
    background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}

.bfg-closing-icon-wrap {
    margin-bottom: 40px;
}

.subtle-icon-large {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.bfg-closing-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 5.2rem;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 35px;
    font-weight: 500;
}

.bfg-closing-title .gold-text {
    color: #C5A059; /* Or signature */
}

.bfg-expertise-lead {
    font-family: "Helvetica Neue", sans-serif;
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto 80px;
    line-height: 1.6;
    font-weight: 300;
}

/* Grille de caractéristiques avec contenu textuel plus dense */
.bfg-closing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin: 33px auto 100px;
    text-align: left;
    max-width: 1400px;
}

.bfg-feat-item {
    border-left: 1px solid rgba(197, 160, 89, 0.3);
    padding-left: 30px;
}

.bfg-feat-item strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.8rem;
    color: #C5A059;
    margin-bottom: 20px;
}

.bfg-feat-item p {
    font-size: 1.75rem; /* Taille augmentée pour lisibilité */
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    font-weight: 300;
}

/* Bouton d'action massif */
.bfg-main-cta {
    display: inline-block;
    background: #C5A059;
    color: #050E1A !important;
    padding: 25px 70px;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bfg-main-cta:hover {
    background: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
}

.bfg-sub-cta {
    margin-top: 25px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Adaptation Mobile */
@media (max-width: 1024px) {
    .bfg-closing-features {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }
    .bfg-closing-title { font-size: 4rem; }
    .bfg-main-cta { width: 100%; padding: 22px 30px; }
}





/* =========================================
   PAGE AVANTAGE : DESIGN FINAL COMPACT (V28)
   ========================================= */

.bfg-advantage-page { background-color: #050E1A; color: #FFFFFF; font-size: 2.1rem; }

/* HERO MASSIF */
.bfg-adv-hero {
    padding: 260px 0 140px; text-align: center;
    background-image: radial-gradient(circle at 50% 50%, #081629 0%, #050E1A 100%);
}
.bfg-expertise-container { max-width: 1700px; margin: 0 auto; padding: 0 40px; }
.bfg-expertise-eyebrow { color: #C5A059; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 8px; margin-bottom: 40px; display: block; }
.bfg-expertise-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4.5rem, 8.5vw, 9rem); color: #FFFFFF; line-height: 1; margin-bottom: 40px; }
.gold-text { color: #C5A059; }
.bfg-hero-accent-line { width: 80px; height: 3px; background: #C5A059; margin: 40px auto; }
.bfg-expertise-lead { font-family: "Helvetica Neue", sans-serif; font-size: 2.4rem; color: rgba(255, 255, 255, 0.85); max-width: 1100px; margin: 0 auto; line-height: 1.5; font-weight: 300; }

/* GRILLE DE CHAPITRE */
.bfg-adv-section { padding: 140px 0; }
.bfg-adv-section.bfg-dark-bg { background-color: #081629; }

.bfg-adv-grid { 
    display: grid; 
    grid-template-columns: 1fr 2.2fr; 
    gap: 100px; 
    align-items: flex-start; 
}
.bfg-adv-grid.inverse { grid-template-columns: 2.2fr 1fr; }
.bfg-adv-grid.inverse .bfg-adv-info { grid-column: 2; }
.bfg-adv-grid.inverse .bfg-adv-details { grid-column: 1; grid-row: 1; }

/* ICÔNES DE SECTION */
.bfg-section-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}
.bfg-section-icon svg { width: 100%; height: 100%; opacity: 0.9; }

.bfg-adv-h2 { font-family: "Cormorant Garamond", serif; font-size: 6.5rem; line-height: 1; margin-bottom: 30px; }
.bfg-adv-intro { font-size: 2.2rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); font-weight: 300; }

/* CONTENEUR DE DÉTAILS ULTRA-COMPACT */
.bfg-details-box-compact {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 15px; /* Gap minimal */
    background: rgba(255, 255, 255, 0.02); 
    border-top: 1px solid rgba(197, 160, 89, 0.3);
}
.bfg-details-box-compact.bfg-glass { background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); }

/* CORRECTIF MARGE H4 (CRITIQUE) */
.bfg-details-box-compact h4 {
    font-family: "Cormorant Garamond", serif; 
    font-size: 3.2rem; 
    color: #C5A059; 
    margin-top: 0 !important; /* Annule la marge globale de 40px */
    margin-bottom: 8px; 
    line-height: 1.1;
}

/* VISION STRATÉGIQUE */
.bfg-strategy-lead p {
    font-size: 1.9rem; color: rgba(255, 255, 255, 0.9); line-height: 1.4;
    margin-bottom: 15px; /* Petit espace avant la suite */
}

/* LISTE TACTIQUE */
.bfg-tactical-list h4 {
    font-size: 2.6rem; 
    color: #FFFFFF; 
    margin-top: 10px !important; /* Petit espace au-dessus du 2e titre */
    margin-bottom: 12px;
}

.bfg-card-list-static { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.bfg-card-list-static li { 
    font-size: 1.8rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 10px; 
    display: flex; align-items: flex-start; gap: 15px; 
}
.bfg-card-list-static li strong { color: #C5A059; font-weight: 700; white-space: nowrap; }
.bfg-card-list-static li::before { 
    content: ''; width: 8px; height: 8px; background: #C5A059; 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%); flex-shrink: 0; margin-top: 8px; 
}

/* CTA CONTEXTUEL */
.bfg-context-cta {
    display: inline-block;
    background: #C5A059;
    color: #050E1A !important;
    padding: 18px 40px;
    font-family: "Helvetica Neue", sans-serif;
    font-size: 1.4rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 3px; text-decoration: none;
    align-self: flex-start; margin-top: 15px; transition: 0.3s;
}
.bfg-context-cta:hover { background: #FFFFFF; transform: translateY(-3px); }

/* CLÔTURE */
.bfg-expertise-closing { padding: 180px 0; text-align: center; background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.05) 0%, transparent 70%); }
.bfg-closing-card { max-width: 1200px; margin: 0 auto; }
.bfg-card-sub { color: #C5A059; font-size: 1.6rem; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; display: block; margin-bottom: 25px; }
.bfg-closing-title { font-family: "Cormorant Garamond", serif; font-size: 5.2rem; color: #FFFFFF; line-height: 1.1; margin-bottom: 35px; }
.bfg-main-cta { 
    display: inline-block; background: #C5A059; color: #050E1A !important; 
    padding: 25px 70px; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; text-decoration: none; transition: 0.4s; margin-top: 60px;
}
.bfg-main-cta:hover { background: #FFFFFF; transform: translateY(-8px); }
.bfg-sub-cta { margin-top: 25px; font-size: 1.3rem; color: rgba(255, 255, 255, 0.35); text-transform: uppercase; letter-spacing: 2px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .bfg-adv-grid, .bfg-adv-grid.inverse { grid-template-columns: 1fr !important; gap: 60px; }
    .bfg-details-box-compact { padding: 30px; }
    .bfg-card-list-static li strong { white-space: normal; }
    .bfg-context-cta { width: 100%; text-align: center; }
}



/* =========================================
   PAGE ACCÈS : CONCEPT MATRIX GRID (V1.1)
   ========================================= */

.bfg-access-matrix-page { background-color: #050E1A; color: #FFFFFF; font-size: 2.1rem; }

/* 1. HERO */
.bfg-matrix-hero {
    padding: 240px 0 120px; text-align: center;
    background-image: radial-gradient(circle at 50% 0%, #081629 0%, #050E1A 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
.bfg-expertise-container { max-width: 1700px; margin: 0 auto; padding: 0 40px; }
.bfg-expertise-eyebrow { color: #C5A059; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 8px; margin-bottom: 40px; display: block; }
.bfg-expertise-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4.5rem, 8.5vw, 9rem); color: #FFFFFF; line-height: 1; margin-bottom: 40px; }
.gold-text { color: #C5A059; }
.bfg-expertise-lead { font-family: "Helvetica Neue", sans-serif; font-size: 2.4rem; color: rgba(255, 255, 255, 0.85); max-width: 1100px; margin: 0 auto; line-height: 1.5; font-weight: 300; }

/* 2. SECTION LAYOUT */
.bfg-matrix-section { padding: 140px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.bfg-matrix-section.bfg-dark-bg { background-color: #06101F; }

.bfg-matrix-layout {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 Titre, 2/3 Services */
    gap: 80px;
    align-items: start;
}

/* SIDEBAR STICKY */
.bfg-matrix-sidebar {
    position: relative;
}
.bfg-sticky-content {
    position: sticky;
    top: 150px;
    padding-right: 40px;
}

.bfg-section-icon-large {
    width: 100px; height: 100px; margin-bottom: 30px;
}
.bfg-section-icon-large svg { width: 100%; height: 100%; opacity: 1; stroke-width: 0.8; }

.bfg-matrix-title { 
    font-family: "Cormorant Garamond", serif; font-size: 6rem; 
    line-height: 1; margin-bottom: 25px; color: #FFFFFF;
}
.bfg-matrix-desc {
    font-size: 2rem; color: rgba(255, 255, 255, 0.7); 
    line-height: 1.5; margin-bottom: 40px; font-weight: 300;
}
.bfg-matrix-cta {
    font-family: "Helvetica Neue", sans-serif; font-size: 1.4rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 3px; color: #C5A059; text-decoration: none;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3); padding-bottom: 5px;
    transition: 0.3s;
}
.bfg-matrix-cta:hover { color: #FFFFFF; border-color: #FFFFFF; }

/* GRILLE DE CARTES */
.bfg-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.bfg-service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 50px;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bfg-service-card:hover {
    background: rgba(197, 160, 89, 0.05);
    transform: translateY(-5px);
    border-color: #C5A059;
}

.bfg-service-card h4 {
    font-family: "Cormorant Garamond", serif; font-size: 2.8rem;
    color: #C5A059; margin-bottom: 20px; line-height: 1.1;
}

.bfg-service-card p {
    font-size: 1.7rem; color: rgba(255, 255, 255, 0.75); line-height: 1.5;
}

/* CLÔTURE */
.bfg-expertise-closing { padding: 180px 0; text-align: center; }
.bfg-closing-card { max-width: 1200px; margin: 0 auto; }
.bfg-card-sub { color: #C5A059; font-size: 1.6rem; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; display: block; margin-bottom: 25px; }
.bfg-closing-title { font-family: "Cormorant Garamond", serif; font-size: 5.2rem; color: #FFFFFF; line-height: 1.1; margin-bottom: 35px; }
.bfg-main-cta { 
    display: inline-block; background: #C5A059; color: #050E1A !important; 
    padding: 25px 70px; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; text-decoration: none; transition: 0.4s; margin-top: 60px;
}
.bfg-main-cta:hover { background: #FFFFFF; transform: translateY(-8px); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .bfg-matrix-layout { grid-template-columns: 1fr; gap: 60px; }
    .bfg-sticky-content { position: static; padding-right: 0; text-align: center; margin-bottom: 40px; }
    .bfg-section-icon-large { margin: 0 auto 30px; }
    .bfg-matrix-grid { grid-template-columns: 1fr; }
}




/* =========================================
   PAGE À PROPOS : SAGA INSTITUTIONNELLE (V1.0)
   ========================================= */

.bfg-about-page { background-color: #050E1A; color: #FFFFFF; font-size: 2.1rem; }

/* 1. HERO */
.bfg-about-hero {
    padding: 240px 0 140px; text-align: center;
    background-image: radial-gradient(circle at 50% 0%, #081629 0%, #050E1A 100%);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
.bfg-expertise-container { max-width: 1700px; margin: 0 auto; padding: 0 40px; }
.bfg-expertise-eyebrow { color: #C5A059; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 8px; margin-bottom: 40px; display: block; }
.bfg-expertise-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4.5rem, 8.5vw, 9rem); color: #FFFFFF; line-height: 1; margin-bottom: 40px; }
.gold-text { color: #C5A059; }
.bfg-hero-accent-line { width: 80px; height: 3px; background: #C5A059; margin: 40px auto; }
.bfg-expertise-lead { font-family: "Helvetica Neue", sans-serif; font-size: 2.4rem; color: rgba(255, 255, 255, 0.85); max-width: 1100px; margin: 0 auto; line-height: 1.5; font-weight: 300; }

/* 2. MISSION & VISION */
.bfg-mission-section { padding: 120px 0; background-color: #050E1A; }
.bfg-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.bfg-mission-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 60px;
    transition: 0.3s;
}
.bfg-mission-card.dark { background: rgba(0, 0, 0, 0.2); }
.bfg-mission-card:hover { border-color: #C5A059; transform: translateY(-5px); }

.bfg-card-icon { width: 60px; height: 60px; margin-bottom: 30px; }
.bfg-card-icon svg { width: 100%; height: 100%; }

.bfg-mission-title { font-family: "Cormorant Garamond", serif; font-size: 3.5rem; color: #FFFFFF; margin-bottom: 20px; }
.bfg-mission-text { font-size: 1.8rem; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }

/* 3. TIMELINE (Verticale) */
.bfg-timeline-section { padding: 160px 0; position: relative; overflow: hidden; }
.bfg-section-header { text-align: center; margin-bottom: 100px; }
.bfg-card-sub { color: #C5A059; font-size: 1.6rem; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; display: block; margin-bottom: 20px; }
.bfg-adv-h2 { font-family: "Cormorant Garamond", serif; font-size: 6.5rem; line-height: 1; }

.bfg-timeline-wrapper { position: relative; max-width: 1000px; margin: 0 auto; }
.bfg-timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: rgba(197, 160, 89, 0.3); transform: translateX(-50%);
}

.bfg-timeline-item {
    display: flex; justify-content: flex-end; padding-right: 50px;
    position: relative; margin-bottom: 80px; width: 50%;
}
.bfg-timeline-item.right {
    align-self: flex-end; justify-content: flex-start; 
    padding-right: 0; padding-left: 50px; margin-left: 50%;
}

.bfg-tl-dot {
    position: absolute; right: -9px; top: 0;
    width: 18px; height: 18px; background: #050E1A;
    border: 3px solid #C5A059; border-radius: 50%; z-index: 2;
}
.bfg-timeline-item.right .bfg-tl-dot { right: auto; left: -9px; }

.bfg-tl-year {
    position: absolute; right: -120px; top: -5px;
    font-family: "Helvetica Neue", sans-serif; font-weight: 900; font-size: 1.8rem;
    color: #C5A059; opacity: 0.8; width: 80px;
}
.bfg-timeline-item.right .bfg-tl-year { right: auto; left: -120px; text-align: right; }

.bfg-tl-content h4 { font-family: "Cormorant Garamond", serif; font-size: 2.8rem; color: #FFFFFF; margin-bottom: 15px; line-height: 1; }
.bfg-tl-content p { font-size: 1.7rem; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }

/* 4. ÉQUIPE (Grid) */
.bfg-team-section { padding: 160px 0; background-color: #06101F; }
.bfg-team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
    margin-top: 80px;
}

.bfg-team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px; text-align: center;
    transition: 0.3s;
}
.bfg-team-card.founder { border-color: #C5A059; background: rgba(197, 160, 89, 0.05); }
.bfg-team-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.04); }

.bfg-team-role {
    font-size: 1.3rem; text-transform: uppercase; letter-spacing: 2px;
    color: #C5A059; margin-bottom: 15px; font-weight: 700;
}
.bfg-team-card h3 { font-family: "Cormorant Garamond", serif; font-size: 3rem; margin-bottom: 15px; color: #FFFFFF; }
.bfg-email { font-size: 1.5rem; color: rgba(255, 255, 255, 0.5); font-style: italic; }

.bfg-team-action { text-align: center; margin-top: 60px; }
.bfg-simple-cta {
    display: inline-block; font-size: 1.4rem; font-weight: 900;
    text-transform: uppercase; color: #C5A059; text-decoration: none; letter-spacing: 3px;
    border-bottom: 2px solid rgba(197, 160, 89, 0.4); padding-bottom: 8px; transition: 0.3s;
}
.bfg-simple-cta:hover { color: #FFFFFF; border-color: #FFFFFF; }

/* 5. CLÔTURE */
.bfg-expertise-closing { padding: 180px 0; text-align: center; background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.05) 0%, transparent 70%); }
.bfg-closing-card { max-width: 1200px; margin: 0 auto; }
.bfg-closing-title { font-family: "Cormorant Garamond", serif; font-size: 5.2rem; color: #FFFFFF; line-height: 1.1; margin-bottom: 35px; }
.bfg-main-cta { 
    display: inline-block; background: #C5A059; color: #050E1A !important; 
    padding: 25px 70px; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; text-decoration: none; transition: 0.4s; margin-top: 60px;
}
.bfg-main-cta:hover { background: #FFFFFF; transform: translateY(-8px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bfg-mission-grid { grid-template-columns: 1fr; }
    .bfg-team-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    
    /* Timeline Mobile Reset */
    .bfg-timeline-line { left: 20px; }
    .bfg-timeline-item { width: 100%; padding-left: 60px; padding-right: 0; text-align: left; margin-bottom: 50px; }
    .bfg-timeline-item.right { margin-left: 0; padding-left: 60px; text-align: left; }
    .bfg-tl-dot { left: 11px; right: auto; }
    .bfg-timeline-item.right .bfg-tl-dot { left: 11px; }
    .bfg-tl-year { left: 60px; top: -30px; text-align: left; width: auto; }
    .bfg-timeline-item.right .bfg-tl-year { left: 60px; text-align: left; }
}




/* =========================================
   PAGE CONTACT : DESIGN CONCIERGERIE
   ========================================= */

.bfg-contact-page { background-color: #050E1A; color: #FFFFFF; font-size: 2.1rem; }

/* 1. HERO */
.bfg-contact-hero {
    padding: 220px 0 100px; text-align: center;
    background-image: radial-gradient(circle at 50% 0%, #081629 0%, #050E1A 100%);
}
.bfg-expertise-container { max-width: 1700px; margin: 0 auto; padding: 0 40px; }
.bfg-expertise-eyebrow { color: #C5A059; font-size: 1.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 8px; margin-bottom: 40px; display: block; }
.bfg-expertise-title { font-family: "Cormorant Garamond", serif; font-size: clamp(4.5rem, 8.5vw, 9rem); color: #FFFFFF; line-height: 1; margin-bottom: 40px; }
.gold-text { color: #C5A059; }
.bfg-hero-accent-line { width: 80px; height: 3px; background: #C5A059; margin: 40px auto; }
.bfg-expertise-lead { font-family: "Helvetica Neue", sans-serif; font-size: 2.4rem; color: rgba(255, 255, 255, 0.85); max-width: 900px; margin: 0 auto; line-height: 1.5; font-weight: 300; }

/* 2. SECTION PRINCIPALE */
.bfg-contact-section { padding: 100px 0 160px; background-color: #050E1A; }

.bfg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Colonne Info plus étroite, Formulaire plus large */
    gap: 80px;
}

/* COLONNE GAUCHE : INFO */
.bfg-info-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid #C5A059;
    padding: 50px;
    margin-bottom: 50px;
}

.bfg-info-title { font-family: "Cormorant Garamond", serif; font-size: 3.5rem; margin-bottom: 20px; color: #FFFFFF; }
.bfg-address-text { font-size: 2rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; }

.bfg-method-item { margin-bottom: 30px; }
.bfg-label { display: block; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 2px; color: #C5A059; margin-bottom: 5px; font-weight: 700; }
.bfg-link-large { font-family: "Cormorant Garamond", serif; font-size: 3rem; color: #FFFFFF; text-decoration: none; transition: 0.3s; }
.bfg-link-large:hover { color: #C5A059; }

/* LISTE DÉPARTEMENTS */
.bfg-dept-header { font-size: 1.6rem; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 15px; }

.bfg-dept-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.bfg-dept-icon { 
    width: 50px; height: 50px; background: rgba(197, 160, 89, 0.1); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bfg-dept-icon svg { width: 24px; height: 24px; }

.bfg-dept-info strong { display: block; font-size: 1.8rem; font-weight: 500; color: #FFFFFF; margin-bottom: 3px; }
.bfg-dept-info a { font-size: 1.6rem; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: 0.3s; }
.bfg-dept-info a:hover { color: #C5A059; }

/* COLONNE DROITE : FORMULAIRE */
.bfg-form-column { margin-top: -80px; /* Chevauchement subtil vers le haut */ }

.bfg-form-container {
    background: #081629;
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.bfg-form-header { margin-bottom: 40px; }
.bfg-form-header h3 { font-family: "Cormorant Garamond", serif; font-size: 3.5rem; margin-bottom: 10px; color: #FFFFFF; }
.bfg-form-header p { font-size: 1.6rem; color: rgba(255, 255, 255, 0.6); }

/* =========================================
   GRAVITY FORMS OVERRIDE (STYLE ID 1)
   ========================================= */
.bfg-gravity-wrapper .gform_wrapper input[type=text],
.bfg-gravity-wrapper .gform_wrapper input[type=email],
.bfg-gravity-wrapper .gform_wrapper input[type=tel],
.bfg-gravity-wrapper .gform_wrapper textarea,
.bfg-gravity-wrapper .gform_wrapper select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    padding: 20px !important;
    font-size: 1.6rem !important;
    border-radius: 0 !important;
    width: 100% !important;
    transition: 0.3s;
    font-family: "Helvetica Neue", sans-serif;
}

.bfg-gravity-wrapper .gform_wrapper input:focus,
.bfg-gravity-wrapper .gform_wrapper textarea:focus {
    border-color: #C5A059 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
}

.bfg-gravity-wrapper .gform_wrapper label.gfield_label {
    color: #C5A059 !important;
    font-size: 1.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.bfg-gravity-wrapper .gform_footer input[type=submit] {
    background: #C5A059 !important;
    color: #050E1A !important;
    font-family: "Helvetica Neue", sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    padding: 20px 60px !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    width: 100%;
    margin-top: 20px;
}

.bfg-gravity-wrapper .gform_footer input[type=submit]:hover {
    background: #FFFFFF !important;
    transform: translateY(-5px);
}

/* 3. MAP BUTTON */
.bfg-map-section {
    height: 400px;
    background: url('/path/to/dark-map-image.jpg') center/cover; /* Image ou couleur unie */
    background-color: #06101F;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    display: flex; align-items: center; justify-content: center;
}

.bfg-map-btn {
    display: inline-flex; align-items: center; gap: 15px;
    background: #050E1A; border: 1px solid #C5A059;
    color: #FFFFFF; padding: 20px 40px;
    font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    text-decoration: none; transition: 0.3s;
}
.bfg-map-btn:hover { background: #C5A059; color: #050E1A; }
.bfg-map-btn svg { width: 20px; height: 20px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .bfg-contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .bfg-form-column { margin-top: 0; }
    .bfg-contact-hero { padding: 180px 0 80px; }
}




/* --- GRAVITY FORMS VISIBILITY FIX (FULLY OPAQUE) --- */

/* 1. Input Text (User typing) - Solid White */
body .gform_wrapper input[type=text],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper textarea,
body .gform_wrapper select {
    color: #FFFFFF !important;
    opacity: 1 !important; /* Forces full visibility */
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* 2. Placeholders - Solid White (No Transparency) */
body .gform_wrapper ::placeholder {
    color: #FFFFFF !important; 
    opacity: 1 !important; 
}

/* 3. Main Labels - Gold */
body .gform_wrapper .gfield_label {
    color: #C5A059 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1 !important;
}

/* 4. Sub-labels (First, Last) & Descriptions - Solid White */
body .gform_wrapper .ginput_complex label, 
body .gform_wrapper .gfield_description {
    color: #FFFFFF !important; 
    opacity: 1 !important;
    font-size: 1.3rem !important;
    font-weight: 400 !important;
}

/* 5. Error Styles */
body .gform_wrapper li.gfield_error input[type=text],
body .gform_wrapper li.gfield_error input[type=email],
body .gform_wrapper li.gfield_error input[type=tel] {
    border-color: #ff6b6b !important;
    background-color: rgba(255, 107, 107, 0.1) !important;
}

body .gform_wrapper div.validation_error {
    color: #ff6b6b !important;
    border-color: #ff6b6b !important;
}






/* =========================================
   RÉINITIALISATION DES CONTENEURS THÈME
   ========================================= */

/* 1. Annulation de la largeur maximale du conteneur interne */
.site-inner {
    max-width: none !important;
    padding: 0 !important;
}

/* 2. Forcer le contenu "Pleine Largeur" à occuper 100% de l'espace */
.full-width-content .content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
}

/* 3. Suppression des paddings latéraux par défaut sur le contenu */
.content {
    padding: 0 !important;
    max-width: none !important;
}

/* 4. Correction spécifique pour Infinity Pro (Container Wrap) */
.wrap {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/* style.css | https://new.boulos.net/wp-content/themes/infinity-pro/style.css?ver=1.3.3 */

.header-image .title-area {
  margin-left: 10%;
}

/* style.css | https://new.boulos.net/wp-content/themes/infinity-pro/style.css?ver=1.3.3 */

.genesis-nav-menu {
  padding-right: 15%;
}


/* style.css | https://new.boulos.net/wp-content/themes/infinity-pro/style.css?ver=1.3.3 */

.nav-primary {
  /* text-align: center; */
  text-align: right;
}

.genesis-nav-menu {
  /* width: auto; */
  width: 70vw;
}




/* --- Mobile Header Fixes --- */

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

    /* 1. Fix the Header Layout to use Flexbox */
    /* This aligns the logo to the left and menu to the right */
    .site-header .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px; /* Adds breathing room */
        height: auto;
    }

    /* 2. Fix the Logo */
    /* Removes fixed widths and ensures the image scales down */
    .site-header .title-area {
        float: none;
        width: auto;
        padding: 0;
        margin: 0;
        max-width: 70%; /* Prevents logo from hitting the menu button */
    }

    .site-header .title-area img {
        height: auto;
        max-height: 50px; /* Adjust this number to control logo size */
        width: auto;
    }

    /* 3. Fix the "White Box" Menu Button */
    /* Removes the white background and makes the icon white */
    button#genesis-mobile-nav-primary {
        background-color: transparent !important; /* Removes white box */
        color: #ffffff !important; /* Makes 'MENU' text/icon white */
        border: 1px solid rgba(255,255,255,0.3); /* Optional: adds a subtle border */
        box-shadow: none;
        float: none;
        margin: 0;
    }

    /* 4. Ensure the dropdown menu background is dark */
    .genesis-nav-menu.responsive-menu {
        background-color: #0e1e35; /* Matches your dark blue header */
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%; /* Pushes menu below the header */
        z-index: 999;
    }

    .genesis-nav-menu.responsive-menu .menu-item a {
        color: #ffffff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

/* 1. Create a Flexbox Container for the Header */
.site-header .wrap {
    display: flex;
    flex-wrap: wrap;              /* Allows the menu to drop to the next line when open */
    align-items: center;          /* Vertically center the Logo and Button */
    justify-content: space-between; /* Push Logo to the left, Button to the right */
    padding: 10px 20px;           /* Add some breathing room */
}

/* 2. Fix the Logo Container */
.site-header .title-area {
    width: auto;                  /* Stop it from forcing full width */
    max-width: 70%;               /* Prevent it from overlapping the menu button */
    margin: 0;
    float: none;                  /* Override default Genesis floats */
}

/* 3. Ensure the Logo Image Displays Fully */
.site-header .site-title a {
    display: block;
    background-size: contain !important; /* CRITICAL: Prevents the logo from being cropped */
    background-repeat: no-repeat;
    background-position: left center;
    height: 60px;                 /* Adjust this height to match your logo's actual size */
    width: 220px;                 /* Adjust width to fit your specific logo image */
}

/* 4. Fix the Menu Button Position */
#genesis-mobile-nav-primary {
    width: auto;
    margin: 0;
    flex: 0 0 auto;               /* Prevent the button from shrinking */
    order: 2;                     /* Keep button to the right of the logo */
}

/* 5. Force the Dropdown Menu to Full Width */
.site-header nav#genesis-nav-primary {
    width: 100%;
    flex-basis: 100%;             /* Force it to take up a full new row */
    order: 3;                     /* Ensure it opens BELOW the logo and button */
}
/* Update the existing .wrap rule or add this below it */
.site-header .wrap {
    min-height: 185px; /* Adjust this number to your preference */
}    
}

@media (min-width: 1024px) {
    .bfg-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}





.bfg-footer {
    background-color: #050E1A;
    border-top: 1px solid rgba(197, 160, 89, 0.2); /* Low-opacity gold */
    padding-top: 80px; /* Ensures enough breathing room */
}



/* =========================================
   PAGE LÉGALE : DESIGN INSTITUTIONNEL
   ========================================= */

.bfg-legal-page { background-color: #050E1A; color: rgba(255,255,255,0.8); padding-bottom: 120px; }

.bfg-legal-hero { padding: 200px 0 60px; }

.bfg-legal-content { max-width: 900px; margin: 0 auto; }

.bfg-legal-intro { 
    font-size: 2.2rem; 
    line-height: 1.6; 
    color: #FFFFFF; 
    margin-bottom: 60px; 
    font-family: "Helvetica Neue", sans-serif;
    font-weight: 300;
}

.bfg-legal-section { margin-bottom: 50px; }

.bfg-legal-section h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.8rem;
    color: #C5A059;
    margin-bottom: 25px;
}

.bfg-legal-section p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Grille des principes LPRPDE */
.bfg-principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.principle-item {
    background: rgba(255,255,255,0.03);
    padding: 15px 20px;
    border-left: 2px solid #C5A059;
    font-size: 1.6rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 15px;
}

.principle-item span { color: #C5A059; font-weight: 800; font-size: 1.2rem; opacity: 0.6; }

/* Boîte de contact */
.bfg-legal-contact-box {
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px;
    margin-top: 60px;
}

.bfg-legal-contact-box h3 { font-size: 3.2rem; color: #FFFFFF; margin-bottom: 20px; }

.contact-details a { color: #C5A059; text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
.contact-details a:hover { border-bottom: 1px solid #C5A059; }

.bfg-legal-footer-note {
    margin-top: 60px;
    font-size: 1.4rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.bfg-legal-footer-note a { color: inherit; }

@media (max-width: 768px) {
    .bfg-principles-grid { grid-template-columns: 1fr; }
    .bfg-expertise-title { font-size: 5rem; }
}


/* Constrain legal text width for readability */
.bfg-legal-page .bfg-expertise-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bfg-legal-content {
    max-width: 900px; /* Standard readability width */
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hide the default WordPress/Genesis entry title if it's duplicating your hero */
.page-id-XXX .entry-title { 
    display: none; 
}

/* Fix Hero Padding for this page */
.bfg-legal-hero {
    padding: 160px 0 60px;
    background-color: #050E1A;
}




/* Cache le titre automatique de WordPress sur cette page pour éviter les doublons */
.page-template-default.page-id-172 .entry-title,
.page-template-default.page-id-172 .site-inner .wrap .entry-header {
    display: none !important;
}

/* Style de la page légale */
.bfg-legal-page { 
    background-color: #FFFFFF; /* Fond blanc pour le texte légal pour une lisibilité maximale */
    color: #333333; 
    font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Hero spécifique pour page blanche */
.bfg-legal-hero { 
    background-color: #050E1A; 
    padding: 140px 0 80px; 
    text-align: left;
}

.bfg-legal-hero .bfg-expertise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.bfg-hero-accent-line {
    width: 60px;
    height: 3px;
    background: #C5A059;
    margin: 30px 0;
}

/* Conteneur de texte pour éviter qu'il ne soit trop large */
.bfg-legal-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.bfg-legal-inner-content {
    max-width: 850px; /* Largeur optimale pour la lecture */
    margin: 0;
}

.bfg-legal-intro {
    font-size: 2.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
}

.bfg-legal-section { margin-bottom: 45px; }

.bfg-legal-section h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.4rem;
    color: #C5A059;
    margin-bottom: 20px;
}

.bfg-legal-section p {
    font-size: 1.8rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Grille des principes */
.bfg-principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.principle-item {
    background: #f9f9f9;
    padding: 15px;
    border-left: 3px solid #C5A059;
    font-size: 1.6rem;
}

.principle-item span { color: #C5A059; font-weight: bold; margin-right: 10px; }

/* Boîte de contact */
.bfg-legal-contact-box {
    background: #050E1A;
    color: #FFFFFF;
    padding: 40px;
    margin-top: 60px;
}

.bfg-legal-contact-box h3 { color: #C5A059; font-family: "Cormorant Garamond", serif; font-size: 3rem; margin-bottom: 20px; }
.contact-details a { color: #C5A059; text-decoration: none; }

@media (max-width: 768px) {
    .bfg-principles-grid { grid-template-columns: 1fr; }
    .bfg-legal-content-container { padding: 40px 20px; }
}


/* 1. Fix the "Ten Principles" Grid Text Visibility */
.bfg-principles-grid .principle-item {
    color: #333333 !important; /* Forces dark grey/black for readability */
    font-weight: 500;
}

/* Ensure the numbers (01, 02, etc.) remain visible but distinct */
.bfg-principles-grid .principle-item span {
    color: #C5A059 !important; /* Keeps the gold accent for the numbers */
    opacity: 1;
}

/* 2. Fix Section Titles Visibility */
.bfg-legal-section h3, 
.bfg-legal-inner-content h3,
.bfg-legal-inner-content h4 {
    color: #C5A059 !important; /* Ensures headers are clearly gold */
}

/* 3. Fix General Body Text on the White Background */
.bfg-legal-page {
    color: #333333 !important;
}

.bfg-legal-intro, 
.bfg-legal-section p, 
.bfg-card-list-static li {
    color: #444444 !important; /* Solid dark grey for long-form reading */
}

/* 4. Fix the "Organisational" list arrows/bullets */
.bfg-card-list-static li strong {
    color: #C5A059 !important;
}


/* Cache le titre par défaut pour éviter les doublons (Ajustez le ID selon votre page) */
.page-id-XXX .entry-title { display: none !important; }

.bfg-legal-page {
    background-color: #FFFFFF;
    color: #333333;
}

.bfg-legal-hero {
    background-color: #050E1A;
    padding: 140px 0 80px;
}

.bfg-legal-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.bfg-legal-inner-content {
    max-width: 850px;
}

/* Fix pour les titres gold */
.bfg-legal-section h3, h4 {
    font-family: "Cormorant Garamond", serif;
    color: #C5A059 !important;
    margin-bottom: 25px;
}

.bfg-legal-section h3 { font-size: 3.4rem; }
.bfg-legal-section h4 { font-size: 2.6rem; margin-top: 30px; }

/* Fix pour la visibilité du texte dans les boîtes */
.principle-item {
    background: #f9f9f9;
    padding: 20px;
    border-left: 3px solid #C5A059;
    font-size: 1.6rem;
    color: #333333 !important; /* Force la visibilité sur fond clair */
}

.principle-item span {
    color: #C5A059;
    font-weight: bold;
    margin-right: 15px;
}

.principle-item a {
    color: #C5A059;
    text-decoration: none;
    font-size: 1.4rem;
    display: block;
    margin-top: 5px;
}

/* Liste à puces gold */
.bfg-card-list-static li::before {
    content: '▲';
    color: #C5A059;
    font-size: 1.2rem;
    margin-right: 15px;
}

@media (max-width: 768px) {
    .bfg-principles-grid { grid-template-columns: 1fr; }
}



/* =========================================
   PAGE CARRIÈRE : DESIGN FINAL OPTIMISÉ
   ========================================= */

.bfg-career-page { 
    background-color: #050E1A; 
    color: #FFFFFF; 
    overflow-x: hidden;
}

/* HERO : Alignement et espacement */
.bfg-career-hero { 
    padding: 180px 0 100px; 
}

.bfg-career-hero .bfg-expertise-container {
    max-width: 1400px; /* Aligné sur le conteneur principal du site */
    margin: 0 auto;
    padding: 0 40px;
}

.bfg-expertise-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4.5rem, 8.5vw, 9rem);
    line-height: 1;
    margin-bottom: 40px;
}

.bfg-hero-accent-line {
    width: 80px;
    height: 3px;
    background: #C5A059;
    margin: 40px ; /* Aligné à gauche avec le texte */
}

/* INTRO */
.bfg-career-intro-section { padding: 0 0 100px; }
.bfg-career-intro-grid { 
    border-left: 2px solid #C5A059; 
    padding-left: 40px;
    max-width: 1100px;
}
.bfg-career-intro-grid p { 
    font-size: 2.2rem; 
    line-height: 1.5; 
    font-weight: 300; 
    color: rgba(255, 255, 255, 0.9); 
}

/* GRILLE DE CARTES */
.bfg-career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.bfg-career-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: 0.4s ease-in-out;
}

.bfg-career-card:hover {
    border-color: #C5A059;
    background: rgba(197, 160, 89, 0.05);
    transform: translateY(-5px);
}

.bfg-career-card h3 { 
    font-family: "Cormorant Garamond", serif; 
    font-size: 3.8rem; 
    color: #FFFFFF; 
    margin-bottom: 20px;
}

.bfg-career-card .card-description { 
    font-size: 1.8rem; 
    color: rgba(255, 255, 255, 0.85); 
    margin-bottom: 30px; 
    line-height: 1.4; 
}

/* VISIBILITÉ DES LISTES : Blanc pur */
.bfg-card-list-static { 
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important; 
}

.bfg-card-list-static li {
    font-size: 1.7rem;
    color: #FFFFFF !important; /* Force la visibilité */
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bfg-card-list-static li::before {
    content: "▲";
    color: #C5A059;
    font-size: 1rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* SECTION ÉDUCATION */
.bfg-career-education-box {
    background: #081629;
    padding: 80px 40px;
    text-align: center;
    border-top: 3px solid #C5A059;
    margin-bottom: 80px;
}

.bfg-career-education-box h2 { 
    font-family: "Cormorant Garamond", serif; 
    font-size: clamp(3.5rem, 5vw, 5.5rem); 
    margin: 20px 0; 
}

.education-grid { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-top: 40px; 
    flex-wrap: wrap;
}

.edu-item {
    background: rgba(197, 160, 89, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #C5A059;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .bfg-career-grid { grid-template-columns: 1fr; }
    .bfg-career-hero { padding: 140px 0 60px; }
    .bfg-career-education-box { padding: 40px 20px; }
}




/* =========================================
   FOOTER CREDITS & BORDER VISIBILITY
   ========================================= */

/* Defining the border between the main footer and the credits */
.bfg-footer-bottom-wrap {
    border-top: 1px solid rgba(197, 160, 89, 0.4); /* Brighter gold border */
    padding: 30px 0;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Making the Copyright text more visible */
.bfg-footer-copyright {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.4rem;
}

/* Making the Legal Links (Credits) pure white and distinct */
.bfg-footer-legal {
    display: flex;
    gap: 25px;
}

.bfg-footer-legal a {
    color: #FFFFFF !important; /* Pure white for maximum visibility */
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* Subtle hover effect for interactivity */
.bfg-footer-legal a:hover {
    color: #C5A059 !important; /* Turns gold on hover */
    border-bottom: 1px solid #C5A059;
}

@media (max-width: 768px) {
    .bfg-footer-bottom-wrap {
        flex-direction: column;
        text-align: center;
    }
}




/* =========================================
   INTERNAL HEROES: PRESTIGE DARK MODE (V20.1)
   Targets sub-page heroes re-styled to look like Home Page.
   ========================================= */

/* A generic class we added to sub-page heroes to inherit home page structure */
.bfg-hero-section.bfg-internal-hero {
    background-color: #050E1A; /* Base Dark Prestige Midnight Blue */
    text-align: left; /* Essential change from center */
    padding: 180px 0 140px; /* Adjusted padding since it's no longer centered */
}

/* Ensure all internal hero content elements are left-aligned */
.bfg-internal-hero .bfg-eyebrow,
.bfg-internal-hero .bfg-headline,
.bfg-internal-hero .bfg-subtext {
    text-align: left !important;
}

/* Adjusting internal hero headline specifically for multi-line support when left-aligned */
.bfg-internal-hero .bfg-headline {
    font-size: clamp(3.8rem, 7.5vw, 6.5rem); /* Slightly smaller than homepage for sub-pages */
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Internal Hero Subtext */
.bfg-internal-hero .bfg-subtext {
    font-size: clamp(1.3rem, 2vw, 1.8rem); /* Slightly larger Lead for sub-pages */
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin-bottom: 0; /* Removing large bottom margin as no buttons follow */
}

/* Left-Aligned Accent Line styling for Internal Heroes */
.bfg-internal-hero .bfg-hero-accent-line.bfg-internal-hero-accent {
    width: 80px; height: 3px;
    background: #C5A059;
    margin: 40px 0 !important; /* Force left, override style attribute */
}

/* =========================================
   EXPERTISE PAGE HERO UPDATES (DARK MODE PRESTIGE)
   Applies background image requested by user.
   ========================================= */
.bfg-internal-hero-expertise {
    /* Vignette Gradient + User Background Image */
    background-image:
        radial-gradient(circle at center, rgba(8, 22, 41, 0.7) 0%, #050E1A 100%),
        url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-9.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect like homepage */
}


.bfg-internal-hero .bfg-actions {
    margin-top: 40px; /* Adds that necessary breathing room */
}




/* Advantage Page Hero Background */
.bfg-internal-hero-advantage {
    background-image:
        radial-gradient(circle at center, rgba(8, 22, 41, 0.7) 0%, #050E1A 100%),
        url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* Hub Matrix Page Hero Background */
.bfg-internal-hero-matrix {
    background-image:
        radial-gradient(circle at center, rgba(8, 22, 41, 0.7) 0%, #050E1A 100%),
        url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* About Page Hero Background */
.bfg-internal-hero-about {
    background-image:
        radial-gradient(circle at center, rgba(8, 22, 41, 0.7) 0%, #050E1A 100%),
        url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-1.jpg'); /* Adjust image URL if needed */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}



/* =========================================
   INTERACTIVE MAP SECTION (FIXED DIMENSIONS)
   ========================================= */

.bfg-map-section { 
    padding: 120px 0; 
    background-color: #081629; 
    display: block !important; /* Overrides any rogue flexbox */
    width: 100%;
    
    /* CRITICAL FIX: Stops the section from collapsing to 400px */
    height: auto !important; 
    min-height: 100% !important;
}

.bfg-interactive-map-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 50px;
    max-width: 1400px;
    width: 100%; /* Forces grid to take full width */
    margin: 50px auto 0;
    align-items: stretch;
}

/* --- Left Column: Location Cards --- */
.bfg-locations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bfg-location-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-left: 4px solid transparent;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
}

.bfg-location-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.bfg-location-card.active {
    background: rgba(197, 160, 89, 0.05);
    border-color: rgba(197, 160, 89, 0.3);
    border-left: 4px solid #C5A059;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.bfg-location-card h4 { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; color: #C5A059; margin-bottom: 10px; line-height: 1.1; }
.bfg-loc-address { font-family: "Helvetica Neue", sans-serif; font-size: 1.6rem; font-weight: 700; color: #FFFFFF; margin-bottom: 5px; }
.bfg-loc-details { font-family: "Helvetica Neue", sans-serif; font-size: 1.4rem; color: rgba(255, 255, 255, 0.6); line-height: 1.5; margin-bottom: 15px; }

.bfg-loc-action::before { content: 'Sélectionner'; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255, 255, 255, 0.4); font-weight: 700; transition: 0.3s; }
.bfg-location-card.active .bfg-loc-action::before { content: 'Position Actuelle'; color: #C5A059; }

/* --- Right Column: Map Display (Leaflet Edition) --- */
.bfg-map-display {
    position: relative;
    width: 100%;
    min-height: 600px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    background-color: #050E1A;
    z-index: 1; /* Keeps map below dropdown menus */
}

#bfg-active-map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* The Magic Filter: Applied ONLY to the map background, so your logo stays blue/gold! */
.leaflet-tile-pane {
    filter: invert(90%) hue-rotate(180deg) contrast(110%) brightness(85%);
}

/* Removes the default Leaflet attribution border to keep it clean */
.leaflet-control-attribution {
    background: rgba(5, 14, 26, 0.7) !important;
    color: rgba(255,255,255,0.5) !important;
}
.leaflet-control-attribution a { color: #C5A059 !important; }


/* The Magic Filter & Absolute Positioning */
.bfg-map-display iframe {
    position: absolute; /* CRITICAL: Forces iframe to stretch to container */
    top: 0;
    left: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(110%) brightness(85%);
    transition: opacity 0.4s ease;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .bfg-interactive-map-container { grid-template-columns: 1fr; }
    .bfg-map-display { min-height: 450px; }
    .bfg-location-card { padding: 20px; }
}



/* Contact Page Hero Background */
.bfg-internal-hero-contact {
    background-image:
        radial-gradient(circle at center, rgba(8, 22, 41, 0.7) 0%, #050E1A 100%),
        url('/wp-content/uploads/2026/03/Boulos-Financial-Group-Managing-General-Agent-4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fix for Contact Form Container Appearance */
.bfg-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.bfg-form-header h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.2rem;
    color: #FFFFFF;
    margin-bottom: 10px;
}

/* Align the form column visually with the left side content */
.bfg-contact-page .bfg-form-column {
    padding-top: 50px;
}

/* On mobile, we remove that extra space so the form doesn't feel too far down */
@media (max-width: 1024px) {
    .bfg-contact-page .bfg-form-column {
        padding-top: 0;
        margin-top: 40px;
    }
}




/* =========================================
   FIX FOR ANCHOR LINK TEXT COLOR
   ========================================= */

/* This prevents the title from turning black when jumped to via anchor link */
:target {
    color: #C5A059 !important;
    background-color: transparent !important; /* Removes any default highlights */
}

/* Specific fix for your BFG Headings to ensure they stay Gold */
.bfg-adv-h2:target, 
.bfg-matrix-title:target, 
.bfg-expertise-title-small:target,
.bfg-section-title:target {
    color: #C5A059 !important;
}

/* If the target is a section, find the heading inside it and keep it Gold */
section:target h2, 
div:target h2,
div:target h4 {
    color: #C5A059 !important;
}





/* Fadein Effect
---------------------------------------------------------------------------- */

.site-container {
	-webkit-animation: fadein 1s;
	-moz-animation:    fadein 1s;
	-ms-animation:     fadein 1s;
	-o-animation:      fadein 1s;
	animation:         fadein 1s;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}


/* Media Queries
---------------------------------------------------------------------------- */

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

	.genesis-nav-menu a {
		padding-left: 10px;
		padding-right: 10px;
	}

}

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

	.content,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.header-image .title-area,
	.js .genesis-nav-menu .sub-menu,
	.js .genesis-nav-menu .sub-menu a,
	.sidebar-primary,
	.site-header .nav-primary,
	.title-area {
		width: 100%;
	}

	.site-header {
		position: static;
	}

	.title-area {
		padding-bottom: 15px;
	}

	.header-image .site-title > a {
		background-position: center !important;
		display: block;
		float: none;
		margin: 0 auto;
	}

	.genesis-nav-menu li,
	.header-image .title-area {
		float: none;
	}

	.genesis-nav-menu,
	.site-description,
	.site-header .title-area,
	.site-title {
		text-align: center;
	}

	/* Genesis Responsive Menus */
	.js .site-header nav .wrap {
		padding: 0;
	}

	nav.genesis-responsive-menu {
		display: none;
		position: relative;
	}

	.genesis-skip-link .skip-link-hidden {
		display: none;
		visibility: hidden;
	}

	.menu-toggle,
	.sub-menu-toggle {
		border-width: 0;
		background-color: #fff;
		color: #333;
		display: block;
		margin: 0 auto;
		overflow: hidden;
		text-align: center;
		visibility: visible;
	}

	.menu-toggle:focus,
	.menu-toggle:hover,
	.sub-menu-toggle:focus,
	.sub-menu-toggle:hover {
		background: transparent;
		color: #d43c67;
		border-width: 0;
	}

	.menu-toggle:focus,
	.sub-menu-toggle:focus {
		outline: thin solid #ccc;
		outline-offset: -1px;
	}

	.menu-toggle {
		line-height: 20px;
		position: relative;
		z-index: 1000;
		width: 100%;
	}

	.menu-toggle::before {
		font-size: 2em;
		margin-right: 10px;
		text-rendering: auto;
		vertical-align: middle;
	}

	.sub-menu-toggle {
		float: right;
		padding: 10px;
		position: absolute;
		right: 1px;
		top: 1px;
		z-index: 100;
	}

	.sub-menu-toggle::before {
		display: inline-block;
		text-rendering: auto;
		-webkit-transform: rotate( 0 );
		-ms-transform:     rotate( 0 );
		transform:         rotate( 0 );
		-webkit-transition: transform .25s ease-in-out;
		-ms-transition:     transform .25s ease-in-out;
		transition:         transform .25s ease-in-out;
	}

	.sub-menu-toggle.activated::before {
		-webkit-transform: rotate( 180deg );
		-ms-transform:     rotate( 180deg );
		transform:         rotate( 180deg );
	}

	.genesis-responsive-menu .genesis-nav-menu .menu-item {
		display: block;
		float: none;
		position: relative;
		text-align: left;
	}

	.genesis-responsive-menu .genesis-nav-menu .menu-item:focus,
	.genesis-responsive-menu .genesis-nav-menu .menu-item:hover {
		position: relative;
	}

	.genesis-responsive-menu .genesis-nav-menu a:focus,
	.genesis-responsive-menu .genesis-nav-menu a:hover {
		color: #d43c67;
	}

	.genesis-responsive-menu .genesis-nav-menu a:focus {
		color: #d43c67;
		outline: thin solid #ccc;
		outline-offset: -1px;
	}

	.genesis-responsive-menu .genesis-nav-menu .menu-item a {
		border: none;
		margin-bottom: 1px;
		padding: 12px 20px;
		width: 100%;
	}

	.genesis-responsive-menu .site-header .genesis-nav-menu .menu-item a {
		padding: 10px 0;
	}

	.genesis-responsive-menu .genesis-nav-menu .sub-menu {
		border: none;
	}

	.genesis-responsive-menu .genesis-nav-menu .menu-item > a:focus ul.sub-menu,
	.genesis-responsive-menu .genesis-nav-menu .menu-item > a:focus ul.sub-menu .sub-menu {
		left: 0;
		margin-left: 0;
	}

	.genesis-responsive-menu .genesis-nav-menu > .menu-item-has-children > a::after {
		content: none;
	}

	.genesis-responsive-menu .genesis-nav-menu .sub-menu {
		clear: both;
		display: none;
		margin: 0;
		opacity: 1;
		padding-left: 15px;
		position: static;
		width: 100%;
	}

	.genesis-responsive-menu .genesis-nav-menu .sub-menu .sub-menu {
		margin: 0;
	}

	.site-inner {
		margin-top: 0;
		padding-left: 5%;
		padding-right: 5%;
		padding-top: 60px;
	}

	.content,
	.content-sidebar .content,
	.sidebar-content .content {
		float: none;
		padding: 0;
	}

	.content-sidebar .content {
		border-right: none;
	}

	.sidebar-content .content {
		border-left: none;
	}

	.sidebar .widget {
		padding: 5%;
	}

	.sidebar .widget:last-child {
		border-bottom: none;
	}

	.footer-widgets-2 {
		padding-left: 0;
		padding-right: 0;
	}

	.site-footer {
		padding-bottom: 40px;
		padding-top: 40px;
	}

	.site-footer .genesis-nav-menu a {
		padding-left: 10px;
		padding-right: 10px;
	}

}

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

	.after-entry .enews-widget,
	.landing-page .enews-widget,
	.lead-capture-page .enews-widget {
		padding: 20px;
		width: 100%;
	}

	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}

	.footer-widgets .wrap,
	.site-footer .wrap {
		padding-left: 5%;
		padding-right: 5%;
	}

	.offscreen-content .enews-widget {
		padding: 20px;
	}

	.offscreen-content p {
		line-height: 1.5;
	}

}

/* Print Styles
---------------------------------------------------------------------------- */

@media print {

	* {
		opacity: 1 !important;
	}

}
