/* 
==============================================
Qsilentgrove - STYLE PRINCIPAL
==============================================
*/

/* 
VARIABLES ET CONFIGURATION
*/
:root {
    
    --color-primary: #2A4B8C;       
    --color-secondary: #3E6BC3;     
    --color-accent: #1DAFE1;        
    --color-dark: #404B5A;          
    --color-medium: #7A8599;        
    --color-light: #D9E0EA;         
    --color-bg-light: #F5F7FA;      
    --color-white: #FFFFFF;         
    --color-alert: #E55934;         

    
    --font-primary: 'IBM Plex Sans', sans-serif;
    --font-size-base: 16px;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-xxl: 1.5rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;

    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-section: 5rem;

    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 24px;
    --border-radius-circle: 50%;
    
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.15);
    
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
    
    
    --z-index-header: 100;
    --z-index-dropdown: 200;
    --z-index-modal: 300;
    --z-index-toast: 400;
}

/* 
RESET ET BASE
*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

ul, ol {
    list-style-position: inside;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select, button {
    font: inherit;
}

/* 
TYPOGRAPHIE
*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

p {
    margin-bottom: 1rem;
}

/* 
UTILITAIRES
*/
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

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

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

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 
BOUTONS
*/
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    line-height: 1.4;
    border: 2px solid transparent;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 175, 225, 0.3);
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: #1e3c73;
    border-color: #1e3c73;
    color: var(--color-white);
    text-decoration: none;
}

.btn-primary:active {
    background-color: #15295a;
    border-color: #15295a;
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: #345aae;
    border-color: #345aae;
    color: var(--color-white);
    text-decoration: none;
}

.btn-secondary:active {
    background-color: #2a4a99;
    border-color: #2a4a99;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover, .btn-outline:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

.btn-outline:active {
    background-color: #15295a;
    border-color: #15295a;
}

.btn-text {
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    padding: 0.75rem 1rem;
}

.btn-text:hover, .btn-text:focus {
    color: #15295a;
    text-decoration: underline;
    background-color: transparent;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-small);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-large);
}

/* 
HEADER ET NAVIGATION
*/
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    z-index: var(--z-index-header);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link:focus, .nav-link.active {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-link:hover::after, .nav-link:focus::after, .nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 2rem;
    height: 3px;
    background-color: var(--color-primary);
    transition: all var(--transition-fast);
}

/* 
HERO SECTION
*/
.hero {
    padding: var(--spacing-section) 0;
    background-color: var(--color-bg-light);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-medium);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    height: auto;
}

/* 
SECTIONS GÉNÉRALES
*/
section {
    padding: var(--spacing-section) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: var(--font-size-large);
    color: var(--color-medium);
}

/* 
FEATURES SECTION
*/
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.feature-card p {
    color: var(--color-medium);
    margin-bottom: 0;
}

/* 
CONTENT-IMAGE BLOCKS
*/
.content-image-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 4rem 0;
}

.content-image-block.reverse {
    flex-direction: row-reverse;
}

.content-block, .image-block {
    flex: 1;
}

.content-block h2 {
    margin-bottom: 1.5rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    color: var(--color-medium);
}

.image-block img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* 
METHODOLOGY LIST
*/
.methodology-list {
    list-style: none;
    margin-top: 2rem;
}

.methodology-list li {
    display: flex;
    margin-bottom: 1.5rem;
}

.list-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.list-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.list-content p {
    margin-bottom: 0;
}

/* 
TABS
*/
.industry-tabs {
    margin-top: 1rem;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--color-light);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-medium);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.tab-btn:hover, .tab-btn:focus {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-panel h3 {
    margin-bottom: 1rem;
}

.tab-panel p {
    margin-bottom: 1rem;
}

.tab-panel ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.tab-panel li {
    margin-bottom: 0.5rem;
}

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

/* 
PROGRAM CARDS
*/
.program-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.program-content p {
    color: var(--color-medium);
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-details li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--color-medium);
}

.program-details i {
    margin-right: 0.5rem;
    color: var(--color-accent);
}

