/* Variables globales */
:root {
    --primary-color: #D4AF37; /* Or égyptien */
    --secondary-color: #8B4513; /* Brun terre */
    --text-color: #2C1810; /* Brun foncé */
    --light-bg: #F5F5DC; /* Beige clair */
    --white: #FAF9F6; /* Blanc cassé */
    --card-bg: rgba(255, 255, 255, 0.95);
    --section-bg: rgba(245, 245, 220, 0.95);
    --overlay-color: rgba(44, 24, 16, 0.3);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--light-bg);
    position: relative;
    font-size: 16px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.02) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Header et Navigation */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    order: 1;
    margin-right: auto;
    margin-left: 0;
    padding-left: 0;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-video {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.logo-image {
    height: 100px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    order: 2;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    background: #0d1117;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video.ended {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/seb-moreze-developpeur-web.jpg');
    background-size: cover;
    background-position: center 12%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(13, 17, 23, 0.55) 0%,
        rgba(13, 17, 23, 0.35) 50%,
        rgba(13, 17, 23, 0.55) 100%);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-color);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    width: fit-content;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-slogan {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.7;
    max-width: 620px;
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.feature-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.feature-item span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta .ghost-button {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.hero-cta .ghost-button:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
    width: fit-content;
}

.cta-button:hover {
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
    color: white;
    transform: translateY(-2px);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* (Anciens styles hiéroglyphes supprimés) */

/* Container général */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

section h2 {
    font-size: 2.75rem;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Section Services */
.services-section {
    background: #ffffff;
}

/* Grille des services toujours alignée sur 4 colonnes sur desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }

    .hero-content {
        gap: 3.5rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.8;
    flex-grow: 1;
}

/* Section Projets */
.projects-section {
    background: var(--light-bg);
    position: relative;
}

.projects-section h2 {
    color: var(--text-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.project-image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-image a:hover {
    transform: scale(1.02);
}

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

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

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.375rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.project-info p {
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.8;
}

/* Section Contact */
.contact-section {
    background: var(--light-bg);
    position: relative;
}

.contact-section::before {
    display: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.contact-info h3 {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 3;
}

.contact-info p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.8;
    position: relative;
    z-index: 3;
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 3;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 3;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 3;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.contact-form button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.3rem;
}

.form-consent label {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.form-consent a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-consent a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--overlay-color) 0%, rgba(44, 24, 16, 0.8) 100%);
    color: var(--white);
    padding: 2.5rem 0 1rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Footer Brand Section */
.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links a i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.social-links a span {
    font-weight: 500;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--white);
}

.footer-slogan {
    color: var(--primary-color) !important;
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Bouton Back to Top */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

#back-to-top.show {
    display: flex;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.modal-icon {
    margin-bottom: 1rem;
}

.success-icon,
.error-icon {
    font-size: 3rem;
    display: none;
}

.success-icon {
    color: #28a745;
}

.error-icon {
    color: #dc3545;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-message {
    color: var(--text-color);
    line-height: 1.6;
}

/* Service Modals */
.service-modal .modal-content {
    max-width: 600px;
    text-align: left;
    padding: 2.5rem;
}

.service-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-modal .modal-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.service-modal .modal-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.service-modal .modal-body {
    color: var(--text-color);
    line-height: 1.8;
}

.service-modal .modal-body h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.service-modal .modal-body p {
    margin-bottom: 1.5rem;
}

.service-modal .modal-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.service-modal .modal-body li {
    margin-bottom: 0.8rem;
    position: relative;
}

.service-modal .modal-body li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* Service Cards Hover Effect */
.service-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.service-card:active {
    transform: translateY(-5px);
}

/* Menu mobile */
.mobile-menu-button {
    display: none;
    order: 3;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.burger-icon::before {
    top: -8px;
}

.burger-icon::after {
    bottom: -8px;
}

.mobile-menu-button.active .burger-icon {
    background-color: transparent;
}

.mobile-menu-button.active .burger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-button.active .burger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .logo-video {
        height: 65px;
        max-width: 200px;
    }

    .logo-image {
        height: 80px;
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .ghost-button {
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        align-items: center;
    }

    .social-links a {
        justify-content: center;
        min-width: 200px;
    }

    .footer-links a {
        text-align: center;
    }

    .footer-bottom-content {
        gap: 1rem;
    }
    
    .page-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Service Modals Responsive */
    .service-modal .modal-content {
        max-width: 90%;
        padding: 1.5rem;
        margin: 1rem;
    }

    .service-modal .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .service-modal .modal-header i {
        font-size: 2rem;
    }

    .service-modal .modal-header h3 {
        font-size: 1.5rem;
    }

    .service-modal .modal-body h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-video {
        height: 55px;
        max-width: 160px;
    }

    .logo-image {
        height: 68px;
        max-width: 210px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-slogan {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        text-align: center;
        flex-wrap: wrap;
    }

    .pill-list {
        gap: 0.5rem;
    }

    .pill-list span {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .contact-content {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .footer-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .social-links a {
        min-width: 180px;
        padding: 0.6rem 0.8rem;
    }

    #back-to-top {
        bottom: 90px;
    }
} 

.seo-modal-content {
    max-height: 80vh;
    overflow-y: auto;
    min-width: 0;
}

@media (max-width: 600px) {
    .seo-modal-content {
        max-height: 70vh;
        padding: 1rem;
    }
} 

.service-payant {
    color: var(--primary-color);
    font-size: 0.95em;
    font-style: italic;
    font-weight: 500;
} 

/* Page Hébergement */
.page-hero {
    padding: 7rem 2rem 5rem;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.6) 0%, rgba(255, 255, 255, 0.95) 60%, rgba(245, 245, 220, 0.7) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero-text h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin: 1.5rem 0;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 560px;
}

.page-hero-actions {
    margin: 2rem 0 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
}

.ghost-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pill-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 0.9rem;
}

.pill-list i {
    color: var(--primary-color);
}

.page-hero-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-card-header i {
    color: var(--primary-color);
}

.icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-color);
    opacity: 0.85;
}

.icon-list i {
    color: var(--primary-color);
    margin-top: 0.15rem;
}

.page-section {
    padding: 5rem 0;
}

.alt-section {
    background: var(--light-bg);
    color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(44, 24, 16, 0.55);
}

.section-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    margin-bottom: 1.2rem;
}

.section-intro p {
    font-size: 1.05rem;
    color: var(--text-color);
    opacity: 0.8;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-color);
    opacity: 0.75;
}

.two-columns {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-color);
    opacity: 0.85;
}

