/* =============================================
   VALY OUVERTURE FRANCE - Styles principaux
   ============================================= */

:root {
    --green: #4a7c2f;
    --green-dark: #2d5a1a;
    --green-light: #6aaa3f;
    --green-pale: #e8f5e0;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --dark: #1a1a1a;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

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

/* ===== MENTIONS LÉGALES ===== */
.mentions-section {
    padding: 60px 0 80px;
    background: #f9f9f9;
}

.mentions-container {
    max-width: 860px;
}

.mentions-block {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    margin-bottom: 24px;
}

.mentions-block h2 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-pale);
}

.mentions-block h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 18px 0 8px;
}

.mentions-block p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.mentions-block ul {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.mentions-block ul li {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 3px 0 3px 16px;
    position: relative;
}

.mentions-block ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--green);
}

.mentions-block a {
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mentions-block a:hover { color: var(--green); }

.mentions-date {
    color: rgba(0,0,0,0.4);
    font-size: 0.85rem;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .mentions-block { padding: 24px 20px; }
    .mentions-block h2 { font-size: 1.05rem; }
}

/* ===== HOME HEADER ===== */
.home-header {
    background: var(--white);
    box-shadow: var(--shadow);
}

.home-header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

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

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}

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

.logo-icon { font-size: 2rem; }

.logo-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green-dark);
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--gray);
}

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

.nav-links a {
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--green);
}

.btn-devis {
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-devis:hover { background: var(--green-dark); }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    gap: 15px;
    border-top: 1px solid #eee;
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
}

/* ===== BOUTONS ===== */
.btn-primary {
    background: var(--green);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
}

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

.btn-outline {
    background: var(--white);
    color: var(--dark);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #ddd;
    transition: border-color 0.2s;
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #7ec850 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="80" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 600px;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 span { color: #c8f09a; }

.hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btns .btn-primary {
    background: var(--white);
    color: var(--green-dark);
}

.hero-btns .btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* ===== SERVICES ICÔNES ===== */
.services-icons {
    padding: 50px 0;
    background: var(--white);
}

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

.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 15px;
    border: 2px solid #e8e8e8;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-align: center;
}

.icon-card:hover {
    border-color: var(--green);
    box-shadow: 0 6px 20px rgba(74,124,47,0.15);
    transform: translateY(-3px);
}

.icon-card .icon { font-size: 2rem; }
.icon-card .label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
}

/* ===== MENUISERIE ===== */
.menuiserie-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.menuiserie-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-block img { width: 50px; }
.logo-block strong {
    font-family: var(--font-head);
    font-weight: 800;
    color: var(--green-dark);
    font-size: 1.2rem;
}
.logo-block span { font-size: 0.8rem; color: var(--gray); }

.menuiserie-text h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.menuiserie-text h2 span { color: var(--green); }

.checklist-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checklist-cols ul { list-style: none; }
.checklist-cols li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.menuiserie-img .img-placeholder,
.arguments-img .img-placeholder,
.service-img .img-placeholder {
    background: linear-gradient(135deg, var(--green-pale), #d0e8c0);
    border-radius: var(--radius);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    overflow: hidden;
}

.service-img .img-placeholder img {
    max-height: 220px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ===== ARGUMENTS ===== */
.arguments {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}

.arguments-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.arguments-text p {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    padding: 8px 0;
}

.arguments-img .img-placeholder {
    background: rgba(255,255,255,0.15);
}

/* ===== CTA DEVIS ===== */
.cta-devis {
    padding: 60px 0;
    background: var(--white);
    text-align: center;
}

.cta-devis h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--dark);
}

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

/* ===== FOOTER SERVICES ===== */
.footer-services {
    padding: 50px 0;
    background: var(--gray-light);
}

.footer-logo-block {
    text-align: center;
    margin-bottom: 30px;
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--green-dark);
}

.footer-icons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.footer-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: var(--white);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ===== CONTACT BAR ===== */
.contact-bar {
    background: var(--green-dark);
    color: var(--white);
    padding: 18px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    justify-content: center;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: auto;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.page-hero h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    position: relative;
    z-index: 2;
}