/* 
CONTACT SECTION
*/
.contact-section {
    background-color: var(--color-bg-light);
    padding: var(--spacing-section) 0;
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-content {
    flex: 1;
}

.contact-content h2 {
    margin-bottom: 1.5rem;
}

.contact-content p {
    color: var(--color-medium);
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--color-accent);
    margin-right: 1rem;
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.contact-form-container {
    flex: 1;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form-container h3 {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-light);
    border-radius: var(--border-radius-md);
    background-color: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(29, 175, 225, 0.1);
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.25rem;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: var(--font-size-small);
}

/* 
FOOTER
*/
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h3 {
    color: var(--color-white);
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 0.75rem;
}

.footer-links-column a {
    color: var(--color-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links-column a:hover,
.footer-links-column a:focus {
    color: var(--color-accent);
    text-decoration: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-medium);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* 
COOKIE CONSENT
*/
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: var(--z-index-modal);
    padding: 1.5rem;
    display: none;
}

.cookie-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.cookie-text p {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-small);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-index-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    display: none;
}

.cookie-settings-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-light);
}

.cookie-settings-header h3 {
    margin-bottom: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-medium);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cookie-close:hover {
    color: var(--color-dark);
}

.cookie-settings-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-light);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cookie-category-header h4 {
    margin-bottom: 0.5rem;
}

.cookie-category-header p {
    margin-bottom: 0;
    font-size: var(--font-size-small);
    color: var(--color-medium);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-light);
    transition: var(--transition-fast);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition-fast);
}

input:checked + .slider {
    background-color: var(--color-accent);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-accent);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-light);
    text-align: center;
}

/* 
PROGRAM SLIDER
*/
.splide__slide {
    padding: 1rem;
    height: auto;
}

.splide__pagination {
    bottom: -2rem;
}

.splide__pagination__page {
    background-color: var(--color-light);
    opacity: 1;
}

.splide__pagination__page.is-active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

.splide__arrow {
    background-color: var(--color-white);
    opacity: 1;
    width: 3rem;
    height: 3rem;
    box-shadow: var(--shadow-md);
}

.splide__arrow svg {
    fill: var(--color-primary);
}

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

.splide__arrow:hover svg {
    fill: var(--color-white);
}

/* 
PAGE HEADER
*/
.page-header {
    background-color: var(--color-bg-light);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-medium);
    max-width: 800px;
    margin: 0 auto;
}

/* 
BADGES
*/
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: var(--font-size-small);
    font-weight: 500;
    border-radius: var(--border-radius-md);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-level {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
}

.badge-duration {
    background-color: rgba(42, 75, 140, 0.1);
    color: var(--color-primary);
}

.badge-format {
    background-color: rgba(122, 133, 153, 0.1);
    color: var(--color-medium);
}

.badge-location {
    background-color: rgba(229, 89, 52, 0.1);
    color: var(--color-alert);
}

/* 
PROGRAMS PAGE
*/
.program-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    overflow: hidden;
}

.program-header {
    padding: 2rem;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-light);
}

.program-header h2 {
    margin-bottom: 1rem;
}

.program-badges {
    display: flex;
    flex-wrap: wrap;
}

.program-content {
    display: flex;
    flex-wrap: wrap;
}

.program-description {
    flex: 3;
    min-width: 300px;
    padding: 2rem;
}

.program-sidebar {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background-color: var(--color-bg-light);
    border-left: 1px solid var(--color-light);
}

.program-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.program-objectives ul, .program-audience ul {
    list-style-type: none;
}

.program-objectives li, .program-audience li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.program-objectives li:before, .program-audience li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.program-modules {
    margin-top: 1.5rem;
}

.program-module {
    margin-bottom: 1.5rem;
}

.program-module h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.program-module ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.program-module li {
    margin-bottom: 0.5rem;
}

.program-image {
    margin-bottom: 2rem;
}

.program-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

.program-info {
    margin-bottom: 2rem;
}

