/*==================================================
  MAÇONNERIE CONSTRUCTION DU CAUSSE
==================================================*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    color:#fff;
    line-height:1.7;
    overflow-x:hidden;
    background:#090909;
    position:relative;
}

/* Grande croix occitane en fond */

body::before{
    content:"";
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:900px;
    height:900px;
    background:url("images/croix-occitane.png") center center no-repeat;
    background-size:contain;
    opacity:.12;
    filter:brightness(2) sepia(1) saturate(2);
    pointer-events:none;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.82);
    z-index:-1;
    pointer-events:none;
}

/* Container */

.container{
    width:92%;
    max-width:1400px;
    margin:auto;
}

/* Images */

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

/* Liens */

a{
    text-decoration:none;
}

/* Listes */

ul{
    list-style:none;
}
/*==================================================
HEADER
==================================================*/

header{

position:fixed;

top:0;

left:0;

width:100%;

background:rgba(8,8,8,.92);

backdrop-filter:blur(12px);

border-bottom:1px solid rgba(199,154,75,.20);

z-index:999;

}

header .container{

display:flex;

justify-content:space-between;

align-items:center;

height:90px;

}

/* Logo */

.logo{

display:flex;

align-items:center;

gap:15px;

}

.logo img{

height:65px;

width:auto;

transition:.3s;

}

.logo img:hover{

transform:scale(1.05);

}

/* Navigation */

nav{

display:flex;

align-items:center;

gap:35px;

}

nav a{

color:#ffffff;

font-size:16px;

font-weight:500;

transition:.3s;

position:relative;

}

nav a:hover{

color:#C79A4B;

}

nav a::after{

content:"";

position:absolute;

left:0;

bottom:-6px;

width:0;

height:2px;

background:#C79A4B;

transition:.3s;

}

nav a:hover::after{

width:100%;

}

/* Bouton devis */

.btn-header{

padding:14px 28px;

background:#C79A4B;

color:#111;

font-weight:700;

border-radius:40px;

transition:.3s;

}

.btn-header:hover{

transform:translateY(-3px);

box-shadow:0 10px 25px rgba(199,154,75,.35);

}

/* Espace sous le header */

main{

padding-top:90px;

}
/*==================================================
HERO
==================================================*/

.hero{

position:relative;

min-height:760px;

display:flex;

align-items:center;

justify-content:center;

text-align:center;

overflow:hidden;

padding:240px 20px 80px;

}

/* Image de fond */

.hero-background{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

z-index:0;

}

.hero-background{

position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:
url("images/croix-occitane.png") center calc(50% + 80px)/1400px no-repeat,
url("images/hero-esquisse.jpg") center center/cover no-repeat;

filter:brightness(.75);

}



/* Dégradé */

.hero-overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:linear-gradient(

rgba(0,0,0,.35),

rgba(0,0,0,.82)

);

z-index:1;

}

/* Contenu */

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:120px auto 0;
}

/* Logo + Croix */

.hero-logo{

display:flex;

justify-content:center;

align-items:center;

gap:25px;

margin-bottom:30px;

flex-wrap:wrap;

}

.logo-hero{

width:170px;

height:auto;

}

.croix-occitane{

width:70px;

height:auto;

opacity:.95;

}

/* Titre */

.hero h1{

font-family:'Cinzel',serif;

font-size:clamp(42px,6vw,72px);

line-height:1.1;

margin-bottom:25px;

}

.hero h1 span{

display:block;

color:#C79A4B;

}

/* Slogan */

.hero p{

font-size:22px;

color:#ddd;

margin-bottom:40px;

}

/* Boutons */

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn-gold{

padding:18px 38px;

background:#C79A4B;

color:#111;

border-radius:40px;

font-weight:700;

transition:.3s;

}

.btn-gold:hover{

transform:translateY(-4px);

box-shadow:0 10px 30px rgba(199,154,75,.35);

}

.btn-dark{

padding:18px 38px;

border:2px solid #C79A4B;

color:#fff;

border-radius:40px;

font-weight:700;

transition:.3s;

}

