/* ============================================================
   css/style.css - Feuille de style commune
   Couleurs : Rouge (#fb0505, #f93232) et Noir (#121111)
   Police : Montserrat pour les titres, Segoe UI pour le corps
   Fond statique avec opacité sur tout le site
   ============================================================ */

/* ===== IMPORT DE LA POLICE MONTSERRAT ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ===== VARIABLES ===== */
:root {
    --red: #fb0505;
    --red-light: #f93232;
    --black: #121111;
    --white: #ffffff;
    --gray: #f5f5f5;
    --text-dark: #222222;
    --text-gray: #555555;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    /* ===== FOND STATIQUE ===== */
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /* ===== POSITION RELATIVE POUR LA SUPERPOSITION ===== */
    position: relative;
    /* ===== CENTRAGE ===== */
    display: flex;
    flex-direction: column;
}

/* ===== SUPERPOSITION POUR L'OPACITÉ (CORRIGÉ) ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    /* Ajustez l'opacité ici */
    z-index: 0;
    pointer-events: none;
}

/* ===== TOUT LE CONTENU AU-DESSUS DE LA SUPERPOSITION ===== */
header,
main,
section,
footer,
.hero,
.container,
.offcanvas,
.offcanvas-overlay {
    position: relative;
    z-index: 1;
}

/* ===== CLASSES DE FOND POUR LES SECTIONS ===== */
.bg-black {
    background: rgba(18, 17, 17, 0.88);
}

.bg-white {
    background: rgba(255, 255, 255, 0.93);
}

h1,
h2,
h3,
h4,
.section-title,
.btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ============================================================
   HEADER - fond noir permanent avec opacité
   ============================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(18, 17, 17, 0.95);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(18, 17, 17, 0.98);
}

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

.logo img {
    height: 50px;
    width: auto;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -10px);
}

/* ===== OFFCANVAS MENU ===== */
.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: rgba(18, 17, 17, 0.98);
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.offcanvas.active {
    right: 0;
}

.offcanvas ul li {
    margin-bottom: 25px;
}

.offcanvas ul li a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s;
}

.offcanvas ul li a:hover {
    color: var(--red);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background: rgba(18, 17, 17, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 60px;
    width: 100%;
}

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

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    font-weight: 300;
    letter-spacing: 15px;
    margin-bottom: 5px;
    line-height: 1;
    min-height: 1.2em;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--red);
    font-weight: 300;
    animation: typewriter-blink 0.8s step-end infinite;
}

@keyframes typewriter-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--red);
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 30px;
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
    fill: var(--red);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    padding: 80px 0;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title.red {
    color: var(--red);
}

.section-title.white {
    color: var(--white);
}

/* ============================================================
   AGENCE
   ============================================================ */
#agence {
    background: rgba(255, 255, 255, 0.93);
    padding-bottom: 40px;
}

#agence .container {
    max-width: 900px;
}

#agence p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    margin-top: 40px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-icon {
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--red);
}

.service-item span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ============================================================
   AGENCE - CHIFFRES CLÉS & SERVICES (page agence.php)
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: var(--gray);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid var(--red);
}

.stat-card h3 {
    color: var(--red);
}

.agence-services {
    margin-top: 40px;
}

.services-tags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.service-tag {
    background: var(--gray);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--red);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-red:hover {
    background: #d40000;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

/* ============================================================
   REALISATIONS - CARROUSEL
   ============================================================ */
#realisations {
    background: rgba(18, 17, 17, 0.88);
    padding: 80px 0 40px;
}

#realisations .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 50px;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 5px;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.project-link {
    position: relative;
    display: block;
    min-width: 220px;
    flex: 1;
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.project-link:hover {
    transform: scale(1.05);
}

.project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.project-link:hover .project-img {
    box-shadow: 0 0 25px 4px rgba(255, 255, 255, 0.55);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.project-link:hover .project-overlay {
    opacity: 1;
}

.project-overlay .project-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.project-overlay .project-url {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    word-break: break-all;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ============================================================
   PROJECTS GALLERY - PAGE REALISATIONS
   ============================================================ */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.projects-gallery .project-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    min-width: auto;
}

.projects-gallery .project-link:hover {
    transform: scale(1.05);
}

.projects-gallery .project-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.projects-gallery .project-link:hover .project-img {
    box-shadow: 0 0 25px 4px rgba(255, 255, 255, 0.55);
}

.projects-gallery .project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.projects-gallery .project-link:hover .project-overlay {
    opacity: 1;
}

.projects-gallery .project-overlay .project-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
}

