@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&display=swap');

html, body {
    overflow-y: auto;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    color: #114427;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
}

.main-header {
    background: #17643b;
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-bottom: 2px solid #114427;
    position: relative;
}

.header-nav {
    display: flex;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0 60px;
    position: relative;
    height: 90px;
    box-sizing: border-box;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    align-items: center;
    height: 70px;
}

.nav-left {
    position: absolute;
    left:200px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.nav-right {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    height: 120px;
    z-index: 2;
}

.header-logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #17643b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #17643b;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.18s, color 0.18s, border-radius 0.18s;
    padding: 10px 18px;
    border-radius: 8px;
    background: none;
    border: none;
    position: relative;
    margin: 0 8px;
}

.header-nav a:hover {
    color: #17643b;
    background: #fff;
    border-radius: 24px;
}

.header-nav a.contact-btn {
    background: #219150;
    color: #fff !important;
    font-weight: 900;
    border-radius: 24px;
    padding: 12px 28px;
    border: none;
    margin-left: 12px;
    transition: background 0.18s, color 0.18s;
    box-shadow: none;
}

.header-nav a.contact-btn:hover {
    background: #14532d;
    color: #fff !important;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #17643b;
    flex-direction: column;
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* ====== CAROUSEL / HERO ====== */
.carousel {
    width: 100vw;
    max-width: 100vw;
    height: 750px;
    position: relative;
    overflow: hidden;
    margin: 0 auto 0 auto;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 750px;
    opacity: 0;
    transition: opacity 0.7s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100vw;
    height: 750px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

.carousel-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.carousel-text {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 0 4px 24px #14532d, 0 1px 2px #000;
    text-align: center;
    padding: 24px 40px 8px 40px;
    border-radius: 16px 16px 0 0;
    background: rgba(23, 100, 59, 0.5);
    letter-spacing: 0.04em;
}

h1.carousel-text {
    margin: 0;
}

.carousel-mini-text {
    color: #e6f4ec;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    background: rgba(23, 100, 59, 0.4);
    padding: 12px 32px 8px 32px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-contact-btn {
    background: #17643b;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 14px 38px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 4px 24px 0 #14532d33;
}

.carousel-contact-btn:hover {
    background: #219150;
    color: #fff;
}

/* ====== À PROPOS ====== */
.a-propos-container {
    width: 100vw;
    max-width: 100vw;
    background: #f5f6f7;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 64px 0 64px 0;
    gap: 48px;
}

.a-propos-left, .a-propos-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.a-propos-left {
    flex: 0 0 auto;
    margin-right: 32px;
}

.a-propos-right {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.a-propos-right h2 {
  margin-bottom: 8px;
}
.a-propos-mini-text {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.15rem;
}
.a-propos-btn {
  margin-top: 16px;
  padding: 10px 24px;
  background: #14532d;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  box-shadow: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.a-propos-btn:hover {
  background: #218c4a;
  color: #fff;
}

.a-propos-circle-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid #17643b;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.a-propos-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.a-propos-circle-img.large {
    width: 360px;
    height: 360px;
}

.a-propos-right h2 {
    color: #17643b;
    font-size: 2.2rem;
    margin-bottom: 18px;
    text-align: left;
}

.a-propos-right p {
    color: #14532d;
    font-size: 1.18rem;
    line-height: 1.7;
    margin: 0;
    max-width: 500px;
    text-align: left;
}

/* ====== BOIS SEC SECTION ====== */
.bois-sec-section {
    width: 100%;
    padding: 80px 0;
    background: #e5e7eb;
}

.bois-sec-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.bois-sec-title {
    color: #17643b;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.bois-sec-subtitle {
    color: #14532d;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.bois-sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.bois-sec-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(23, 100, 59, 0.1);
    border: 2px solid #e6f4ec;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: center;
}

.bois-sec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(23, 100, 59, 0.2);
    border-color: #17643b;
}

.bois-sec-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #17643b, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bois-sec-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.bois-sec-card h3 {
    color: #17643b;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.bois-sec-card p {
    color: #14532d;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .bois-sec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .bois-sec-grid { grid-template-columns: 1fr; gap: 20px; }
    .bois-sec-title { font-size: 1.8rem; }
    .bois-sec-subtitle { font-size: 1rem; }
}

/* ====== CATALOGUE ====== */
.catalogue-container {
    width: 100vw;
    max-width: 100vw;
    background: #f5f6f7;
    padding: 64px 0 64px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogue-container h2 {
    color: #17643b;
    font-size: 2.3rem;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.catalogue-subtitle {
    color: #14532d;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 36px auto;
    line-height: 1.6;
    padding: 0 20px;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    width: 90vw;
    max-width: 1200px;
    justify-items: center;
}

.catalogue-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 #14532d18;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 18px 18px 18px;
    width: 220px;
    min-height: 320px;
    transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}

.catalogue-card:hover {
    box-shadow: 0 20px 32px 0 #17643b33;
    transform: translateY(-6px) scale(1.03);
    border-color: #17643b;
}

.catalogue-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 2px solid #17643b;
}

.catalogue-title {
    color: #17643b;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.catalogue-price {
    color: #14532d;
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.catalogue-livraison {
    color: #219150;
    font-size: 0.98rem;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

.catalogue-status {
    color: #17643b;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
    background: #e6f4ec;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #17643b;
}

.catalogue-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogue-card-wide {
    width: 320px;
    min-height: 380px;
}

.catalogue-card-wide .catalogue-livraison {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

.catalogue-cta {
    margin-top: 40px;
    text-align: center;
}

.catalogue-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #17643b, #22c55e);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(23, 100, 59, 0.3);
}

.catalogue-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(23, 100, 59, 0.4);
}

@media (max-width: 900px) {
  .catalogue-card:nth-child(5) {
    grid-column: 2 / span 1;
  }
}

@media (max-width: 600px) {
  .catalogue-card:nth-child(5) {
    grid-column: 1 / span 1;
  }
}

/* ====== SERVICES – ÉLAGAGE & ABATTAGE ====== */
.services-section {
    width: 100%;
    padding: 80px 0;
    background: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-main-title {
    color: #17643b;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.services-subtitle {
    color: #14532d;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.7;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(23, 100, 59, 0.15);
    border: 2px solid #e6f4ec;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(23, 100, 59, 0.25);
    border-color: #17643b;
}

.service-icon {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e6f4ec 0%, #f0f9f4 100%);
    border-bottom: 3px solid #17643b;
    position: relative;
}

.service-icon i {
    font-size: 4.5rem;
    color: #17643b;
    transition: transform 0.3s, color 0.3s;
    display: inline-block;
}

.service-card:hover .service-icon i {
    transform: scale(1.15);
    color: #219150;
}

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

.service-title {
    color: #17643b;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 0.03em;
}

.service-text {
    color: #14532d;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    flex: 1;
}

.service-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #17643b;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    box-shadow: 0 4px 16px rgba(23, 100, 59, 0.3);
    margin-top: auto;
}

.service-btn:hover {
    background: #219150;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 100, 59, 0.4);
}

@media (max-width: 900px) {
    .services-section { padding: 60px 0; }
    .services-main-title { font-size: 2rem; }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 25px;
        max-width: 600px;
    }
    .service-icon { height: 160px; }
    .service-icon i { font-size: 3.5rem; }
}

@media (max-width: 600px) {
    .services-grid { padding: 0 20px; gap: 25px; }
    .service-icon { height: 140px; }
    .service-icon i { font-size: 3rem; }
    .service-title { font-size: 1.5rem; }
    .service-text { font-size: 0.95rem; }
    .service-btn { width: 100%; padding: 12px 28px; }
}

/* ====== TYPES DE BOIS ====== */
.types-bois-section {
    width: 100%;
    padding: 64px 0 64px 0;
    background: #f5f6f7;
}

.types-bois-title {
    font-size: 2.5rem;
    color: #17643b;
    font-weight: 900;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}

.types-bois-bg {
    background: linear-gradient(120deg, #e6f4ec 0%, #f5f6f7 100%);
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 #17643b22;
    padding: 48px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.types-bois-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 56px;
    flex-wrap: wrap;
}

.types-bois-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.types-bois-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 #17643b33;
    border: 5px solid #17643b;
    background: #fff;
    margin-bottom: 18px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.types-bois-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.types-bois-label {
    color: #17643b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 6px;
    text-align: center;
    letter-spacing: 0.02em;
}

.types-bois-desc {
    color: #14532d;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 10px;
    max-width: 160px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .types-bois-row { gap: 28px; }
    .types-bois-img { width: 100px; height: 100px; }
}
@media (max-width: 600px) {
    .types-bois-row { flex-direction: column; gap: 24px; }
    .types-bois-img { width: 80px; height: 80px; }
    .types-bois-title { font-size: 2rem; }
}

/* ====== ZONE DE LIVRAISON ====== */
.zone-livraison-section {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #14532d 0%, #17643b 50%, #219150 100%);
    color: #fff;
}

.zone-livraison-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.zone-livraison-title {
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}

.zone-livraison-title i {
    margin-right: 12px;
}

.zone-livraison-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 50px auto;
    color: #d1fae5;
}

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

.zone-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.zone-card:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}

