/* ============================
   CSS Variables
   ============================ */
:root {
    --primary: #F25C37;
    /* Vibrant Orange/Red from design */
    --primary-hover: #d14624;
    --dark: #121212;
    --dark-grey: #1E1E1E;
    --text: #333333;
    --text-light: #777777;
    --light-bg: #F9F7F2;
    /* Warm light beige/grey */
    --white: #ffffff;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.text-center {
    text-align: center;
}

/* ============================
   Buttons
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

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

.btn-white {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--dark);
}

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

/* ============================
   Header
   ============================ */
.main-header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--dark);
}

/* ============================
   Hero Section
   ============================ */
.hero-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.hero-text-wrapper {
    margin-bottom: 60px;
    text-align: center;
    /* Fallback */
}

.hero-top-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: -10px;
}

.hero-top-line h1 {
    font-size: 5vw;
    font-weight: 400;
    /* Lighter weight for contrast */
    margin: 0;
    line-height: 1;
}

.spin-icon {
    font-size: 40px;
    color: var(--primary);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hero-big-title {
    font-size: 8vw;
    line-height: 0.85;
    margin: 0;
    text-align: center;
    color: var(--dark);
    white-space: nowrap;
}

.hero-desc-row {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto 0;
    gap: 60px;
}

.hero-desc-row p {
    font-size: 12px;
    color: var(--text-light);
    max-width: 400px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.8;
}

/* Hero Gallery */
.hero-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    height: 500px;
}

.hero-gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

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

.hero-gallery-item:hover img {
    transform: scale(1.05);
}

.hero-gallery-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

/* Overlays & Buttons in Hero */
.overlay-text {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 40px);
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--white);
    font-weight: 600;
}

.circle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.circle-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-footer {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 12px;
}

.social-mini {
    display: flex;
    gap: 10px;
}

/* ============================
   Features Section
   ============================ */
.features-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.sub-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.features-section h2 {
    font-size: 48px;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.1;
}

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

.feature-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    margin-bottom: 25px;
    font-size: 40px;
    color: #f5a623;
    /* Gold/Yellow for badges */
}

/* ============================
   About Section
   ============================ */
.about-section {
    padding: 100px 0;
    background: #F3ECE7;
    /* Slightly darker beige */
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    position: relative;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    height: 500px;
}

.about-img img {
    height: 100%;
}

.about-content h2 {
    font-size: 56px;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 40px;
    color: var(--text-light);
    font-size: 15px;
    max-width: 500px;
}

/* ============================
   Realisations / Slider
   ============================ */
.realisations-section {
    padding: 100px 0;
    background: var(--white);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.slider-nav {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: var(--dark);
    transition: color 0.3s;
}

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

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

.realisation-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.realisation-card img {
    height: 250px;
    width: 100%;
}

.realisation-card .card-content {
    padding: 30px;
}

.realisation-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.realisation-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.dark-card {
    background: #1C1C1C;
    color: var(--white);
}

.dark-card h3 {
    color: var(--white);
}

.dark-card p {
    color: #aaa;
}

/* ============================
   Info Section
   ============================ */
.info-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.big-title {
    font-size: 60px;
    margin-bottom: 20px;
}

.info-section p {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-light);
}

.wide-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.image-overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================
   Tarifs Grid
   ============================ */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.tarif-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.tarif-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.tarif-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.tarif-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.tarif-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tarif-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-top: 10px;
}

/* ============================
   Testimonials
   ============================ */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--radius);
}

.testimonial-card p {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text);
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author h4 {
    margin: 0;
    font-size: 16px;
}

.author span {
    font-size: 12px;
    color: var(--text-light);
}

/* ============================
   CTA Footer
   ============================ */
.cta-footer-section {
    background: #151515;
    color: var(--white);
    padding: 100px 0;
    /* Background pattern like pipes if desired */
    background-image: linear-gradient(rgba(21, 21, 21, 0.9), rgba(21, 21, 21, 0.9)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.cta-footer-section h2 {
    color: var(--white);
    font-size: 50px;
    margin-bottom: 40px;
}

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

/* ============================
   Main Footer
   ============================ */
.main-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #888;
}

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

.footer-bottom-row {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    color: #666;
}

/* ============================
   Responsive
   ============================ */
/* ============================
   Responsive
   ============================ */
/* ============================
   Tablet (max 992px)
   ============================ */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    /* Hero responsive */
    .hero-section {
        padding: 50px 0 60px;
    }

    .hero-top-line {
        gap: 12px;
        margin-bottom: 0;
    }

    .hero-top-line h1 {
        font-size: 3.2vw;
    }

    .spin-icon {
        font-size: 24px;
    }

    .hero-big-title {
        font-size: 7vw;
        white-space: nowrap;
    }

    .hero-desc-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-desc-row p {
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-gallery {
        grid-template-columns: 1fr;
        height: auto;
        gap: 10px;
    }

    .hero-gallery-item.large {
        height: 300px;
    }

    .hero-gallery-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 200px;
        gap: 10px;
    }

    /* Sections responsive */
    .features-section {
        padding: 60px 0;
    }

    .features-section h2 {
        font-size: 32px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .about-section {
        padding: 60px 0;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-img {
        height: 300px;
        order: -1;
        margin-bottom: 0;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .about-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .realisations-section {
        padding: 60px 0;
    }

    .realisations-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 20px;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .realisation-card {
        min-width: 85%;
        scroll-snap-align: center;
    }

    .info-section {
        padding: 60px 0;
    }

    .big-title {
        font-size: 40px;
    }

    .testimonials-section {
        padding: 60px 0;
    }

    .cta-footer-section {
        padding: 60px 0;
    }

    .cta-footer-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    /* Mobile Menu */
    .nav-menu {
        display: flex;
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--dark);
        font-size: 18px;
    }

    .header-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

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

/* ============================
   Mobile (max 768px)
   ============================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 50px;
    }

    .hero-top-line {
        gap: 8px;
        margin-bottom: 5px;
    }

    .hero-top-line h1 {
        font-size: 5.5vw;
    }

    .spin-icon {
        font-size: 18px;
    }

    .hero-big-title {
        font-size: 11vw;
        white-space: nowrap;
    }

    .hero-text-wrapper {
        margin-bottom: 30px;
    }

    .hero-desc-row {
        margin-top: 25px;
        gap: 15px;
    }

    .hero-desc-row p {
        font-size: 11px;
        line-height: 1.7;
    }

    .features-section h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 35px 20px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .slider-header h2 {
        font-size: 22px;
    }

    .big-title {
        font-size: 32px;
    }

    .tarif-price {
        font-size: 34px;
    }

    .testimonials-section h2 {
        font-size: 24px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================
   Small Mobile (max 576px)
   ============================ */
@media (max-width: 576px) {
    .hero-top-line h1 {
        font-size: 5vw;
    }

    .hero-big-title {
        font-size: 9.5vw;
        white-space: nowrap;
    }

    .hero-gallery-col {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-gallery-col .hero-gallery-item {
        height: 200px;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .about-img {
        height: 250px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .big-title {
        font-size: 26px;
    }

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

/* ============================
   Very Small Mobile (max 400px)
   ============================ */
@media (max-width: 400px) {
    .hero-top-line h1 {
        font-size: 4.8vw;
    }

    .hero-big-title {
        font-size: 9vw;
    }

    .spin-icon {
        font-size: 14px;
    }

    .hero-top-line {
        gap: 5px;
    }

    .features-section h2 {
        font-size: 22px;
    }

    .tarif-card {
        padding: 30px 15px;
    }

    .tarif-price {
        font-size: 30px;
    }
}