/* ================================================
     Price Card Flag Label (Tarifs)
     ================================================ */

.price-card__price-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.price-card__flag-label {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%) rotate(-2deg);
    background: var(--color-secondary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ================================================
                                                                                       Variables CSS & Root
                                                                                       ================================================ */

/* Variables CSS dynamiques pour la taille du cercle */
:root {
    --circle-size: 900px;
}

:root {
    /* Colors */
    --color-bg: #E9F3F0;
    --color-light: #CFD8D5;
    --color-balance: #dce3e1;
    --color-white: #fff;
    --color-black: #000;
    --color-primary: #FA5B31;
    --color-secondary: #00473A;
    --color-third: #646464;
    --color-danger: #f44336;
    --color-primary-hover: #e64b25;
    --color-secondary-hover: #003c31;
    --color-third-hover: #404040;
    --color-form-item-bg: #F5F5F5;

    /* Form specific variables */
    --form-transition: 0.3s;
    --form-label-color: #888;
    --form-label-focused-color: var(--color-secondary-hover);
    --form-error-color: #dc2626;
    --form-success-color: #059669;

    /* Borders */
    --color-toolbar: #f5f5f5;
    --radius-lg: 50px;
    --radius-btn: 15px;
    --radius-sm: 5px;

    /* Spacing */
    --spacing-section: 25px;
    --spacing-section-x: 30px;
    --spacing-section-y: 30px;
    --spacing-small: 5px 7px;
    --spacing-input: 7px;
    --spacing-form-item: 14px;
    --spacing-form-input: 0px;
    --spacing-btn: 12px 20px;
    --spacing-form-item-left: 5px;

    /* Typography */
    --font-size-btn: .9rem;
    --font-size-label: .9rem;
    --font-size-h2: 1.1rem;
    --font-site-small: .5rem;
    --font-size-label-sm: 0.75rem;

    /* Layout */
    --form-max-width: 700px;
    --icon-size: 31px;
    --height-bar: 43px;

    /* Animation */
    --transition: 0.3s;

}

/* ================================================
                                                                                       Global Styles
                                                                                       ================================================ */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    padding: 0;
    margin: 0;
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: var(--font-size-label);
    color: var(--color-secondary);
    line-height: 1.3;
    max-width: 100vw;
}

/* Pages normales sans navigation - scrollable */
html:not([data-app="true"]) body {
    overflow: visible;
}

html[data-app="true"] body {
    overflow: hidden;
}

section {
    max-width: 100vw;
}

/* ================================================
                                                                                       Typography
                                                                                       ================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1 {
    font-size: 5rem;
    font-weight: 600;
    line-height: 4.5rem;
    margin: var(--spacing-section-y, 30px) 0;
}

h2 {
    font-size: 3.4rem;
    line-height: 3.4rem;
    font-weight: 600;
    margin: var(--spacing-form-item, 14px) 0;
    margin-bottom: 30px;
}

h3 {
    font-size: 2rem;
    line-height: 2.3rem;
    font-weight: 600;
    margin: 0;
}

h4 {
    font-size: 1.2rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.4rem;
}

label {
    display: block;
    color: rgb(0 0 0 / 40%);
    font-weight: bold;
    margin-bottom: 20px;
}

.section-dark label {
    color: rgb(255 255 255 / 40%);
}

/* ================================================
                                                                                       Layout & Grid Classes
                                                                                       ================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0 20px;
}

.container-large {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-block-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    padding-left: 15px;
    padding-right: 15px;
}

.container-hero-block-text {
    width: 700px;
}

.grid-large {
    display: grid;
    gap: 40px;
}

.grid-large[data-grid] {
    display: grid;
    grid-gap: 30px;
}

.grid-middle {
    align-items: center;
}

.child-width-1-1 {
    grid-template-columns: 1fr;
}

.child-width-1-2\@m {
    grid-template-columns: 1fr;
}

/* ================================================
                                                                                       Utility Classes
                                                                                       ================================================ */

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

.text-left\@m {
    text-align: center;
}

.text-lead {
    font-size: 1.2em;
    font-weight: 300;
}

.width-2-3\@m {
    width: 66.666%;
}

.width-1-3\@m {
    width: 33.333%;
}

.margin-top {
    margin-top: 20px;
}

.margin-large-bottom {
    margin-bottom: 40px;
}

.margin-large {
    margin: 40px 0;
}

.margin-remove-bottom {
    margin-bottom: 0;
}

.rounded {
    border-radius: 8px;
}

/* ================================================
                                                                                       Background Section Classes
                                                                                       ================================================ */

.section-light {
    background-color: #E9F3F0;
    padding: 60px 0;
}

.section-dark {
    background-color: #00473A;
    color: #FFFFFF;
    padding: 60px 0;
    padding-top: 120px;
}

.section-white {
    background-color: #FFFFFF;
    padding: 60px 0;
}

/* ================================================
                                                                                       Background SVG Elements (alphabetically)
                                                                                       ================================================ */

.features-bg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: auto;
}

.features-bg-bottom img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -2px;
}

.footer-bg-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-bg-top img {
    width: 100%;
    height: auto;
    display: block;
}

.footer-bg-bottom {
    position: relative;
    bottom: 0;
    right: 0;
    width: 100vw;
    text-align: right;
    margin-top: 100px;
    pointer-events: none;
    z-index: 1;
}

.footer-bg-bottom img {
    width: 56vw;
    height: auto;
    display: inline-block;
}

.hero-bg-top {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 50vw;
    max-width: 500px;
    height: auto;
}

.hero-bg-top img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-bg-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    width: 130vw;
    max-width: 1200px;
    height: auto;
}

.hero-bg-bottom img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -2px;
}

.presentation-bg-top {
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: auto;
}

