/* ===================================
   SGTCI - CORPORATE WEBSITE
   Société Générale des Travaux de Côte d'Ivoire
   =================================== */

/* === ROOT VARIABLES === */
:root {
    /* Couleurs principales */
    --primary-red: #E30613;
    --primary-blue: #002B56;
    --white: #FFFFFF;
    --black: #000000;

    /* Couleurs secondaires */
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    --text-dark: #333333;

    /* Police */
    --font-primary: 'Montserrat', sans-serif;

    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* === UTILITIES === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-gray {
    background-color: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
    margin: 0 auto 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

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

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-dark);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #B40510;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1EBE56;
}

/* === HEADER === */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 80px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-red);
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0;
}

.logo-subtitle {
    display: block;
    font-size: 0.65rem;
    color: var(--primary-blue);
    font-weight: 500;
    margin-top: 2px;
    line-height: 1;
    white-space: nowrap;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 15px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

.nav-link.contact-btn {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
}

.nav-link.contact-btn::after {
    display: none;
}

.nav-link.contact-btn:hover {
    background-color: var(--primary-blue);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 86, 0.9) 0%, rgba(227, 6, 19, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === PRESENTATION SECTION === */
.presentation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.presentation-text p {
    margin-bottom: 15px;
}

.presentation-stats {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
}

.stat-label {
    font-size: 1rem;
    margin-top: 5px;
}

/* === EXPERTISE SECTION === */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.expertise-card p {
    color: var(--gray-dark);
}

/* === VALUES SECTION === */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary-red);
    background-color: var(--white);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* === PROJECTS SLIDER === */
.slider-container {
    position: relative;
    margin-bottom: 40px;
}

.slider-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 43, 86, 0.9) 0%, transparent 100%);
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: var(--white);
    max-width: 600px;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-red);
    width: 30px;
    border-radius: 6px;
}

/* === CTA SECTION === */
.cta-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.9) 0%, rgba(0, 43, 86, 0.9) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* === PAGE HEADER === */
.page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    background-image: url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    text-align: center;
    color: var(--white);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 43, 86, 0.85) 0%, rgba(227, 6, 19, 0.85) 100%);
}

.page-title {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

/* === ABOUT PAGE === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.badge-number {
    font-size: 3rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.9rem;
    line-height: 1.3;
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.vm-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.vm-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.vm-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    padding-left: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-blue));
}

.timeline-item {
    position: relative;
    margin-bottom: 70px;
    padding-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -56px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--primary-red);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-red);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.values-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card-detail {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: var(--transition);
}

.value-card-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(227, 6, 19, 0.1);
}

.value-icon-detail {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.value-card-detail h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.president-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.president-image {
    position: relative;
}

.president-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.president-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-red);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    white-space: nowrap;
}

.president-quote {
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.2;
    margin-bottom: 20px;
}

.president-content p {
    margin-bottom: 15px;
}

.president-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-light);
}

.signature-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.signature-title {
    color: var(--gray-dark);
}

/* === SERVICES PAGE === */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.service-grid.reverse {
    direction: rtl;
}

.service-grid.reverse > * {
    direction: ltr;
}

.service-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.service-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 15px;
}

.service-list {
    margin: 25px 0;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-dark);
}

.service-list i {
    color: var(--primary-red);
    margin-right: 10px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* === REALISATIONS PAGE === */
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-medium);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 43, 86, 0.95) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.project-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-top: 10px;
    transition: var(--transition);
}

.project-link:hover {
    transform: rotate(90deg);
}

.project-details {
    padding: 20px;
}

.project-category {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.project-details h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.project-details p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* Projet en vedette */
.project-featured {
    position: relative;
    border: 3px solid var(--primary-color);
}

.project-badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4);
    animation: pulse-badge 2s infinite;
}

.project-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-color);
}

.project-stats .stat i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.project-stats .stat span {
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.stat-box .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: inline;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: inline;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-top: 10px;
}

/* === ACTUALITES PAGE - NOUVEAU DESIGN === */

/* Article à la une - Pleine largeur */
.news-featured-wrapper {
    margin-bottom: 40px;
}

.news-card-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.news-card-featured-image {
    position: relative;
    min-height: 400px;
}