/* ===== SERVICES DETAIL ===== */
.services-detail { padding: 60px 0; }

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-content h2 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--green);
}

.service-content ul { list-style: none; }
.service-content li {
    padding: 6px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-cols {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    gap: 10px;
}

.services-photo {
    padding: 40px 0;
}

.services-photo img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.cta-services { padding: 40px 0; text-align: center; }

/* ===== CONTACT ===== */
.contact-section { padding: 60px 0; }

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-block h1 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-sub {
    color: var(--gray);
    margin-bottom: 30px;
}

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

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

.form-input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-input:focus { border-color: var(--green); }

textarea.form-input { resize: vertical; }

.btn-submit {
    background: var(--green);
    color: var(--white);
    padding: 16px;
    border: none;
    border-radius: 30px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover { background: var(--green-dark); }

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.info-item span:first-child { font-size: 1.3rem; }
.info-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
}
.info-item a:hover { color: var(--green); }

.map-placeholder {
    background: var(--green-pale);
    border-radius: var(--radius);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 2rem;
    color: var(--green);
    font-weight: 600;
}

/* ===== BOTTOM BAR ===== */
.bottom-bar {
    background: var(--white);
    padding: 15px 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

/* ===== FLASH MESSAGES ===== */
.flash {
    padding: 15px 20px;
    margin: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}
.flash-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 8px;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ===== SECTION NAV ===== */
.section-nav {
    background: var(--white);
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 70px;
    z-index: 90;
}

.section-nav-inner {
    display: flex;
    align-items: center;
    height: 55px;
}

.section-nav-link {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray);
    padding: 15px 20px;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
}

.section-nav-link:hover,
.section-nav-link.active {
    color: var(--green);
    border-bottom-color: var(--green);
    background: var(--green-pale);
}

.section-nav-divider {
    width: 2px;
    height: 30px;
    background: #eee;
}

/* ===== HOME SECTIONS ===== */
.home-section { padding: 80px 0; background: var(--white); }
.home-section--dark { background: linear-gradient(160deg, var(--green-dark) 0%, #1a3d0a 100%); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 10px 0;
}
.section-header p { color: var(--gray); font-size: 1rem; max-width: 500px; margin: 0 auto; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255,255,255,0.75); }

.section-badge {
    display: inline-block;
    background: var(--green-pale);
    color: var(--green-dark);
    padding: 5px 16px;
    border-radius: 20px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-badge--light { background: rgba(255,255,255,0.15); color: var(--white); }
.section-cta { text-align: center; margin-top: 40px; }

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 30px rgba(74,124,47,0.15);
    transform: translateY(-4px);
}

.service-card-icon { font-size: 2.5rem; margin-bottom: 12px; }
.service-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ===== ARGUMENTS NOUVELLE VERSION ===== */
.arguments-list { display: flex; flex-direction: column; gap: 20px; margin-top: 25px; }

.argument-item { display: flex; align-items: flex-start; gap: 15px; }

.arg-icon {
    background: rgba(255,255,255,0.2);
    color: #c8f09a;
    font-size: 1.1rem;
    font-weight: 800;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.argument-item strong { display: block; color: var(--white); font-family: var(--font-head); font-weight: 700; margin-bottom: 2px; }
.argument-item p { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.arguments-text h2 { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--white); }

/* ===== CONSOMMABLES GRID ===== */
.consommables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.consommable-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.consommable-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.consommable-icon { font-size: 2.5rem; margin-bottom: 12px; }
.consommable-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.consommable-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 16px; }
.consommable-link { color: #c8f09a; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; text-decoration: none; }
.consommable-link:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .icons-grid { grid-template-columns: repeat(4, 1fr); }
    .menuiserie-inner, .arguments-inner, .contact-inner { grid-template-columns: 1fr; }
    .service-block { grid-template-columns: 1fr; }
    .service-block.reverse { direction: ltr; }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; }
    .footer-icons-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .btn-devis { display: none; }
    .burger { display: flex; }
    .icons-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-icons-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { padding: 40px 20px; }
    .checklist-cols { grid-template-columns: 1fr; }
    .service-cols { columns: 1; }
}