.presentation-bg-top img {
    width: 100%;
    height: auto;
    display: block;
}

.presentation-bg-bottom {
    position: relative;
    z-index: 1;
    height: auto;
    width: 130vw;
    max-width: 1200px;
    bottom: -2px;
}

.presentation-bg-bottom img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -2px;
}

.targets-bg-top {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.targets-bg-top img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -2px;
}

.targets-bg-bottom {
    position: relative;
    bottom: -2px;
    left: 0;
    z-index: 1;
    height: auto;
    width: 130vw;
    max-width: 1200px;
}

.targets-bg-bottom img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -2px;
}

/* ================================================
                                                                                       Button Components
                                                                                       ================================================ */

.button {
    display: inline-block;
    padding: 20px 40px;
    background: #1e87f0;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out;
}

.button:hover {
    background: #0f7ae5;
    text-decoration: none;
    color: white;
}

.button-primary {
    background: #FA5B31;
}

.button-primary:hover {
    background: #e54d26;
}

.btn-login {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: var(--color-primary-hover);
    text-decoration: none;
}

.btn-language {
    background: var(--color-secondary);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    min-width: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Funnel Display", sans-serif;
}

.btn-language:hover {
    background: var(--color-secondary-hover);
}

/* ================================================
                                                                                       Login Page Components (Alphabetical Order)
                                                                                       ================================================ */

/* Alert messages */
.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    line-height: 1.5;
    /* border: 2px solid transparent; */
    animation: slideIn 0.3s ease-out;
}

.alert-error {
    background-color: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.alert-error strong {
    font-weight: 600;
}

.alert-success {
    background-color: #d1fae5;
    color: #059669;
    border-color: #6ee7b7;
}

.alert-success strong {
    font-weight: 600;
}

/* Additional button styles for login */
.btn {
    padding: var(--spacing-btn);
    border-radius: var(--radius-btn);
    text-align: center;
    font-size: var(--font-size-btn);
    cursor: pointer;
    transition: background-color var(--transition) ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    font-family: "Funnel Display", sans-serif;
    white-space: nowrap;
    font-weight: 500;
}

.btn-back-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(17%) sepia(26%) saturate(1677%) hue-rotate(133deg) brightness(93%) contrast(99%);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
}

.btn-text {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: var(--spacing-section-y);
    font-weight: bold;
    color: var(--color-secondary);
    text-decoration: none;
}

.btn-text:hover {
    color: var(--color-secondary-hover);
}

.btn.btn-text {
    width: auto !important;
    justify-content: flex-start !important;
    display: inline-flex !important;
}

.btn:disabled {
    background-color: #868d8b;
    color: #eeeeee;
    cursor: not-allowed;
}


/* Info block */
.info-block {
    /* margin-bottom: 30px; */
    text-align: left;
}

.info-block h1 {
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-block p {
    color: var(--color-third);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Wrapper */
.wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
                                                                                       Circle & Rotation Components
                                                                                       ================================================ */

.arc {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--circle-size);
    height: var(--circle-size);
    min-width: var(--circle-size);
    min-height: var(--circle-size);
    border: 4px solid transparent;
    border-color: #FA5B31;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.circle-container {
    position: relative;
    width: var(--circle-size);
    height: var(--circle-size);
    min-width: var(--circle-size);
    min-height: var(--circle-size);
    margin: 0 auto;
    z-index: 10;
    transform-origin: center center;
}

.circle-container-wrapper {
    top: 10vh;
    width: var(--circle-size);
    height: auto;
    margin: 0 auto;
    z-index: 10;
}

/* ================================================
                                                                                       Dual Circle System for Targets
                                                                                       ================================================ */

.circle-company,
.circle-individual {
    position: relative;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    user-select: text;
    pointer-events: none;
    display: none;
}

.circle-company.active,
.circle-individual.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    pointer-events: auto;
    /* Assurer les interactions sur le cercle actif */
    display: block;
}

.circle-company:not(.active),
.circle-individual:not(.active) {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
}

/* ================================================
                                                                                       Custom Tabs
                                                                                       ================================================ */

.custom-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 30px 0;
    margin-bottom: 100px;
    position: relative;
    z-index: 100;
    /* S'assurer que les onglets sont au-dessus de tout */
}

.custom-tabs .tab {
    border: none;
    margin: 0;
    display: flex;
    background: #fff;
    border-radius: 100px;
    padding: 10px;
    gap: 10px;
    list-style: none;
    position: relative;
    z-index: 101;
}

.custom-tabs .tab>li {
    margin: 0;
    padding: 0;
    flex: 1;
    cursor: pointer;
    /* Rendre tout l'onglet cliquable */
}

.custom-tabs .tab>li>a {
    display: block;
    padding: 15px 40px;
    border-radius: 46px;
    text-decoration: none;
    text-transform: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    border: none;
    background: #CFD8D5;
    color: #666;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    /* S'assurer que le curseur montre que c'est cliquable */
    pointer-events: auto;
    /* S'assurer que les clics fonctionnent */
    pointer-events: auto;
    /* Permettre les interactions */
}

.custom-tabs .tab>li.active>a {
    background: #FA5B31;
    color: white;
}

.custom-tabs .tab>li:not(.active)>a:hover {
    background: #e0e0e0;
    color: #333;
}

.custom-tabs .tab::before {
    display: none;
}

.custom-tabs .tab>li>a::before {
    display: none;
}

/* ================================================
                                                                                       Dropdown Components
                                                                                       ================================================ */

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* ================================================
                                                                                       Feature Cards
                                                                                       ================================================ */

.feature-card {
    background: #CFD8D5;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card__button {
    display: none;
    background: #FA5B31;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.feature-card__button:hover {
    background: #e54d26;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 91, 49, 0.4);
}

