/*
Theme Name: Arctech Theme
Theme URI: https://www.arctech-architecture.fr
Author: ChatGPT & Laurent
Description: Thème premium sur mesure pour cabinet d'architecture.
Version: 1.0
Text Domain: arctech
*/

/* ==========================
   RESET MODERNE
   ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top left, #ffffff 0%, #f7f8fb 40%, #f2f3f7 100%);
    color: #1a1a1a;
    line-height: 1.7;
}

/* Liens */
a {
    text-decoration: none;
    color: #1a1a1a;
    transition: .25s ease;
}
a:hover {
    color: #0056D2;
}

/* Conteneur principal */
.container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;
}

/* ==========================
   TYPO GLOBALE
   ========================== */

h1, h2, h3, h4 {
    font-weight: 600;
    color: #111827;
}

h1 {
    font-size: 42px;
}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

/* ==========================
   HEADER
   ========================== */

header {
    width: 100%;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 10px 35px rgba(15,23,42,0.16);
}

/* Container header collé à gauche mais respirant */
header .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 10px;
    padding-right: 20px;
}

/* Header en 3 colonnes : logo / menu centré / espace de droite */
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 18px 0;
}

/* Logo */
header .logo {
    justify-self: start;
}

header .logo img {
    height: auto !important;
    width: 160px !important;
    max-width: 160px !important;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Navigation */
header nav {
    justify-self: center;
}

header nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

header nav li {
    list-style: none;
}

header nav a {
    position: relative;
    font-size: 15px;
    font-weight: 300;
    padding-bottom: 8px;
}

/* Soulignement animé premium */
header nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #0056D2;
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

header nav a:hover::after {
    width: 60%;
}

/* Colonne droite vide pour équilibrer visuellement */
.header-inner::after {
    content: "";
    display: block;
}

/* ==========================
   SECTIONS GÉNÉRALES
   ========================== */

.section {
    padding: 80px 0;
    position: relative;
}

/* Légère séparation entre sections */
.section:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 90%;
    max-width: 1200px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.03), transparent);
}

/* ==========================
   HERO (page d’accueil / projets)
   ========================== */

.hero {
    height: 75vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero .overlay {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.40) 40%,
        rgba(0,0,0,0.20) 100%
    );
    position: absolute;
    inset: 0;
}

.hero .content {
    position: relative;
    color: #ffffff;
    max-width: 520px;
    padding: 20px;
}

/* Titre du hero (utiliser class="hero-title") */
.hero-title {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
    margin-bottom: 18px;
}

/* Texte du hero */
.hero .content p {
    font-size: 17px;
    color: #f3f3f3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.30);
    margin-bottom: 26px;
}

/* ==========================
   BOUTONS
   ========================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.25s ease;
}

.btn-primary {
    background: #0056D2;
    color: #fff;
    border-color: #0056D2;
}

.btn-primary:hover {
    background: #003f9b;
    border-color: #003f9b;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #0056D2;
    border-color: #0056D2;
}

.btn-outline:hover {
    background: #0056D2;
    color: #fff;
}

/* ==========================
   DOMAINES / SERVICES (accueil)
   ========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 26px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.10);
    transition: 0.25s ease;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    opacity: 0.9;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15,23,42,0.14);
}

/* ==========================
   BLOC CABINET / LAYOUT 2 COLONNES
   ========================== */

.split-2 {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.split-2-box {
    border-left: 3px solid #0056D2;
    padding-left: 20px;
    font-size: 15px;
    opacity: 0.85;
}

/* ==========================
   CTA FINAL
   ========================== */

.section-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================
   PORTFOLIO (ARCHIVE PROJETS)
   ========================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 24px;
}

/* Cartes premium */
.project-card {
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(15,23,42,0.16);
    transition:0.25s ease;
}

.project-card.small {
    box-shadow:0 10px 30px rgba(15,23,42,0.14);
}

.project-card a {
    color:inherit;
    display:block;
}

