:root {
    --primary-color: #2C5F2D;
    --secondary-color: #97BC62;
    --accent-color: #1A4314;
    --light-color: #E9F5DB;
    --text-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.header {
    background-color: var(--primary-color);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 80px;
    border-radius: 5px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--light-color);
    background-color: rgba(255,255,255,0.1);
}

.hero {
    position: relative;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero::before {
    display: none;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-top: 8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero .cta-button {
    margin-top: 16rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
}

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

.service-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-info {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.contact-item {
    padding: 1.5rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-item h3 i {
    font-size: 1.2rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.8;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.legal-info {
    text-align: center;
    margin-bottom: 1rem;
}

.legal-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.legal-info p {
    display: inline;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.legal-info p:not(:last-child)::after {
    content: " | ";
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.legal-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-info a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Styles pour le formulaire de contact */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

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

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

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.service-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.service-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.service-button i {
    margin-right: 0.5rem;
}

/* Styles pour les pages de service */
.service-hero {
    position: relative;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.service-hero::before {
    display: none;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 400px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
    object-fit: contain;
}

.photo-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.photo-item:hover .photo-description {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
        width: 100%;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        height: 60px;
        z-index: 1001;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 1rem;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
        width: 100%;
        text-align: center;
        color: white;
        margin: 0.5rem 0;
    }

    /* Animation du menu hamburger */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Ajustement du header pour le menu mobile */
    .header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        padding: 0.5rem;
    }

    /* Ajustement du contenu principal pour le menu mobile */
    .service-hero {
        margin-top: 70px;
        height: 40vh;
    }

    .service-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-hero p {
        font-size: 0.9rem;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .photo-item {
        height: 300px;
    }

    .photo-description {
        position: relative;
        transform: none;
        background: var(--primary-color);
        padding: 0.8rem;
    }

    .contact-info {
        padding: 2rem 1rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 375px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo {
        height: 50px;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .menu-toggle {
        width: 22px;
        height: 16px;
        margin-left: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .service-hero {
        margin-top: 60px;
        height: 35vh;
    }

    .service-hero h1 {
        font-size: 1.6rem;
    }

    .service-hero p {
        font-size: 0.85rem;
    }
}

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

    .hero h1 {
        font-size: 1.8rem;
    }

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

    .contact-item {
        padding: 1rem;
    }

    .submit-button {
        width: 100%;
    }
}

/* Styles pour la bannière de cookies */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    z-index: 9999;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    background-color: var(--accent-color);
}

.cookie-refuse {
    background-color: #666;
    color: white;
}

.cookie-refuse:hover {
    background-color: #888;
}

.cookie-more {
    color: white;
    text-decoration: underline;
}

.cookie-more:hover {
    color: var(--accent-color);
}

/* Styles pour la case à cocher de consentement */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

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

.consent-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.consent-checkbox a:hover {
    color: var(--accent-color);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

input, textarea, select {
    font-size: 16px; /* Évite le zoom automatique sur iOS */
}

.photo-item img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Amélioration de l'accessibilité tactile */
button, 
.nav-links a,
.cta-button,
.service-button,
.cookie-button {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 24px;
}

/* Styles pour les pages de confidentialité et cookies */
.privacy-content h2,
.cookies-content h2 {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.privacy-content h2:first-child,
.cookies-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.cookies-content p {
    margin-bottom: 3rem;
}

.privacy-content ul,
.cookies-content ul {
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.privacy-content li,
.cookies-content li {
    margin-bottom: 0.5rem;
}

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .nav-container {
        position: relative;
        width: 100%;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        height: 60px;
        z-index: 1001;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 1rem;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.8rem;
        width: 100%;
        text-align: center;
        color: white;
        margin: 0.5rem 0;
    }

    /* Animation du menu hamburger */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Ajustement du header pour le menu mobile */
    .header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        padding: 0.5rem;
    }
}

@media (max-width: 375px) {
    .nav-container {
        padding: 0 10px;
    }

    .logo {
        height: 50px;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .menu-toggle {
        width: 22px;
        height: 16px;
        margin-left: auto;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .service-hero {
        margin-top: 60px;
        height: 35vh;
    }

    .service-hero h1 {
        font-size: 1.6rem;
    }

    .service-hero p {
        font-size: 0.85rem;
    }
} 
.service-description {
    max-width: 820px;
    margin: 48px auto 44px;
    padding: 40px 48px;
    text-align: justify;
    background: #f8faf5;
    border-top: 4px solid #97BC62;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 18px rgba(44, 95, 45, 0.07);
    color: #444;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.01em;
}

.service-description p {
    margin-bottom: 16px;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.service-description strong {
    color: #2C5F2D;
    font-weight: 600;
}

@media (max-width: 768px) {
    .service-description {
        padding: 28px 20px;
        font-size: 0.93rem;
        margin: 0 12px 32px;
        line-height: 1.85;
    }
}