.btn-dark:hover{

background:#C79A4B;

color:#111;

}
/*==================================================
SERVICES
==================================================*/

#services{

padding:120px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-family:'Cinzel',serif;

font-size:48px;

color:#C79A4B;

margin-bottom:15px;

}

.section-title p{

font-size:18px;

color:#d4d4d4;

}

.services-grid{

display:grid;

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

gap:30px;

}

.service-card{

background:rgba(20,20,20,.92);

border:1px solid rgba(199,154,75,.20);

border-radius:20px;

padding:35px;

text-align:center;

transition:.35s;

backdrop-filter:blur(10px);

}

.service-card:hover{

transform:translateY(-10px);

border-color:#C79A4B;

box-shadow:0 20px 40px rgba(0,0,0,.45);

}

.service-card img{

width:95px;

height:95px;

margin:0 auto 25px;

object-fit:contain;

}

.service-card h3{

font-family:'Cinzel',serif;

font-size:24px;

color:#C79A4B;

margin-bottom:18px;

}

.service-card p{

font-size:15px;

color:#dddddd;

line-height:1.8;

}

/* Petit trait doré */

.service-card::after{

content:"";

display:block;

width:60px;

height:3px;

background:#C79A4B;

margin:25px auto 0;

border-radius:5px;

}
/*==================================================
GALERIE
==================================================*/

#realisations{

padding:120px 0;

}

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:30px;

margin-top:60px;

}

.gallery-item{

position:relative;

overflow:hidden;

border-radius:20px;

background:#111;

border:1px solid rgba(199,154,75,.20);

transition:.35s;

cursor:pointer;

}

.gallery-item:hover{

transform:translateY(-8px);

border-color:#C79A4B;

box-shadow:0 25px 45px rgba(0,0,0,.45);

}

.gallery-item img{

width:100%;

height:300px;

object-fit:cover;

transition:.6s;

display:block;

}

.gallery-item:hover img{

transform:scale(1.08);

}

/* Dégradé */

.gallery-item::after{

content:"";

position:absolute;

left:0;

bottom:0;

width:100%;

height:120px;

background:linear-gradient(

transparent,

rgba(0,0,0,.75)

);

}

/* Texte sur la photo */

.gallery-item span{

position:absolute;

left:25px;

bottom:20px;

z-index:2;

font-family:'Cinzel',serif;

font-size:20px;

color:white;

}

/* Lightbox */

.lightbox{

position:fixed;

inset:0;

background:rgba(0,0,0,.94);

display:none;

justify-content:center;

align-items:center;

z-index:99999;

}

.lightbox.active{

display:flex;

}

.lightbox img{

max-width:92%;

max-height:92%;

border-radius:18px;

border:3px solid #C79A4B;

}
/*==================================================
CONTACT
==================================================*/

#contact{

padding:120px 0;

}

.contact-container{

display:grid;

grid-template-columns:380px 1fr;

gap:40px;

align-items:start;

}

.contact-info{

background:rgba(20,20,20,.95);

border:1px solid rgba(199,154,75,.20);

border-radius:20px;

padding:40px;

}

.contact-info h3{

font-family:'Cinzel',serif;

font-size:32px;

color:#C79A4B;

margin-bottom:25px;

}

.contact-info p{

font-size:17px;

color:#ddd;

margin-bottom:18px;

line-height:1.8;

}

.contact-form{

background:rgba(20,20,20,.95);

border:1px solid rgba(199,154,75,.20);

border-radius:20px;

padding:40px;

}

.contact-form input,

.contact-form textarea{

width:100%;

padding:16px 18px;

margin-bottom:20px;

background:#111;

border:1px solid rgba(199,154,75,.20);

border-radius:12px;

font-size:16px;

color:#fff;

transition:.3s;

}

.contact-form input:focus,

.contact-form textarea:focus{

outline:none;

border-color:#C79A4B;

box-shadow:0 0 10px rgba(199,154,75,.20);

}

.contact-form textarea{

resize:vertical;

min-height:180px;

}

.contact-form button{

width:100%;

padding:18px;

background:#C79A4B;

border:none;

border-radius:40px;

font-size:18px;

font-weight:700;

cursor:pointer;

transition:.3s;

color:#111;

}