.project-thumb img,
.project-thumb-placeholder {
    width:100%;
    display:block;
    height:230px;
    object-fit:cover;
    transform: scale(1.02);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.project-thumb-placeholder {
    background:#ddd;
}

/* Effet hover premium sur les projets */
.project-card:hover .project-thumb img {
    transform: scale(1.06);
    filter: brightness(1.02);
}

.project-title {
    font-size:18px;
    margin:16px 18px 8px;
}

.project-excerpt {
    font-size:14px;
    opacity:0.85;
    margin:0 18px 18px;
}

.project-card:hover {
    transform:translateY(-4px);
}

/* Pagination portfolio */
.project-pagination {
    display:flex;
    justify-content:space-between;
    margin-top:40px;
    font-size:14px;
}

.project-pagination a {
    color:#0056D2;
}

.project-pagination a:hover {
    text-decoration:underline;
}

/* Hero spécifique projet */
.project-hero {
    height:55vh;
}

/* Contenu projet */
.project-content {
    max-width:900px;
}

.project-content p {
    margin-bottom:16px;
}

/* ==========================
   PRÉSENTATION DU CABINET
   ========================== */

.about-hero {
    align-items: center;
    gap: 50px;
}

.about-hero-text h1 {
    margin-bottom: 16px;
}

.about-intro {
    font-size: 16px;
    max-width: 520px;
    margin-bottom: 22px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.about-badge {
    background: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.14);
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.about-badge-title {
    font-weight: 600;
    font-size: 12px;
}

.about-badge-text {
    opacity: 0.8;
}

/* Bloc photo à droite */
.about-hero-photo {
    position: relative;
}

.about-photo-main {
    width: 340px;
    height: 260px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-image: url('assets/about.jpg'); /* image locale dans /assets/about.jpg */
    box-shadow: 0 18px 40px rgba(15,23,42,0.30);
}

.about-photo-tag {
    position: absolute;
    left: 20px;
    bottom: -20px;
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 12px 32px rgba(15,23,42,0.22);
}

/* Chiffres clés */
.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.about-stat {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 16px 45px rgba(15,23,42,0.18);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
}

.about-stat-number {
    font-size: 28px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 13px;
    opacity: 0.85;
}

.about-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 14px;
}

/* Étapes d’accompagnement */
.about-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    margin-top: 20px;
}

.about-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #0056D2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.about-step h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.about-step p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================
   RESPONSIVE GÉNÉRAL
   ========================== */

@media (max-width: 1024px) {
    header nav ul {
        gap: 20px;
    }

    .hero {
        height: 65vh;
    }

    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        grid-template-columns: auto 1fr;
    }

    header nav {
        justify-self: end;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-photo {
        justify-self: center;
        margin-top: 30px;
    }

    .about-photo-main {
        width: 100%;
        max-width: 360px;
    }

    .about-steps {
        grid-template-columns: 1fr;
    }

    .split-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        height: 60vh;
    }

    .hero .content {
        max-width: 100%;
    }

    header nav ul {
        gap: 14px;
        font-size: 14px;
    }
}

/* ==========================
   PAGES SERVICES (Industrie / Maison / Extension / Intérieur)
   ========================== */

.service-hero {
    padding-top: 70px;
    padding-bottom: 70px;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.service-hero-text h1 {
    margin-bottom: 14px;
}

.service-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b7280;
    margin-bottom: 6px;
}

.service-intro {
    font-size: 15px;
    max-width: 560px;
    margin-bottom: 18px;
}

.service-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.service-pill {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.12);
    font-size: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(3px);
    color: #111827;
}

.service-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Carte latérale */
.service-hero-side {
    justify-self: stretch;
}

.service-hero-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 22px 24px;
    box-shadow: 0 16px 45px rgba(15,23,42,0.16);
    border: 1px solid rgba(255,255,255,0.7);
}

.service-hero-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-hero-card ul {
    list-style: none;
    padding-left: 0;
    font-size: 13px;
}

.service-hero-card li {
    margin-bottom: 6px;
    opacity: 0.9;
}

/* Bloc "domaines d'intervention" */
.service-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.service-card-strong {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px 22px;
    box-shadow: 0 12px 35px rgba(15,23,42,0.12);
    font-size: 14px;
}

.service-card-strong h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

/* Étapes service */
.service-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    margin-top: 20px;
}