/* ===== NOUVEAU FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
}

.footer-top { padding: 60px 0 40px; }

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo-icon { font-size: 2rem; }

.footer-logo strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.footer-logo span {
    font-size: 0.75rem;
    color: var(--green-light);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.footer-whatsapp:hover { background: #1da851; }

.footer-col h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.footer-col a,
.footer-col span {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--green-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

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

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--green-light); }

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

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ===== CARROUSEL ===== */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    user-select: none;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

/* Caption */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

.carousel-caption span {
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Flèches */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev { left: 20px; }
.carousel-btn--next { right: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .carousel-slide img { height: 420px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.4rem; }
    .carousel-btn--prev { left: 10px; }
    .carousel-btn--next { right: 10px; }
    .carousel-caption span { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .carousel-slide img { height: 320px; }
}

/* ===== HERO V2 - 3 boutons + texte dynamique ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #7ec850 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text {
    min-height: 130px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.hero-title span { color: #c8f09a; }

.hero-title.sliding {
    opacity: 0;
    transform: translateX(-40px);
}

.hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.hero-sub.sliding {
    opacity: 0;
    transform: translateX(-40px);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    white-space: nowrap;
}

.btn-hero:hover,
.btn-hero.active {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .hero { min-height: 420px; }
    .hero-text { min-height: 160px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-hero { width: 100%; max-width: 280px; justify-content: center; }
}

/* ===== PAGE QUI SOMMES-NOUS ===== */

/* Intro */
.about-intro { padding: 80px 0; background: var(--white); }
.about-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-text h2 {
    font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 20px;
    line-height: 1.3;
}
.about-intro-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Chiffres clés */
.about-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s, transform 0.2s;
}
.stat-card:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-4px);
}
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    color: #c8f09a;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Histoire */
.about-history { padding: 80px 0; background: var(--gray-light); }
.about-history-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-history-inner .history-text {
    grid-column: 2;
}
.history-text h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 30px;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 30px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--green-pale);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    line-height: 1.2;
}
.timeline-content { padding-top: 10px; }
.timeline-content strong {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.timeline-content p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }

/* Valeurs */
.about-values { padding: 80px 0; background: var(--white); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.value-card {
    padding: 35px 25px;
    border-radius: var(--radius);
    border: 2px solid #eee;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.value-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 30px rgba(74,124,47,0.12);
    transform: translateY(-4px);
}
.value-icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }
.value-card h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.value-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* Équipe */
.about-team { padding: 80px 0; background: var(--gray-light); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 10px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.team-card h3 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}
.team-role {
    display: block;
    color: var(--green);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.team-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* Zone d'intervention */
.about-zone { padding: 80px 0; background: var(--white); }
.about-zone-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.zone-text h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 12px 0 16px;
}
.zone-text p { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.zone-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.zone-list li { color: var(--gray); font-weight: 600; }

/* Responsive */
@media (max-width: 900px) {
    .about-intro-inner,
    .about-history-inner,
    .about-zone-inner { grid-template-columns: 1fr; }
    .about-history-inner .history-text { grid-column: 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2rem; }
}


/* ===== CARROUSEL 3D CIRCULAIRE ===== */
.carousel3d-wrapper {
    position: relative;
    width: 100%;
    padding: 60px 0 90px;
    overflow: hidden;
    background: transparent;
}

.carousel3d-scene {
    position: relative;
    width: 100%;
    height: 600px;
    perspective: 1800px;
    perspective-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel3d-ring {
    width: 200px;
    height: 490px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.carousel3d-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 490px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 2px solid rgba(0,0,0,0.08);
    transition: opacity 0.9s cubic-bezier(0.23,1,0.32,1),
                filter 0.9s cubic-bezier(0.23,1,0.32,1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    backface-visibility: hidden;
}

.carousel3d-item.is-active {
    border-color: rgba(74,124,47,0.45);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15),
                0 0 0 1px rgba(74,124,47,0.20);
}

.carousel3d-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel3d-item.is-active img {
    transform: scale(1.04);
}

.carousel3d-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 0.5px;
}


/* Flèches */
.carousel3d-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74,124,47,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(74,124,47,0.30);
    color: #2d5a1b;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    line-height: 1;
}

