/*
Theme Name: AULENDY Horizons Override
Theme URI: https://aulendy.com/
Author: AULENDY
Description: Thème WordPress vitrine pour support informatique TPE et PME.
Version: 2.3.8
Text Domain: aulendy-horizons-override
*/

/* Police Manrope hébergée localement (plus d'appel à Google Fonts) */
@font-face{
	font-family:"Manrope";
	font-style:normal;
	font-weight:200 800;
	font-display:swap;
	src:url("/wp-content/uploads/fonts/manrope-var-latin-ext.woff2") format("woff2");
	unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face{
	font-family:"Manrope";
	font-style:normal;
	font-weight:200 800;
	font-display:swap;
	src:url("/wp-content/uploads/fonts/manrope-var-latin.woff2") format("woff2");
	unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
	--bg:#f5f8fd;
	--bg-soft:#e8eef9;
	--surface:#ffffff;
	--surface-2:#f3f6fd;
	--surface-3:#eaf0fb;
	--text:#122048;
	--muted:#56607a;
	--line:#dde3ef;
	--primary:#2c60ea;
	--primary-dark:#1f4bc4;
	--secondary:#e3ebfd;
	--secondary-deep:#2c60ea;
	--success:#198754;
	--shadow:0 20px 50px rgba(18,32,72,.08);
	--shadow-soft:0 10px 24px rgba(18,32,72,.05);
	--radius-sm:14px;
	--radius-md:20px;
	--radius-lg:30px;
	--radius-xl:42px;
	--wrap:1180px;
	--hero-shape-1:#dde8ff;
	--hero-shape-2:#e9f0ff;
	--hero-shape-3:#d6e2ff;
}

*,
*::before,
*::after{
	box-sizing:border-box;
}

html{
	scroll-behavior:smooth;
}

body{
	margin:0;
	font-family:"Manrope", "Segoe UI", Roboto, Arial, sans-serif;
	font-size:16px;
	line-height:1.65;
	background:var(--bg);
	color:var(--text);
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}

img{
	display:block;
	max-width:100%;
	height:auto;
}

a{
	color:inherit;
	text-decoration:none;
	transition:all .2s ease;
}

button,
input,
textarea,
select{
	font:inherit;
}

.sr-only{
	position:absolute;
	width:1px;
	height:1px;
	padding:0;
	margin:-1px;
	overflow:hidden;
	clip:rect(0,0,0,0);
	white-space:nowrap;
	border:0;
}

.wrap{
	max-width:var(--wrap);
	margin:0 auto;
	padding:0 24px;
}

/* Header */
.site-header{
	position:sticky;
	top:0;
	z-index:100;
	background:rgba(255,255,255,.9);
	backdrop-filter:blur(12px);
	border-bottom:1px solid rgba(18,32,72,.07);
}

.topbar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	padding:16px 0;
}

.brand{
	display:inline-flex;
	align-items:center;
	font-size:30px;
	font-weight:800;
	letter-spacing:-.05em;
	color:var(--text);
}

.brand-logo{
	display:block;
	height:48px;
	width:auto;
}

@media (max-width:600px){
	.brand-logo{height:38px;}
}

.brand img,
.custom-logo{
	max-height:48px;
	width:auto;
}

.menu{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:10px;
	flex-wrap:wrap;
}

.menu a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:44px;
	padding:10px 16px;
	border-radius:999px;
	color:var(--muted);
	font-weight:700;
}

.menu a:hover,
.menu a.active{
	background:rgba(44,96,234,.08);
	color:var(--primary);
}

.menu .btn{
	margin-left:4px;
}