.feature-card__content {
    padding: 40px 40px;
}

.feature-card__description {
    font-size: 16px;
    color: #00473A;
    margin: 0 0 24px 0;
}

.feature-card__image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: scale(1.2);
}

.feature-card:hover .feature-card__image {
    transform: scale(1.1);
}

.feature-card__image-wrapper {
    overflow: hidden;
}

.feature-card__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #00473A;
    line-height: 1.3;
}

.feature-card-col {
    width: 100%;
}

.feature-card-col[data-col="0"] {
    position: sticky;
    top: 15vh;
    height: fit-content;
}

.feature-card-col[data-col="0"] .feature-card {
    transform: translateY(0);
    opacity: 1;
}

.feature-card-col[data-col="1"] {
    margin-top: 60vh;
    position: sticky;
    top: 15vh;
    height: fit-content;
}

.feature-card-col[data-col="1"] .feature-card {
    transform: translateY(0);
    opacity: 1;
}

.features-stack-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-sticky-row {
    position: relative;
    height: auto;
    margin-bottom: 60px;
}

.features-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
}

/* ================================================
                                                                                       Footer
                                                                                       ================================================ */

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-description {
    flex: 1;
}

.footer-address {
    flex: 1;
}

/* Footer Menu */
.footer-menu {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    border-radius: 50px;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
}

.footer-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    width: 100%;
}

.footer-menu-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-menu-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu-nav a:hover {
    color: #333;
}

.footer-copyright {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

/* ================================================
                                                                                       Language Dropdown
                                                                                       ================================================ */

.language-dropdown {
    position: relative;
}

.language-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    right: -7px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgb(0 50 41 / 17%);
    padding: 0px 0;
    min-width: 80px;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 8px;
}

.language-dropdown.open .language-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s ease;
}

.language-option:hover {
    background: #f5f5f5;
    color: var(--color-secondary);
    text-decoration: none;
}

.language-option.active {
    background: var(--color-primary);
    color: white;
}

.language-option.active:hover {
    background: var(--color-primary-hover);
    color: white;
}

/* ================================================
                                                                                       Navigation
                                                                                       ================================================ */

.nav-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* ================================================
                                                                                       Offer Cards
                                                                                       ================================================ */

.offer-card {
    position: sticky;
    top: 7vh;
    z-index: 1;
}

.offer-card.stacked .offer-card__inner {
    box-shadow: 0 -70px 60px rgb(0 22 17 / 62%);
}

.offer-card__content {
    padding: 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.offer-card__description {
    font-size: 16px;
    color: #00473a;
    margin: 0;
}

.offer-card__image {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.offer-card__image-container {
    display: flex;
    width: 40%;
    max-height: 31vh;
    flex-shrink: 0;
    height: 100%;
    border-radius: 50px 0 0 50px;
    overflow: hidden;
}

.offer-card__inner {
    will-change: transform, filter;
    background: #CFD8D5;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    transform-origin: center top;
    transition: transform 0.1s ease-out, filter 0.1s ease-out, box-shadow 0.3s ease-out;
    min-height: 250px;
}

.offer-card__title {
    padding: 0;
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 600;
    color: #00473a;
}

.offers-cards {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: repeat(var(--offers-cards-count), auto);
    gap: clamp(0px, 3vw, 200px);
}

/* ================================================
                                                                                       Points (Circle)
                                                                                       ================================================ */

.point {
    position: absolute;
    width: 310px;
    font-size: 14px;
    line-height: 1.5em;
    background: var(--color-bg);
    padding: 43px 50px;
    border-radius: 100px;
    transform-origin: center;
}

.point h3 {
    font-weight: bold;
    margin: 0 0 5px;
}

.point::before {
    position: relative;
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    left: 0px;
    background-color: #FA5B31;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}

.point-content {
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    margin-top: 20px;
    user-select: text;
    pointer-events: auto;
    /* Permettre les interactions */
}

/* ================================================
                                                                                       Rotation Timeline
                                                                                       ================================================ */

.rotation-timeline {
    width: 60vw;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    user-select: text;
    pointer-events: auto;
    /* Permettre les interactions */
}

/* ================================================
                                                                                       Sections
                                                                                       ================================================ */

#section-features {
    position: relative;
    overflow-x: clip;
    margin-bottom: -5vw;
}

#section-features .container {
    position: relative;
    z-index: 2;
    margin-top: 10px;
}

#section-features .container-block-text {
    margin-bottom: 100px;
}

#section-footer {
    position: relative;
    overflow-x: clip;
    padding: 0;
    padding-top: 38vw;
    height: auto;
}

#section-footer p {
    position: relative;
    z-index: 2;
    margin: 0;
}

#section-hero {
    height: 82vh;
    min-height: 900px;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

#section-hero .container {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    margin-bottom: 0px;
}

#section-presentation {
    position: relative;
    overflow-x: clip;
    padding-top: 0px;
    padding-bottom: 0px;
}

#section-presentation .container {
    position: relative;
    z-index: 2;
    margin: 100px auto -100px;
}

#section-presentation .container-block-text p {
    columns: 2;
    column-gap: 40px;
    text-align: left;
}

.certified-partner-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    text-align: center;
    max-width: 700px;
    margin: 90px auto 0px auto;
}

.certified-partner-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 16px;
}

.certified-partner-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
    columns: unset;
    column-gap: unset;
}

.certified-partner-content .button {
    display: inline-block;
    font-weight: bold;
}

#section-targets {
    z-index: 1;
    position: relative;
    overflow-x: clip;
    padding-top: 0;
    padding-bottom: 0;
    max-width: 100vw;
}