.projects-gallery .project-overlay .project-url {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    word-break: break-all;
}

/* ============================================================
   CREATION - TIMELINE (numérotation centrée)
   ============================================================ */
#creation {
    background: rgba(255, 255, 255, 0.93);
    padding: 80px 0;
}

#creation .container {
    max-width: 900px;
}

.intro-text {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    position: relative;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--red);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(251, 5, 5, 0.4);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    width: 45%;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--red);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--red);
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.timeline-content h3 .icon {
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
   OFFRES - PAGE OFFERS
   ============================================================ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.offer-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(238, 238, 238, 0.5);
    transition: transform 0.3s;
}

.offer-card:hover {
    transform: translateY(-8px);
}

.offer-header {
    background: var(--black);
    color: var(--white);
    padding: 25px;
    text-align: center;
    border-bottom: 4px solid var(--red);
}

.offer-header h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.offer-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--red);
    font-family: 'Montserrat', sans-serif;
}

.offer-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    color: var(--white);
}

.offer-body {
    padding: 30px 25px;
}

.offer-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: center;
}

.offer-body ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.5);
    font-size: 0.9rem;
    color: var(--text-gray);
    text-align: center;
}

.offer-body ul li:last-child {
    border-bottom: none;
}

.offer-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.offer-footer .btn {
    display: inline-block;
    padding: 14px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
}

.offer-footer .btn:hover {
    background: #d40000;
    transform: translateY(-2px);
}

.offer-delay {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

/* ============================================================
   POURQUOI NOUS CHOISIR - ACCORDÉON (index.php)
   ============================================================ */
.why-us {
    background: var(--white);
    padding: 60px 0;
}

.accordion {
    max-width: 800px;
    margin: 30px auto 0;
    text-align: left;
}

.accordion-item {
    background: var(--gray);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border-left: 4px solid var(--red);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
}

.accordion-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.accordion-header h4 {
    flex: 1;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.accordion-arrow {
    color: var(--red);
    font-size: 1rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-body {
    max-height: 200px;
    padding: 0 25px 20px;
}

.accordion-body p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

/* ============================================================
   CONTACT - FORMULAIRE
   ============================================================ */
#contact .container {
    max-width: 700px;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    margin-top: 0;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.form-group label span {
    color: var(--red);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-group select option {
    background: var(--black);
    color: var(--white);
}

.contact-form button[type="submit"] {
    margin-top: 0;
    padding: 14px 50px;
}

.contact-link {
    color: var(--red);
    font-weight: 600;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--red-light);
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: rgba(18, 17, 17, 0.95);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 2px solid var(--red);
    width: 100%;
}

.footer-logo {
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
}

.social-links a:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.social-links a img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

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

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

/* --- Tablettes et petits écrans --- */
@media (max-width: 992px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 70px;
    }

    .timeline::before {
        left: 30px;
        transform: none;
    }

    .timeline-dot {
        left: 30px;
        top: 0;
        transform: translate(-50%, 0);
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .timeline-content {
        width: 100%;
        border-left: 4px solid var(--red);
        border-right: none !important;
    }

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

    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* --- Mobiles --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: 8px;
    }

    .hero h2 {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .offcanvas {
        width: 280px;
        right: -280px;
    }

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

    .projects-gallery .project-img {
        height: 160px;
    }

    .projects-gallery .project-overlay .project-title {
        font-size: 0.95rem;
    }

    .projects-gallery .project-overlay .project-url {
        font-size: 0.7rem;
    }

    .social-links a img {
        width: 32px;
        height: 32px;
    }

    .project-link {
        min-width: 160px;
    }

    .project-img {
        height: 160px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* --- Petits mobiles --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
        letter-spacing: 5px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.8rem;
    }

    .projects-gallery {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .projects-gallery .project-img {
        height: 160px;
    }

    .social-links a img {
        width: 28px;
        height: 28px;
    }

    .offers-grid {
        max-width: 100%;
    }
}