/* ============================================
   GRAPHISCANN - PAGES INSTITUTIONNELLES
   Version : 1.0.0
   Date : 31 Décembre 2025
   ============================================ */

/* ========================================
   1. PAGE 404
   ======================================== */
.gs-error-404-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.gs-error-404-page::before {
    content: '404';
    position: absolute;
    font-size: 35vw;
    font-weight: 900;
    color: rgba(196, 30, 58, 0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.gs-error-404-container {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.gs-error-404-icon {
    font-size: 120px;
    color: var(--gs-primary, #c41e3a);
    margin-bottom: 20px;
    animation: gs-pulse404 2s ease-in-out infinite;
}

@keyframes gs-pulse404 {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.gs-error-404-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 15px;
}

.gs-error-404-code {
    display: inline-block;
    background: linear-gradient(135deg, var(--gs-primary, #c41e3a), #e8304a);
    color: white;
    padding: 8px 25px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.gs-error-404-message {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.7;
}

.gs-error-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.gs-error-404-suggestions {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.gs-error-404-suggestions h2 {
    font-size: 1.5rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 10px;
}

.gs-error-404-suggestions p {
    color: #666;
    margin-bottom: 30px;
}

.gs-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.gs-suggestion-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gs-suggestion-card:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gs-suggestion-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 4px;
}

.gs-suggestion-card span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.gs-suggestion-card:hover span {
    color: var(--gs-primary, #c41e3a);
}

.gs-suggestion-placeholder {
    width: 80px;
    height: 80px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.gs-suggestion-placeholder i {
    color: #adb5bd;
    font-size: 24px;
}

.gs-quick-links-404 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.gs-quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.gs-quick-link:hover {
    color: var(--gs-primary, #c41e3a);
}

.gs-quick-link i {
    color: var(--gs-primary, #c41e3a);
}

.gs-error-contact-cta {
    background: linear-gradient(135deg, var(--gs-secondary, #2c3e50) 0%, #1a252f 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.gs-error-contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.gs-error-contact-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gs-contact-info-404 {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.gs-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.gs-contact-item:hover {
    opacity: 0.8;
}

.gs-contact-item i {
    font-size: 1.3rem;
    color: #ffc107;
}

/* ========================================
   2. PAGES LÉGALES
   ======================================== */
.gs-legal, .gs-privacy, .gs-cgv {
    padding: 60px 0;
    background: var(--gs-bg-light, #f8f9fa);
}

.gs-legal-container, .gs-privacy-container, .gs-cgv-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gs-legal-header, .gs-privacy-header, .gs-cgv-header {
    text-align: center;
    margin-bottom: 50px;
}

.gs-legal-header h1, .gs-privacy-header h1, .gs-cgv-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 15px;
}

.gs-legal-header p, .gs-privacy-header p, .gs-cgv-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.gs-update-date {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: white;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #888;
}

.gs-update-date i {
    color: var(--gs-primary, #c41e3a);
    margin-right: 8px;
}

.gs-legal-section, .gs-privacy-section, .gs-cgv-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-legal-section h2, .gs-privacy-section h2, .gs-cgv-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gs-legal-section h2 i, .gs-privacy-section h2 i, .gs-cgv-section h2 i {
    color: var(--gs-primary, #c41e3a);
}

.gs-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--gs-primary, #c41e3a);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
}

.gs-legal-section p, .gs-privacy-section p, .gs-cgv-section p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}

.gs-legal-section ul, .gs-privacy-section ul, .gs-cgv-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gs-legal-section li, .gs-privacy-section li, .gs-cgv-section li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #333;
    line-height: 1.6;
}

.gs-legal-section li::before, .gs-privacy-section li::before, .gs-cgv-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gs-primary, #c41e3a);
    font-weight: bold;
}

.gs-legal-section a, .gs-privacy-section a, .gs-cgv-section a {
    color: var(--gs-primary, #c41e3a);
    text-decoration: none;
}

.gs-legal-section a:hover, .gs-privacy-section a:hover, .gs-cgv-section a:hover {
    text-decoration: underline;
}

.gs-legal-info {
    display: grid;
    gap: 15px;
}

.gs-legal-info-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gs-legal-info-item:last-child {
    border-bottom: none;
}

.gs-legal-info-label {
    flex: 0 0 200px;
    font-weight: 600;
    color: var(--gs-secondary, #2c3e50);
}

.gs-legal-info-value {
    flex: 1;
    color: #333;
}

/* CGV Sommaire */
.gs-cgv-toc {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-cgv-toc h2 {
    font-size: 1.25rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 20px;
}

.gs-cgv-toc h2 i {
    color: var(--gs-primary, #c41e3a);
    margin-right: 10px;
}

.gs-cgv-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.gs-cgv-toc-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gs-cgv-toc-list a:hover {
    background: var(--gs-primary, #c41e3a);
    color: white;
}

.gs-cgv-toc-list a:hover .gs-num {
    background: white;
    color: var(--gs-primary, #c41e3a);
}

.gs-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gs-primary, #c41e3a);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.gs-cgv-important {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    margin-top: 20px;
}

.gs-cgv-important i {
    color: #856404;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gs-cgv-important p {
    margin: 0;
    color: #856404;
}

.gs-cgv-contact {
    background: linear-gradient(135deg, var(--gs-secondary, #2c3e50) 0%, #1a252f 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}

.gs-cgv-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gs-cgv-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.gs-cgv-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gs-cgv-contact-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--gs-primary, #c41e3a);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gs-cgv-contact-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

.gs-cgv-contact-buttons a.gs-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.gs-cgv-contact-buttons a.gs-secondary:hover {
    border-color: white;
    box-shadow: none;
}

/* Privacy Rights */
.gs-privacy-rights-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
}

.gs-privacy-rights-box h3 {
    font-size: 1.1rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 20px;
}

.gs-privacy-rights-box h3 i {
    color: var(--gs-primary, #c41e3a);
    margin-right: 10px;
}

.gs-privacy-rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.gs-privacy-rights-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
}

.gs-privacy-rights-list span i {
    color: var(--gs-primary, #c41e3a);
}

.gs-privacy-contact {
    text-align: center;
    margin: 25px 0;
}

.gs-privacy-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--gs-primary, #c41e3a);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gs-privacy-contact a:hover {
    background: #a01829;
    transform: translateY(-2px);
}

/* ========================================
   3. PAGE ENVIRONNEMENT
   ======================================== */
.gs-env-hero {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.gs-env-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.gs-env-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
}

.gs-env-hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.gs-env-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.gs-env-badge i {
    color: #ffc107;
}

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

.gs-env-section {
    padding: 60px 0;
}

.gs-env-section.gs-alt {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 60px 20px;
}

.gs-env-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gs-secondary, #2c3e50);
    text-align: center;
    margin-bottom: 10px;
}

.gs-env-section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.gs-env-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #4caf50;
}

.gs-env-certif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gs-env-certif-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gs-env-certif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.gs-env-certif-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.gs-env-certif-icon img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}

.gs-env-certif-card h3 {
    font-size: 1.1rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 15px;
}

.gs-env-certif-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.gs-env-engagement-list {
    max-width: 800px;
    margin: 0 auto;
}

.gs-env-engagement-item {
    display: flex;
    gap: 25px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-env-engagement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gs-env-engagement-icon i {
    font-size: 1.5rem;
    color: white;
}

.gs-env-engagement-content h3 {
    font-size: 1.1rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 10px;
}

.gs-env-engagement-content p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.gs-env-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gs-env-action-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-env-action-card h3 {
    font-size: 1.1rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 20px;
}

.gs-env-action-card h3 i {
    color: #4caf50;
    margin-right: 10px;
}

.gs-env-action-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gs-env-action-card li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #333;
    font-size: 0.875rem;
}

.gs-env-action-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.gs-env-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gs-env-stat-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-env-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4caf50;
    margin-bottom: 10px;
}

.gs-env-stat-label {
    font-size: 0.875rem;
    color: #666;
}

.gs-env-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.gs-env-benefit-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gs-env-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.gs-env-benefit-card h3 {
    font-size: 1.1rem;
    color: var(--gs-secondary, #2c3e50);
    margin-bottom: 15px;
}

.gs-env-benefit-card h3 i {
    color: #4caf50;
    margin-right: 10px;
}

.gs-env-benefit-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.gs-env-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 30px;
}

.gs-env-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #4caf50, #2e7d32);
    border-radius: 2px;
}

.gs-env-timeline-item {
    position: relative;
    padding-bottom: 30px;
}

.gs-env-timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: #4caf50;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.gs-env-timeline-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.gs-env-timeline-year {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gs-env-timeline-content p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.gs-env-cta {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.gs-env-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.gs-env-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.gs-env-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ========================================
   4. RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .gs-env-certif-grid { grid-template-columns: 1fr; }
    .gs-env-actions-grid, .gs-env-benefits { grid-template-columns: 1fr; }
    .gs-env-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .gs-error-404-title { font-size: 2.5rem; }
    .gs-error-404-icon { font-size: 80px; }
    .gs-error-404-actions { flex-direction: column; align-items: center; }
    .gs-error-404-suggestions { padding: 25px; }
    .gs-quick-links-404 { flex-direction: column; gap: 15px; align-items: center; }
    .gs-contact-info-404 { flex-direction: column; gap: 20px; }
    .gs-legal-info-item { flex-direction: column; gap: 5px; }
    .gs-legal-info-label { flex: none; }
    .gs-cgv-toc-list { grid-template-columns: 1fr; }
    .gs-env-engagement-item { flex-direction: column; text-align: center; }
    .gs-env-engagement-icon { margin: 0 auto; }
    .gs-env-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gs-error-404-title { font-size: 2rem; }
    .gs-suggestions-grid { grid-template-columns: repeat(2, 1fr); }
    .gs-privacy-rights-list { grid-template-columns: 1fr; }
}