.program-info .info-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.program-info .info-item i {
    color: var(--color-accent);
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.approach-features {
    margin-top: 2rem;
}

.approach-feature {
    display: flex;
    margin-bottom: 1.5rem;
}

.approach-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.approach-content h3 {
    margin-bottom: 0.5rem;
}

.approach-content p {
    margin-bottom: 0;
}

.custom-programs {
    background-color: var(--color-bg-light);
    padding: var(--spacing-section) 0;
}

.custom-programs-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.custom-feature {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.custom-feature i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.custom-feature h3 {
    margin-bottom: 1rem;
}

.custom-feature p {
    color: var(--color-medium);
}

.custom-cta {
    margin-top: 2rem;
}

.immersion-preview {
    margin-top: 3rem;
}

.immersion-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: var(--color-primary);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    color: var(--color-white);
}

.immersion-text {
    flex: 1;
}

.immersion-text h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.immersion-text p {
    color: var(--color-light);
    margin-bottom: 1.5rem;
}

.immersion-features {
    list-style: none;
    margin-bottom: 2rem;
}

.immersion-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.immersion-features i {
    color: var(--color-accent);
    margin-right: 0.75rem;
}

.immersion-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.immersion-image img {
    border-radius: var(--border-radius-md);
    max-width: 100%;
    height: auto;
}

/* 
PROFILES SECTION
*/
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.profile-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.profile-card h3 {
    margin-bottom: 1rem;
}

.profile-card > p {
    margin-bottom: 1.5rem;
    color: var(--color-medium);
}

.profile-benefits {
    list-style-type: none;
    margin-bottom: 2rem;
    flex: 1;
}

.profile-benefits li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-medium);
}

.profile-benefits li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* 
ACCORDION
*/
.accordion {
    margin-top: 2rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover, .accordion-header:focus {
    background-color: var(--color-bg-light);
}

.accordion-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-primary);
}

.accordion-icon {
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-fast);
    background-color: var(--color-white);
}

.accordion-item.active .accordion-content {
    padding: 0 1.25rem 1.25rem;
    max-height: 1000px;
}

/* 
CHALLENGES SECTION
*/
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.challenge-icon {
    background-color: rgba(229, 89, 52, 0.1);
    color: var(--color-alert);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.challenge-card h3 {
    margin-bottom: 1rem;
}

.challenge-card p {
    color: var(--color-medium);
    margin-bottom: 1.5rem;
}

.challenge-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

/* 
CTA SECTION
*/
.cta-section {
    background-color: var(--color-primary);
    padding: var(--spacing-section) 0;
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--color-light);
    margin-bottom: 2rem;
    font-size: var(--font-size-large);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* 
CONTACT PAGE
*/
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.contact-info-block, .contact-form-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-card h2 {
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.contact-text p {
    color: var(--color-medium);
    margin-bottom: 0;
}

.map-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.map-container h3 {
    margin-bottom: 1.5rem;
}

.map-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 300px;
}

.map-wrapper iframe {
    border: none;
    width: 100%;
    height: 100%;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-form-wrapper > p {
    margin-bottom: 2rem;
    color: var(--color-medium);
}

/* 
FAQ SECTION
*/
.faq-section {
    padding: var(--spacing-section) 0;
    background-color: var(--color-bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius-md);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background-color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-primary);
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--color-bg-light);
}

.faq-question i {
    color: var(--color-accent);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--color-medium);
}

