:root {
    --green: #176b4d;
    --green-dark: #0f4d37;
    --dark: #17221d;
    --cream: #f7f4ec;
    --white: #ffffff;
    --gold: #d6ad55;
    --border: #e8e1d2;
    --text-light: #66736b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: 0.2s ease;
}


/* =========================
   HEADER
========================= */

.site-header {
    min-height: 90px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 240px;
    max-height: 70px;
    object-fit: contain;
}


/* =========================
   NAVIGATION
========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
}

.main-nav a:not(.btn):hover {
    color: var(--green);
}


/* =========================
   BOUTONS
========================= */

.btn {
    display: inline-block;
    background: var(--green);
    color: var(--white) !important;
    border: 2px solid var(--green);
    border-radius: 8px;
    padding: 12px 22px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(23, 107, 77, 0.18);
}

.btn:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-1px);
}

.btn.small {
    padding: 10px 16px;
}

.btn-outline {
    display: inline-block;
    padding: 11px 19px;
    border: 1px solid var(--green);
    border-radius: 8px;
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--green);
    color: white;
}


/* =========================
   FLASH
========================= */

.flash-container {
    position: fixed;
    right: 25px;
    top: 105px;
    z-index: 200;
}

.flash {
    background: var(--green);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 600px;
    padding: 90px 8%;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 8%;
    align-items: center;
    background: linear-gradient(120deg, #f7f4ec, #e6efe8);
}

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

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 800;
    color: var(--green);
    text-transform: uppercase;
}

h1 {
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1.05;
    margin: 12px 0 22px;
}

h1 em {
    color: var(--green);
    font-style: normal;
}

.hero p:not(.eyebrow) {
    font-size: 19px;
    color: var(--text-light);
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(232, 225, 210, 0.8);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 90px 8%;
    max-width: 1500px;
    margin: auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section h2,
.split h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 35px;
}

.section-heading > p:last-child {
    color: var(--text-light);
    font-size: 17px;
    max-width: 650px;
}


/* =========================
   SERVICES
========================= */

.services-section {
    background: var(--cream);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.grid article {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.25s ease;
}

.grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.grid article h3 {
    margin-top: 0;
    font-size: 22px;
}

.grid article p {
    color: var(--text-light);
}

.service-number {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .15em;
    margin-bottom: 18px;
}

.service-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}

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


/* =========================
   A PROPOS
========================= */

.split {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
    background: var(--dark);
    color: var(--white);
}

.split .eyebrow {
    color: var(--gold);
}

.split p {
    color: #dbe3dd;
    font-size: 18px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 90px 10%;
    background: #e6efe8;
}

.cta-section > div {
    max-width: 760px;
}

.cta-section h2 {
    font-size: 46px;
    line-height: 1.1;
    margin: 10px 0 18px;
}

.cta-section p:not(.eyebrow) {
    color: var(--text-light);
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 28px;
}


/* =========================
   PAGE SERVICE
========================= */

.service-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 40px 0;
}

.service-header {
    max-width: 850px;
    margin: 0 auto 60px;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 45px;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

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

.service-header h1 {
    font-size: clamp(42px, 6vw, 68px);
    margin: 10px 0 20px;
}

.service-intro {
    max-width: 700px;
    margin: 0 auto;
    font-size: 20px;
    color: var(--text-light);
}

.service-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 60px;
    align-items: start;
}

.service-description {
    background: #fffdf8;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 45px 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

.service-description p {
    margin: 0 0 22px;
    color: #536159;
    font-size: 16px;
    line-height: 1.8;
}

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

.service-sidebar {
    position: sticky;
    top: 110px;
}

.quote-card {
    background: var(--dark);
    color: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.quote-icon {
    display: block;
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 15px;
}

.quote-card h2 {
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 15px;
}

.quote-card p {
    color: #dbe3dd;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

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

.service-bottom {
    margin-top: 70px;
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    border-top: 1px solid #ddd7c9;
}

.service-bottom h2 {
    max-width: 500px;
    font-size: 38px;
    line-height: 1.15;
    margin-top: 10px;
}

.service-bottom p {
    color: var(--text-light);
    line-height: 1.8;
}


/* =========================
   DEVIS
========================= */

.quote-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 40px 90px;
}

.quote-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.quote-header h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    margin: 10px 0 20px;
}

.quote-header > p:last-child {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 19px;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 45px;
    align-items: start;
}

.quote-form-card {
    background: #fffdf8;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .05);
}

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

.form-heading h2 {
    font-size: 30px;
    margin: 0 0 8px;
}

.form-heading p {
    color: var(--text-light);
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 14px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    padding: 13px 14px;
    border: 1px solid #d8d2c4;
    border-radius: 9px;
    background: white;
    color: var(--dark);
    outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(23, 107, 77, .10);
}

.form-submit {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.form-submit p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
}

.quote-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px;
}

