:root {
    --primary-color: #E65100;
    --primary-hover: #F57C00;
    --text-dark: #1F2937;
    --text-light: #4B5563;
    --text-muted: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-dark: #1F2937;
    --white: #FFFFFF;
    --header-height: 100px;
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: auto;
    transition: transform 0.2s, background-color 0.3s;
}

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

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

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

.phone-link-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
}

/* Hero Section */
#hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    background: url('images/bg_form.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.6);
    /* Slightly darker blue overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-highlight {
    color: var(--primary-color);
    /* Orange matching theme */
}

.hero-text p {
    color: #e5e7eb;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Hero Form */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.hero-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    text-align: left;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1.4;
    text-align: left;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
}

.consent-group {
    margin-top: 20px;
    margin-bottom: 20px;
}

.consent-label {
    font-size: 0.8rem;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-size: inherit;
}

.hero-form h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-subtitle {
    text-align: left;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #F9FAFB;
    transition: border-color 0.3s, background 0.3s;
}

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

/* Trust Badges */
.trust-badges {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #E5E7EB;
}

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.badges-grid img {
    height: 70px;
    opacity: 1;
    filter: none;
    transition: transform 0.3s ease;
}

.badges-grid img[src*="logo1.webp"] {
    height: 100px;
    /* Specific larger size for this logo */
}

.badges-grid img:hover {
    transform: scale(1.05);
}

/* Common Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: left;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Why Us */
.architect-section {
    background-color: var(--bg-light);
}

/* Why Us (Updated) */
.architect-section {
    background-color: var(--bg-light);
}

/* Nantes Section */
.nantes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.nantes-visual h2 {
    font-size: 2.2rem;
    color: #1e3a8a;
    /* Dark blue matching theme */
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.nantes-visual img {
    width: 100%;
    border-radius: 8px;
    /* No shadow/transform based on reference image style simplicity, but rounding corners looks better */
    object-fit: cover;
}

.nantes-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    /* row-gap col-gap */
    margin-bottom: 40px;
}

.feature-item h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.nantes-cta {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .nantes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .nantes-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.detailed-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.detailed-benefit-card {
    text-align: left;
}

.detailed-benefit-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detailed-benefit-card h3 {
    font-size: 1.25rem;
    color: #1e3a8a;
    /* Dark blue from reference */
    margin-bottom: 15px;
    font-weight: 700;
}

.detailed-benefit-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .detailed-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Brice Section */
.brice-section {
    padding: 100px 0;
    background: url('images/bg-maison-passive-home.jpeg') no-repeat center center/cover;
    position: relative;
    color: var(--white);
    text-align: center;
}

.brice-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 41, 59, 0.6);
}

.brice-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.brice-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.brice-title {
    font-size: 3rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.brice-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
}

.project-img-wrapper {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    /* Slightly rounded images */
    margin-bottom: 15px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-caption {
    text-align: center;
    color: #1e3a8a;
    /* Dark blue matching header */
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials */
/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

.testimonial-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.testimonial-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


/* Footer */
footer {
    background: #111827;
    color: var(--white);
    padding: 60px 0;
    border-top: 1px solid #374151;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Reveal Animation (Basic) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        /* simple hide for desktop menu */
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-form h2,
    .form-subtitle,
    .form-label,
    .checkbox-label {
        text-align: left;
    }

    .hero-form-wrapper {
        justify-content: center;
    }

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

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

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

    .brice-title {
        font-size: 2rem;
    }
}