.hero {
    background-image: url('/images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2a3518;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.hero-content {
    flex: 1;
    min-width: 0;
    padding-top: 20px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-sub {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}

.hero-cert {
    background-color: rgba(85, 107, 47, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: 4px;
    line-height: 1.6;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-form-wrap {
    width: 400px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

.form-intro {
    font-size: 18px;
    font-weight: 700;
    color: #556b2f;
    margin-bottom: 20px;
    line-height: 1.6;
}

.form-success-msg {
    background-color: #f0f5e8;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-success-msg p {
    color: #556b2f;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

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

.devis-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.devis-form .form-group--full {
    margin-bottom: 16px;
}

.devis-form label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    line-height: 1.6;
}

.devis-form input,
.devis-form select,
.devis-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    background-color: #fff;
    line-height: 1.6;
    transition: border-color 0.2s;
    appearance: auto;
}

.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
    outline: none;
    border-color: #556b2f;
}

.devis-form textarea {
    resize: vertical;
    min-height: 70px;
}

.form-mention {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.6;
}

.trust-bar {
    background-color: #f8f7f4;
    border-bottom: 1px solid #e0e0e0;
    padding: 24px 0;
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-item svg {
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
}

.trust-item span {
    display: block;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.services-section {
    padding: 72px 0;
    background-color: #fff;
}

.services-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.section-intro {
    color: #555;
    font-size: 17px;
    max-width: 720px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
}

.service-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card--large {
    grid-column: span 2;
}

.service-card--large img {
    height: 260px;
}

.service-card--wide {
    grid-column: span 2;
}

.service-card--wide img {
    height: 220px;
}

.service-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.6;
    margin-top: 0;
}

.service-card__title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.service-card__title a:hover {
    color: #556b2f;
}

.service-card__body p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
}

.service-card__detail {
    font-size: 13px;
    font-weight: 700;
    color: #556b2f;
    line-height: 1.6;
}

.photo-section {
    background-color: #f8f7f4;
    padding: 72px 0;
}

.photo-grid-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.photo-text h2 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.photo-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.photo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.photo-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
}

.photo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #556b2f;
    border-radius: 50%;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.photo-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    object-fit: cover;
}

.photo-grid img:first-child {
    grid-column: span 2;
    height: 240px;
}

.photo-grid img:nth-child(2),
.photo-grid img:nth-child(3) {
    height: 160px;
}

.tabs-section {
    padding: 72px 0;
    background-color: #fff;
}

.tabs-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 36px;
    line-height: 1.6;
}

.tabs-wrapper {
    position: relative;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 36px;
}

.tab-label {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    color: #777;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    line-height: 1.6;
    transition: color 0.2s;
}

.tab-label:hover {
    color: #556b2f;
}

#tab1:checked ~ .tabs-nav .tab-label:nth-child(1),
#tab2:checked ~ .tabs-nav .tab-label:nth-child(2),
#tab3:checked ~ .tabs-nav .tab-label:nth-child(3) {
    color: #556b2f;
    border-bottom-color: #556b2f;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
}

#tab1:checked ~ .tabs-content .tab-panel--1,
#tab2:checked ~ .tabs-content .tab-panel--2,
#tab3:checked ~ .tabs-content .tab-panel--3 {
    display: block;
}

.tab-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tab-panel-inner img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.tab-text h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.tab-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.stats-section {
    background-color: #556b2f;
    padding: 60px 0;
}

.stats-section h2 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-block {
    text-align: center;
    padding: 28px 16px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #d0d8b8;
    line-height: 1.6;
}

.tarifs-section {
    padding: 72px 0;
    background-color: #f8f7f4;
}

.tarifs-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.tarif-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s;
}

.tarif-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.tarif-icon {
    margin-bottom: 4px;
}

.tarif-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.6;
}

.tarif-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #556b2f;
    line-height: 1.6;
}

.tarif-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.tarif-card .btn-cta {
    font-size: 14px;
    padding: 10px 18px;
    text-align: center;
    margin-top: auto;
}

.tarifs-mention {
    color: #888;
    font-size: 13px;
    margin-top: 20px;
    text-align: center;
    line-height: 1.6;
}

.zones-section {
    padding: 72px 0;
    background-color: #fff;
}

.zones-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 16px;
    line-height: 1.6;
}

.zones-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
}

.zones-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

.zones-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.zones-list li svg {
    flex-shrink: 0;
}

.zones-note {
    color: #888;
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.6;
}

.map-responsive {
    position: relative;
    padding-bottom: 65%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.horaires-section {
    padding: 72px 0;
    background-color: #f8f7f4;
}

.horaires-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 36px;
    line-height: 1.6;
}

.horaires-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.horaires-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.horaires-table th {
    background-color: #556b2f;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.horaires-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.horaires-table tr:last-child td {
    border-bottom: none;
}

.horaires-table tbody tr:nth-child(even) td {
    background-color: #fafaf8;
}

.horaires-weekend td {
    color: #888;
}

.horaires-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.horaires-info p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1100px) {
    .hero-inner {
        flex-direction: column;
        align-items: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero-sub {
        max-width: 100%;
    }
    .hero-badges-row {
        justify-content: center;
    }
    .hero-form-wrap {
        width: 100%;
        max-width: 520px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .services-masonry {
        grid-template-columns: 1fr 1fr;
    }
    .service-card--large,
    .service-card--wide {
        grid-column: span 2;
    }
    .photo-grid-container {
        grid-template-columns: 1fr;
    }
    .tab-panel-inner {
        grid-template-columns: 1fr;
    }
    .tab-panel-inner img {
        height: 220px;
    }
    .zones-layout {
        grid-template-columns: 1fr;
    }
    .horaires-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-inner {
        padding: 60px 16px 40px;
    }
    .services-masonry {
        grid-template-columns: 1fr;
    }
    .service-card--large,
    .service-card--medium,
    .service-card--small,
    .service-card--wide {
        grid-column: span 1;
    }
    .services-section,
    .photo-section,
    .tabs-section,
    .tarifs-section,
    .zones-section,
    .horaires-section {
        padding: 48px 0;
    }
    .services-section h2,
    .tabs-section h2,
    .tarifs-section h2,
    .zones-section h2,
    .horaires-section h2,
    .stats-section h2 {
        font-size: 1.6rem;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .zones-list {
        grid-template-columns: 1fr;
    }
    .devis-form .form-row {
        grid-template-columns: 1fr;
    }
    .tabs-nav {
        flex-direction: column;
        border-bottom: none;
    }
    .tab-label {
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        margin-bottom: 4px;
        padding: 10px 16px;
    }
    #tab1:checked ~ .tabs-nav .tab-label:nth-child(1),
    #tab2:checked ~ .tabs-nav .tab-label:nth-child(2),
    #tab3:checked ~ .tabs-nav .tab-label:nth-child(3) {
        border-color: #556b2f;
        background-color: #f0f5e8;
    }
    .trust-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .photo-grid img:first-child {
        height: 180px;
    }
    .photo-grid img:nth-child(2),
    .photo-grid img:nth-child(3) {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }
    .hero-form-wrap {
        padding: 20px 16px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    .horaires-table th,
    .horaires-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}