.quote-info-card {
    background: var(--dark);
    color: white;
    border-radius: 20px;
    padding: 32px;
}

.quote-info-card h2 {
    font-size: 26px;
    line-height: 1.2;
    margin: 10px 0 25px;
}

.quote-info-card li {
    color: #dbe3dd;
    margin-bottom: 14px;
}

.quote-contact-card {
    background: #e6efe8;
    border-radius: 20px;
    padding: 30px;
}

.quote-contact-card a {
    color: var(--green);
    font-weight: 800;
    text-decoration: none;
}


/* =========================
   CONTACT
========================= */

.contact-page {
    max-width: 1180px;
    margin: auto;
    padding: 70px 40px 90px;
}

.contact-header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.contact-header h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    margin: 10px 0 20px;
}

.contact-header > p:last-child {
    color: var(--text-light);
    font-size: 19px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 45px;
    align-items: start;
}

.contact-form-card {
    background: #fffdf8;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 45px rgba(0,0,0,.05);
}

.contact-form-card h2 {
    margin-top: 0;
    font-size: 30px;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

.contact-form-card .btn {
    align-self: flex-start;
    border: 0;
}

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

.contact-info-card {
    background: var(--dark);
    color: white;
    padding: 35px;
    border-radius: 20px;
}

.contact-info-card p {
    color: #dbe3dd;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.contact-item span {
    color: #dbe3dd;
    font-size: 14px;
}

.contact-quote {
    background: #e6efe8;
    padding: 30px;
    border-radius: 20px;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #0f1713;
    color: #dbe3dd;
    padding: 55px 8% 20px;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
}

.footer-brand img {
    width: 240px;
}

.footer-brand p {
    color: #aebbb3;
    max-width: 350px;
}

.site-footer h3 {
    color: white;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-contact a {
    color: #c7d1cb;
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 45px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: #87958d;
}


/* =========================
   TABLETTE
========================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 14px;
    }

    .logo img {
        width: 210px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 75px 7%;
    }

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

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .service-content,
    .quote-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .service-sidebar,
    .quote-info {
        position: static;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .site-header {
        min-height: 75px;
        padding: 0 5%;
    }

    .header-container {
        gap: 10px;
    }

    .logo img {
        width: 170px;
        max-height: 58px;
    }

    .main-nav {
        gap: 8px;
    }

    .main-nav a:not(.btn) {
        display: none;
    }

    .btn.small {
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero {
        padding: 60px 7%;
    }

    h1 {
        font-size: 43px;
    }

    .hero p:not(.eyebrow) {
        font-size: 17px;
    }

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

    .hero-actions .btn,
    .hero-actions .btn-outline {
        text-align: center;
    }

    .panel {
        padding: 28px;
    }

    .section {
        padding: 70px 7%;
    }

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

    .split {
        padding: 70px 7%;
    }

    .cta-section {
        padding: 70px 7%;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    .service-page,
    .quote-page,
    .contact-page {
        padding: 45px 7% 70px;
    }

    .service-header {
        margin-bottom: 40px;
    }

    .service-header h1,
    .quote-header h1,
    .contact-header h1 {
        font-size: 42px;
    }

    .service-intro,
    .quote-header > p:last-child,
    .contact-header > p:last-child {
        font-size: 18px;
    }

    .service-description,
    .quote-form-card,
    .contact-form-card {
        padding: 28px;
    }

    .service-bottom {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 50px 0;
    }

    .service-bottom h2 {
        font-size: 32px;
    }

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

    .field-full {
        grid-column: auto;
    }

    .form-submit {
        flex-direction: column;
        align-items: stretch;
    }

    .form-submit .btn,
    .contact-form-card .btn {
        width: 100%;
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .flash-container {
        left: 15px;
        right: 15px;
        top: 90px;
    }
}