/* Hero */
.hero{
	position:relative;
	padding:96px 0 74px;
	overflow:hidden;
	background:
		radial-gradient(circle at 16% 18%, var(--hero-shape-2) 0, rgba(44,96,234,.10) 18%, transparent 34%),
		radial-gradient(circle at 85% 22%, var(--hero-shape-1) 0, rgba(221,232,255,.75) 16%, transparent 34%),
		radial-gradient(circle at 72% 78%, var(--hero-shape-3) 0, rgba(214,226,255,.55) 14%, transparent 28%),
		linear-gradient(180deg, #f3f7ff 0%, #f5f8fd 52%, #ffffff 100%);
}

.hero-grid{
	display:grid;
	grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);
	gap:42px;
	align-items:center;
	position:relative;
	z-index:2;
}

.badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:9px 15px;
	border-radius:999px;
	background:#fff;
	border:1px solid rgba(18,32,72,.08);
	box-shadow:var(--shadow-soft);
	color:var(--text);
	font-size:13px;
	font-weight:800;
	letter-spacing:.02em;
}

.hero h1{
	margin:18px 0 18px;
	font-size:clamp(2.9rem, 6vw, 5.3rem);
	line-height:.98;
	letter-spacing:-.07em;
	max-width:11ch;
}

.hero p{
	margin:0;
	font-size:18px;
	color:var(--muted);
	max-width:700px;
}

.panel{
	position:relative;
	background:rgba(255,255,255,.92);
	border:1px solid rgba(18,32,72,.08);
	border-radius:36px;
	padding:30px;
	box-shadow:var(--shadow);
	backdrop-filter:blur(6px);
}

.panel::before{
	content:"";
	position:absolute;
	inset:auto 24px -14px 24px;
	height:26px;
	background:rgba(44,96,234,.12);
	filter:blur(18px);
	border-radius:999px;
	z-index:-1;
}

/* Sections */
.section{
	padding:90px 0;
}

.page-hero{
	text-align:center;
	margin-bottom:8px;
}

.page-hero h1,
.page-hero h2{
	margin:0 0 14px;
	font-size:clamp(2.2rem, 4.8vw, 4rem);
	line-height:1.02;
	letter-spacing:-.06em;
	max-width:14ch;
	margin-left:auto;
	margin-right:auto;
}

.page-hero p,
.page-hero .lead{
	margin-left:auto;
	margin-right:auto;
}

.lead{
	font-size:19px;
	line-height:1.7;
	color:var(--muted);
	max-width:820px;
}

.section h2{
	margin:0 0 14px;
	font-size:clamp(2rem, 4vw, 3.5rem);
	line-height:1.04;
	letter-spacing:-.05em;
}

.section h3{
	margin:0 0 10px;
	font-size:1.35rem;
	line-height:1.18;
	letter-spacing:-.03em;
}

.section p{
	margin:0 0 12px;
	color:var(--muted);
}