.news-card-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-featured-content h2 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card-featured-content p {
    color: var(--gray-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.news-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-dark);
}

.news-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Grille des actualités */
.news-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* Carte d'actualité */
.news-card-new {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.news-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-new:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-body h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body p {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-link-btn:hover {
    color: var(--primary-blue);
    gap: 12px;
}

/* Meta informations */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.news-date {
    color: var(--gray-dark);
    font-size: 0.85rem;
}

.news-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.news-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-blue));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Badge */
.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 8px;
    color: var(--gray-dark);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: white;
}

/* Responsive Actualités */
@media (max-width: 1024px) {
    .news-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured-image {
        min-height: 250px;
    }

    .news-card-featured-content {
        padding: 25px;
    }

    .news-card-featured-content h2 {
        font-size: 1.3rem;
    }

    .news-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-new {
        min-height: auto;
    }
}

/* Ancien code - conservé pour compatibilité */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: auto;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.news-category {
    background-color: var(--gray-light);
    padding: 3px 12px;
    border-radius: 15px;
    color: var(--primary-blue);
    font-weight: 600;
}

.news-content h2,
.news-content h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.news-content h2 {
    font-size: 1.8rem;
}

.news-content h3 {
    font-size: 1.3rem;
}

.news-content p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    gap: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    color: var(--white);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    min-width: 300px;
    font-size: 1rem;
}

/* === CONTACT PAGE === */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.contact-info-card h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--gray-dark);
    margin-bottom: 5px;
}

.contact-info-card a {
    color: var(--primary-red);
    font-weight: 600;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-form-info h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-features {
    margin: 30px 0;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-feature i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.contact-cta {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--gray-light);
    border-radius: 10px;
}

.contact-cta p {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 5px;
    width: auto;
}

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hours-info h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 30px;
}

.hours-list {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-light);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--primary-blue);
}

.time {
    color: var(--gray-dark);
}

.hours-note {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.note-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.note-content h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.note-content a {
    color: var(--primary-red);
    font-weight: 600;
}

/* === FOOTER === */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.footer-logo p {
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.footer-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    white-space: nowrap;
}

.footer-links a,
.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .presentation-content,
    .about-grid,
    .service-grid,
    .president-grid,
    .contact-form-wrapper,
    .hours-content {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.55rem;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .gallery-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   NEWS HIGHLIGHT SECTION
   =================================== */

.news-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.news-highlight-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.news-highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
    animation: pulse-badge 2s infinite;
}

.news-highlight-badge i {
    margin-right: 8px;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.news-highlight-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.2);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.feature-item span {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}

.news-highlight-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
    text-align: left;
}

.detail-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.detail-box h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.detail-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-box ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.detail-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .news-highlight-features {
        grid-template-columns: 1fr;
    }

    .news-highlight-details {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 15px;
    }

    .detail-box {
        padding: 20px;
    }
}

/* ================================
   RÉALISATIONS - Nouvelle structure
   ================================ */

/* Projet à la une */
.project-featured-wrapper {
    margin-bottom: 40px;
}

.project-card-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--primary-color);
}

.project-card-featured-image {
    position: relative;
    min-height: 400px;
}

.project-card-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    animation: pulse-badge 2s infinite;
}

.project-card-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category-tag {
    display: inline-block;
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.project-card-featured-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.project-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
}

.project-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.project-stats-inline {
    display: flex;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.project-stats-inline .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.project-stats-inline .stat-item i {
    color: var(--primary-color);
}

/* Grille des projets */
.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card-new {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-card-image {
    height: 200px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-new:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-body {
    padding: 20px;
}

.project-card-body h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.project-card-body p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive réalisations */
@media (max-width: 1024px) {
    .project-card-featured {
        grid-template-columns: 1fr;
    }

    .project-card-featured-image {
        min-height: 300px;
    }

    .projects-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-card-featured-content {
        padding: 25px;
    }

    .project-card-featured-content h2 {
        font-size: 1.5rem;
    }

    .projects-grid-new {
        grid-template-columns: 1fr;
    }

    .project-stats-inline {
        flex-direction: column;
        gap: 10px;
    }
}