.carousel3d-btn:hover {
    background: rgba(74,124,47,0.80);
    border-color: rgba(200,240,154,0.55);
    transform: translateY(-50%) scale(1.12);
}

.carousel3d-btn--prev { left: 24px; }
.carousel3d-btn--next { right: 24px; }

/* Dots de navigation */
.carousel3d-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    z-index: 10;
}

.carousel3d-dot {
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background: rgba(0,0,0,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.35s cubic-bezier(0.23,1,0.32,1);
}

.carousel3d-dot.active {
    background: #4a7c2f;
    width: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel3d-scene  { height: 470px; perspective: 1000px; }
    .carousel3d-ring   { width: 155px; height: 380px; }
    .carousel3d-item   { width: 155px; height: 380px; }
    .carousel3d-btn    { width: 44px; height: 44px; font-size: 1.5rem; }
    .carousel3d-btn--prev { left: 8px; }
    .carousel3d-btn--next { right: 8px; }
}

@media (max-width: 480px) {
    .carousel3d-scene { height: 400px; perspective: 800px; }
    .carousel3d-ring  { width: 130px; height: 318px; }
    .carousel3d-item  { width: 130px; height: 318px; }
    .carousel3d-btn   { width: 38px; height: 38px; font-size: 1.3rem; }
    .carousel3d-btn--prev { left: 4px; }
    .carousel3d-btn--next { right: 4px; }
}

/* ===== RESPONSIVE GLOBAL ===== */

/* --- Histoire : placeholders adaptatifs --- */
.about-img-placeholder {
    height: clamp(180px, 35vw, 320px);
    font-size: clamp(3rem, 8vw, 6rem);
}

/* --- Services grid --- */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .consommables-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card, .consommable-card { padding: 20px 16px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .consommables-grid { grid-template-columns: 1fr; }
}

/* --- Page hero --- */
@media (max-width: 600px) {
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); }
    .page-hero p  { font-size: 0.9rem; }
}

/* --- Arguments --- */
@media (max-width: 600px) {
    .arguments-text p { font-size: 1.1rem; }
    .arguments { padding: 40px 0; }
    .menuiserie-img .img-placeholder,
    .arguments-img .img-placeholder,
    .service-img .img-placeholder { height: 180px; }
}

/* --- Contact bar & bottom bar --- */
@media (max-width: 600px) {
    .contact-bar  { padding: 14px 16px; font-size: 0.9rem; gap: 10px; flex-direction: column; align-items: flex-start; }
    .whatsapp-btn { margin-left: 0; }
    .bottom-bar   { padding: 12px 16px; gap: 8px; flex-direction: column; align-items: center; font-size: 0.85rem; }
}

/* --- CTA --- */
@media (max-width: 600px) {
    .cta-devis h2 { font-size: clamp(1.2rem, 5vw, 1.8rem); }
    .cta-btns { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-btns a { text-align: center; }
}

/* --- Footer --- */
@media (max-width: 600px) {
    .footer-top { padding: 40px 0 24px; }
    .footer-inner { gap: 24px; }
    .footer-icons-grid { gap: 8px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* --- Sections padding --- */
@media (max-width: 600px) {
    .about-stats { padding: 40px 0; }
    .about-values .value-card { padding: 24px 16px; }
    .team-avatar { font-size: 2.5rem; }
    .menuiserie-inner { gap: 30px; }
    .contact-inner { gap: 30px; }
    .about-zone-inner { gap: 30px; }
}

/* --- Icons grid tablette --- */
@media (max-width: 900px) {
    .icons-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Hero boutons mobile --- */
@media (max-width: 480px) {
    .hero-sub { font-size: 0.95rem; }
    .btn-hero { padding: 12px 20px; font-size: 0.9rem; }
}

/* --- Navbar logo --- */
@media (max-width: 480px) {
    .nav-logo-img { height: 36px; }
    .nav-inner { height: 56px; }
}