#section-targets .container {
    position: relative;
    z-index: 2;
    margin-top: -200px;
    margin-bottom: 200px;
}

#section-team {
    position: relative;
    overflow-x: clip;
    padding-top: 100px;
    padding-bottom: 0;
    margin-bottom: -100px;
}

#section-team .container {
    position: relative;
    z-index: 2;
    margin: 0px auto -200px;
}

#section-offers {}

#section-offers .container {
    margin-top: -50px;
    /* margin-bottom: -100px; */
}

/* ...existing code... */

/* ================================================
                                                                                       Section Prices (Tarifs)
                                                                                       ================================================ */

#section-prices {
    position: relative;
    background: #00473a;
    color: #fff;
    padding: 0;
    overflow: hidden;
}

#section-prices .container-block-text label,
#section-prices .container-block-text h2,
#section-prices .container-block-text p {
    color: #fff;
}

#section-prices .container-block-text label {
    opacity: 0.7;
}

#section-prices .prices-bg-top {
    position: relative;
    top: -2px;
    right: 0;
    z-index: 1;
    height: auto;
    width: 100vw;
}

#section-prices .prices-bg-top img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: -2px;
}

#section-prices .prices-bg-bottom {
    position: relative;
    bottom: -2px;
    left: 0;
    z-index: 1;
    height: auto;
    width: 130vw;
    max-width: 1200px;
}

#section-prices .prices-bg-bottom img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -2px;
}

#section-prices .prices-bg-top {
    margin-top: -2px;
}

#section-prices .prices-bg-bottom {
    bottom: 0;
}

#section-prices .container {
    position: relative;
    z-index: 2;
    margin-top: -10vw;
}

#section-prices .prices-cards {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

#section-prices .prices-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

#section-prices .price-card {
    background: #fff;
    color: #00473A;
    border-radius: 32px;
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08); */
    min-width: 280px;
    max-width: 340px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 32px 32px 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

#section-prices .price-card:hover {
    /* transform: translateY(-8px) scale(1.03); */
    /* box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13); */
}

#section-prices .price-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #00473A;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    word-spacing: -0.1em;
}

#section-prices .price-card__description {
    color: #00473A;
    margin-bottom: 18px;
    text-align: center;
}

#section-prices .price-card__price {
    font-size: 2.8rem;
    font-weight: 900;
    color: #FA5B31;
    margin: 0 0 18px 0;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -1px;
    display: block;
    overflow-wrap: break-word;
    hyphens: auto;
    word-break: break-word;
}

#section-prices .price-card__cta {
    display: inline-block;
    width: 100%;
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 32px;
    /* background: linear-gradient(90deg, #FA5B31 0%, #FF8C42 100%); */
    color: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(250, 91, 49, 0.13);
    margin-top: 8px;
    margin-bottom: 0;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

#section-prices .price-card__cta:hover {
    /* background: linear-gradient(90deg, #e54d26 0%, #ffb385 100%); */
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    /* box-shadow: 0 8px 32px rgba(250, 91, 49, 0.22); */
}

#section-prices .price-card {
    /* Modernisation visuelle */
    /* border: 2px solid #FA5B31; */
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1.5px 0 #FA5B31 inset; */
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: visible;
}

#section-prices .price-card:hover {
    /* border-color: #FF8C42; */
    /* box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16), 0 2px 0 #FF8C42 inset; */
}

/* ================================================
                                                                                       Responsive for Section Prices (Tarifs)
                                                                                       ================================================ */

@media (max-width: 1200px) {

    #section-prices .prices-cards,
    #section-prices .prices-grid {
        gap: 24px;
    }

    #section-prices .price-card {
        min-width: 220px;
        max-width: 320px;
        padding: 28px 16px 24px 16px;
    }

    .point {
        width: 260px;
        padding: 10px;
    }
}

@media (max-width: 900px) {

    #section-prices .prices-cards,
    #section-prices .prices-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #section-prices .price-card {
        /* width: 100%; */
        min-width: 0;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    #section-prices {
        padding: 40px 0 40px 0;
    }

    #section-prices .container-block-text h2 {}

    #section-prices .price-card {
        padding: 18px 8px 16px 8px;
        border-radius: 18px;
    }

    #section-prices .price-card__title {
        font-size: 1.1rem;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #section-prices .price-card__price {}
}

@media (max-width: 1200px) {

    #section-prices .prices-cards,
    #section-prices .prices-grid {
        gap: 24px;
    }

    #section-prices .price-card {
        min-width: 220px;
        max-width: 320px;
        padding: 28px 24px 24px 24px;
    }
}

@media (max-width: 900px) {

    #section-prices .prices-cards,
    #section-prices .prices-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 0px;
    }

    #section-prices .price-card {
        /* width: calc(100vw - 120px); */
        min-width: 0;
        max-width: 100%;
        min-height: auto;
        /* padding: 40px; */
    }
}

@media (max-width: 600px) {
    #section-prices {
        padding: 0;
    }

    #section-prices .container-block-text h2 {}

    #section-prices .price-card {
        border-radius: 18px;
    }

    #section-prices .price-card__title {
        font-size: 1.1rem;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    #section-prices .price-card__price {}
}


/* ================================================
                                                                                       Space (Utility)
                                                                                       ================================================ */

.space {
    height: 90vh;
}

.space--small {
    height: 40vh;
}

/* ================================================
                                                                                       Sticky Menu
                                                                                       ================================================ */