.zone-card-primary {
    background: rgba(255, 255, 255, 0.2);
    border-color: #22c55e;
    grid-column: 1 / -1;
}

.zone-card-icon {
    margin-bottom: 12px;
}

.zone-card-icon i {
    font-size: 1.5rem;
    color: #22c55e;
}

.zone-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #fff;
}

.zone-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #d1fae5;
}

.zone-cta {
    margin-top: 10px;
}

.zone-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #17643b;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.zone-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #e6f4ec;
}

@media (max-width: 900px) {
    .zone-livraison-title { font-size: 1.8rem; }
    .zone-livraison-grid { grid-template-columns: repeat(2, 1fr); }
    .zone-card-primary { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .zone-livraison-section { padding: 60px 0; }
    .zone-livraison-title { font-size: 1.5rem; }
    .zone-livraison-grid { grid-template-columns: 1fr; }
    .zone-cta-btn { font-size: 1rem; padding: 14px 30px; }
}

/* ====== GALERIE ====== */
.galerie-section {
    width: 100%;
    padding: 64px 0 64px 0;
    background: #e5e7eb;
}

.galerie-title {
    font-size: 2.5rem;
    color: #17643b;
    font-weight: 900;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.04em;
}

.galerie-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 0 0 32px 0;
}

.galerie-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1);
    will-change: transform;
}