.service-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.service-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #0056D2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.service-step h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.service-step p {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive services */
@media (max-width: 960px) {
    .service-hero-inner {
        grid-template-columns: 1fr;
    }

    .service-hero-side {
        order: -1;
        margin-bottom: 24px;
    }

    .service-steps {
        grid-template-columns: 1fr;
    }
}

/* Hero spécifique "Maison individuelle" */
.service-hero-maison {
    background: radial-gradient(circle at top right, #ffffff 0%, #f9fafb 40%, #eef2ff 100%);
}

/* Hero spécifique Extension / rénovation */
.service-hero-extension {
    background: radial-gradient(circle at top right, #ffffff 0%, #fef3c7 30%, #fde68a 100%);
}

/* Hero spécifique Architecture d’intérieur */
.service-hero-interieur {
    background: radial-gradient(circle at top left, #ffffff 0%, #f9fafb 40%, #e0f2fe 100%);
}

/* ==========================
   CONTACT
   ========================== */

.contact-hero {
    background: url('https://images.unsplash.com/photo-1529429617124-a7e0c9fd48df?auto=format&fit=crop&w=1600&q=80') center/cover;
    padding: 120px 0;
    position: relative;
}

.contact-hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

.contact-hero-inner {
    position:relative;
    z-index:2;
    text-align:center;
    color:white;
}

.contact-title {
    font-size:45px;
    font-weight:600;
    text-shadow:0 2px 8px rgba(0,0,0,0.4);
}

.contact-subtitle {
    margin-top:10px;
    font-size:18px;
    color:#f1f1f1;
}

.contact-grid {
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:40px;
}
.contact-form-card {
    padding:35px;
    border-radius:20px;
    background:#ffffff;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.contact-form-card h2 {
    margin-bottom:10px;
}

.form-group {
    margin-bottom:20px;
}

.form-group input, 
.form-group textarea {
    width:100%;
    padding:12px 16px;
    border-radius:10px;
    border:1px solid #dcdcdc;
    font-size:14px;
}
.contact-info-card {
    padding:35px;
    background:white;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.contact-info-item {
    margin-bottom:18px;
    font-size:15px;
}

.contact-map {
    margin-top:20px;
    border-radius:15px;
    overflow:hidden;
}

/* ==========================
   HERO INDUSTRIE / TERTIAIRE
   ========================== */

.service-hero-industrie {
    background-size: cover;
    background-position: center right;
    position: relative;
    color: #fff;
}

.service-hero-industrie::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.60) 0%,
        rgba(0,0,0,0.40) 35%,
        rgba(0,0,0,0.15) 70%,
        rgba(0,0,0,0.00) 100%
    );
}

/* contenu au-dessus de l’overlay */
.service-hero-industrie .service-hero-inner {
    position: relative;
    z-index: 2;
}

/* Texte colonne gauche en blanc */
.service-hero-industrie .service-hero-text,
.service-hero-industrie .service-hero-text h1,
.service-hero-industrie .service-hero-text p,
.service-hero-industrie .service-eyebrow {
    color: #ffffff;
}

.service-hero-industrie .service-eyebrow {
    opacity: .85;
    margin-bottom: 10px;
}

.service-hero-industrie .service-intro {
    margin-top: 10px;
    margin-bottom: 22px;
}

/* Pills spécifiques Industrie */
.service-hero-industrie .service-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* Carte à droite : blanc quasi opaque + texte foncé */
.service-hero-industrie .service-hero-card {
    background: rgba(255,255,255,0.95);
    color: #111827;
}

/* ===== Grille d'illustrations Industrie ===== */

.section-illu-industrie {
    background:#f7f7f7;
}

.illu-industrie-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
}

.illu-industrie-main,
.illu-industrie-small {
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    min-height: 220px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.illu-industrie-small {
    min-height: 160px;
}

@media (max-width: 900px) {
    .illu-industrie-grid {
        grid-template-columns: 1fr;
    }
}

/* Bouton outline mieux visible dans le hero Industrie */
.service-hero-industrie .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
    font-weight: 500;
}

.service-hero-industrie .btn-outline:hover {
    background: #ffffff;
    color: #0056D2;
}