.sticky-menu {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 100%;
    max-width: 1400px;
    border-radius: 50px;
    z-index: 1000;
    background: rgba(255, 255, 255, 1);
    transition: top 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.4s cubic-bezier(.4, 0, .2, 1), transform 0.4s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s, background 0.3s;
    opacity: 1;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.sticky-menu--hidden {
    transform: translateX(-50%) scale(0.8);
    top: -80px;
    opacity: 0;
    pointer-events: none;
}

.sticky-menu-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sticky-menu-container {
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-menu-logo img {
    height: 45px;
    width: auto;
    margin-bottom: -5px;
}

.sticky-menu-nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

/* ================================================
                                                                                       Team Cards
                                                                                       ================================================ */

.team-card {
    background: #CFD8D5;
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 360px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.team-card__content {
    padding: 32px;
    text-align: left;
}

.team-card__description {
    color: #00473A;
    margin: 0;
}

.team-card__fonction {
    color: #00473A;
    margin: 0 0 6px 0;
    font-weight: 600;
}

.team-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.team-card:hover .team-card__image {
    transform: scale(1.15);
}

.team-card__image-wrapper {
    overflow: hidden;
}

.team-card__name {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #00473A;
    line-height: 1.3;
}

.team-card-col {
    width: 100%;
}

.team-card-col[data-col="0"] {
    position: static;
    height: auto;
}

.team-card-col[data-col="0"] .team-card {
    transform: translateY(0);
    opacity: 1;
}

.team-card-col[data-col="1"] {
    margin-top: 0;
    position: static;
    height: auto;
}

.team-card-col[data-col="1"] .team-card {
    transform: translateY(0);
    opacity: 1;
}

.team-card-col[data-col="2"] {
    margin-top: 0;
    position: static;
    height: auto;
}

.team-card-col[data-col="2"] .team-card {
    transform: translateY(0);
    opacity: 1;
}

.team-stack-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-sticky-row {
    position: relative;
    height: auto;
    margin-bottom: 40px;
}

.team-sticky-row[data-cards="1"] {
    /* height: 30vh; */
}

.team-sticky-row[data-cards="1"] .team-card-col[data-col="1"],
.team-sticky-row[data-cards="1"] .team-card-col[data-col="2"] {
    margin-top: 0;
}

.team-sticky-row[data-cards="1"] .team-three-cols {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
}

.team-sticky-row[data-cards="2"] {
    height: 80vh;
}

.team-sticky-row[data-cards="2"] .team-card-col[data-col="1"] {
    margin-top: 30vh;
}

.team-sticky-row[data-cards="2"] .team-card-col[data-col="2"] {
    margin-top: 0;
}

.team-sticky-row[data-cards="2"] .team-three-cols {
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin: 0 auto;
}

.team-three-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    width: 100%;
}

/* ================================================
                                                                                       RESPONSIVE MEDIA QUERIES
                                                                                       ================================================ */

/* Desktop Large (1400px+) Variables Override */
@media (max-width: 1400px) {
    :root {
        --form-max-width: 768px;
        --spacing-section: 15px;
        --spacing-section-x: 20px;
        --spacing-section-y: 20px;
        --spacing-small: 8px;
        --spacing-input: 12px;
        --spacing-form-input: 10px 10px;
        --spacing-form-item: 9px;
        --spacing-btn: 15px 20px;
        --icon-size: 24px;
        --radius-lg: 20px;
        --font-size-h2: 1.1rem;
        --font-size-btn: 1.0rem;
        --font-size-label: .9rem;
        --font-size-label-sm: 0.6rem;
        --font-site-small: 1rem;
        --radius-btn: 15px;
        --radius-sm: 5px;
        --font-site-small: 1rem;
        --height-bar: 34px;
    }

    /* Typography */
    h1 {
        font-size: 3.5rem;
        line-height: 3.2rem;
        margin: 20px 0;
    }

    h2 {
        font-size: 2.2rem;
        line-height: 1.8rem;
        margin: 12px 0;
    }

    h3 {
        font-size: 1.3rem;
        line-height: 1.4rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.3rem;
    }
}

/* Desktop (960px+) */
@media (min-width: 960px) {
    .child-width-1-2\@m {
        grid-template-columns: 1fr 1fr;
    }

    .text-left\@m {
        text-align: left;
    }

    .footer-content {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }

    .footer-description {
        flex: 0 0 60%;
    }

    .footer-address {
        flex: 0 0 40%;
    }
}

/* BREAKPOINT MOBILE: 960px (barrier for responsive design)
                                                       All rotation-timeline responsive rules are contained here
                                                       Mobile < 960px | Desktop ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°Ãƒâ€šÃ‚Â¥ 960px
                                                    */
@media (max-width: 960px) {
    .text-center\@s {
        text-align: center;
    }

    .width-2-3\@m,
    .width-1-3\@m {
        width: 100%;
    }

    /* === ROTATION-TIMELINE RESPONSIVE STYLES === */
    .rotation-timeline {
        width: 100vw !important;
        margin: 0 !important;
        transform: translateX(0%);
        max-width: 100% !important;
    }

    .circle-container-wrapper {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: fit-content;
    }

    .circle-container {
        width: auto;
        height: auto;
        min-width: auto;
        min-height: auto;
        padding: 0 !important;
    }

    .arc {
        width: var(--circle-size) !important;
        height: var(--circle-size) !important;
        min-width: var(--circle-size) !important;
        min-height: var(--circle-size) !important;
        display: none;
    }

    .point {
        width: auto;
        padding: 10px;
    }

    .point::before {
        left: 50%;
    }

    .point-content {
        text-align: center;
    }

    .team-three-cols {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .team-card-col[data-col="0"],
    .team-card-col[data-col="1"],
    .team-card-col[data-col="2"] {
        position: static;
        margin-top: 0;
    }

    .team-sticky-row {
        height: auto;
        padding: 40px 0;
        padding-bottom: 0px;
        margin-bottom: 0;
    }

    .team-card {
        max-width: none;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
        line-height: 2.3rem;
        margin: 15px 0;
    }

    h2 {
        font-size: 1.8rem;
        line-height: 1.5rem;
        margin: 10px 0;
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.2rem;
    }

    /* Layout */
    .container-hero-block-text {
        width: auto;
    }

    /* Custom Tabs - responsive */
    .custom-tabs .tab {
        flex-direction: column;
        /* Mettre les onglets l'un sous l'autre */
        gap: 10px;
        /* Espace vertical entre onglets */
        padding: 15px;
        /* Augmenter le padding pour compenser */
        width: 100%;
        /* Largeur automatique */
        border-radius: 30px;
    }

    .custom-tabs .tab>li {
        flex: none;
        width: 100%;
        /* Chaque onglet prend toute la largeur */
    }

    .custom-tabs .tab>li>a {
        padding: 15px 30px;
        font-size: 16px;
        /* Taille de police normale */
        text-align: center;
        /* Centrer le texte */
        width: 100%;
        /* Prendre toute la largeur */
        box-sizing: border-box;
        /* Inclure padding dans la largeur */
    }

    /* Sections */
    .section-light,
    .section-dark,
    .section-white {
        padding: 40px 0;
    }

    #section-targets .container {
        padding-top: 200px;
        margin-bottom: 50px;
    }

    .custom-tabs {
        margin-bottom: 30px;
    }

    #section-features .container {
        margin-top: 0;
    }

    #section-features .container-block-text {
        margin-bottom: 0;
    }

    #section-presentation .container-block-text p {
        columns: 1;
        column-gap: 0;
        text-align: center;
    }

    #section-presentation {
        padding-top: 0px;
        padding-bottom: 0;
        margin-top: -60px;
    }

    #section-presentation .container {
        margin-bottom: 60px;
    }

    #section-team {
        padding-top: 1px;
        padding-bottom: 10px;
        margin-bottom: 0;
    }

    #section-team .container {
        margin-bottom: 0px;
    }

    #section-team .container-block-text {
        margin-bottom: -20px;
    }

    #section-hero {
        height: 100vh;
    }

    #section-hero .container {
        margin-top: 150px;
        margin-bottom: 200px;
        padding: 0 30px;
    }

    /* Sticky Menu */
    .sticky-menu {
        width: 95vw;
        max-width: 95vw;
    }

    .sticky-menu-container {
        padding: 20px 20px;
    }

    .sticky-menu-nav {
        display: none;
    }

    .sticky-menu-logo img {
        height: 35px;
    }

    .sticky-menu-actions {
        gap: 10px;
    }

    .btn-login,
    .btn-language {
        font-size: 12px;
    }

    #section-offers .container {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    /* Cards */
    .offers-cards {
        gap: 5vw;
    }

    .offer-card__inner {
        border-radius: 25px;
        flex-direction: column;
        min-height: auto;
    }

    .offer-card__image-container {
        height: 200px;
        border-radius: 25px 25px 0 0;
        width: 100%;
    }

    .offer-card__title {
        font-size: 24px;
    }

    .offer-card__description {
        font-size: 14px;
    }

    .offer-card__content {
        padding: 24px 20px;
        width: auto;
    }

    .feature-card {
        border-radius: 25px;
    }

    .feature-card__content {
        padding: 24px;
    }

    .feature-card__title {
        font-size: 20px;
    }

    .feature-card__image {
        /* height: 200px; */
    }

    .features-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card-col[data-col="0"],
    .feature-card-col[data-col="1"] {
        position: static;
        margin-top: 0;
    }

    .features-sticky-row {
        height: auto;
        padding: 40px 0 0;
        margin-bottom: 0px;
    }

    .team-card {
        border-radius: 25px;
    }

    .team-card__content {
        padding: 24px;
    }

    .team-card__name {
        font-size: 20px;
    }

    .team-card__image {
        height: 240px;
    }

    .team-three-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-sticky-row[data-cards="1"] .team-three-cols,
    .team-sticky-row[data-cards="2"] .team-three-cols {
        max-width: none;
    }

    /* Footer Menu - responsive */
    .footer-menu {
        /* position: relative; */
        /* Enlever le positionnement absolu */
        background: transparent;
        /* Pas de background */
        border-radius: 0;
        /* Pas de border-radius */
        transform: none;
        /* Pas de transform */
        left: auto;
        /* Reset du positionnement */
        bottom: auto;
        /* Reset du positionnement */
        width: 36vw;
        /* Prendre toute la largeur */
        max-width: none;
        /* Pas de max-width */
        padding: 0;
        /* Enlever le padding du conteneur */
        margin-top: 40px;
        /* Espace en haut */
        border-top: 1px solid rgba(102, 102, 102, 0.2);
        /* Garder la bordure */
    }

    .footer-menu-container {
        flex-direction: column;
        /* Mettre en colonne */
        align-items: flex-start;
        padding: 30px 0;
        /* Padding vertical seulement */
        gap: 20px;
        /* Espace entre nav et copyright */
    }

    .footer-menu-nav {
        flex-direction: column;
        /* Liens en ligne horizontale */
        flex-wrap: wrap;
        gap: 20px;
        /* Espace entre les liens */
        justify-content: flex-start;
        align-items: self-start;
        /* Centrer verticalement */
    }

    .footer-copyright {
        font-size: 12px;
        align-self: flex-start;
    }
}

