/* ===== VARIABLES ===== */
:root {
    --primary-color: #8B9556;
    --primary-dark: #6d7542;
    --primary-light: #a3ad6f;
    --cream: #FEFCE5;
    --background-light: #f8f9f5;
    --white: #FFFFFF;
    --text-dark: #2C3E2C;
    --text-gray: #5A6A4A;
    --accent: #7A8F4C;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-contact:hover {
    background-color: var(--primary-dark);
}

/* ===== HEADER / NAVBAR ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #FEFCE5;
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

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

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

.social-links-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    margin-top: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 Q300,50 600,30 T1200,20 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: bottom;
}

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

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-highlight {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.highlight-text {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-social {
    margin-top: 30px;
    text-align: center;
    opacity: 0.95;
}

.hero-social p {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--white);
}

.hero-social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-social-link {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-social-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.phone-icon {
    margin-right: 8px;
}

/* ===== CREDIT D'IMPOT SECTION ===== */
.credit-impot {
    padding: 80px 0;
    background-color: var(--cream);
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.credit-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.credit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.credit-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.credit-example {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 20px var(--shadow);
}

.credit-example h4 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.example-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.example-item {
    background-color: var(--cream);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
}

.example-item.highlight {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: bold;
}

.example-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.example-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.example-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.example-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--cream);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== ZONE SECTION ===== */
.zone {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.zone h2, .zone h3 {
    color: var(--white);
}

.zone-content {
    max-width: 900px;
    margin: 0 auto;
}

.zone-main {
    text-align: center;
    margin-bottom: 40px;
}

.zone-main h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.zone-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.zone-column ul {
    list-style: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.zone-column li {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.zone-column li:last-child {
    border-bottom: none;
}

.zone-cta {
    text-align: center;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.zone-cta a {
    color: var(--white);
    text-decoration: underline;
    font-weight: bold;
}

.zone-cta a:hover {
    opacity: 0.8;
}

/* ===== À PROPOS SECTION ===== */
.apropos {
    padding: 80px 0;
    background-color: var(--cream);
}

/* ===== RÉALISATIONS SECTION ===== */
.realisations {
    padding: 80px 0;
    background-color: var(--white);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.realisation-card {
    background-color: var(--cream);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realisation-card-large {
    grid-column: 1 / -1;
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
}

.realisation-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
    aspect-ratio: 3/4;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.image-label.avant {
    background-color: rgba(255, 107, 107, 0.9);
    color: white;
}

.image-label.apres {
    background-color: rgba(46, 213, 115, 0.9);
    color: white;
}

.arrow-separator {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.empty-after {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border: 3px dashed var(--primary-color);
}

.coming-soon {
    text-align: center;
    padding: 20px;
}

.coming-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 10px;
}

.coming-soon span:last-child {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.realisation-description {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.single-image .single-photo {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.single-image .single-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.realisations-cta {
    text-align: center;
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 15px;
    color: var(--white);
}

.realisations-cta p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.apropos-text h2 {
    text-align: left;
    color: var(--primary-color);
}

.apropos-text h3 {
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 25px;
}

.apropos-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.apropos-garanties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.garantie-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
}

.garantie-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: bold;
}

.apropos-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background-color: var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.image-placeholder img {
    max-width: 80%;
    height: auto;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    background-color: var(--cream);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-link {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-note {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background-color: var(--cream);
    padding: 40px;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--white);
    transition: all 0.3s ease;
}

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

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

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: -10px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.social-links-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 5px 0;
}

.social-link:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.social-emoji {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0;
        margin-top: 80px;
    }

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

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

    .hero-highlight {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .social-links-nav {
        display: none;
    }

    .hero-social-links {
        flex-direction: column;
        gap: 10px;
    }

    .hero-social-link {
        display: block;
        width: 100%;
    }

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

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

    .zone-list {
        grid-template-columns: 1fr;
    }

    .apropos-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .apropos-text h2,
    .apropos-text h3 {
        text-align: center;
    }

    .apropos-garanties {
        grid-template-columns: 1fr;
    }

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

    .before-after {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .arrow-separator {
        transform: rotate(90deg);
        font-size: 2.5rem;
    }

    .image-container {
        aspect-ratio: 4/3;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-logo {
        margin: 0 auto 15px;
        display: block;
    }

    .example-box {
        flex-direction: column;
    }

    .example-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

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

    .highlight-text {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .section-intro {
        font-size: 1rem;
    }

    .service-card,
    .credit-card {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}