.muted-band{
	background:linear-gradient(180deg, #f5f8fd 0%, #ecf1fb 100%);
	border-top:1px solid rgba(18,32,72,.06);
	border-bottom:1px solid rgba(18,32,72,.06);
}

/* Grids */
.grid-2,
.grid-3,
.grid-4{
	display:grid;
	gap:24px;
	align-items:start;
}

.grid-2{
	grid-template-columns:repeat(2, minmax(0, 1fr));
}

.grid-3{
	grid-template-columns:repeat(3, minmax(0, 1fr));
}

.grid-4{
	grid-template-columns:repeat(4, minmax(0, 1fr));
}

/* Cards */
.card{
	background:var(--surface);
	border:1px solid rgba(18,32,72,.08);
	border-radius:32px;
	padding:26px;
	box-shadow:var(--shadow-soft);
	height:100%;
}

.icon{
	width:58px;
	height:58px;
	border-radius:20px;
	background:linear-gradient(135deg, #eaf0fe 0%, #fff 100%);
	display:flex;
	align-items:center;
	justify-content:center;
	color:var(--primary);
	margin-bottom:18px;
	box-shadow:inset 0 0 0 1px rgba(18,32,72,.05);
}

.icon svg{
	width:27px;
	height:27px;
}

.list{
	list-style:none;
	padding:0;
	margin:14px 0 0;
}

.list li{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin:10px 0;
	color:var(--muted);
	line-height:1.55;
}

.list li svg{
	flex:0 0 18px;
	width:18px;
	height:18px;
	margin-top:4px;
	color:var(--success);
}

/* Buttons */
.cta-row{
	display:flex;
	flex-wrap:wrap;
	gap:14px;
	margin-top:30px;
}

.btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:50px;
	padding:14px 24px;
	border-radius:18px;
	font-weight:800;
	border:1px solid transparent;
	cursor:pointer;
	transition:all .2s ease;
}

.btn-primary{
	background:var(--primary);
	color:#fff;
	box-shadow:0 14px 26px rgba(44,96,234,.22);
}

.btn-primary:hover{
	background:var(--primary-dark);
	transform:translateY(-1px);
}

.btn-outline{
	background:#fff;
	color:var(--text);
	border-color:rgba(18,32,72,.1);
}

.btn-outline:hover{
	border-color:var(--primary);
	color:var(--primary);
}

/* Pricing */
.pricing{
	position:relative;
}

.pricing.featured{
	background:linear-gradient(180deg, #ffffff 0%, #f3f6fd 100%);
	border-color:rgba(44,96,234,.22);
	box-shadow:0 22px 48px rgba(44,96,234,.10);
}

.pill{
	display:inline-flex;
	align-items:center;
	padding:7px 12px;
	border-radius:999px;
	background:var(--secondary);
	color:#1f4bc4;
	font-size:12px;
	font-weight:800;
	letter-spacing:.03em;
	margin-bottom:14px;
}

.price{
	margin:12px 0 14px;
	font-size:clamp(2.2rem, 4vw, 3.2rem);
	font-weight:800;
	line-height:1;
	letter-spacing:-.06em;
	color:var(--text);
}

.note{
	margin-top:28px;
	padding:20px 22px;
	border-radius:24px;
	background:#f3f6fd;
	border:1px solid var(--line);
	color:var(--muted);
}

/* CTA */
.cta-box{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	padding:36px;
	border-radius:38px;
	background:linear-gradient(135deg, #122048 0%, #2c60ea 100%);
	color:#fff;
	box-shadow:0 22px 50px rgba(44,96,234,.18);
}

.cta-box h2{
	margin:0;
	color:#fff;
	max-width:12ch;
}

.cta-box p{
	margin:10px 0 0;
	color:rgba(255,255,255,.86);
	max-width:680px;
}

.cta-box .btn-outline{
	background:#fff;
	border-color:#fff;
	color:var(--primary);
}

/* Contact */
.contact-panel{
	background:#f7f9fe;
	border:1px solid rgba(18,32,72,.08);
	border-radius:28px;
	padding:24px;
	box-shadow:var(--shadow-soft);
}

.eyebrow{
	font-size:12px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.12em;
	color:#5b6b94;
}

.mail-link{
	display:inline-flex;
	align-items:center;
	gap:10px;
	margin-top:10px;
	font-size:16px;
	font-weight:800;
	color:var(--primary);
}

.mail-link:hover{
	color:var(--primary-dark);
}

.mail-link svg{
	width:18px;
	height:18px;
}

.small{
	font-size:14px;
	color:var(--muted);
}

/* Footer */
.site-footer{
	margin-top:60px;
	background:#f7f9fe;
	border-top:1px solid rgba(18,32,72,.08);
}

.footer-grid{
	display:grid;
	grid-template-columns:1.15fr .75fr 1fr;
	gap:40px;
	padding:52px 0 30px;
}

.footer-grid h4{
	margin:0 0 14px;
	font-size:18px;
	letter-spacing:-.02em;
}

.footer-grid p,
.footer-grid a{
	color:var(--muted);
}

.footer-nav{
	display:flex;
	flex-direction:column;
	gap:10px;
}

.footer-nav a:hover{
	color:var(--primary);
}

.footer-bottom{
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:20px;
	padding:20px 0 28px;
	border-top:1px solid rgba(18,32,72,.08);
}

.footer-bottom p{
	margin:0;
	font-size:14px;
	color:#5b6478;
}

/* Payment */
.payment-card{
	max-width:760px;
	margin:30px auto 24px;
	background:#f7f9fe;
}

.payment-card h3{
	text-align:center;
	margin-bottom:12px;
}

.payment-line{
	display:flex;
	align-items:center;
	justify-content:center;
	flex-wrap:wrap;
	gap:12px;
	text-align:center;
}

.payment-line p{
	margin:0;
	color:var(--muted);
}

.payment-logos{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:8px;
}

.payment-logos-image{
	display:block;
	height:18px;
	width:auto;
	max-width:180px;
	border-radius:4px;
	background:#fff;
}

/* WP content */
.entry-content > * + *{
	margin-top:1.1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4{
	color:var(--text);
}

.entry-content ul,
.entry-content ol{
	padding-left:1.2rem;
	color:var(--muted);
}

.entry-content li + li{
	margin-top:.45rem;
}

/* Responsive */
@media (max-width: 1024px){
	.hero-grid,
	.grid-2,
	.grid-3,
	.grid-4,
	.footer-grid{
		grid-template-columns:1fr 1fr;
	}

	.hero h1{
		max-width:none;
	}
}

@media (max-width: 760px){
	.wrap{
		padding:0 18px;
	}

	.topbar{
		flex-direction:column;
		align-items:flex-start;
	}

	.brand img,
	.custom-logo{
		max-height:34px;
	}

	.menu{
		width:100%;
		justify-content:flex-start;
	}

	.hero{
		padding:58px 0 48px;
	}

	.hero-grid,
	.grid-2,
	.grid-3,
	.grid-4,
	.footer-grid,
	.footer-bottom{
		grid-template-columns:1fr;
		flex-direction:column;
		align-items:flex-start;
	}

	.section{
		padding:58px 0;
	}

	.panel,
	.card,
	.contact-panel{
		padding:22px;
		border-radius:24px;
	}

	.cta-box{
		padding:26px;
		align-items:flex-start;
		border-radius:28px;
	}

	.price{
		font-size:2.3rem;
	}
}

/* Bouton devis lisible dans le menu */
.menu a.btn-primary,
.menu a.btn-primary:hover{
	color:#fff;
}

.menu a.btn-primary{
	background:var(--primary);
}

.menu a.btn-primary:hover{
	background:var(--primary-dark);
}

/* Bouton du formulaire de contact */
.contact-form .wpforms-submit{
	background:var(--primary) !important;
	color:#fff !important;
	border:0 !important;
	border-radius:18px !important;
	padding:14px 26px !important;
	height:auto !important;
	font-weight:800 !important;
}

.contact-form .wpforms-submit:hover{
	background:var(--primary-dark) !important;
}

/* ===== Accueil (refonte aux couleurs du logo) ===== */
:root{
	--navy:#122048;
	--blue-soft:#eaf0fe;
}

.eyebrow{
	color:var(--primary);
}

.home-hero{
	position:relative;
	padding:84px 0 88px;
	overflow:hidden;
	background:
		radial-gradient(circle at 88% 12%, rgba(44,96,234,.14) 0, transparent 38%),
		radial-gradient(circle at 8% 90%, rgba(18,32,72,.06) 0, transparent 34%),
		linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
	border-bottom:1px solid var(--line);
}

.home-hero-grid{
	display:grid;
	grid-template-columns:minmax(0,1.25fr) minmax(300px,.85fr);
	gap:56px;
	align-items:center;
}

.home-hero h1{
	margin:20px 0 18px;
	font-size:clamp(2.4rem, 4.6vw, 3.9rem);
	line-height:1.05;
	letter-spacing:-.045em;
	color:var(--navy);
	max-width:16ch;
}

.home-hero h1 span{
	color:var(--primary);
}

.home-hero-lead{
	margin:0;
	font-size:18px;
	line-height:1.7;
	color:var(--muted);
	max-width:600px;
}

.home-hero-facts{
	display:flex;
	flex-wrap:wrap;
	gap:10px 22px;
	list-style:none;
	padding:0;
	margin:28px 0 0;
	color:var(--navy);
	font-size:14px;
	font-weight:700;
}

.home-hero-facts li{
	display:flex;
	align-items:center;
	gap:8px;
}

.home-hero-facts svg,
.home-hero-card .list li svg{
	width:18px;
	height:18px;
	flex:0 0 18px;
	color:var(--primary);
}

.home-hero-card{
	background:#fff;
	border:1px solid var(--line);
	border-top:4px solid var(--primary);
	border-radius:24px;
	padding:30px;
	box-shadow:0 24px 50px rgba(18,32,72,.10);
}

.home-hero-card h2{
	margin:0 0 6px;
	font-size:22px;
	letter-spacing:-.02em;
	color:var(--navy);
}

.home-card-link{
	display:inline-block;
	margin-top:14px;
	font-weight:800;
	color:var(--primary);
}

.home-card-link:hover{
	color:var(--primary-dark);
}

.home-heading{
	text-align:center;
	max-width:760px;
	margin:0 auto 40px;
}

.home-heading .eyebrow{
	display:inline-block;
	margin-bottom:10px;
}

.home-heading h2{
	margin:0 0 12px;
	font-size:clamp(1.9rem, 3.4vw, 2.7rem);
	line-height:1.1;
	letter-spacing:-.04em;
	color:var(--navy);
}

.home-heading .lead{
	margin:0 auto;
	font-size:17px;
}

.home-services{
	display:grid;
	grid-template-columns:repeat(4, minmax(0,1fr));
	gap:20px;
}

.home-services .card,
.home-audience .card{
	border-radius:22px;
	border-color:var(--line);
	transition:transform .2s ease, box-shadow .2s ease;
}

.home-services .card:hover{
	transform:translateY(-3px);
	box-shadow:0 18px 36px rgba(18,32,72,.09);
}

.home-services .icon{
	background:var(--blue-soft);
	box-shadow:none;
	border-radius:16px;
	width:52px;
	height:52px;
}

.home-services h3,
.home-audience h3,
.home-steps h3{
	color:var(--navy);
}

.home-band{
	background:#f3f6fc;
	border-top:1px solid var(--line);
	border-bottom:1px solid var(--line);
}

.home-audience .card{
	padding:30px;
}

.home-price{
	margin:18px 0 0 !important;
	font-size:30px;
	font-weight:800;
	letter-spacing:-.03em;
	color:var(--navy) !important;
}

.home-price span{
	font-size:15px;
	font-weight:600;
	color:var(--muted);
}

.home-steps{
	display:grid;
	grid-template-columns:repeat(3, minmax(0,1fr));
	gap:24px;
	list-style:none;
	padding:0;
	margin:0;
}

.home-steps li{
	position:relative;
	padding:28px;
	background:#fff;
	border:1px solid var(--line);
	border-radius:22px;
}

.home-step-num{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:40px;
	height:40px;
	margin-bottom:16px;
	border-radius:12px;
	background:var(--navy);
	color:#fff;
	font-weight:800;
}

.home-steps p{
	margin:0;
}

.home-cta-section{
	padding-top:0;
}

.home-cta{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:32px;
	padding:44px 48px;
	border-radius:28px;
	background:linear-gradient(120deg, #122048 0%, #1d3a8f 55%, #2c60ea 100%);
	color:#fff;
	box-shadow:0 24px 50px rgba(18,32,72,.22);
}

.home-cta h2{
	margin:0 0 8px;
	font-size:clamp(1.6rem, 3vw, 2.2rem);
	letter-spacing:-.03em;
	color:#fff;
}

.home-cta p{
	margin:0;
	color:rgba(255,255,255,.82);
}

.btn-light{
	background:#fff;
	color:var(--navy);
	white-space:nowrap;
}

.btn-light:hover{
	color:var(--primary);
	transform:translateY(-1px);
}

@media (max-width:1024px){
	.home-hero-grid{
		grid-template-columns:1fr;
		gap:36px;
	}
	.home-services{
		grid-template-columns:repeat(2, minmax(0,1fr));
	}
}

@media (max-width:760px){
	.home-hero{
		padding:52px 0 56px;
	}
	.home-services,
	.home-steps{
		grid-template-columns:1fr;
	}
	.home-cta{
		flex-direction:column;
		align-items:flex-start;
		padding:30px 26px;
	}
}

/* Harmonisation des pages intérieures */
.page-hero h1,
.page-hero h2{
	font-size:clamp(2.1rem, 4vw, 3.2rem);
	line-height:1.08;
	letter-spacing:-.04em;
	max-width:22ch;
	color:var(--navy);
}

.section h2,
.section h3{
	color:var(--navy);
}

.cta-box{
	background:linear-gradient(120deg, #122048 0%, #1d3a8f 55%, #2c60ea 100%);
	border-radius:28px;
	padding:44px 48px;
}

.cta-box h2{
	max-width:none;
	font-size:clamp(1.6rem, 3vw, 2.2rem);
}

.cta-box .btn-outline{
	color:var(--navy);
}

@media (max-width:760px){
	.cta-box{
		padding:30px 26px;
	}
}

/* Bandeau d’appel plus lumineux et lisible */
.home-cta,
.cta-box{
	background:linear-gradient(120deg, #1f4bc4 0%, #2c60ea 50%, #5a85f2 100%) !important;
	box-shadow:0 22px 46px rgba(44,96,234,.28) !important;
}

.home-cta h2,
.cta-box h2,
.section .home-cta h2,
.section .cta-box h2{
	color:#fff !important;
}

.home-cta p,
.cta-box p{
	color:rgba(255,255,255,.92) !important;
}

/* Bouton contact du pied de page */
.footer-grid a.footer-contact-btn{
	margin-top:12px;
	min-height:46px;
	padding:12px 20px;
	color:#fff;
}

.footer-grid a.footer-contact-btn:hover{
	color:#fff;
}

/* Pied de page aligné sur la largeur du contenu */
.footer-grid{
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:48px;
	padding:48px 0 32px;
}

.footer-grid > div:first-child{
	max-width:760px;
}

.footer-grid > div:first-child p{
	margin:0;
	line-height:1.65;
}

.footer-grid > div:last-child{
	min-width:180px;
}

.footer-grid h4{
	margin:6px 0 14px;
	color:var(--navy);
}

.footer-bottom{
	padding:18px 0 26px;
}

@media (max-width:760px){
	.footer-grid{
		flex-direction:column;
		gap:28px;
	}
}

/* Texte de présentation du pied de page */
.footer-grid .footer-about{
	margin:16px 0 0;
	max-width:740px;
	font-size:15px;
	line-height:1.7;
	text-align:left;
	text-wrap:pretty;
}

.nowrap{
	white-space:nowrap;
}

/* Prix des tarifs plus discrets */
.price{
	font-size:1.75rem;
	letter-spacing:-.02em;
	margin:14px 0 12px;
}

@media (max-width:760px){
	.price{
		font-size:1.5rem;
	}
}

/* Téléphone cliquable dans l’en-tête */
.menu a.menu-phone{
	color:var(--navy);
	border:1px solid rgba(18,32,72,.12);
	white-space:nowrap;
}
.menu a.menu-phone:hover{
	color:var(--primary);
	border-color:var(--primary);
	background:rgba(44,96,234,.06);
}
.footer-grid .footer-nav a[href^="tel:"]{
	font-weight:700;
	color:var(--navy);
}