.galerie-slide {
    flex: 0 0 28%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transform: scale(0.85);
    transition: transform 0.5s, opacity 0.5s;
    z-index: 1;
    pointer-events: none;
}

.galerie-slide.center {
    flex: 0 0 44%;
    opacity: 1;
    transform: scale(1.12);
    z-index: 2;
    pointer-events: auto;
}

.galerie-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 #17643b33;
    border: 3px solid #fff;
    background: #e6f4ec;
    transition: box-shadow 0.2s;
}

.galerie-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.galerie-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d1fae5;
    border: 2px solid #17643b;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.galerie-dot.active {
    background: #17643b;
    border: 2px solid #22c55e;
}

.galerie-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #17643b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px #17643b33;
    opacity: 0.85;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    padding-bottom: 5px;
}
.galerie-arrow:hover, .galerie-arrow:focus {
    background: #22c55e;
    color: #17643b;
    opacity: 1;
}
.galerie-prev { left: 8px; }
.galerie-next { right: 8px; }
.galerie-slider { position: relative; }

@media (max-width: 900px) {
    .galerie-slider { max-width: 98vw; }
    .galerie-slide img { height: 220px; }
}
@media (max-width: 600px) {
    .galerie-slide img { height: 120px; }
    .galerie-title { font-size: 1.5rem; }
}

/* ====== FAQ ====== */
.faq-section {
    width: 100%;
    padding: 80px 0;
    background: #f5f6f7;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.faq-title {
    color: #17643b;
    font-size: 2.3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e6f4ec;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
    border-color: #17643b;
    box-shadow: 0 4px 16px rgba(23, 100, 59, 0.15);
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #17643b;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: #17643b;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-question:hover {
    background: #e6f4ec;
}

.faq-answer {
    padding: 0 24px 20px 24px;
}

.faq-answer p {
    color: #14532d;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 600px) {
    .faq-title { font-size: 1.7rem; }
    .faq-question { font-size: 1rem; padding: 16px 18px; }
    .faq-answer { padding: 0 18px 16px 18px; }
}

/* ====== CONTACT ====== */
.contact-section-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.contact-title {
    font-size: 2.5rem;
    color: #17643b;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #17643b, #22c55e);
    border-radius: 2px;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 20px;
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(23, 100, 59, 0.1);
    border: 2px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(23, 100, 59, 0.15);
}

.contact-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #17643b, #22c55e);
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: start;
}