.checklist li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.highlight-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.highlight-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.cta-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.cta-link:hover {
    text-decoration: underline;
}

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

.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.why-item i {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-top: 0.2rem;
}

.why-item h3 {
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.why-item p {
    color: var(--text-color);
    opacity: 0.8;
}

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

.quote-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.quote-card blockquote {
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.7;
}

.quote-card figcaption {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-banner {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85), rgba(44, 24, 16, 0.95));
    color: var(--white);
    padding: 3.5rem 0;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.cta-banner-subtitle {
    margin-top: 0.6rem;
}

/* Encart prix hebergement */
.pricing-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.08);
}

.pricing-card-left {
    flex: 1;
    min-width: 0;
}

.pricing-card .cta-button {
    flex-shrink: 0;
}

.pricing-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.pricing-amount {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.pricing-amount strong {
    color: var(--primary-color);
    font-size: 2rem;
}

.pricing-desc {
    margin: 0 0 0.6rem 0;
    font-size: 0.92rem;
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.5;
    max-width: 520px;
}

.pricing-adapt {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pricing-adapt i {
    color: var(--primary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .pricing-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .pricing-card .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Bandeau tarif indicatif */
.pricing-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    flex-wrap: wrap;
}

.pricing-hint i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing-hint p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    opacity: 0.9;
}

.pricing-hint strong {
    color: var(--primary-color);
}

.pricing-hint-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.pricing-hint-cta:hover {
    background: var(--secondary-color);
}

@media (max-width: 480px) {
    .pricing-hint {
        flex-direction: column;
        text-align: center;
    }

    .pricing-hint-cta {
        width: 100%;
        text-align: center;
    }
}

/* Bandeau cookies */
.cookie-banner {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 680px;
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.75rem 1.2rem;
}

.cookie-banner-text h3 {
    display: none;
}

.cookie-banner-text p {
    margin: 0 0 0.3rem 0;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
}

.cookie-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cookie-btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cookie-btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        transform: none;
        width: auto;
        border-radius: 10px;
        max-height: 50vh;
        overflow-y: auto;
    }

    .cookie-banner-content {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }

    .cookie-banner-text h3 {
        font-size: 0.95rem;
    }

    .cookie-banner-text p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .cookie-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 600px) {
    .page-hero {
        padding: 6rem 1.5rem 4rem;
    }

    .page-hero-text h1 {
        font-size: 2.3rem;
    }

    .page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pill-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Amélioration de l'accessibilité pour les focus */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Amélioration de l'accessibilité pour les liens */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Overlay "Voir le projet" sur les cartes projets */
.project-image a {
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image a:hover .project-overlay {
    opacity: 1;
}

/* Tags technologies sur les cartes projets */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.project-tags span i {
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Lien "En savoir plus" sur les cartes services */
.service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-more {
    gap: 0.75rem;
}

.service-more i {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.service-card:hover .service-more i {
    transform: translateX(4px);
}

/* Liens cliquables dans contact */
.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Accessibilité : désactivation des animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .project-overlay {
        transition: none;
    }

    .service-card:hover,
    .project-card:hover {
        transform: none;
    }
}