.contact-form button:hover{

transform:translateY(-4px);

box-shadow:0 12px 30px rgba(199,154,75,.35);

}

/*==================================================
FOOTER
==================================================*/

footer{

padding:60px 20px;

margin-top:80px;

background:#070707;

border-top:1px solid rgba(199,154,75,.20);

text-align:center;

}

footer img{

width:120px;

margin:0 auto 25px;

}

footer p{

color:#bbb;

margin:8px 0;

font-size:15px;

}

footer .footer-title{

font-family:'Cinzel',serif;

font-size:26px;

color:#C79A4B;

margin-bottom:15px;

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

/* Écrans < 1200px */

@media (max-width:1200px){

.container{

width:95%;

}

.hero h1{

font-size:58px;

}

.gallery{

grid-template-columns:repeat(2,1fr);

}

}

/* Tablettes */

@media (max-width:900px){

header .container{

flex-direction:column;

height:auto;

padding:20px 0;

}

nav{

flex-wrap:wrap;

justify-content:center;

gap:20px;

margin:20px 0;

}

.hero{

min-height:auto;

padding:160px 20px 80px;

}

.hero-logo{

flex-direction:column;

gap:15px;

}

.logo-hero{

width:140px;

}

.croix-occitane{

width:60px;

}

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.btn-gold,

.btn-dark{

width:260px;

text-align:center;

}

.services-grid{

grid-template-columns:1fr 1fr;

}

.gallery{

grid-template-columns:1fr;

}

.contact-container{

grid-template-columns:1fr;

}

}

/* Téléphones */

@media (max-width:600px){

.logo img{

height:55px;

}

.hero{

padding:140px 15px 60px;

}

.hero h1{

font-size:32px;

line-height:1.2;

}

.hero p{

font-size:16px;

}

.section-title h2{

font-size:34px;

}

.services-grid{

grid-template-columns:1fr;

}

.gallery{

grid-template-columns:1fr;

}

.gallery-item img{

height:240px;

}

.contact-info,

.contact-form{

padding:25px;

}

footer img{

width:90px;

}

footer{

padding:40px 15px;

}

}

/* Très grands écrans */

@media (min-width:1600px){

.hero h1{

font-size:82px;

}

.hero{

min-height:900px;

}

.container{

max-width:1500px;

}

}
/*==================================================
ANIMATIONS
==================================================*/

section{

animation:fadeUp .8s ease;

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(40px);

}

to{

opacity:1;

transform:translateY(0);

}

}

/* Scrollbar */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#111;

}

::-webkit-scrollbar-thumb{

background:#C79A4B;

border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

background:#ddb56b;

}

/* Sélection */

::selection{

background:#C79A4B;

color:#111;

}

/* Bouton retour */

.top-button{

position:fixed;

right:25px;

bottom:25px;

width:55px;

height:55px;

border-radius:50%;

border:none;

background:#C79A4B;

color:#111;

font-size:24px;

font-weight:bold;

cursor:pointer;

display:none;

z-index:9999;

transition:.3s;

box-shadow:0 10px 25px rgba(0,0,0,.35);

}

.top-button:hover{

transform:translateY(-4px);

}

.top-button.show{

display:block;

}

/* Images */

.gallery-item img,

.service-card img,

.logo img,

.logo-hero{

user-select:none;

}

/* Effet cartes */

.service-card,

.gallery-item,

.contact-info,

.contact-form{

transition:all .75s ease;

}
body{
    background-image:url("images/croix-occitane.png") !important;
    background-repeat:no-repeat !important;
    background-position:center !important;
    background-size:1300px !important;
}
.hero::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:700px;
    height:700px;
    background:url("images/croix-occitane.png") center center no-repeat;
    background-size:contain;
    opacity:.10;
    z-index:1;
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;
}
/* Centrage du titre sur la croix occitane */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    margin: 0;
    text-align: center;
}

.hero-content h1 span {
    display: block;
}

.hero-content p {
    text-align: center;
}

.hero-buttons {
    justify-content: center;
}