/* Mobile Small (480px and below) */
@media (max-width: 480px) {

    /* Typography */
    h1 {
        font-size: 10vw;
        line-height: 2.9rem;
        margin: 10px 0;
        margin-top: 30px;
    }

    h2 {
        font-size: 2.5rem;
        line-height: 2.3rem;
        margin: 27px 0;
    }

    h3 {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    h4 {
        font-size: 0.95rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }

    /* Custom Tabs - responsive small */
    .custom-tabs .tab {
        padding: 10px;
    }

    .custom-tabs .tab>li>a {
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Sections */
    .section-light,
    .section-dark,
    .section-white {
        padding: 30px 0;
    }

    /* Footer Menu - responsive small */
    .footer-menu-nav {
        gap: 15px;
    }

    .footer-menu-nav a {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    /* Login page responsive */
    .wrapper {
        padding: 20px 15px;
    }

    .info-block h1 {
        font-size: 1.8rem;
    }
}




.header-with-language {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-with-language h1 {
    margin: 0;
    flex-grow: 1;
}

.header-with-language .language-dropdown {
    margin-left: 20px;
}

@media (max-width: 960px) {
    .header-with-language {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .header-with-language .language-dropdown {
        margin-left: 0;
        align-self: flex-end;
    }
}

/* MODALE D'INSCRIPTION */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden !important;
}

body:has(.success-notification--show) {
    overflow: hidden !important;
}

.modal-container {
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 95vh;
    max-height: 900px;
    transform: scale(0.8) translateY(-20px);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.modal-title {
    color: var(--color-secondary);
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.modal-description {
    color: var(--color-secondary);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
}

.modal-content {
    padding: 20px 40px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--color-third);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

.modal-content .InputfieldSubmit {
    visibility: hidden;
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

/* Messages de validation */
.validation-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.3s ease-out;
}

.validation-message--error {
    background: #fee;
    color: var(--color-danger);
    border: 1px solid #fcc;
}

.validation-message--success {
    background: #efe;
    color: #2d5a2d;
    border: 1px solid #cfc;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content .InputfieldStateError .InputfieldContent input,
.modal-content .InputfieldStateError .InputfieldContent select {
    border-color: var(--color-danger) !important;
    background: #fef9f9 !important;
}

.modal-content .InputfieldStateError .InputfieldHeader {
    color: var(--color-danger) !important;
}

.success-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 58, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-notification--show {
    opacity: 1;
    visibility: visible;
}

.success-notification__content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 40px;
    animation: successBounce 0.6s ease-out;
}

.success-notification__icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
    background: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.success-notification__title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: "Funnel Display", sans-serif;
}

.success-notification__message {
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

@keyframes successBounce {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(50px);
    }

    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 960px) {
    .success-notification__content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .success-notification__icon {
        font-size: 60px;
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .success-notification__title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .success-notification__message {
        font-size: 16px;
    }
}

.modal-footer {
    padding: 20px 40px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 30px 30px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.modal-footer-text {
    color: var(--color-third);
    font-size: 14px;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.modal-footer-submit-btn {
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Funnel Display", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 200px;
    width: 100%;
}

.modal-footer-submit-btn:hover {
    background: var(--color-secondary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 71, 58, 0.3);
}

.modal-footer-submit-btn:active {
    transform: translateY(0);
}

.modal-footer-submit-btn:disabled {
    background: var(--color-third);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-secondary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(0, 71, 58, 0.1);
    color: var(--color-secondary-hover);
}

/* Responsive */
@media (max-width: 960px) {
    .modal-container {
        width: 95%;
        height: 85vh;
        max-height: none;
        margin: 20px;
    }

    .modal-header {
        padding: 30px 30px 15px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-description {
        font-size: 14px;
    }

    .modal-content {
        padding: 15px 30px;
    }

    .validation-message {
        padding: 10px 14px;
        font-size: 13px;
        margin-bottom: 15px;
    }

    .modal-footer {
        padding: 15px 20px;
        gap: 12px;
    }

    .modal-footer-text {
        font-size: 12px;
    }

    .modal-footer-submit-btn {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 180px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}


/* ===== FORMBUILDER MODAL STYLES ===== */
/* Styles pour les formulaires ProcessWire FormBuilder dans les modales */
/* Reprend le design PPE avec labels flottants */

/* Container principal du FormBuilder dans la modale */
.modal-content .FormBuilder {
    margin: 0;
}

.modal-content .FormBuilderFrameworkBasic {
    margin: 0;
    padding: 0;
}

/* Structure principale du formulaire */
.modal-content .InputfieldForm {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content .Inputfields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

@media (min-width: 960px) {
    .modal-content .Inputfields {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.modal-content .Inputfield {
    position: relative;
    background: var(--color-form-item-bg, #f8f9fa);
    border-radius: var(--radius-btn, 8px);
    padding: 0;
    margin: 0 !important;
    border: none;
}

/* Gestion des colonnes avec data-original-width en pourcentage */
.modal-content .InputfieldColumnWidth[data-original-width*="%"] {
    width: 100% !important;
}

.modal-content .InputfieldColumnWidthFirst {
    margin-bottom: 20px;
}

/* Groupement en ligne pour les champs avec data-original-width en pourcentage */
@media (min-width: 960px) {

    /* Tous les champs normaux prennent toute la largeur */
    .modal-content .Inputfield:not([data-original-width*="%"]) {
        width: 100%;
        flex-basis: 100%;
    }

    .modal-content .InputfieldColumnWidth[data-original-width*="%"] {
        width: calc(50% - 10px) !important;
        flex-basis: calc(50% - 10px);
        flex-grow: 0;
        flex-shrink: 0;
    }
}

/* Labels des champs - Style PPE avec labels flottants */
.modal-content .InputfieldHeader {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-label, 0.9rem);
    font-weight: normal;
    color: var(--form-label-color, #888);
    pointer-events: none;
    transition: all var(--form-transition, 0.3s) ease;
    background-color: transparent;
    padding: 0;
    margin: 0;
    z-index: 2;
}

/* Labels actifs (quand le champ a une valeur ou est focus) - Style PPE */
.modal-content .Inputfield input:focus+.InputfieldHeader,
.modal-content .Inputfield input:not(:placeholder-shown)+.InputfieldHeader,
.modal-content .Inputfield.has-content .InputfieldHeader,
.modal-content .Inputfield.has-focus .InputfieldHeader,
.modal-content .Inputfield select:focus+.InputfieldHeader,
.modal-content .Inputfield select:not([value=""])+.InputfieldHeader {
    top: 15px;
    left: 15px;
    transform: translateY(0);
    font-size: var(--font-site-small, 0.75rem);
    color: var(--form-label-focused-color, var(--color-secondary-hover));
}

.modal-content .InputfieldContent input:focus~.InputfieldHeader,
.modal-content .InputfieldContent input:not(:placeholder-shown)~.InputfieldHeader,
.modal-content .InputfieldContent select:focus~.InputfieldHeader,
.modal-content .InputfieldContent select:not([value=""])~.InputfieldHeader {
    top: 8px;
    transform: translateY(0);
    font-size: var(--font-site-small, 0.75rem);
    color: var(--form-label-focused-color, var(--color-secondary-hover));
}

.modal-content .InputfieldStateRequired .InputfieldHeader::after {
    content: " *";
    color: var(--form-error-color, #dc2626);
}

/* Contenu des champs */
.modal-content .InputfieldContent {
    position: relative;
    margin: 0;
    padding: 0;
}

.modal-content .InputfieldContent input[type="text"],
.modal-content .InputfieldContent input[type="email"] {
    width: 100%;
    padding: var(--spacing-input, 16px);
    padding-top: 24px;
    padding-bottom: 15px;
    padding-left: 15px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: var(--font-size-label, 0.9rem);
    font-weight: bold;
    color: var(--color-secondary, #00473A);
    outline: none;
    box-sizing: border-box;
    font-family: "Funnel Display", sans-serif;
}

.modal-content .InputfieldContent input[type="text"]::placeholder,
.modal-content .InputfieldContent input[type="email"]::placeholder {
    color: transparent;
}

.modal-content .InputfieldContent input[type="text"]:focus,
.modal-content .InputfieldContent input[type="email"]:focus {
    outline: none;
}

.modal-content .InputfieldContent select {
    width: 100%;
    padding: var(--spacing-input, 16px);
    padding-top: 24px;
    padding-bottom: 15px;
    padding-right: 40px;
    padding-left: 15px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: var(--font-size-label, 0.9rem);
    font-weight: bold;
    color: var(--color-secondary, #00473A);
    outline: none;
    box-sizing: border-box;
    font-family: "Funnel Display", sans-serif;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300473A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    accent-color: var(--color-secondary, #00473A);
}

.modal-content .InputfieldContent select:focus {
    outline: none;
}

.modal-content .InputfieldSubmit {
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

.modal-content .InputfieldSubmit .InputfieldContent {
    padding: 0;
}

.modal-content .InputfieldSubmit button {
    width: 100%;
    background: var(--color-secondary, #00473A);
    color: white;
    border: none;
    border-radius: var(--radius-btn, 8px);
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Funnel Display", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.modal-content .InputfieldSubmit button:hover {
    background: var(--color-secondary-hover, #003c31);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 71, 58, 0.3);
}

.modal-content .InputfieldSubmit button:active {
    transform: translateY(0);
}

/* Responsive - Gestion mobile */
@media (max-width: 767px) {

    .modal-content .InputfieldColumnWidth[data-original-width*="%"]:nth-child(odd):not(:last-child),
    .modal-content .InputfieldColumnWidth[data-original-width*="%"]:nth-child(even) {
        display: block;
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .modal-content .InputfieldHeader {
        left: 14px;
        font-size: 15px;
    }

    .modal-content .Inputfield input:focus+.InputfieldHeader,
    .modal-content .Inputfield input:not(:placeholder-shown)+.InputfieldHeader,
    .modal-content .Inputfield.has-content .InputfieldHeader,
    .modal-content .Inputfield.has-focus .InputfieldHeader,
    .modal-content .Inputfield select:focus+.InputfieldHeader,
    .modal-content .Inputfield select:not([value=""])+.InputfieldHeader,
    .modal-content .InputfieldContent input:focus~.InputfieldHeader,
    .modal-content .InputfieldContent input:not(:placeholder-shown)~.InputfieldHeader,
    .modal-content .InputfieldContent select:focus~.InputfieldHeader,
    .modal-content .InputfieldContent select:not([value=""])~.InputfieldHeader {
        font-size: 11px;
        top: 10px;
    }
}

.modal-content .InputfieldStateError {
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
}

.modal-content .InputfieldStateError .InputfieldHeader {
    color: var(--form-error-color, #dc2626) !important;
}

.modal-content .InputfieldStateError input,
.modal-content .InputfieldStateError select {
    color: var(--form-error-color, #dc2626) !important;
}

.modal-content .InputfieldStateSuccess {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
}

.modal-content .InputfieldStateSuccess .InputfieldHeader {
    color: var(--form-success-color, #059669) !important;
}

/* Messages d'erreur */
.modal-content .InputfieldError {
    color: var(--form-error-color, #dc2626);
    font-size: 13px;
    margin-top: 6px;
    padding-left: var(--spacing-input, 16px);
}

.modal-content .InputfieldSuccess {
    color: var(--form-success-color, #059669);
    font-size: 13px;
    margin-top: 6px;
    padding-left: var(--spacing-input, 16px);
}

.modal-content input[type="hidden"] {
    display: none;
}

.modal-content .Inputfield {
    transition: all 0.3s ease;
}

.modal-content .Inputfield:focus-within {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 71, 58, 0.1);   }