@font-face {
    font-family: 'KASTROO';
    src: url('font/KASTROO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #000;
    line-height: 1.6;
}

/* Utilisation des polices personnalisées */
.hero-title,
.title-box h2,
.le-plus-beau h2,
.contact-info h3,
.portfolio-title,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
}

p, span, a, label, input, textarea, button {
    font-family: 'Arial', sans-serif;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

/* Menu Off-canvas */
.menu-toggle {
    position: fixed;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 0, 0, 0.8);
}

.offcanvas-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #000;
    z-index: 1000;
    transition: left 0.4s ease;
    padding: 80px 30px 30px;
    border-right: 2px solid #ff0000;
    overflow-y: auto;
}

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

.offcanvas-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    margin: 10px 0;
    border-left: 3px solid transparent;
    transition: all 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offcanvas-nav a:hover,
.offcanvas-nav a.active {
    color: #ff0000;
    border-left-color: #ff0000;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 30px;
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* Logo en haut à droite avec animation - BLANC */
.logo-animated {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    animation: floatLogo 10s ease-in-out infinite;
}

.logo-animated img {
    height: 70px;
    width: auto;
    transition: all 0.5s ease;
    filter: brightness(0) invert(1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.logo-animated img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(255, 0, 0, 0.3));
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(5px) rotate(-2deg);
    }
    75% {
        transform: translateY(-5px) rotate(1deg);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.hero-title {
    font-family: 'KASTROO', 'Georgia', serif;
    font-size: 5.5em;
    color: white;
    text-align: center;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Qui Sommes Nous Section */
.qui-sommes-nous {
    background: #000;
    color: white;
    padding: 120px 80px 80px;
    display: flex;
    gap: 100px;
    align-items: flex-start;
    min-height: 100vh;
}

.left-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.title-container {
    position: relative;
    padding-left: 100px;
}

.vertical-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #ff0000;
}

.title-box h2 {
    font-family: 'KASTROO', 'Georgia', serif;
    font-size: 4.5em;
    line-height: 1;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.title-box h2 span {
    color: #ff0000;
}

.btn-histoire {
    background: transparent;
    border: 1.5px solid #ff0000;
    color: white;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-histoire:hover {
    background: #ff0000;
}

.right-content {
    flex: 1;
    padding-top: 60px;
}

.right-content p {
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
    color: #aaa;
    max-width: 500px;
}

.highlight {
    color: #ff0000;
    font-style: italic;
    font-size: 16px;
    margin-top: 40px;
    padding-left: 20px;
    border-left: 2px solid #ff0000;
}

/* Navigation Cross */
.nav-cross {
    background: #000;
    padding: 80px 0;
    position: relative;
}

.cross-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    height: 300px;
}

.cross-line {
    position: absolute;
    background: #333;
}

.cross-line.horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.cross-line.vertical {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.cross-item {
    position: absolute;
    color: white;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
    background: #000;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
}

.cross-item:hover {
    color: #ff0000;
}

.cross-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cross-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.cross-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cross-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Services Grid */
.services-section {
    background: #000;
    padding: 0 80px 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #333;
    border: 1px solid #333;
    margin-bottom: 40px;
}

.service-item {
    color: white;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 25px 15px;
    background: #000;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    font-family: 'Arial', sans-serif;
}

.service-item:hover {
    background: #111;
    color: #ff0000;
}

.btn-services-container {
    text-align: center;
}

.btn-services {
    background: transparent;
    border: 1.5px solid #ff0000;
    color: white;
    padding: 12px 40px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-services:hover {
    background: #ff0000;
}

/* Red Section */
.red-section {
    background: #ff0000;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.red-icon {
    width: 80px;
    height: 100px;
    background: #cc0000;
    margin: 0 auto 30px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.red-section h3 {
    color: white;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 3px;
    font-weight: normal;
    font-family: 'Arial', sans-serif;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.portfolio-logo {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #F8F9FA;
    border-bottom: 2px solid #E9ECEF;
}

.portfolio-logo img {
    max-height: 80px;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-family: 'KASTROO', 'Georgia', serif;
    font-size: 1.3rem;
    color: #ff0000;
    margin-bottom: 15px;
    font-weight: 600;
}

.portfolio-desc {
    color: #333;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Section Clients */
.clients-section {
    background: #000;
    padding: 120px 80px;
    color: white;
}

.clients-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients-header h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    color: #ff0000;
    font-family: 'Arial', sans-serif;
}

.clients-header h3 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #aaa;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
}

.clients-header p {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* MODIFICATION 1: Carte client avec fond blanc et logos agrandis */
.client-card {
    background: #fff; /* Fond blanc */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0e0e0; /* Bordure claire pour contraster avec fond blanc */
}

.client-card:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.1);
}

/* MODIFICATION 2: Agrandir les logos */
.client-logo {
    height: 120px; /* Augmenté de 80px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px; /* Réduit pour plus d'espace */
}

.client-logo img {
    max-height: 80px; /* Augmenté de 50px */
    max-width: 200px; /* Augmenté de 160px */
    object-fit: contain;
}

/* Le Plus Beau Section */
.le-plus-beau {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 80px;
    background: #f5f5f5;
    min-height: 100vh;
}

.le-plus-beau h2 {
    font-family: 'KASTROO', 'Georgia', serif;
    font-size: 5em;
    color: #000;
    line-height: 0.9;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.red-title {
    color: #ff0000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 40px;
    display: block;
    font-family: 'Arial', sans-serif;
}

.btn-essence {
    background: transparent;
    border: 1.5px solid #000;
    color: #000;
    padding: 12px 30px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-essence:hover {
    background: #000;
    color: #fff;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 500px;
}

.image-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.image-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-box:nth-child(1) {
    background-image: url('img/box1.png');
}

.image-box:nth-child(2) {
    background-image: url('img/box2.png');
}

.image-box:nth-child(3) {
    grid-column: span 2;
    background-image: url('img/box3.png');
}

/* Pouvoirs Section */
.pouvoirs {
    background: #e8e8e8;
    padding: 120px 80px;
}

.pouvoirs-header {
    text-align: center;
    margin-bottom: 80px;
}

.pouvoirs-header h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    color: #666;
    font-family: 'Arial', sans-serif;
}

.pouvoirs-header h3 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000;
    font-family: 'Arial', sans-serif;
}

.pouvoirs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.pouvoir-item h4 {
    font-size: 13px;
    margin-bottom: 20px;
    color: #000;
    font-weight: normal;
    letter-spacing: 1px;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.pouvoir-item p {
    font-size: 12px;
    line-height: 1.8;
    color: #555;
}

/* Contact Section */
.contact-section {
    background: #000;
    padding: 120px 80px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    color: white;
    min-height: 100vh;
    align-items: start;
}

.contact-info {
    padding: 60px 40px;
    background: #111;
    border: 1px solid #333;
}

.contact-info h3 {
    font-family: 'KASTROO', 'Georgia', serif;
    font-size: 18px;
    margin-bottom: 60px;
    line-height: 1.4;
    color: #ff0000;
}

.contact-item {
    margin-bottom: 40px;
}

.contact-item p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 60px;
}

.contact-form h2 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
}

.contact-form p {
    font-size: 11px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

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

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

.form-group label {
    display: block;
    color: #ff0000;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: #f5f5f5;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 1px solid #ff0000;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.btn-submit {
    background: #ff0000;
    border: none;
    color: white;
    padding: 15px 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #cc0000;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

/* Responsive améliorations */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4.5em;
    }
    
    .title-box h2 {
        font-size: 3.8em;
    }
    
    .le-plus-beau h2 {
        font-size: 4em;
    }
    
    .qui-sommes-nous {
        gap: 60px;
        padding: 80px 40px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.8em;
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pouvoirs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 80px 40px;
    }
    
    .contact-info {
        padding: 40px 30px;
    }
    
    /* Responsive pour les cartes clients */
    .client-logo {
        height: 100px;
    }
    
    .client-logo img {
        max-height: 70px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.8em;
        line-height: 1.2;
    }
    
    .qui-sommes-nous {
        flex-direction: column;
        gap: 40px;
        padding: 60px 30px;
        min-height: auto;
    }
    
    .title-container {
        padding-left: 60px;
    }
    
    .right-content {
        padding-top: 20px;
    }
    
    .right-content p {
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        min-height: 70px;
        padding: 20px 15px;
    }
    
    .le-plus-beau {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 30px;
        min-height: auto;
    }
    
    .images-grid {
        height: 400px;
        order: -1;
    }
    
    .pouvoirs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nav-cross {
        padding: 50px 0;
    }
    
    .cross-container {
        height: 250px;
        max-width: 400px;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Amélioration du menu mobile */
    .menu-toggle {
        top: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .logo-animated {
        top: 25px;
        right: 25px;
    }
    
    .logo-animated img {
        height: 50px;
    }
    
    .video-background video {
        object-position: center;
    }
    
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-title,
    .title-box h2,
    .le-plus-beau h2 {
        word-spacing: 0.05em;
        letter-spacing: 0.02em;
    }
    
    p {
        line-height: 1.7;
        text-align: justify;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2em;
        padding: 0 15px;
    }
    
    .title-box h2 {
        font-size: 2.8em;
    }
    
    .le-plus-beau h2 {
        font-size: 3em;
    }
    
    .services-section,
    .pouvoirs,
    .clients-section {
        padding: 40px 20px;
    }
    
    .services-grid {
        gap: 2px;
    }
    
    .service-item {
        padding: 18px 10px;
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    .images-grid {
        height: 350px;
        grid-template-columns: 1fr;
    }
    
    .image-box:nth-child(3) {
        grid-column: span 1;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive pour les cartes clients sur mobile */
    .client-card {
        padding: 25px 15px;
    }
    
    .client-logo {
        height: 90px;
    }
    
    .client-logo img {
        max-height: 60px;
        max-width: 150px;
    }
    
    .contact-section {
        padding: 50px 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .portfolio-card {
        margin-bottom: 15px;
    }
    
    .portfolio-content {
        padding: 20px;
    }
    
    /* Amélioration de la typographie mobile */
    body {
        font-size: 15px;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    h3 {
        font-size: 1.4em;
    }
    
    .btn-histoire,
    .btn-services,
    .btn-essence,
    .btn-submit {
        padding: 10px 25px;
        font-size: 9px;
    }
    
    /* Optimisation des images pour mobile */
    .image-box {
        background-size: cover;
        background-position: center;
    }
    
    .portfolio-logo img,
    .client-logo img {
        max-height: 60px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .title-box h2 {
        font-size: 2.2em;
    }
    
    .cross-item {
        font-size: 8px;
        padding: 8px;
    }
    
    .cross-container {
        height: 200px;
    }
    
    .menu-toggle {
        top: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .logo-animated {
        top: 20px;
        right: 20px;
    }
    
    .logo-animated img {
        height: 40px;
    }
    
    .offcanvas-nav {
        width: 280px;
        padding: 70px 20px 20px;
    }
    
    .offcanvas-nav a {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Améliorations spécifiques pour l'orientation paysage mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 50px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .menu-toggle {
        top: 15px;
        left: 15px;
    }
    
    .logo-animated {
        top: 15px;
        right: 15px;
    }
    
    .logo-animated img {
        height: 40px;
    }
}

/* Support des appareils avec encoche (notch) */
@supports (padding: max(0px)) {
    .hero,
    .qui-sommes-nous,
    .services-section,
    .contact-section {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .menu-toggle {
        left: max(20px, env(safe-area-inset-left));
    }
    
    .logo-animated {
        right: max(20px, env(safe-area-inset-right));
    }
}

/* Amélioration de l'accessibilité tactile sur mobile */
@media (hover: none) and (pointer: coarse) {
    .service-item,
    .portfolio-card,
    .client-card,
    .cross-item,
    .btn-histoire,
    .btn-services,
    .btn-essence {
        min-height: 48px;
        padding: 14px 20px;
    }
    
    .menu-toggle,
    .nav-close {
        min-width: 48px;
        min-height: 48px;
    }
    
    input,
    textarea,
    button {
        font-size: 16px; /* Empêche le zoom automatique sur iOS */
    }
}

/* Styles pour le focus visible (accessibilité) */
:focus-visible {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

/* Animations douces */
.service-item,
.portfolio-card,
.client-card,
.cross-item,
.btn-histoire,
.btn-services,
.btn-essence,
.btn-submit {
    transition: all 0.3s ease;
}

/* Amélioration du contraste pour l'accessibilité */
@media (prefers-contrast: high) {
    .hero-title,
    .title-box h2,
    .le-plus-beau h2 {
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .btn-histoire,
    .btn-services,
    .btn-essence,
    .btn-submit {
        border-width: 2px;
    }
}

/* Mode sombre */
@media (prefers-color-scheme: dark) {
    .contact-form {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .contact-form h2 {
        color: #ffffff;
    }
    
    .contact-form p {
        color: #cccccc;
    }
    
    .form-group input,
    .form-group textarea {
        background: #2a2a2a;
        color: #ffffff;
    }
    
    .form-group label {
        color: #ff6666;
    }
}