/*
Theme Name: SAS GLEN Theme
Theme URI: https://example.com
Author: Antigravity
Description: Thème sur mesure pour SAS GLEN - Spécialiste du génie climatique.
Version: 1.0
Text Domain: sas-glen
*/

:root {
    /* Modern Color Palette */
    --primary-color: #0A192F;
    /* Deep Navy - Premium */
    --secondary-color: #FF6B6B;
    /* Vibrant Coral - Modern Accent */
    --accent-color: #4CC9F0;
    /* Electric Blue - Highlights */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    /* Soft White */
    --white: #ffffff;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: top 0.3s ease;
}

/* Admin Bar Compatibility */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Content Spacing for Fixed Header */
body:not(.home) {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    font-size: 1.25rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    margin-top: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
    animation: heroZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(26, 35, 126, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-outline {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Transparent Header */
.site-header.transparent-header {
    background: transparent;
    box-shadow: none;
}

.site-header.transparent-header .main-navigation a {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.site-header.transparent-header .main-navigation a:hover {
    color: var(--accent-color);
}

.site-header.transparent-header .menu-toggle {
    color: var(--white);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- SERVICES REDESIGN --- */
.services-hero {
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(76, 201, 240, 0.8) 100%), url('assets/images/hero-bg.jpg') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.services-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 300;
    opacity: 0.9;
}

/* Services (New Design) */
.services {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 1200px) {
    /* Mettre la 4ème carte au centre sur les grands écrans (si 3 colonnes) */
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-card {
        flex: 0 0 calc(33.333% - 30px);
        margin: 15px;
    }
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    text-align: left;
}

.service-list li {
    margin-bottom: 12px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-list li:last-child {
    margin-bottom: 0;
}

/* --- SERVICES DETAILED --- */
.services-detailed {
    background-color: var(--white);
}

.service-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.service-row.reverse .service-row-content {
    order: 2;
}

.service-row.reverse .service-row-image {
    order: 1;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.service-row-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.service-lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
    line-height: 1.5;
}

.service-row-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features-list {
    margin-top: 30px;
}

.service-features-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #444;
}

.service-features-list li i {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin-right: 15px;
    margin-top: 3px;
}

.service-visual-box {
    border-radius: 30px;
    height: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.service-visual-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.05) 0%, rgba(76, 201, 240, 0.15) 100%);
    z-index: 1;
}

.service-visual-box i {
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.08;
    z-index: 2;
    transform: rotate(-15deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-row:hover .service-visual-box i {
    transform: rotate(0deg) scale(1.1);
    color: var(--secondary-color);
    opacity: 0.2;
}

.pattern-plomberie { background-color: #eef7ff; }
.pattern-chauffage { background-color: #fff4ef; }
.pattern-climatisation { background-color: #effbfb; }
.pattern-energies { background-color: #f1fcf1; }

@media (max-width: 992px) {
    .service-row, .service-row.reverse {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 80px;
    }
    
    .service-row.reverse .service-row-content { order: 1; }
    .service-row.reverse .service-row-image { order: 2; }

    .service-visual-box {
        height: 350px;
    }
    
    .service-row-content h2 {
        font-size: 2rem;
    }
}

.service-list li i {
    color: var(--accent-color);
    margin-right: 12px;
    font-size: 0.8rem;
    background: rgba(76, 201, 240, 0.15);
    padding: 5px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- L'ENTREPRISE REDESIGN --- */
.entreprise-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(10, 25, 47, 0.8) 100%), url('assets/images/hero-bg.jpg') center/cover;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
    border-bottom: 5px solid var(--secondary-color);
}

.entreprise-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.entreprise-subtitle {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 20px;
}

.about-text-content .section-heading {
    text-align: left;
    margin-bottom: 30px;
}

.about-text-content .section-heading::after {
    margin: 10px 0 0;
}

.about-desc p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-desc strong {
    color: var(--primary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-card {
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-card.primary {
    background: var(--primary-color);
    color: var(--white);
}

.stat-card.secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.stat-card:hover i {
    transform: scale(1.1);
}

.stat-card.primary i { color: var(--accent-color); }
.stat-card.secondary i { color: var(--white); }

.stat-number {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
}

.cert-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-left: 6px solid var(--accent-color);
}

.cert-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(10px);
}

.cert-icon {
    background: rgba(76, 201, 240, 0.1);
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.cert-info h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cert-info p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.content-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.map-container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.map-container iframe {
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    height: 100%;
    min-height: 300px;
    flex-grow: 1;
}

.contact-form-styled .form-group {
    margin-bottom: 20px;
}

.contact-form-styled label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form-styled input,
.contact-form-styled textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form-styled input:focus,
.contact-form-styled textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form-styled button {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    margin-top: 10px;
    border: none;
}

/* Blog Styles */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.entry-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.entry-title a {
    color: var(--primary-color);
}

.entry-title a:hover {
    color: var(--secondary-color);
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Submission Page */
.submission-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.submission-form .form-group {
    margin-bottom: 1.5rem;
}

.submission-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.submission-form input[type="text"],
.submission-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.submission-form input[type="text"]:focus,
.submission-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submission-form .file-upload-wrapper {
    border: 2px dashed #ddd;
    padding: 1.5rem;
    text-align: center;
    border-radius: 5px;
    background: #f9f9f9;
}

.submission-form .file-upload-info {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.submission-form .form-actions {
    text-align: center;
    margin-top: 2rem;
}

.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Homepage Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    background: var(--white);
    color: var(--text-color);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info .contact-icon {
    background: rgba(10, 25, 47, 0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-info .contact-icon i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-form {
    padding: 50px;
    background: var(--white);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px 30px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .contact-form {
        padding: 40px 30px;
    }
}

/* Contact Page Specific Styles */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-card,
.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.map-container-full {
    height: 100%;
    min-height: 600px;
    position: sticky;
    top: 100px;
}

.map-container-full iframe {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .map-container-full {
        min-height: 400px;
        position: static;
    }
}

/* 404 Page Styles */
.error-404 {
    text-align: center;
    padding: 100px 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.error-404 .page-title {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.error-404 p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}


/* Testimonials Section */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

/* Masquer les en-têtes de page par defaut (titre et sous-titre) */
.page-header, .page-header-contact {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    .main-navigation {
        display: none;
    }
}

/* Contact Form Alerts */
.contact-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeInUp 0.5s ease;
}
.contact-alert.success {
    background-color: rgba(46, 204, 113, 0.12);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.25);
}
.contact-alert.error {
    background-color: rgba(231, 76, 60, 0.12);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.25);
}