.contact-map {
    padding: 40px;
    border-right: 2px solid #e2e8f0;
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form {
    background: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.contact-form h3 {
    color: #17643b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0 20px 0;
    text-align: center;
}

.contact-row {
    display: flex;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 0;
    background: #f8fafc;
    color: #334155;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #17643b;
    outline: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(23, 100, 59, 0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.contact-submit {
    background: linear-gradient(135deg, #17643b, #22c55e);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 18px 0;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(23, 100, 59, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-submit:hover::before {
    left: 100%;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(23, 100, 59, 0.4);
}

@media (max-width: 900px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        padding: 32px 0 32px 0;
        gap: 0;
    }
    .contact-map, .contact-form {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
        min-width: 0;
    }
    .contact-map iframe {
        min-width: 0;
        min-height: 320px;
        border-radius: 0;
        height: 320px;
    }
    .contact-form {
        border-radius: 0;
        padding: 32px 12px 24px 12px;
        height: auto;
    }
}

/* ====== FOOTER ====== */
.main-footer {
    position: relative;
    width: 100%;
    background: #17643b;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 36px 48px 28px 48px;
    gap: 24px;
    border-top: 2px solid #14532d;
    margin-top: 0;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    flex-direction: column;
    gap: 12px;
}

.footer-left a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.18s;
    padding: 3px 0;
}
.footer-left a:hover {
    color: #22c55e;
}

.footer-seo-link {
    color: #22c55e !important;
    font-weight: 700 !important;
}

.footer-center-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    pointer-events: none;
}

.footer-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.footer-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 200px;
}

.footer-address {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.footer-address i, .footer-phone i {
    margin-right: 6px;
}

.footer-phone {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.footer-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-seo-text {
    color: #d1fae5;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    max-width: 320px;
    text-align: right;
    margin-top: 8px;
}

.footer-left, .footer-right {
    z-index: 3;
}

@media (max-width: 900px) {
    .main-footer {
        flex-direction: column;
        align-items: center;
        padding: 28px 8px 18px 8px;
        gap: 18px;
    }
    .footer-center-overlay {
        position: static;
        width: 100%;
        height: auto;
        margin: 18px 0;
    }
    .footer-right {
        align-items: center;
        min-width: 0;
    }
    .footer-seo-text {
        text-align: center;
        max-width: 100%;
    }
}

/* ====== UTILITY CLASSES ====== */
.a-propos-divider {
  margin: 0 0.5em;
  color: #888;
}
.a-propos-mini-text {
  margin-top: 10px;
  font-size: 1rem;
  text-align: left;
  display: block;
  max-width: 100%;
}
.a-propos-main {
  color: #14532d;
}
.a-propos-etc {
  color: #a0522d;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE DESIGN ====== */

/* Desktop (1681px and above) */
@media (min-width: 1681px) {
    .nav-left, .nav-right { display: flex; }
    .mobile-menu-toggle { display: none; }
    .mobile-menu { display: none !important; }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .header-nav { padding: 0 40px; }
    .nav-left { left: 40px; }
    .nav-right { right: 40px; }
    .carousel-text { font-size: 2.5rem; }
    .carousel-mini-text { font-size: 1.2rem; max-width: 700px; }
    .a-propos-container { padding: 50px 20px; gap: 30px; }
    .a-propos-circle-img.large { width: 300px; height: 300px; }
}

/* Mobile menu (1680px and below) */
@media (max-width: 1680px) {
    .nav-left, .nav-right { display: none; }
    .mobile-menu-toggle { display: flex; }
    .nav-center {
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.3s ease;
    }
    .header-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    .nav-center { height: 80px; }
    .main-header.menu-open .nav-center {
        transform: translate(-50%, -100%);
    }
    .carousel { height: 600px; }
    .carousel-slide { height: 600px; }
    .carousel-slide img { height: 600px; }
    .carousel-text { font-size: 2.5rem; padding: 20px 25px 8px 25px; }
    .carousel-mini-text { font-size: 1.2rem; padding: 10px 25px 8px 25px; max-width: 90%; }
    .a-propos-container {
        flex-direction: column;
        padding: 50px 25px;
        text-align: center;
    }
    .a-propos-left { margin-right: 0; margin-bottom: 25px; }
    .a-propos-circle-img.large { width: 250px; height: 250px; }
    .a-propos-right h2 { font-size: 2.2rem; text-align: center; }
    .catalogue-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        width: 95vw;
    }
    .catalogue-card { width: 100%; max-width: 350px; }
    .galerie-slide img { height: 350px; }
    .contact-section { padding: 0 20px; }
    .contact-content { grid-template-columns: 1fr; }
    .contact-map {
        border-right: none;
        border-bottom: 2px solid #e2e8f0;
        padding: 30px;
    }
    .contact-map iframe { height: 300px; }
    .contact-form { padding: 30px; }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .header-nav { padding: 0 15px; height: 70px; }
    .nav-center {
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.3s ease;
    }
    .header-logo-placeholder {
        width: 70px;
        height: 70px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }
    .nav-center { height: 70px; }
    .header-nav a { font-size: 0.5rem; padding: 6px 10px; }
    .header-nav a.contact-btn { font-size: 0.5rem; padding: 8px 16px; }
    .mobile-menu a { font-size: 0.7rem; padding: 12px 25px; }
    .main-header.menu-open .nav-center { transform: translate(-50%, -100%); }
    .carousel { height: 500px; }
    .carousel-slide, .carousel-slide img { height: 500px; }
    .carousel-text { font-size: 1.5rem; padding: 16px 20px 6px 20px; }
    .carousel-mini-text { font-size: 0.9rem; padding: 8px 20px 6px 20px; }
    .carousel-contact-btn { font-size: 1.1rem; padding: 14px 26px; }
    .a-propos-circle-img.large { width: 200px; height: 200px; }
    .a-propos-right h2 { font-size: 1.8rem; }
    .a-propos-mini-text { font-size: 1.1rem; }
    .catalogue-container h2 { font-size: 2rem; }
    .catalogue-grid { grid-template-columns: 1fr; gap: 20px; width: 90vw; }
    .catalogue-card { width: 100%; padding: 25px 20px 20px 20px; }
    .galerie-title { font-size: 2rem; }
    .galerie-slide img { height: 250px; }
    .contact-section-wrapper { padding: 60px 0; }
    .contact-title { font-size: 2rem; }
    .contact-subtitle { font-size: 1rem; margin-bottom: 40px; }
    .contact-form { padding: 20px; }
    .contact-row { flex-direction: column; gap: 15px; }
    .contact-row input { width: 100%; }
    .contact-map iframe { width: 100%; height: 300px; }
    .main-footer {
        flex-direction: column;
        align-items: center;
        padding: 20px 15px;
        text-align: center;
    }
    .footer-right { align-items: center; min-width: 0; }
    .footer-center-overlay { position: static; margin: 15px 0; }
}

/* Laptop (768px - 1680px) */
@media (max-width: 1680px) and (min-width: 768px) {
    .container { max-width: 100%; padding: 0 25px; }
    .header-nav { padding: 0 30px; height: 90px; }
    .header-logo-placeholder { font-size: 1rem; width: 100px; height: 100px; }
    .header-nav a { font-size: 1rem; padding: 8px 14px; }
    .header-nav a.contact-btn { font-size: 1rem; padding: 10px 22px; }
    .main-header.menu-open .nav-center { transform: translate(-50%, -100%); }
    .main-header.menu-open .header-logo-placeholder {
        font-size: 0.7rem;
        width: 70px;
        height: 70px;
        margin-top: 20px;
    }
    .carousel { height: 400px; }
    .carousel-slide, .carousel-slide img { height: 400px; }
    .carousel-text { font-size: 2.8rem; padding: 20px 25px 8px 25px; }
    .carousel-mini-text { font-size: 1.2rem; padding: 10px 25px 8px 25px; }
    .carousel-contact-btn { font-size: 1rem; padding: 12px 24px; }
    .types-bois-row { gap: 30px; }
    .types-bois-img { width: 120px; height: 120px; }
    .galerie-slide img { height: 300px; }
    .contact-container { flex-direction: column; gap: 30px; }
    .contact-map, .contact-form { width: 100%; }
    .contact-map iframe { height: 350px; }
}

/* Robot Protection */
.robot-protection {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.robot-protection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #17643b;
    font-size: 0.9rem;
}

.robot-number-display {
    background: #17643b;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin: 10px 0;
    letter-spacing: 0.2em;
    font-family: 'Courier New', monospace;
    border: 2px solid #14532d;
    box-shadow: 0 4px 8px rgba(23, 100, 59, 0.3);
}

.robot-protection input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 10px;
}

.robot-protection input[type="text"]:focus {
    outline: none;
    border-color: #17643b;
}

/* Phone Styling */
.contact-phone-display {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #e6f4ec 0%, #f0f9f4 100%);
    border-radius: 12px;
    border: 2px solid #17643b;
    box-shadow: 0 4px 12px rgba(23, 100, 59, 0.15);
}

.contact-phone-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #17643b, #22c55e);
    border-radius: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 100, 59, 0.3);
    letter-spacing: 0.02em;
}

.contact-phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 100, 59, 0.4);
    background: linear-gradient(135deg, #14532d, #16a34a);
}

.carousel-phone-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(23, 100, 59, 0.8);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.carousel-phone-link:hover {
    background: rgba(23, 100, 59, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}