.faq-answer ul {
    margin-bottom: 1rem;
    margin-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: var(--color-medium);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* 
THANK YOU PAGE
*/
.thanks-section {
    padding: var(--spacing-section) 0;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

.thanks-content h1 {
    margin-bottom: 1.5rem;
}

.thanks-content p {
    font-size: var(--font-size-large);
    color: var(--color-medium);
    margin-bottom: 1rem;
}

.next-steps {
    margin: 4rem 0;
}

.next-steps h2 {
    margin-bottom: 2rem;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.next-step-card {
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
}

.step-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.next-step-card h3 {
    margin-bottom: 1rem;
}

.next-step-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.back-home {
    margin-top: 3rem;
}

/* 
LEGAL PAGES
*/
.legal-content {
    padding: var(--spacing-section) 0;
}

.legal-wrapper {
    display: flex;
    gap: 3rem;
}

.legal-toc {
    flex: 1;
    max-width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.legal-toc h2 {
    margin-bottom: 1.5rem;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-toc li {
    margin-bottom: 0.75rem;
}

.legal-toc a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-toc a:hover, .legal-toc a:focus {
    color: var(--color-accent);
}

.toc-action {
    margin-top: 2rem;
}

.legal-text {
    flex: 3;
}

.legal-text section {
    margin-bottom: 3rem;
    padding: 0;
}

.legal-text h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-light);
}

.legal-text h3 {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.legal-text p {
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.legal-text ul, .legal-text ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.legal-text a:hover, .legal-text a:focus {
    color: var(--color-primary);
}

/* 
IMMERSION PAGE
*/
.immersion-hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
}

.immersion-hero h1 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.immersion-hero .hero-subtitle {
    color: var(--color-light);
    font-size: var(--font-size-xl);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.immersion-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.benefit-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--color-medium);
    margin-bottom: 0;
}

.program-days {
    margin-top: 2rem;
}

.program-day {
    margin-bottom: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.day-header {
    padding: 1.25rem;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.day-header h3 {
    margin-bottom: 0;
    color: var(--color-white);
    font-size: 1.25rem;
}

.day-content {
    padding: 1.25rem;
}

.day-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.day-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.day-content li:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.75rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
    text-align: center;
}

.method-icon {
    color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.method-card h3 {
    margin-bottom: 1rem;
}

.method-card p {
    color: var(--color-medium);
    margin-bottom: 0;
}

.stories-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.story-quote {
    position: relative;
    padding: 1rem 0;
}

.story-quote i:first-child {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-light);
    font-size: 1.5rem;
}

.story-quote i:last-child {
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--color-light);
    font-size: 1.5rem;
}

.story-quote p {
    margin: 0;
    padding: 0 2rem;
    color: var(--color-dark);
    font-style: italic;
}

.story-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--color-medium);
    font-size: var(--font-size-small);
}

.success-image {
    margin-top: 3rem;
    text-align: center;
}

.success-image img {
    border-radius: var(--border-radius-lg);
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
}

.details-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.details-block h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
}

.detail-icon {
    background-color: rgba(29, 175, 225, 0.1);
    color: var(--color-accent);
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.detail-content p {
    color: var(--color-medium);
    margin-bottom: 0;
}

.application-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.application-content {
    flex: 1;
    min-width: 300px;
}

.application-content h2 {
    margin-bottom: 1.5rem;
}

.application-content > p {
    margin-bottom: 2rem;
    color: var(--color-medium);
}

.application-steps {
    margin-top: 2rem;
}

.application-step {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--color-medium);
    margin-bottom: 0;
}

.application-form-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.application-form-container h3 {
    margin-bottom: 1.5rem;
}

/* 
MEDIA QUERIES
*/
@media (max-width: 1200px) {
    :root {
        --font-size-h1: 2.25rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.35rem;
        --spacing-section: 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .immersion-content {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .nav-item {
        margin-left: 1rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .content-image-block, .content-image-block.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .immersion-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.25rem;
        --spacing-section: 3rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-medium);
        z-index: var(--z-index-dropdown);
    }
    
    .nav-list.active {
        transform: translateX(0);
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .nav-link {
        display: block;
        padding: 0.5rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .program-content {
        flex-direction: column;
    }
    
    .program-sidebar {
        border-left: none;
        border-top: 1px solid var(--color-light);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .legal-wrapper {
        flex-direction: column;
    }
    
    .legal-toc {
        position: static;
        max-width: none;
        margin-bottom: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 1rem;
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.35rem;
        --font-size-h3: 1.15rem;
        --spacing-section: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid, .profiles-grid, .challenges-grid, .benefits-grid, .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-wrapper {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .immersion-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .immersion-hero h1 {
        font-size: 2rem;
    }
    
    .program-details-grid {
        grid-template-columns: 1fr;
    }
}

/* 
ANIMATIONS
*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideDown {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
    from { transform: translateX(30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


.iti {
    width: 100%;
}

.iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@19.5.1/build/img/flags@2x.png");
    }
}