/*
Theme Name: GeneratePress Child – 3volutec
Theme URI: https://3volutec.com
Description: Thème enfant pour le site 3volutec, basé sur GeneratePress.
Author: [Ton nom]
Author URI: https://[ton-site-ou-portfolio]
Template: generatepress
Version: 1.0
Text Domain: generatepress-child-3volutec
*/

@import url("../generatepress/style.css");

/* -----------------------------
   Couleurs principales
------------------------------ */
:root {
  --color-bg: #020506;
  --color-text: #FFFFFF;
  --color-secondary: #B3B3B3;
  --color-accent: #D4261D;
}

/* -----------------------------
   Réglages de page
------------------------------ */

.page-template-page-fullwidth .grid-container.container {
	max-width:2560px;
	padding:0
}
.page-template-page-fullwidth.one-container .site-content {
	padding:0;
	width:100%;
	display:block;
}
/* -----------------------------
   Home Hero
------------------------------ */
.k-id_hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  color: #fff;
  background: var(--color-bg);
  min-height: 100svh !important;
  height: 100svh;
	padding:0;
	margin: 0
}

.k-id_hero .inner-hero {
  max-width: 2560px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 240px clamp(32px, 8vw, 120px) clamp(34px, 8vw, 120px);
  line-height: 1.8;
}

.hero-cols {
  display: flex;
  height: 50%;
	justify-content: space-between;
}

.hero-cols .hero-col {
  width: 25%;
	flex-basis: auto !important;
	flex-grow: 0 !important
}

.hero-cols .hero-col.hero-col-left {
  width: 50%;
 /* margin-right: 25%;*/
}

.k-id_hero img.wp-block-cover__image-background,
.k-id_hero .hero-image {
  object-fit: cover;
object-position: center !important;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Contenu pages */
.content-container {
	max-width: 2560px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    line-height: 1.8;
}
.content-container:not(.page-first-block) > div {
	padding: clamp(32px, 8vw, 120px);
}

/* Header interne */
/* Header interne */
.page-first-block {
	padding: 240px clamp(32px, 8vw, 120px) clamp(34px, 8vw, 120px);
}


/* Footer */
.k-id_footer {
  padding:clamp(32px, 8vw, 120px);
  color:#B3B4B4;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.k-id_footer-inner {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  max-width:1980px;
  margin:0 auto;
  width:100%;
  gap:42px;
}

.k-id_footer-col {
  flex:0 0 auto; /* largeur selon contenu */
  text-align:left;
  line-height:1.7;
}

/* dernière colonne à droite */
.k-id_footer-col:last-child {
  margin-left:auto;
  text-align:right;
}

.k-id_footer a {
  color:#B3B4B4;
  text-decoration:none;
  transition:all .25s ease;
}

.k-id_footer a:hover {
	color:var(--color-accent);
	text-decoration: underline
}

/* icône LinkedIn en colonne seule */
.k-id_footer-social {
  display:inline-block;
  color:#E42313;
  padding:12px;
  padding-top:32px
}
.k-id_footer-social img {
	transform: scale(1,1);
	transition: all ease .3s;
}
.k-id_footer-social:hover img {
	transform: scale(1.1,1.1);
	transition: all ease .3s;
}

/* Responsive mobile: stack + align left */
@media(max-width:900px){
  .k-id_footer-inner {
    flex-direction:column;
    gap:24px;
  }
  .k-id_footer-col,
  .k-id_footer-col:last-child {
    text-align:left;
    margin-left:0;
  }
}

/* Responsive */
@media(max-width:900px){
  .k-id_footer-inner {
    flex-direction:column;
    text-align:left;
  }
  .k-id_footer-right {
    text-align:left;
  }
}


@media (min-width: 1680px) {
	.hero-col-right{
		width:20%
	}
	.hero-cols .hero-col.hero-col-left {
		width:35%
	}
}
@media (max-width: 1080px) {
  
}
@media (max-width: 768px) {
 .k-id_hero .inner-hero { padding-top: 160px;display: flex;flex-direction: column; }
	.k-id_hero img.wp-block-cover__image-background, .k-id_hero .hero-image {
		object-position: 40% 40% !important;
	}
	.hero-cols { height:auto}
	/* Utility classes */
	.hidden-mobile { display:none}
	
	/* Blocs img + texte */
	.bloc-texte {
		order:2
	}
}
@media (max-width: 600px) {
	.k-id_hero .inner-hero {  padding-top: 160px;}
  /*.hero-cols { flex-direction: column; }
  .hero-cols .hero-col.hero-col-left { width: 100%; }
  .hero-cols .hero-col { width: 75%; }
  .hero-image { opacity: 0.8; }*/
}
@media (max-width: 480px) {
  .hero-cols .hero-col { width: 100%; }
}

/* Utility classes */
.no-padding {padding:0}

/* Forms */
/* === Contact Form Global === */
.wpcf7-form {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.wpcf7-form p {
  margin-bottom: 28px;
}

/* === Labels === */
.wpcf7-form label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent, #E42313);
  margin-bottom: 6px;
}

/* === Inputs / Textarea === */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 10px 0;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all .25s ease;
  border-radius: 0; /* override browser rounding */
}

.wpcf7-not-valid-tip {
	color:#fff;
	text-transform: none;
	letter-spacing:normal;
	padding-top: 4px;
}

/* === Focus === */
.wpcf7-form-control:focus {
  background: rgba(255,255,255,.08);
  outline: none;
  border-bottom-color: var(--accent, #E42313);
}

/* === Placeholder === */
.wpcf7-form-control::placeholder {
  color: rgba(255,255,255,.4);
}

/* === Submit Button === */
.wpcf7-submit {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--accent, #E42313);
  background: transparent;
  color: var(--accent, #E42313);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: .3s ease;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.wpcf7-submit:hover {
  background: var(--accent, #E42313);
  color: #fff;
}

/* === Messages / States === */
.wpcf7-response-output {
  margin-top: 20px;
  font-size: .9rem;
  color: #fff;
}

/* === hCaptcha alignment === */
div.h-captcha {
  margin-bottom: 24px;
}

/* Prevent CF7 default styling interference */
.wpcf7-spinner {
  margin-left: 12px;
}

